The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to add a message shows up in all threads to vistors and not to users?
Dear all,
I want to put a message in all threads and can be seen only for visitors and not the users? |
#2
|
||||
|
||||
Then just put a condition around it to only show to guests.
HTML Code:
<vb:if condition="!$show['member']">message</vb:if> |
#3
|
|||
|
|||
Dear Lynne,
You did not say where to add this code |
#4
|
||||
|
||||
If you want it in the threads, then you should put it somewhere in the SHOWTHREAD template.
|
#5
|
||||
|
||||
Why not use the Notices system?
|
#6
|
|||
|
|||
Quote:
--------------- Added [DATE]1307168864[/DATE] at [TIME]1307168864[/TIME] --------------- I want the message shows inside the thread, Can I do that by Notices system? and how? |
#7
|
||||
|
||||
Where exactly do you want it to show? We can make no recommendation on how to go about this without knowing *exactly* what you want. An image may help and a link to a thread on your site may also help.
|
#8
|
|||
|
|||
Quote:
As I mentioned before I want the message shows inside the thread for instance at the end of the thread, the message for instance is to tell visitors that they must join the forum and put one reply to the thread to be allowed to download the attachments So each visitor reading the thread will read the message as well, and this message shows only to visitors not members. The message will be added automatically with each new thread since it will be inside the thread template with condition to shows only to visitors I tried the code which you gave me in SHOWTHREAD and postbit_legacy , but no luck my forum site is : www.mobileguide-mea.com/vb |
#9
|
||||
|
||||
I put that exact code right under the poll and it worked just fine:
Code:
{vb:raw header} {vb:raw navbar} {vb:raw template_hook.showthread_above_posts} {vb:raw poll} <vb:if condition="!$show['member']">message</vb:if> |
#10
|
|||
|
|||
Dear Lynn
I did all what you said (look at the picture), but no message shows inside the thread !! I Tried it for both member and guest Iam using Vb 4.1.3 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|