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)

soletrader 08-02-2006 08:49 AM

How do I edit the text in the user agreement?

louis_chypher 08-02-2006 12:47 PM

Quote:

Originally Posted by hornstar1337
Originally Posted by uae
if you are talking about the Rule's Page URL field which is just under the rule's text field in the Add New Rule Page in ADMINCP, that would be the url to the rules and agreement page you've got already, if there was one, filling this field with a url will have the rules listed in the member profile page whenever they submit to agree on that rules..



Where do I find the URL to insert, im confused on this step.

Hi, There is a modification Rules Hack for vBulletin 3.5.x by Hasann that I use to create rule pages that holds the rules for my web site. I go to those pages of rules I created with Rules Hack for vBulletin 3.5.x by Hasann, copy the urls and paste them into the url location for this modification.

It would be great if this modification could be combined with the Rules Hack for vBulletin 3.5.x by Hasann modification. nudge, nudge.

louis_chypher 08-02-2006 01:01 PM

Quote:

Originally Posted by Treak
you can choose to have them set that up before they even join.. and you can make it to where they can not edit that part via user permissions.. just not forum specific..


Hi, While there is nothing to stop anyone from lieing about their age you can protect yourself (your site) by using a few 'tricks', like adding the modification

Age Lock is an all-in-one Forum locking facillity that works off the users age instead of there permissions. It gives you the abillity to keep those Under 18's out of your adult sections
and by enabling the COPPA and thorough a modification to the register.php line 99 to reflect only allowing those who say they are 18 or over to access the site:

Code:

if ($vbulletin->GPC['year'] < ($current['year'] - 18) OR ($vbulletin->GPC['year'] == ($current['year'] - 18) AND $vbulletin->GPC['month'] <= $current['month']))
That's about the best one can do *shrug*.

mhammed 08-03-2006 03:22 AM

great hack,
but the font size rules is too small . how can I increase it

louis_chypher 08-03-2006 10:49 AM

Quote:

Originally Posted by mhammed
great hack,
but the font size rules is too small . how can I increase it

<font size=X>rule text</font> works for me.

mhammed 08-04-2006 12:14 AM

Quote:

Originally Posted by louis_chypher
<font size=X>rule text</font> works for me.

very easy to say :D
but where you put this in the code? :surprised:

Chris Lang 08-04-2006 02:39 AM

I've installed this hack, and it works fine for the forums, but I can't get it to function with Private.php (PMs)

I'm using the format http://mydomain.com/forum/private.php (and every variation, including www, etc) but no luck. Any ideas?

Neo_obs 08-04-2006 07:02 AM

Quote:

Originally Posted by Chris Lang
I've installed this hack, and it works fine for the forums, but I can't get it to function with Private.php (PMs)

I'm using the format http://mydomain.com/forum/private.php (and every variation, including www, etc) but no luck. Any ideas?

disregard I fixed this the conditionals were set up wrong

ryansmith 08-04-2006 01:31 PM

Is this going to be released for vB 3.6, or is someone working on something similar?

moonclamp 08-05-2006 10:35 PM

My webhost recently upgraded our version of mySQL to 5.0.21

Ever since then I have been getting the following error email:

Quote:

Invalid SQL:
SELECT * FROM vb_ruleshack WHERE repeat = 1 AND active = 1;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= 1 AND active = 1' at line 1 Error Number : 1064
Date : Sunday, August 6th 2006 @ 12:30:00 AM
Script : http://xxxxx/forums/cron.php?&rand=463803
Referrer : http://xxxxx/forums/showthread.php?t=3943&page=4
IP Address : 1xx.9x.21.xx
Username : Unregistered
Classname : vB_Database
It doesn't seem to affect anyone, just getting loads of emails telling me about the error.

None of my rules reset themselves, is it safe to just turn off the cron?


All times are GMT. The time now is 01:26 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.01879 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
  • (1)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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