REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Quick add buddy in Posts [HELP]
#1
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]
Reply
#2
In the postbit template you use {$post['uid']} the $memprofile is only used on profile pages.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Auto add theme anxtrist 1 1,330 May 22, 2012, 06:46 AM
Last Post: Oliver Evans
  Downloads + Forums Posts, point system Darkwin 2 1,983 Apr 09, 2012, 03:48 PM
Last Post: labrocca
  Latest Reported Posts Page Fishy 1 1,549 Apr 06, 2012, 07:44 PM
Last Post: labrocca
  Add display order to tabs Ronbo 0 787 Mar 19, 2012, 10:49 PM
Last Post: Ronbo
  The Minimum Posts Suite demohein 0 966 Jan 22, 2012, 02:23 PM
Last Post: demohein

Forum Jump:


Users browsing this thread: 1 Guest(s)