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)

jadkar 03-01-2007 03:29 AM

OK I tried again with another port of this producr called 2.0. Still the same exact thing. I'm runnig CMPS and whenever the rule pops up an I ageee to it I get sent back to my main CMPS screen. Then once more if I try to except the rule it doe the same thing.... boncing me back to my min CMPS screen

I find it hard to believe that his doen't happen to anyone else. Any help with this would be much appreciated. I'm suprised people on these forums don;t use this hack mre ofter.

AngusMacGyver 03-17-2007 10:02 PM

I installed the hack and it works almost fine on 3.6.5. Only one issue does't work.
If I choose one usergroup which should see the message, all users of all usergroups see the message. What is wrong in my installation or with my parameters.

Sax on the Web 03-17-2007 11:23 PM

Installed and got a database error. Cannot get to admincp now. Please help!

==========================================
Database error in vBulletin 3.5.4:

Invalid SQL:
SELECT * FROM ruleshack
WHERE (fileurl LIKE 'http://forum.saxontheweb.net/index.php' AND exactmatch = 1 )
OR (fileurl LIKE 'http://forum.saxontheweb.net/index.php%' AND exactmatch = 0 ) AND active = 1 ORDER BY ruleid;

MySQL Error : Table 'tmp.ruleshack' doesn't exist
Error Number : 1146
Date : Saturday, March 17th 2007 @ 05:17:30 PM
Script : http://forum.saxontheweb.net/

Rickeo 03-21-2007 12:45 AM

Amazing hack

rjmjr69 03-28-2007 03:59 PM

Quote:

Originally Posted by Mr_Snob (Post 1171818)
i have this one ported for 3.6.4 and many features added if you would i release it at vb.org :)


Could you please release. Or PM a copy something? I know your work is good I can only imagine what OTHER features you have made. Thank you

blogtorank 04-01-2007 10:43 PM

Quote:

Originally Posted by Black Widow (Post 1180536)
You have MySQL 5 installed.
use the zip file i uploaded just above your post.
It will work then.

Many thanks for the MySQL 5 version!

stwilson 04-02-2007 02:54 AM

Has anyone been able to get this working on 3.6.4 with MySQL 5? I have tried three different times and still only get a bunch of this:

Quote:

input->clean_array_gpc('r', array('forumid' => TYPE_INT, 'title' => TYPE_STR, 'ruletext' => TYPE_STR, 'ruleurl' => TYPE_STR, 'userids' => TYPE_STR, 'usernames' => TYPE_STR, 'usergroup_all' => TYPE_INT, 'groupids' => TYPE_ARRAY_INT, 'memberids' => TYPE_ARRAY_INT, 'firstnewthread' => TYPE_INT, 'postmore' => TYPE_INT, 'postless' => TYPE_INT, 'joindateafter' => TYPE_STR, 'joindatebefore' => TYPE_STR, 'lastactiveafter' => TYPE_STR, 'lastactivebefore' => TYPE_STR, 'lastpostafter' => TYPE_STR, 'lastpostbefore' => TYPE_STR, 'active' => TYPE_INT, 'conditions' => TYPE_INT, 'action' => TYPE_STR, 'limitstart' => TYPE_INT, 'ruleid' => TYPE_INT, 'allowbbcode' => TYPE_INT, 'repeated' => TYPE_INT, 'childforum' => TYPE_INT, 'newthread' => TYPE_INT, 'newreply' => TYPE_INT, 'viewforum' => TYPE_INT, 'fileurl' => TYPE_STR, 'exactmatch' => TYPE_INT)); if ($vbulletin->GPC['action'] != 'kill') print_cp_header(); if ($_REQUEST['do'] == 'rule') { print_cp_header($vbphrase['ruleshack_rules_manager']); print_form_header('rulesagreement', 'submitrule'); construct_hidden_code('action', 'newrule'); print_table_header($vbphrase['ruleshack_rules_add']); print_input_row($vbphrase['ruleshack_rules_title'], 'title'); print_textarea_row($vbphrase['ruleshack_rules_text'], 'ruletext', ''); print_input_row($vbphrase['ruleshack_rules_url'], 'ruleurl', ''); print_description_row('', 0, 2, 'thead'); print_yes_no_row($vbphrase['allow_bbcode'], 'allowbbcode', 0); print_yes_no_row($vbphrase['ruleshack_rules_repeated'], 'repeated', 0); print_yes_no_row($vbphrase['ruleshack_rules_active'], 'active', 1); print_table_break(); //**************************** // USERGROUP

blogtorank 04-02-2007 04:28 AM

Quote:

Originally Posted by stwilson (Post 1218046)
Has anyone been able to get this working on 3.6.4 with MySQL 5? I have tried three different times and still only get a bunch of this:

If you check two pages back you will see this post that one guy fixed it:

https://vborg.vbsupport.ru/showpost....&postcount=266

stwilson 04-02-2007 12:02 PM

Quote:

Originally Posted by blogtorank (Post 1218098)
If you check two pages back you will see this post that one guy fixed it:

https://vborg.vbsupport.ru/showpost....&postcount=266

Guess I should have mentioned that in my post. I tried that fix and it produced the results I posted above. Still not working for me. I have uninstalled and reinstalled, followed the instructions to the letter and still the same results. Still looking for someone with 3.6.4 and MYSQL 5 and a running version of this MOD.

dbirosel 04-03-2007 12:45 AM

Quote:

Originally Posted by Robert Basil (Post 824342)
Great hack! But...

I can't find a setting to have this displayed for all forums when posting a new thread or reply. I don't want to have to make a new rule set for each individual forum (we don't have any sub forums). I tried to set it for the main category but of course this did not work.

Any suggestions?

I need help with this too!!!!

dutchbb 04-09-2007 08:32 AM

This doesn't work with the survey hack, the survey hack stops working once both are enabled. maybe you can make them work together?

ElForro 04-27-2007 03:14 PM

I've two problems:

- When I check "Include Child Forums", the Rules appears when an Unregistered user tries to enter that forums [and child forums]. I hadn't check that Group to accept the Rules, and it only happens when I turn the "Include Child Forums" option on.

- When I try to enter a forum, the rules are displayed correctly. But when I try to enter directly to a Thread, the Rules and all the page don't loads the CSS file.. It appears that the path is incorrect: Insted of "http://www.domain.com/clientscript/vbulletin_css/style-d219a5c6-00001.css" it's "/clientscript/vbulletin_css/style-d219a5c6-00001.css", that is without the domain name. (I have the CSS to load as a separate file)

Thanks in advance and sorry about my english :$

redraider 07-28-2007 02:10 AM

I am looking for a similar hack on 3.6.7 or above .... anyone?


All times are GMT. The time now is 04:20 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.01660 seconds
  • Memory Usage 1,752KB
  • 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
  • (6)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
  • (13)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