
How do I hide links for guests and members with X posts? They will need to have 5 posts in order to see the link.
<snip - image too large>
![]() |
![]() How do I hide links for guests and members with X posts? They will need to have 5 posts in order to see the link.
<snip - image too large>
http://mods.mybb.com/view/hide-links-to-guests-for-14
For hiding to members with less than 5 posts, you'll need to set up group promotion. And modify the plugin file a bit. First of all change the compatibility, change: to
And then to add extra groups, search: to This also includes: Awaiting activation and the Banned usergroup. You'll need to replace the X with the ID of the usergroup with -5 posts.
![]()
<snip - image too large>
You need to search for this line:
and replace it with (if you also want to include registered users)
![]() (2011-06-15, 07:10 PM)Aries-Belgium Wrote: You need to search for this line: Where do I search for that?
<snip - image too large>
^ in the plugin's php file which you copy to your plugin's directory on the server
(2011-06-15, 08:34 PM)mukilol Wrote:(2011-06-15, 07:10 PM)Aries-Belgium Wrote: You need to search for this line: In the same file you made the compatibility changes. ![]() I replaced the code and the usergroups are getting the message but how do I place the 5 post requirement? The current usergroups can't see the link even if they have and don't have more thank 5 posts. How do I place the requirement? Found a plugin, everything is ok now.
<snip - image too large>
You don't need a plugin for that. Just use Group Promotion. Look at the link I posted above.
|
« Next Oldest | Next Newest »
|