vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Anti-Spam Options - Disable Member Homepage Profile Option based on Post Count or Usergroup (https://vborg.vbsupport.ru/showthread.php?t=255856)

ETDC 03-20-2013 08:38 PM

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

Home Page + Signature limitations would be pure win!

viper357 03-21-2013 07:38 AM

Quote:

Originally Posted by ETDC (Post 2411251)
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

ETDC 03-21-2013 09:41 AM

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.

blind-eddie 03-21-2013 11:31 AM

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....

ETDC 03-21-2013 01:30 PM

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.

blind-eddie 03-21-2013 01:42 PM

That stops any member without 10 post the ability to have a sig or even see the link in usercp.

eJM 10-23-2013 06:07 AM

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").

eJM 03-22-2014 12:09 AM

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

BirdOPrey5 03-23-2014 12:19 PM

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.

eJM 03-23-2014 05:54 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2489055)
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


All times are GMT. The time now is 01:45 PM.

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.01095 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete