PDA

View Full Version : Overlapping Form in Showthread problem


Aaron1
10-13-2004, 06:00 PM
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/showthread.php?s=&threadid=34597


Firefly's Multiquote hack:
https://vborg.vbsupport.ru/showthread.php?s=&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