PDA

View Full Version : Display thread-id in redirection-page after a thread was created


kesandal
01-27-2011, 01:51 PM
Hello,
my question is simple ;)


After the user writes a new thread he always see the redirection page.

On this page I would like to post the username and the threadId (of the new created thread).

Mystics from the german vBulletin-team gave me the following code:


<vb:if condition="($_REQUEST['do'] == 'postreply' AND $threadid = $_REQUEST['threadid']) OR $_REQUEST['do'] == 'postthread'">
Benutzer: {vb:raw bbuserinfo.username}
Thema: {vb:raw threadid}
</vb:if>


This just works for a reply not for a new thread.

Maybe this could be realized by making a plugin?

Tanks in advance
kesandal

kesandal
01-29-2011, 05:13 PM
I'll answer the question by myself...

I've created a plugin which gives me the latest post of a user for a given user-id