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)

DPSR 02-13-2007 02:03 AM

Quote:

Originally Posted by Black Widow (Post 1180756)
i fixed something there.
download and upload again.

Working just fine on my vb3.6.4 :D

Thanks a lot Black Widow :up:

stwilson 02-13-2007 12:55 PM

Still a no-go for me. Here is what I get when I access the Rules CP

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);

stwilson 02-13-2007 12:56 PM

Almost forgot. I am on MySQL 5 and 3.6.4. Basically, I uninstalled, reinstalled and got the above error.

s0lidgr0und 02-13-2007 02:15 PM

Any thoughts?
Quote:

Database error in vBulletin 3.6.4:

Invalid SQL:
INSERT INTO cron (weekday, day, hour, minute, filename, loglevel, title )
VALUES (-1, -1, 0, 'a:1:{i:0;i:-1;}', './includes/cron/cron_ruleshack.php', 1,
'Rules and User Agreement Hack Reset');

MySQL Error : Unknown column 'title' in 'field list'
Error Number : 1054
Date : Tuesday, February 13th 2007 @ 10:10:39 AM

dutchbb 02-13-2007 03:41 PM

Quote:

Originally Posted by Black Widow (Post 1180756)
i fixed something there.
download and upload again.

Thanks! Nog bugs or problems so far with this one :)

poprulz 02-14-2007 12:32 PM

I am using vB 3.6.1

I tried installing the original version attached with this thread and it gave me a itle filed eror. So i downloaded the patched 1 with variable name.

When i import product. nothing happens...the bar remains as such and nothing seems to work.

Please provide me with a working version for 3.6.1.

butty 02-14-2007 12:47 PM

thanks to uae for the hack and thanks to black widow for posting the patch for 3.6.4 got it working perfectly great stuff :)

BigJimTheLug 02-21-2007 04:37 AM

So this does work on 3.6.4?

f!nal 02-28-2007 04:53 PM

I have a problem , i have vb version 3.6.4 and when i import the xml file, i become a error:

Invalid argument supplied for foreach() in /includes/functions_cron.php (line 95)

i have the german forum is this the problem?

jadkar 02-28-2007 09:00 PM

Quote:

Originally Posted by jadkar (Post 1101602)
I installed vBSEO after this hack has been running for about a year and now it's dead. Does anyone have any expirence using this with vBSEO??

My problem is that as soon as a user agrees to the rules and clicks submit it bounces them back to the main forum index page. :(:(

This hack was instrumental on my site if this can't work does anyone know of a similar one??

Please help :)

Nobody has an answer to this......please!!


All times are GMT. The time now is 11:13 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
  • Page Generation 0.01569 seconds
  • Memory Usage 1,740KB
  • 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
  • (5)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