The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
anonymous mod
Hello,
I just made a custom mod inspired from https://vborg.vbsupport.ru/showthread.php?t=177694 but facing few minor problems with this. Code:
$template_hook['newthread_start'] = 'Post Anonymous: <input type="checkbox" name="anonymous" value="1" tabindex="1" title="Post Anonymous">'; now the main thing: I need to write a IF clause where i need to see If the check box is checked then it must show ANONYMOUS (That is it should Hide the USER Details)... ELSE show the username like a regular Post. Code:
if (anonymous == "1") { $template_hook['postbit'] = '<center><span class="username guest"><b>Anonymous</b></span><img src="images/anon.gif" /></center>'; }else { $template_hook['postbit'] = 'test'; } Is there someone who can help me with complete this mod? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|