vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Overlapping Form in Showthread problem (https://vborg.vbsupport.ru/showthread.php?t=70533)

Aaron1 10-13-2004 06:00 PM

Overlapping Form in Showthread problem
 
So far nobody has made a working hack with these two combined. Well atleast i couldn't find it while searching Vbulletin.org's database. It would be awesome if these both hacks could work well together.

Firefly's Quick reply box hack:
https://vborg.vbsupport.ru/showthrea...threadid=34597


Firefly's Multiquote hack:
https://vborg.vbsupport.ru/showthrea...threadid=36896


The problem is that showthread has two overlapping form scripts that's needed for the quick reply & the multiquote hack. I have no idea how to combine it, so that they work both. The moment I close one of them with "/form" the other "feature' stops working. Anyone willing to help me out?

/Aaron

Colin F 10-13-2004 07:22 PM

Try only making one form, which is closed all the way at the end. Then, add a hidden field AFTER the first submit button but before the second submit button. In the script, check if that field is TRUE.

Aaron1 10-15-2004 05:19 PM

Colin thanks for your help (I couldn't respond sooner) but I am still puzzling. Because it's always one form that's working, i can't get them to work both at the same time :-(

I have added this (see below) after the first submit button but no change...
<input type="hidden" name="vbform" value="true">

The form structure of the page was like this (before your suggestion):

<!--- quote reply form --->
<form $enctype id="quotereply" action="newreply.php" name="quotereply" method="post">
<input type="hidden" name="s" value="$session[sessionhash]">
<input type="hidden" name="threadid" value="$threadid">
<!--- quote reply form --->

Submit Quote Reply button

<!---- fast reply form ---->
<form $enctype action="newreply.php" name="vbform" id="vbform" method="post">
<input type="hidden" name="s" value="$session[sessionhash]">
<input type="hidden" name="action" value="postreply">
<input type="hidden" name="threadid" value="$threadid">
<!---- fast reply form ---->

Submit Fast Reply button

Submit Quote Reply button

Maybe you can help me abit further what I could try aswell?

Thanks again!

/Aaron


All times are GMT. The time now is 07:03 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.01001 seconds
  • Memory Usage 1,717KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete