Current time: 01-09-2009, 07:51 AM Hello There, Guest! (LoginRegister)


Post Reply 
Quick add buddy in Posts [HELP]
10-18-2008, 06:59 PM
Post: #1
Quick add buddy in Posts [HELP]
hello, everyone. i am trying to make a small implementation to every thread/post on my forum. so that people can add buddys quickly from the posts.

check the below code out. this is the postbit template. next to the onlinestatus i have added a code. which shows a image and a link to add the buddy that has posted.

PHP Code:
                            <strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<a href="usercp.php?action=quickaddbuddy&uid={$memprofile['uid']}"><img src="http://www.movie-247.net/images/user_add.png"/></a><br /> 

there is a slight problem though.
[Image: untitled.JPG]
Find all posts by this user
Quote this message in a reply
10-18-2008, 08:58 PM
Post: #2
RE: Quick add buddy in Posts [HELP]
it is {$post['uid']} not {$memprofile['uid']}

try
PHP Code:
<strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<a href="usercp.php?action=quickaddbuddy&uid={$post['uid']}"><img src="http://www.movie-247.net/images/user_add.png"/></a><br /> 

[Image: bombo.php]
Happy New Year
Gelukkig Nieuwjaar
Visit this user's website Find all posts by this user
Quote this message in a reply
10-19-2008, 02:08 PM
Post: #3
RE: Quick add buddy in Posts [HELP]
yea thanks. i already fixed it Toungue
Find all posts by this user
Quote this message in a reply
10-22-2008, 06:10 AM
Post: #4
RE: Quick add buddy in Posts [HELP]
hmm tried it but on my side it doesnt work, the buddy doesnt get added, can you post what you did?
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: