vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - Rules and User Agreement Hack (https://vborg.vbsupport.ru/showthread.php?t=97699)

ixian 10-06-2005 02:59 PM

AWESOME hack, thanks!

hbalagh1 10-06-2005 03:16 PM

great hack thank just what i needed :)

xtreme-mobile 10-06-2005 03:30 PM

will this hack allow you to set the rules to show before they enter the specific forum rather than when they try to post etc?

on the VB 3.0 version you did there was a addon which done this, is this standard now?

regards

dean

hbalagh1 10-06-2005 03:35 PM

Quote:

Originally Posted by xtreme-mobile
will this hack allow you to set the rules to show before they enter the specific forum rather than when they try to post etc?


on the VB 3.0 version you did there was a addon which done this, is this standard now?

regards

dean

it will let you before they read

xtreme-mobile 10-06-2005 03:36 PM

great will be installing this then :D

hbalagh1 10-06-2005 03:53 PM

Found a typo :)

"When Viewing Froum" under Rules Options

uae 10-06-2005 06:21 PM

Quote:

Originally Posted by hbalagh1
Found a typo :)

"When Viewing Froum" under Rules Options

Fixed :)

thedvs 10-06-2005 08:07 PM

what an absolutely amazing bloody ****ing brilliant hack
well done uae

*INSTALLED*

hbalagh1 10-06-2005 08:17 PM

would this mod have anything kind of modification to the registration process... When a user tries to register on my site and they click on the sites rules box and hit ok it gives them this error

You have chosen not to accept the forum rules, so registration can not continue.

Click here to return to the main forums page, or click the 'Back' button on your browser if you now want to agree with the forum rules

thedvs 10-06-2005 08:21 PM

One problem I have found, on my custom skin when I add

<!-- [START HACK='Rules and User Agreement' AUTHOR='WwW.UAEWEB.COM' VERSION='1.1.0' CHANGEID= 1 ] -->
<if condition="$agreedrules">
<fieldset class="fieldset">
<legend>$vbphrase[ruleshack_agreed]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td>
<phrase 1="$userinfo[username]">$vbphrase[ruleshack_x_has_agreed_to_the_following_rules]</phrase>
</td>
</tr>
$agreedrules
</table>
</fieldset>
</if>
<!-- [END HACK='Rules and User Agreement' AUTHOR='WwW.UAEWEB.COM' VERSION='1.1.0' CHANGEID= 1 ] -->

To the member info it doesnt show above the referrals at all.
I have my agreement to reset every 12 hours too if that helps


All times are GMT. The time now is 12:42 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.01225 seconds
  • Memory Usage 1,733KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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