PDA

View Full Version : Problem Post Icon


kkordas
03-06-2007, 03:00 PM
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.

CyberAlien
03-06-2007, 05:23 PM
In whatever template is used to display that post, delete this or similar code:<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
Enable option to show template names in html source then view page source to find what template it is.

kkordas
03-06-2007, 07:08 PM
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?

CyberAlien
03-06-2007, 08:02 PM
If code in your template is similar to standard postbit, then find this:<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>and before it add this:<if condition="$show['messageicon']"><td class="alt2"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></td></if>

kkordas
03-07-2007, 12:45 PM
:( 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

CyberAlien
03-08-2007, 11:21 AM
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.