The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Move through xml/html in vbulletin?
Hello, I currently have the code
Code:
<if condition="$show['openclose']"><div><label for="ao_oct0"> <input type="checkbox" name="openclose" value="1" id="cb_openclose" tabindex="1" $checked[openclose] /> <if condition="$show['closethread']">Lock <else />$vbphrase[open_thread]</if></label></div></if> <if condition="$show['movethread']"> <div><label for="ao_mvt"> <input type="checkbox" name="do" id="ao_mvt" value="movethread" />Move</label> </if> P.S. I want this for both SHOWTHREAD and THREAD TOOLS |
#2
|
||||
|
||||
You are using an input tag, but where is the rest of the form? You need to add some hidden fields into the form regarding what forum to move it to. I think there is a mod already written to do this, try a search if you are interested in it.
|
#3
|
|||
|
|||
Thank you for your reply, I can not find any code or modification for this type of problem. I have even tried researching some template information but can not find anything. Please code me this. Thanks again. Sorry.
EDIT: The first paragraph of code (the lock) works perfectly but the second part does not. |
#4
|
|||
|
|||
bump, please help.
|
#5
|
||||
|
||||
I seem to recall that in order to do a move, the form action is do=domovethread and, as I said, you need to include hidden input fields to tell is which forum it will have to move into. I think you may also have to include hidden fields for the variable "redirect" (and maybe a couple more). You need to read the postings.php file to see what is needed.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|