The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Problem Post Icon
Good afternoon.
I am facing a problem with the post icon when i am sending the post to portal. If someone creat a post in a forum (news) and choose a post icon, when i send the post to the portal i want the post icon to appears in the left side of the post.(to replace avatar in the example). Can somebody help me? Thank you in advanced. |
#2
|
||||
|
||||
In whatever template is used to display that post, delete this or similar code:
Code:
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if> |
#3
|
|||
|
|||
If i get it right deleting this code i am solving the first part of the problem making the image above desapear.
How can i put now the icon in the left place of the post? In (the place that now is my avatar in the example) is there any code that when i post something in news to choose the news icon and put it there automaticaly? |
#4
|
||||
|
||||
If code in your template is similar to standard postbit, then find this:
Code:
<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if> Code:
<if condition="$show['messageicon']"><td class="alt2"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></td></if> |
#5
|
|||
|
|||
I made what you said but do not become nothing. Why?
I want to take this code that puts the icon from above post and him to put in in post. Simply when I make post and select a icon and when post this him I publish in portal then him it makes all automatic. (It presents also the post and Icon) View the example that I have if you can again. Thanks |
#6
|
||||
|
||||
Then it must be in some other template. Enable option to show template names in html code and view page source to find what template is used for that page.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|