![]() |
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
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
|
Nice, great job, thanks for sharing!
*clicks install* |
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"); Code:
$rules = $DB_site->query("SELECT * FROM " . TABLE_PREFIX . "rules ORDER BY ruleid ASC"); |
Awesome hack! I like this alot
|
Quote:
|
Very nice modifications polo ! ;)
Quote:
|
Nice Hack :) I'll definately be using this probably with another rules hack
|
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
|
thanks!
[high]* turbidblue clicks install :)[/high] |
Bravo! Excellent hack.
/me clicks install. |
Hmmm, I Click Rules, And A Blank Screen Shows Up!....Help Me Plz
|
Oh Nvm, My Fault...Got It...Great Hack!
|
when i view the rules page the main section is too wide.
my forums have a width of 770, the main rules page sticks out, but if i view a rule it's back to the correct width why is this? (see attached picture) |
Wow.
I was looking for this and will install it in the next days. Great work. |
Quote:
find PHP Code:
|
Quote:
i found out what is was tho... there was no PHP Code:
|
Can't use HTML?
|
i installed this great hack but its not the one i was after :(
i was sure i read that you could make your members agree to the rules or they would not be allowed to view the forums ? |
No, it's simply a display of your rules, but you can edit the rules in the register form ! Members have to agree this rules or they would not be allowed to view the forums
|
I just installed this, but....
where do I go on the admin area to insert my rules? I cant find anything there. |
I have a problem.
I have installed the hack,but i became an error from MySQL in init.php : Line 517 What can i do? I need this hack. |
I suggest you to desinstall and reinstall the hack because I can't see the bug and nobody tell me about this bug !
|
Hallo!
Just now i have reinstall hack. Here is error: Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /www/includes/init.php on line 517 Database error in vBulletin : Invalid SQL: SELECT * FROM style WHERE (styleid = 0 AND userselect = 1) OR styleid = ORDER BY styleid ASC LIMIT 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 'ORDER BY styleid ASC LIMIT 1' at line 4 mysql error number: 1064 Script: http://www.*****/rules.php? Referer: http://www.****/rules.php? My init.php line 517: ), $specialtemplates); Quote:
Where is a problem? |
I have a question.
I changed the name of the files to advertise.php and admincp/advertise.php and I changed the code where everytime I saw rules.php i put advertise.php Now I got the hack all going I can access advertise.php and I can see the stuff in the admincp but when I try to add something in the admincp it just gives me a blank screen. Did I miss something? |
anybody ^^^^
|
Do you edit the .php files ?
|
edited them everywhere it said rules.php I changed to advertise.php
|
Cool hack, thanks!
I have a request, though, and that is to be able to select the order that the rules are displayed in. Is that possible to do? |
Quote:
|
for some reason everything works for the rules hack except the Button in the admincp is showing up blank then if u click the blank button it will show rules manager and add a rule. Any info would be greatly helpful and yes the hack is working otherwise i can ad rules and they will display on the forums if clicked just the title of the button in admincp is not working please help
|
installation went fine but no rules i add them but they don't show up in the attached image you'll see what i mean
|
Did you upload the rules.php files correctly?
One goes in your forum root directory, while the other (admin/rules.php) goe in your admincp folder. My install went flawlessly, even though I did a little customizing on the fly. *** install clicked *** |
Execute this request :
CREATE TABLE rules ( ruleid int(5) unsigned NOT NULL auto_increment, title varchar(50) NOT NULL default '', description mediumtext NOT NULL, PRIMARY KEY (ruleid) ) TYPE=MyISAM; ????????????????????? |
hehe the database table is already there otherwise it wouldn't work at all i see that "nav groep" in my acp i can even add rules but ....
|
TRy to reupload the rules.php files !
|
aight, I know htis is a stupid mistake on my part some where. I have been at this for 2 pathetic hours, I have deleted and reinstalled, checked the list twice, 2 problems.
1. Rules is NOT showing up on the navbar --I bet this is a style error of somesort, I only have 2 styles default and HT I have done everything in HT. 2.The button in the admincp DOES NOT say Rules manager --I redid the phrases trying to correct this and looked in the rules.php. Any help please, ohh and I have the forums shut off for this and about 4 other hacks, simply due to backing it up and haveing people post whaile I was working onit. I found it easier to tell em to wait thatn to deal with loosing their posts when ya have to restore from the backup so time is of the essance here. THANKS, Hammer |
Alrighty then, I got #'s 1 and 2 fixed, now when I click on the "rules" in the nav dar I get a blank whit screen. I am able to add rules in the admincp, its on the navbar all is coolio but the blank whit screen.
I have uploaded rules.php twice to double check nd I have them in the right folders. Any help? |
Quote:
|
you need to probably add the templates in step 4
|
thanks :) i missed one of templates out. working now :D
|
All times are GMT. The time now is 04:47 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|