Solved: 2 Years, 10 Months ago How to get {$post['pid']} to show on usercp_latest_threads_threads template?
Solved: 2 Years, 10 Months ago
Hey gang, is it possible to get {$post['pid']}, as in the post id,

to show on the usercp_latest_threads_threads template?

I think I figured it out, and it is way deeper than first imagined::: within a custom plugin that calls the template via var,
I simply added and it worked

$query = $db->query("SELECT pid

so latest thread query was formulated as

$query = $db->query("
SELECT t.*, t.username AS threadusername, u.username,, lu.avatar,, p.message

without a plugin, one would just add directly to the query in the file that outputs the latest threads var.
Hey man, what's up?

Forum Jump:

Users browsing this thread: 1 Guest(s)