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)
-   -   Miscellaneous Hacks - Forum Minimum Age Restriction (https://vborg.vbsupport.ru/showthread.php?t=214227)

jonah1892 05-24-2009 04:55 AM

Quote:

Originally Posted by IdanB (Post 1815127)
This feature now available with new version.

thanks for the quick work, works a treat for hiding forums based on age (after a refresh of the page)

Sweeks 05-24-2009 10:47 AM

I would like it to prevent users from resetting their age in the usercp after registering with the original.

That's the problem, users can simply re-register just to gain access if their age doesnt meet the minimum requirements.
________
Blonde stripping

IdanB 05-24-2009 03:51 PM

Quote:

Originally Posted by Sweeks (Post 1816204)
I would like it to prevent users from resetting their age in the usercp after registering with the original.

That's the problem, users can simply re-register just to gain access if their age doesnt meet the minimum requirements.

I agree. Just remember that the hidden forum feature shouls take care of it, as what they can't see they can't want.

That being said, i will try to add in future version some feature that will prevent from users to re-setting their age to a different age (unless no age has been specificed) & for those who wish to change it, i'll make some "admin request" that will show this request as pending for admin, and from there he can decide if to change or not..

jaredwilli 05-26-2009 03:54 PM

I could have used this a long time ago instead of making an adult usergroup and adult forum only they can see. But i am guessing this isnt full proof since people can just change their age so they are older.

IdanB 05-26-2009 04:21 PM

Quote:

Originally Posted by jaredwilli (Post 1817542)
I could have used this a long time ago instead of making an adult usergroup and adult forum only they can see. But i am guessing this isnt full proof since people can just change their age so they are older.

There is hardly any "silver bullet" in those things...
Even custom usergroup could be "breached" as well - what's to stop some kid to pm admin & say he has incorrect age in db ? (or re-register with new user & different age)

Guess that as long as the exsitance of such forum is kept private (ie. the hide forum feature available here), there isnt too much problem, as if kids dont even know there is another forum he can't go, he wouldnt feel any need to "cheat" his age to gain any special privelages access to it.

I'll apply soon enough some "age lock" system into this modification, that should reduce abuse close to zero. (of course no one can prevent from some1 to re-register again under different nick, just for access, but guess that's best that can be done about it).

Budweiser 05-29-2009 11:09 PM

I installed your mod but there is a conflict with another "required" mod on my site..
The mod in conflict is "Sorky Sub Forum List Control" version 1.7.1

When your mod was enabled, the sub forums on forumhome were not collapsible.
(a feature of the Sorky mod)

I will notify Sorky also.. If you two can make your mods compatible that would be great. I definitely can use your mod.

Thnx, Kev

IdanB 05-30-2009 07:26 AM

Quote:

Originally Posted by Budweiser (Post 1819871)
I installed your mod but there is a conflict with another "required" mod on my site..
The mod in conflict is "Sorky Sub Forum List Control" version 1.7.1

When your mod was enabled, the sub forums on forumhome were not collapsible.
(a feature of the Sorky mod)

I will notify Sorky also.. If you two can make your mods compatible that would be great. I definitely can use your mod.

Thnx, Kev

i'll try to look into it & resolve it.

Sorky 05-31-2009 02:57 AM

Quote:

Originally Posted by Budweiser (Post 1819871)
I installed your mod but there is a conflict with another "required" mod on my site..
The mod in conflict is "Sorky Sub Forum List Control" version 1.7.1

It certainly stops the show/hide and quite a lot more!!!

This mod will probably conflict with quite a few others as it makes a copy of the templates and then clears them before my Mod has a chance to dynamically modify them. Its a bit hard to modify something that isn't there ;)

The best fix is I believe to make his Mod copy and clear the the templates after we have a chance to modify them ;) Just make the following change...
Plugins & Products
Plugin Manager
Product : Forum Minimum Age / Datastore cache templates
  • Hook Location = parse_templates
  • Execution Order = 9
PS: For some reason I seemed to have to refresh my browser once or twice to get it to kick in.

Bro_Joey_Gowdy 06-09-2009 03:06 PM

Any chance of seeing a maximum age cutoff added to this?

HMBeaty 06-13-2009 06:31 PM

1 Attachment(s)
Ok, found a small bug in this modification after having it installed for quite a while. I was tweaking one of my modifications and had my forums in debug mode and noticed a few templates not being cached. SO, I went through, disabled all of my installed modifications one by one and found it was this one. After figuring out what was going on, I made a fix for it. So, just download, un-zip, and go to your AdminCP > Plugins & Products > Download / Upload Plugins and upload this plugin and you are done!


All times are GMT. The time now is 08:06 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.01113 seconds
  • Memory Usage 1,746KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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