![]() |
Age Locked Forums
Ok this is my first hack and since i dont want to make people angre a posted it in here
Quote:
--- 0.2 -- Added Template edit thanks to sketch42 -- Changed method of age checking to check the day and month --- 0.1E -- Fixed Installer typo -- Removed image relations in install.html --- 0.1D -- Optimized code thanks to KirbyDE Please let me know what you all think stuie_b :ermm: |
Optimization suggestion
PHP Code:
And your age-check does only check the Year, should also check month/day. |
Thanks alot KirbyDE i've updated the code with your suggests, The check is still performed on the year for now but all other suggests were applied
thanks again stuie_b |
in your install file, there is a typo:
PHP Code:
and for your install.html, please don't add anything related to your own website... the actual style, icons and images are linked to your site, and will give you too much trafic and too much lag if your site is down one day... |
thanks nexialys for the heads up on the installer typo fixed
thanks stuie_b |
will this remove the birthday from the public profile as well?
|
no the birthday will still be displayed in the public profile
stuie_b |
the reason i asked is because i want to change this ..
Quote:
|
k i found where it is in MEMBERINFO template
just find this Code:
<div class="fieldset"> Code:
<div class="fieldset"> and than just edit that phrase |
Fixed the check procedure now checks against all three values, day month and year and added template edit thanks sketch42
stuie_b |
Great! Now when do we get the 3.5 upgrade? ;)
|
i never did like those html install texts..
all the lines where all screwed up and i kept getting parse errors all over i rechecked everything and aparently it doesnt copy paste well at all so here is a zipped txt file for the install this is of the 0.2vers edit *** here it is EDIT*** new version fixed my parse error :o |
Quote:
|
Quote:
|
But I need the 3.5 RC 1 version. :(
|
Quote:
(I KNEW it wasn't going blind. ;)) |
ok im still getting a parse error
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/xxxxxx/public_html/admncp/forum.php on line 83 |
make sure that you place a , at the end of 'showonforumjump' => 1
stuie |
edit
found it |
works beautiful... updated the txt install with the comma that i missed
one last thing as of right now the users can still see the forum but can not enter is it possible to make the forum invisible? |
am going to add that feature to the next version :)
thanks for all your help cheers stuie |
no prob.. i really wanted this and started looking into it .. im glad you made it though Excellent job !!!
|
ok i dont know if its only me.. but im gonna uninstall the hack just to make sure.. guests now get you are not logged in error message when they try to view any forum
even if not age locked.. can someone confirm this? |
yes just uploaded all my original files and everything is working fine now..
the thing is i wouldnt have minded if it only showed that to guests who wanted to view the forum i age locked but it did it to every forum on the board. i really like this hack and would like to see it out of beta stage |
sketch42 i found the problem with guests and fixed it if not done so download the edits again and try that
stuie |
just redo the edits? or should i run the install again?
|
yup that worked
/me is very happy with this hack /me thinks it should be standard |
Stuie - Before i install this i want to ask - what about people who dont have the YEAR of birth installed ?
I have a lot of members who never put in their year or birth , and they can still do this in the registration ... what happens if they dont enter a year ? - and is there an option for them to add it in if i install this . or will they have to contact me ? |
it's really intended for a new install but a supose you could just get your users to enter there details before you install this mod.
stuie b |
Will this work with vB 3.6.0?
|
i highly doubt anyone will reply to this.. but i am receiving this error..
just wondering if i could get pointed in the right direction... this error appears while i am trying to save the forums options via forum manager on the admincp... (vBulletin 3.6.7 PL1) Quote:
|
All times are GMT. The time now is 12:03 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|