The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
ProfilePic ForumHome Conditional
I need this code, somehow put in a plugin, global start Im presuming, But I dont think its 100% accurate, cuz I already tried it,and got erros
PHP Code:
I can't use this conditional in forumhome, cuz it doesnt work <if condition="$show['profilepic']"> I know using a plugin will help make it so I can use that conditional in any template. Can anyone help? My goal here is to say on the forumhome. If user doesnt have a custom profile pic, mention to them that they outta upload one. |
#2
|
|||
|
|||
Code:
<if condition="$show['profilepic']"> <img src="image.php?u=$vbulletin->userinfo[userid]&type=profile&dateline=$vbulletin->userinfo[profilepicdateline]"> <else /> <img src="$vboptions[bburl]/$stylevar[imgdir_misc]/profiledef.gif"> </if> And if you are only trying to put this on the forumhome, why not try a forum home hook location? |
#3
|
||||
|
||||
The <if condition="$show['profilepic']"> condition doesnt work on forumhome.
So maybe cuz its not usuable in that template. Im guessing I would need a hook. Can anyone help out with a hook, or what goes in it |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|