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]
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=""/></a><br /> 

there is a slight problem though.
[Image: untitled.JPG]
In the postbit template you use {$post['uid']} the $memprofile is only used on profile pages.

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

Forum Jump:

Users browsing this thread: 1 Guest(s)