2016-03-28, 01:41 PM
Greetings community,
Have a digging days in the code of MyBB forum to complete some tasks.
One of it is - how to change or what code need to write to index template or what appropriate plugin already existing for to add top menu link with custom icon, which are visible only for registered users on the forum.
I have take my time for searching this community tricks already discussed and search on google but do not find any easy integration steps.
Using the plugins like MyTabs is not a case, sorry...
I have already change the header template in the default theme and its header templates area, where add the link i need to
But, occasions appear that this link is visible and clickable for everybody and have a public access.
I want to place my custom link as the same kind as the Search link or Calendar link...
Which are visible and clickable when appears on the top of the board only when user is registered and have open session on the board, when it is guest or banned user I want its not visible and clickable on it.
Does anybody had solved that case.?
board is 1.8 ver
Thank you
Have a digging days in the code of MyBB forum to complete some tasks.
One of it is - how to change or what code need to write to index template or what appropriate plugin already existing for to add top menu link with custom icon, which are visible only for registered users on the forum.
I have take my time for searching this community tricks already discussed and search on google but do not find any easy integration steps.
Using the plugins like MyTabs is not a case, sorry...
I have already change the header template in the default theme and its header templates area, where add the link i need to
<ul class="menu top_links">
<li><a href="https://MYFORUMURL.COM">MY_CUSTOM_LINK</a></li>
{$menu_portal}
{$menu_search}
{$menu_memberlist}
{$menu_calendar}
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help" class="help">{$lang->toplinks_help}</a></li>
</ul>
But, occasions appear that this link is visible and clickable for everybody and have a public access.
I want to place my custom link as the same kind as the Search link or Calendar link...
Which are visible and clickable when appears on the top of the board only when user is registered and have open session on the board, when it is guest or banned user I want its not visible and clickable on it.
Does anybody had solved that case.?
board is 1.8 ver
Thank you