vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Prevent Doubleposting (https://vborg.vbsupport.ru/showthread.php?t=40145)

Boofo 05-01-2003 04:19 PM

I don't have this hack installed on 2.2.9 right now. I un-installed it when I couldn't get the time and date to show for the double post and haven't re-installed it yet. I clicked the install button just now, anyway, though. ;)

I know we went through this when I had 2.2.5 up and running, but I don't remember how we did it. I want to add an option in the Admin CP to turn it off if I need to do some testing on the site and be able to turn it back on again. maybe even have it be able to be disabled for Admins. Any ideas? ;)

Xenon 05-01-2003 04:49 PM

hmm, if we already worked it out, maybe you can find it again in the thread ;)

Boofo 05-01-2003 04:51 PM

Any way to get the date (if different from the original date) and time of each double post?

Xenon 05-01-2003 04:56 PM

not without changing the table structure...

Merlin3649 05-13-2003 04:04 AM

everything seems to be working without a hitch, just wanted to pitch in my 2 cents worth of affirmation :P

Merlin3649 05-13-2003 04:33 AM

oh, just for everyone's edification, if you run into a 1064 mysql error number after doing the hack, make sure you didn't remove the line

$postid=$DB_site->insert_id();

that's at the very end of the text you're told to replace in the .txt file. I did that by accident and it caused errors until I realized my mistake. The line in question is directly one line after the end of the php-to-be-replaced, so just don't highlight too far :P

Hobbes 06-22-2003 01:54 AM

Ok....

I'm not sure where to post this....buuutt...I have a dilemma!

Alright, I've installed this hack double post prevention and the remove redirects hack...

but here's my problem!!

Let's say I post on page 3....once I submit, I am redirected back to page 1....

If I go back to page 3 (after posting) and double post, I am redirected back to page 3.

this has become quite a nuisance....having to go back...

so i'm wondering...is this the remove redirects

or

the double post prevention thats causin this ackward weird silly thing

!!!????

Anyhelp would be greatly appreciated :)

Xenon 06-22-2003 10:15 AM

neither nor...

it's the normal procedure to be redirected to the posted post.
if it's not like that on your board, you've hacked it, and have to apply the same hack to the prevent doublepost hack :)

Kriek 07-05-2003 09:35 PM

Decided to alter 3600 to 86400 * 30 ;)

24 hours x 60 minutes per hour x 60 seconds per minute yield 86,400 seconds in a day.

86,400 seconds in a day x 30 yield 30-day timeout.

Naturally you could write 2592000 as well.

[high]* Kriek spanks install[/high]

Xenon 07-06-2003 05:36 PM

not bad, doubleposting timeout for 30 days ^^


All times are GMT. The time now is 03:03 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.01196 seconds
  • Memory Usage 1,730KB
  • 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
  • (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