vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Rules hack (https://vborg.vbsupport.ru/showthread.php?t=97605)

HiDeo 10-04-2005 10:00 PM

Rules hack
 
Features:

* Add rules
* Edit rules
* Delete rules
* Rules when register
* Rules list

Language: English

Archive updated (5/10/05 : 19:29)

* Uninstall code added
* .xml updated (template rules_display forgot :p)

Andreas 10-05-2005 10:15 AM

Moved to Extensions as this Hack does not modify any vBulletin Files :)

Samira 10-05-2005 10:34 AM

Thanks! I was anxiously waiting for this.

Reinstalling this hack fresh doesn't work well if you had it installed on 3.0.x, by the way. Had to drop the table since the installer said it already existed and copy/paste the rules I had from the backup that was created.

DS MrSinister 10-05-2005 10:38 AM

thxs sir been waiting for this one to get ported..

CLicks Installed.

Boofo 10-05-2005 01:37 PM

You might want to add an uninstallcode to drop the rules table in the xml in case someone wants to uninstall the hack. ;)

Aceman 10-05-2005 01:44 PM

This doesn't work for me.

http://www.scifi-meshes.com/forums/rules.php is blank.

However I can see the rule I created in the admincp and when you register and read the rules.

The rules.php isn't working.

PHP Code:

require_once('./global.php'); 

Isn't the global.php in the same folder as rules.php?

??? Anyone else?

Devil Woman 10-05-2005 02:08 PM

I am having the same problem Aceman, just get a blank page even though I have added a rule in however the rule does show up on the registration page

Boofo 10-05-2005 02:39 PM

Change the rules template name to rules_display and it will work. ;)

The xml installs the template rules but the php file displays a template called rules_display.

Mickie D 10-05-2005 03:48 PM

i had a rules hack (3.07) installed and you could update it and make existing members agree to the rules.... is this the same hack ?

and if yes, will it be able to upgrade and keep my old rules that i set ?

Regards
Mickie

Aceman 10-05-2005 03:51 PM

OK.. that fixed the rules.php file so that is now shows the rule.. but it's on a white page.. and no Theme..

Exampe: http://www.scifi-meshes.com/forums/rules.php


All times are GMT. The time now is 03:14 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.01105 seconds
  • Memory Usage 1,728KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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