Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
Disable Member Homepage Profile Option based on Post Count or Usergroup Details »»
Disable Member Homepage Profile Option based on Post Count or Usergroup
Version: 1.00, by BirdOPrey5 (Senior Member) BirdOPrey5 is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Category: Anti-Spam Options - Version: 3.8.x Rating:
Released: 12-23-2010 Last Update: Never Installs: 63
Uses Plugins Auto-Templates
Re-useable Code Translations  
No support by the author.

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

File Type: zip DisableMemberHomepagesbyBOP5.zip (3.4 KB, 292 views)

Screenshots

File Type: jpg ss_blockhome_settings.jpg (111.4 KB, 0 views)
File Type: jpg ss_blockhome_normal.jpg (69.9 KB, 0 views)
File Type: jpg ss_blockhome_postdis.jpg (58.9 KB, 0 views)
File Type: jpg ss_blockhome_admindis.jpg (63.2 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 03-20-2013, 08:38 PM
ETDC ETDC is offline
 
Join Date: Aug 2007
Location: United Kingdom
Posts: 354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for the huge necro... did the Signature option ever make it?

Home Page + Signature limitations would be pure win!
Reply With Quote
  #23  
Old 03-21-2013, 07:38 AM
viper357's Avatar
viper357 viper357 is offline
 
Join Date: Dec 2006
Location: Worthing, UK
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ETDC View Post
Sorry for the huge necro... did the Signature option ever make it?

Home Page + Signature limitations would be pure win!
I use this mod for that - https://vborg.vbsupport.ru/showthread.php?t=249378
Reply With Quote
  #24  
Old 03-21-2013, 09:41 AM
ETDC ETDC is offline
 
Join Date: Aug 2007
Location: United Kingdom
Posts: 354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #25  
Old 03-21-2013, 11:31 AM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Works perfect....
Reply With Quote
  #26  
Old 03-21-2013, 01:30 PM
ETDC ETDC is offline
 
Join Date: Aug 2007
Location: United Kingdom
Posts: 354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #27  
Old 03-21-2013, 01:42 PM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That stops any member without 10 post the ability to have a sig or even see the link in usercp.
Reply With Quote
  #28  
Old 10-23-2013, 06:07 AM
eJM's Avatar
eJM eJM is offline
 
Join Date: Sep 2004
Location: teh Ether
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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").
Reply With Quote
  #29  
Old 03-22-2014, 12:09 AM
eJM's Avatar
eJM eJM is offline
 
Join Date: Sep 2004
Location: teh Ether
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #30  
Old 03-23-2014, 12:19 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #31  
Old 03-23-2014, 05:54 PM
eJM's Avatar
eJM eJM is offline
 
Join Date: Sep 2004
Location: teh Ether
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
Yes this mod was only designed to work with primary usergroups. It would need a code change to work with secondary groups.
Any hope of this being done? Is there a line in the XML that I can modify myself? This is the only line of code that mentions usergroupid:
Code:
<phpcode><![CDATA[if (!in_array($vbulletin->userinfo['usergroupid'], explode(',' , $vbulletin->options['blhomebop5_ugs'])))
{
Quote:
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.
As you have mentioned before. I understood this. My last post above was in reference to a new member. He is in usergroup 9. I don't recall how many original vB usergroups there were.

Quote:
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.
This might be the problem. I have Tapatalk installed, but don't know if he uses it.

Thanks,

Jim
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:18 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04415 seconds
  • Memory Usage 2,337KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete