MyBB Community Forums

Full Version: Removal of a rouge }
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
As you can see from the image there is a } at the end of the post options next to report. Where is this located in templates so I can remove the }?

[Image: post.jpg]

picture hosting
Try looking at your postbit_report or postbit_classic templates.
Thanks, I have looked and can not see it there.
What's your forum URL?
its https://forums.reptiliapost2host.co.uk/

I know what has caused it, when I installed this https://community.mybb.com/mods.php?action=view&pid=82

That } showed up, the issue is when I uninstalled thanks it don't remove the }

And extra issues is if I reinstall the plugin its gives me an extra } so it is }}

This is the code from postbit_classic

{$ignore_bit}{$deleted_bit}

<- snip -> 

<div class="post_controls">
	<div class="postbit_buttons author_buttons float_left">
		{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
	</div>
	<div class="postbit_buttons post_management_buttons float_right">
		{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quickrestore']}{$post['button_quote']}{$post['thanks']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_purgespammer']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
	}</div>{$post['thxdsp_outline']}
</div>
</div>{myadvertisements[zone_3]}

Please also note the error is also in private messages.
(2018-03-26, 11:19 AM)reptiliahosting Wrote: [ -> ]
This is the code from postbit_classic

(...)
{$post['button_forward_pm']}{$post['button_delete_pm']}
}</div>{$post['thxdsp_outline']}

Please also note the error is also in private messages.

Hi,

you have to delete what it's in red color and it's gone Wink

The error comes from the file thx.php and this line:


	find_replace_templatesets("postbit_classic", '#button_delete_pm([^\<]*)<\/div>#is', 'button_delete_pm$1}$2</div>{$post[\'thxdsp_outline\']}');
Thanks, that's a great help can't believe I missed it.