MyBB Community Forums

Full Version: MySupport
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

MikeInToshx

Hi guys,

I installed the plugin a few days ago but untill now I didn't notice,

when going to this url /usercp.php?action=editsig
there is this text {mysupport_nav_option} but when I remove it from the templates, it removes the options in the control panel completely. 

An old thread but its the same problem (removing it from there removes everything):

http://community.mybb.com/thread-96824.html

MikeInToshx

Nobody?
Can you not just add that back into the template?

MikeInToshx

I didn't remove it, it still shows like the image in the other thread.

Removing that would remove the options from other templates aswell.
What other options are being removed? That's literally just a text replacement string so removing it wouldn't remove any other core HTML or anything.

MikeInToshx

Your Support Threads
Your Assigned Threads

these options in the user control pannel are then completely gone.
I'm only having it on the "edit signature" page on 1 of my themes, though (NetPen theme).
My bad, I mis-read it as you'd uninstalled the plugin and that was still in the template and removing it removed stuff, sorry!

Does it work correctly on other usercp.php pages, or is it just that one? I vaguely remember this issue but can't think what it was that fixed it... the version I have on the Mods site is pretty outdated compared to my github version.
At the top of the plugin file, around line 70, find:

$plugins->add_hook('modcp_start', 'mysupport_navoption');
$plugins->add_hook('usercp_menu_built', 'mysupport_navoption');

Change to:

$plugins->add_hook('modcp_start', 'mysupport_navoption', -10);
$plugins->add_hook('usercp_menu_built', 'mysupport_navoption', -10);

Any joy?