PDA

View Full Version : Showthread Conditional help please


Mickie D
02-11-2013, 12:13 PM
Hi All

I am in the middle of making some new modifications to my site.

And i am in need of the userid of the first poster on the showthreads page?

Is there a conditional for this or is that a plugin that needs to be made?

Thanks very much.

Mick

kh99
02-11-2013, 12:27 PM
Do you mean the userid of the author of the first post? And do you mean the first post shown, or the first post in the thread?

Mickie D
02-11-2013, 12:34 PM
yes the userid of the first poster (author)

http://www.digitalworldz.co.uk/303161-testing-new-features.html

If you have a look at the top I am trying to integrate our forms mod with itrader... but I need to get the userid of the first poster :)

Thank you very much KH99

Regards
Mick

kh99
02-11-2013, 12:41 PM
OK, so you mean the user who created the thread? Try {vb:raw threadinfo.postuserid} (or $threadinfo[postuserid] in a condition).

Mickie D
02-11-2013, 12:53 PM
Brilliant, the actual code was

{vb:raw thread.postuserid}

I worked it out from your code :)

Thank you so much!!!!