The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hey,
i am trying to change the content of the author div in threadbit, base on whether the user is deleted or not. This is the default threadbit author div of the template i use (and also the default vbulletin4 i belive) Code:
{vb:rawphrase started_by_x_y_z_a, {vb:link member, {vb:raw thread}, null, 'postuserid', 'postusername'}, {vb:raw thread.postusername}, {vb:raw thread.startdate}, {vb:raw thread.starttime}, {vb:stylevar dirmark}} Quote:
Quote:
Code:
{vb:rawphrase started_by_x_y_z_a, {vb:raw post.username}, {vb:raw thread.postusername}, {vb:raw thread.startdate}, {vb:raw thread.starttime}, {vb:stylevar dirmark}} Quote:
Code:
Started by {vb:raw thread.postusername}, {vb:raw thread.startdate} {vb:raw thread.starttime} My questions are: - How can i test in the template whether the user still exists or not with some <vb:if> (or something else) IF user exists Started by Username with markup and all ELSE Started by Deletedusername just plain text - and how can i then use phrase replacements without vbulletin marking the deleted usernames as links? Any suggestions? Regards |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|