vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Rules hack (https://vborg.vbsupport.ru/showthread.php?t=68291)

HiDeo 08-12-2004 10:00 PM

Rules hack
 
Rules hack [3.0.3]

???????????????????????????????????????????
vB Version: vBulletin 3.0.3
Author: HiDeo
Email: webmaster@programmation-web.org
Site: http://www.programmation-web.org
???????????????????????????????????????????

Hack Information

Administrator can create rules for a forum !
Members and guests can see the rules.

Hack Specifications
  • vbphrases
  • navbar link
  • add, edit or delete rules via admincp

Hack Test

I test this hack on vBulletin 3.0.3

Hack Support

The support will be given here in this thread and at Programmation Web.

Hack Demos

Here (in french)

Important
  • If you do install this hack, please click on the INSTALL button. There are going to be some updates for this which you're really not going to want to miss!
  • It's my first hack in vb.org !!

Polo 08-13-2004 12:53 PM

Nice, great job, thanks for sharing!

*clicks install*

Polo 08-13-2004 02:07 PM

Ok, this mod is great... loved it... anyways, for those who would like to have their rules listed by date, (oldest first instead of newest rules first) change the following around line 55 of rules.php:

Code:

$rules = $DB_site->query("SELECT * FROM " . TABLE_PREFIX . "rules ORDER BY ruleid DESC");
to

Code:

$rules = $DB_site->query("SELECT * FROM " . TABLE_PREFIX . "rules ORDER BY ruleid ASC");

TheComputerGuy 08-13-2004 02:07 PM

Awesome hack! I like this alot

Polo 08-13-2004 02:13 PM

Quote:

Members can only see the rules.
What do i need to modify so that everyone, even guests can see the rules?

HiDeo 08-13-2004 03:22 PM

Very nice modifications polo ! ;)

Quote:

Members can only see the rules.
It's an error, first post edited

Koutaru 08-13-2004 03:49 PM

Nice Hack :) I'll definately be using this probably with another rules hack

ranger2kxlt 08-13-2004 07:04 PM

Whats the main purpose, seems like others seem to like it, but not really sure how it works or what it does....Some insight please :-D

turbidblue 08-14-2004 12:52 AM

thanks!

[high]* turbidblue clicks install :)[/high]

dndog 08-14-2004 05:13 PM

Bravo! Excellent hack.

/me clicks install.


All times are GMT. The time now is 06: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.01120 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_code_printable
  • (2)bbcode_quote_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