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)

uae 10-09-2005 01:54 PM

Quote:

Originally Posted by thedvs
Seems to be a problem with the 12 hour reset now, after the 12 hours it asks you again to sign the rules, you agree... then instead of letting you continue viewing threads it keeps asking for you to sign the rules again. Any ideas? To me it seems to be a cron issue.

Can you go to the Scheduled Task Manager and go to edit Rules and User Agreement Hack Reset
does it look like this:

Title: Rules and User Agreement Hack Reset
Day of the Week: *
Day of the Month: *
Hour: 0
Minute: *
Log Entries: yes
Filename: ./includes/cron/cron_ruleshack.php

uae 10-09-2005 01:55 PM

Quote:

Originally Posted by Delphiprogrammi
hi people,
i get this MySQL error while trying to add the product XML
seems like . "TABLE_PREFIX ." thingy is missing somewhere

Sorry for that, just get the latest product xml file and import it with Allow Overwrite to YES.

LadyBeth 10-09-2005 01:59 PM

NICE! Clicking install....
Beth

Delphiprogrammi 10-09-2005 03:38 PM

well... ,

This refuses to work for me.I managed to get past the MySQL error that was pretty simple

Quote:

INSERT INTO vb3_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');
but i don't have a link called "rules manager" under the forums&moderator navgroup and yes i did uploaded the XML file which should take care of that

Yorixz 10-09-2005 03:59 PM

Perfect hack, just what I was looking for, thanks so much!

uae 10-09-2005 04:05 PM

Quote:

Originally Posted by Delphiprogrammi
well... ,

This refuses to work for me.I managed to get past the MySQL error that was pretty simple
but i don't have a link called "rules manager" under the forums&moderator navgroup and yes i did uploaded the XML file which should take care of that

mmm, that's weird... did you upload cpnav_rulesagreement.xml to the xml directory?

Just upload it first, then import the product xml file, and last, refresh your admincp page and see the links, should be there!!

Delphiprogrammi 10-09-2005 04:12 PM

Quote:

Originally Posted by uae
mmm, that's weird... did you upload cpnav_rulesagreement.xml to the xml directory?

Just upload it first, then import the product xml file, and last, refresh your admincp page and see the links, should be there!!

i was to fast in posting :surprised: i saw you updated the package and all is working fine now no more MySQL errors and i have those links in my admincp

thanks for this one i like it

dethfire 10-11-2005 04:06 AM

there seems to be a bug:
When I set some rules I know I was the first to agree to them, however, I went to members profiles right after I agreed, some members who went even online and it said they had agreed to the rules which was impossible.

I think it is just the template error because if I click reset rule in admin it tells me only 1 user has agreed. However every members profile says they agreed to all of them.

Mickie D 10-11-2005 08:10 PM

great release :)

one thing if you choose a rule applys to a guest does it work on cookies or something, or wont it work with guests ?

thanks for the hack will install this weekend whatever the answer ;)

dethfire 10-12-2005 05:05 AM

I got members who say they have to repeatedly reagree to guidelines over and over again, like it doesn't register that they already signed it.


All times are GMT. The time now is 09:42 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.02066 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