PDA

View Full Version : add a button in a specific thread


Harmachis
12-22-2008, 03:13 PM
Hello,
is there any way to ADD a button (beside POST REPLY button) in a specific thread (not all thread)

here's what I want:

https://vborg.vbsupport.ru/external/2008/12/17.png

I reapet, i want to add in a specific thread not all thread

tnx in advance :)

Lynne
12-22-2008, 03:22 PM
Sure. You need to put a conditional around it to have it only show in that one thread:
<if condition="$threadinfo[threadid] == 'xxxx'">
button
</if>
You should also make sure you have a condition in the page the button uses that won't allow other threads to 'use' the button also (just changing the GET parameter if that is how you are passing the threadid).

Harmachis
12-22-2008, 04:11 PM
tnx Lynne :)

daydie
01-12-2009, 09:42 PM
what if this was wanted into more whan one forum?

--------------- Added 1231805207 at 1231805207 ---------------

help please

Bellardia
01-12-2009, 10:10 PM
what if this was wanted into more whan one forum?

--------------- Added 1231805207 at 1231805207 ---------------

help please

Forum or thread? Specify ;)

daydie
01-12-2009, 10:47 PM
Forum display, for setin forums only. (also threads within)

--------------- Added 1231807740 at 1231807740 ---------------

i have this but dont work

<if condition="$foruminfo[forumid] == ' 343, 368, 369, 370, 371, 358, 364, 365, 366, 367'">
lolol
</if>

Lynne
01-12-2009, 11:48 PM
Try this:
<if condition="in_array($foruminfo['forumid'], array(343, 368, 369, 370, 371, 358, 364, 365, 366, 367))">
lolol
</if>

daydie
01-13-2009, 12:02 AM
thanks

Aprichated