2012-07-16, 12:45 AM
Hello there,
I am adding an element on the postbit of my forum. Instead of number of posts I am making the number of likes on posts the user received as a gauge for activity.
I would like to make a link on the postbit so that it searches for all the posts the user recieved. How do I go about doing this?
The link is "Find All Posts Liked For" on this page http://gw2ph.com/user-1.html . The URL that comes out after clicking is this http://gw2ph.com/tylsearch.php?action=re...cd493d7a9b
I tried adding this code but it just brings me to the default search page.
Found a solution!
Actually {$uid} doesn't work in postbit but only in userprofile so I used {$post['uid']} instead. Cheers!
I am adding an element on the postbit of my forum. Instead of number of posts I am making the number of likes on posts the user received as a gauge for activity.
I would like to make a link on the postbit so that it searches for all the posts the user recieved. How do I go about doing this?
The link is "Find All Posts Liked For" on this page http://gw2ph.com/user-1.html . The URL that comes out after clicking is this http://gw2ph.com/tylsearch.php?action=re...cd493d7a9b
I tried adding this code but it just brings me to the default search page.
<a href="http://gw2ph.com/tylsearch.php?action=usertylforposts&uid={$uid}"><img src="../../../images/gw2/heart.png"> {$post['tyl_unumrcvtyls']}</a>
Found a solution!
Actually {$uid} doesn't work in postbit but only in userprofile so I used {$post['uid']} instead. Cheers!