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 08-21-2002 09:10 PM

No, don't be sorry. I want to thank you. If you hadn't shown me that piece of code (which I should have found myself, dummy me :)) then it never would have clicked with me the right way to do it. So, thank you again, my friend. :)

Quote:

Originally posted by Xenon
ahh, sorry i didn't know the hack, i just thought you want everybody back to forumdisplay ;)

Colon33 08-26-2002 01:36 PM

Quote:

Originally posted by Mystislav
Ok, here is the message

Fatal error: Call to undefined function: unindexpost() in /home/sjmadho/public_html/board/newreply.php on line 288

and the exact newreply is in the attactments .. thanks alot.

I am getting this exact error problem, and i looked in my functions.php file but where am i looking for an error? I had to change this line

$noshutdownfunc = 0; // #CHANGE ME IF YOU CAN'T USE register_shutdown_function

to this:

$noshutdownfunc = 1; // #CHANGE ME IF YOU CAN'T USE register_shutdown_function

because my thread views stopped working. Got any ideas where my functions.php file is messed up? Otherwise i dont know how to fix it... any assistance would be very helpful.

Bloodfist 09-11-2002 06:17 PM

For some reason, on my board "/" appear before " ' " in the second post.

Bloodfist 09-11-2002 06:18 PM

like 'this (test)

Xenon 09-12-2002 09:29 AM

yes, seems there was a addslashes function where it shouldn't be
corrected

Boofo 09-12-2002 09:38 AM

Stefan, can you let us know where that was at so we can correct it on what we already have installed? :)

Quote:

Originally posted by Xenon
yes, seems there was a addslashes function where it shouldn't be
corrected


Xenon 09-12-2002 09:50 AM

no problem
it was addslashes($message) and it should just be $message in the update post line :)

kikosho 09-14-2002 02:41 AM

Xenon...I am sorry, I am definitely missing something, so can you please clarify for us dense board admins? :)

what php or template file needs to be edited so that I can remove the slashes from the double post actions? (and if possible, can you include which line it's on?) thanks.

Xenon 09-14-2002 11:06 AM

you have to edit newreply.php and change addslashes($message) into $message in the part of my hack..

Colon33 09-14-2002 01:22 PM

Does this fix that unindex error i am getting? I was told to upload a new functions.php.. did that, doesnt work, still unindex error


All times are GMT. The time now is 12: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
  • Page Generation 0.01175 seconds
  • Memory Usage 1,733KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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