The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Please change this vB3 code to work in vB4 and how to use human_verify in newthread
Hi,
I want this code that works in vB3 to be changed to work in vB4. Code:
<tr> <td class="smallfont" colspan="3"><fieldset class="fieldset" style="width:630px;"><legend> new thread in <strong>$foruminfo[title]</strong></legend><div style="padding:3px"><strong>Description</strong>: $foruminfo[description].<br /><br /></td> </tr> Thanks. |
#2
|
|||
|
|||
It would be this:
Code:
<tr> <td class="smallfont" colspan="3"><fieldset class="fieldset" style="width:630px;"><legend> new thread in <strong>{vb:raw foruminfo.title}</strong></legend><div style="padding:3px"><strong>Description</strong>: {vb:raw foruminfo.description}.<br /><br /></td> </tr> You would need a mod to enable HV just for a new thread. You could try this: create a plugin using hook newthread_start and this code: Code:
$vbulletin->options['hvcheck'] &= $vbulletin->bf_misc_hvcheck['post']; but I haven't tried it at all. (you would need to enable Human Verification in the Human Verification Manager, if it isn't already. You can select which actions you want verification for in the Human Verification Options (in the option, not the manager). Edit: you might also search for an existing mod - I didn't do that. |
#3
|
||||
|
||||
Thanks you, it worked with a lil changes to fit vB4 editor.
Code:
<br /><legend> New thread in <b>{vb:raw foruminfo.title}</b></legend><div style="padding:3px"><br /> <b>Description</b>: {vb:raw foruminfo.description}.<br /> <br /> Regarding HV, if theres a mod I will try finding it or maybe ignore it if it gonna edit much in forum code and template for easy update. Edit: And what about this code "{vb:raw human_verify}" in newthread. Does it has anything to do with HV in new thread. |
#4
|
|||
|
|||
Quote:
Quote:
|
#5
|
||||
|
||||
I got HV working, just needed to active it in Usergroups. No template edit needed.
I`m sure there is a code that shows sub-forums without mod just like "{vb:raw foruminfo.title}" to show forum title. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|