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 by BOP5 Details »» | ||||||||||||||||||||||||||||||||
Disable Member Homepage Profile Option based on Post Count or Usergroup by BOP5
Developer Last Online: Aug 2023
Brought to you by BirdOPrey5
www.Qapla.com Update Version 1.7 -
Update Version 1.5 - This upgrade will disable links to homepages for users who may have entered a homepage before this mod was installed. As usual it will also block new members from entering a homepage based on the rules you set (post count or usergroup.) 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 4.0.8, 4.1.11, and 4.1.12. It should work on other 4.0/4.1 versions as well. It will not work on 3.8, I have a 3.x version available in the 3.8 mods section. 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 see the manual edits in Post #12 of this thread. Install as normal, full instructions included in text file inside zip. Contains: No files to upload, 4 plugins, 2 phrases, some new options. You can change the default messages by editing the two phrases. See screenshots for details. Live Demo: www.qapla.com/mods/ (but you will need to register to see it in action.) ------------------------------------------------------ Please "Mark as Installed" if you use this. Donations always appreciated. :up: Nominate MOTM if you LOVE it! Download Now
Screenshots
Show Your Support
|
6 благодарности(ей) от: | ||
Canadianbacon, LOGECT, Luca_ITA, nacaruncr, Watersoul, Welshy2008 |
Comments |
#12
|
||||
|
||||
No it should work on all... If you have a heavily customized style it may not work, I can give you manual template edits in that case.
Curious - can I get a link to the site? |
#13
|
||||
|
||||
The manual template edits for those interested is...
Open modifyprofile template... search for "homepage" The code will look something like, but not exactly, this: HTML Code:
<div class="blockrow"> <label for="tb_homepage">{vb:rawphrase home_page_url}:</label> <input type="text" class="primary textbox" name="homepage" id="tb_homepage" value="{vb:raw bbuserinfo.homepage}" maxlength="200" dir="ltr" tabindex="1" /> <p class="description"> {vb:rawphrase let_other_visitors_know_url} </p> </div> To block it until a set number of posts is reached is a little more difficult. Replace the text above with: First you need a condition: Code:
<vb:if condition="$vbulletin->userinfo['posts'] < 10"> <div class="blockrow"> <label for="tb_homepage">{vb:rawphrase home_page_url}:</label> <input type="hidden" class="primary textbox" name="homepage" id="tb_homepage" value="" maxlength="200" dir="ltr" tabindex="1" /> <p class="description"> You don't have enough posts to use this option. </p> </div> <vb:else /> <div class="blockrow"> <label for="tb_homepage">{vb:rawphrase home_page_url}:</label> <input type="text" class="primary textbox" name="homepage" id="tb_homepage" value="{vb:raw bbuserinfo.homepage}" maxlength="200" dir="ltr" tabindex="1" /> <p class="description"> {vb:rawphrase let_other_visitors_know_url} </p> </div> </vb:if> Change the number 10 in the if condition to whatever minimum value of posts you want. |
#14
|
|||
|
|||
yes, its using a custom theme, my site is http://www.worgen.info/forums/
thanks, i'll try the changes and see if that works. |
#15
|
||||
|
||||
It seems to be working fine from what iIcan see... Did you have your "test" user in the "immune" usergroup maybe?
|
#16
|
|||
|
|||
Ah I see now.
It is working. I thought it would also remove the Homepage link from current members. http://www.worgen.info/forums/member...aabulgarForeva This person registered before the mod and still have the homepage URL visible. |
#17
|
||||
|
||||
I see what the issue is... I will work on it... Until/unless the member with the existing homepage link updates their profile the existing link will stay.
I will see if I can make a change so it can pro-actively remove homepage links for people who set it before the mod was installed. Thanks for pointing this out. |
#18
|
||||
|
||||
OK... Updated to version 1.5... it will now block homepage links for people who may have entered one before you installed this mod and who wouldn't be allowed to have one under your new "rules."
|
#19
|
|||
|
|||
Quote:
|
#20
|
||||
|
||||
Oh jeeze... it's been a long day. Fixed.
|
#21
|
|||
|
|||
Latest update just completes this mod.
Great mod and a must have for every forum. This will annoy the marketers and there bots Thanks again. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|