The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Disable Member Homepage Profile Option based on Post Count or Usergroup Details »» | |||||||||||||||||||||||||||||||||||||
Disable Member Homepage Profile Option based on Post Count or Usergroup
Developer Last Online: Aug 2023
This mod will remove the option to allow members to post a "Homepage" URL in their profile based on post count and/or usergroup id. In addition you can disable it for everyone if you want.
This is often requested because some admins feel some members join their forum only to place links to their own pages and never contribute to the forum. This will require users attain a minimum post count before posting- or stop them from using a homepage altogether. You may override these settings by specifying immune usergroups- usually admins and maybe mods. This has been tested on 3.8.6 and will work across all 3.8 versions. It should work on earlier versions too but not tested. It will not work on vBulletin 4.0 and above. 4.x version is here: https://vborg.vbsupport.ru/showthread.php?t=256383 If you have a heavily customized style then it is possible this mod will not work at all- it works based on automatic template edits and if the right default code isn't there nothing will happen. This is not a "bug." If you have a customized style try it first, if it doesn't work I can help you with some manual template edits to achieve the same effects as using this mod. Install as normal, full instructions included in text file inside zip. Contains: No files to upload, 1 plugin, 2 phrases, some new options. You can change the default messages by editing the two phrases. See screenshots for details. Live Demo: www.juot.net/forums/ (but you will need to register to see it in action.) Please Mark as Installed if you use this. Download Now
Screenshots
Show Your Support
|
Comments |
#22
|
|||
|
|||
Sorry for the huge necro... did the Signature option ever make it?
Home Page + Signature limitations would be pure win! |
#23
|
||||
|
||||
Quote:
|
#24
|
|||
|
|||
Thanks but would prefer post-count based. I do have Cyb's post count hack but it's a monumental pain to enable for each of my many categories.
|
#25
|
||||
|
||||
I ended up adding conditionals around sig link in the USERCP_SHELL template.
Find: Code:
<if condition="$show['siglink']"> <tr> <td class="$navclass[signature]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr> </if> Change it to: Code:
<if condition="$show['siglink']"> <tr><if condition="$bbuserinfo['posts'] > 10"> <td class="$navclass[signature]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></if></tr> </if> |
#26
|
|||
|
|||
Thanks. What does that actually do? Not show sig and/or prevent adding one?
The other complication is that the above also prevents paid members having a sig. |
#27
|
||||
|
||||
That stops any member without 10 post the ability to have a sig or even see the link in usercp.
|
#28
|
||||
|
||||
I just installed this mod and discovered the Usergroup Override is not working as it should. I added 8 usergroups, each separated by a comma (I also tried separating by a comma AND a space). When I try it out with my test user account, it still will not allow the user to add a home page URL.
After testing this a while, it appears that the usergroup override has to be a Primary usergroup. That doesn't work in my situation because the primary usergroup would have to be manually changed - none of the 8 groups I want to override are attained via vB Promotion. Is there a way to fix this? Thank you, Jim PS: if you update the whole mod, please correct the misspelling (vB Options, min. post count: "much" should be "must"). |
#29
|
||||
|
||||
Joe, are you no longer supporting this mod?
I am also experiencing a problem reported previously that a user has been able to add a URL home page with only 3 posts, instead of the 10 required. And he is not a spammer or hacker. He claims the option was available and used it. I just tested it with one of my test accounts and the mod seemed to work they way it should. I don't know what the other member did different. Jim |
#30
|
||||
|
||||
Hello,
Yes this mod was only designed to work with primary usergroups. It would need a code change to work with secondary groups. If someone added the URL before the mod was installed it would still exist, there is nothing in this mod to remove URLs set before installation. Also these days with mobile apps or mobile styles it is possible to get around this mod- those could be possible ways he did it. |
#31
|
||||
|
||||
Quote:
Code:
<phpcode><![CDATA[if (!in_array($vbulletin->userinfo['usergroupid'], explode(',' , $vbulletin->options['blhomebop5_ugs']))) { Quote:
Quote:
Thanks, Jim |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|