vBulletin

Thank you for visiting. This is our website archive. Please visit our main website by clicking the banner above.
vBulletin FAQ is dedicated to helping the forum owner build, manage and profit from his vBulletin Forum
vBulletin Web Hosting - Free skins and styles for your vBulletin - Search Engine Optimization




Eliminate sigs forum by forum?

PKRWUD
05-05-2005, 03:03 AM
This is probably the wrong place to post this. If so, forgive me.

I've got a question for you wonderful vB brainiacs. Is it possible to eliminate signatures from appearing on a forum by forum basis? I have one forum on my site that I would like to prevent any sigs from appearing in. Any thoughts?

Thanks-

theMusicMan
05-05-2005, 04:05 PM
Yes - indeed this is certainly possible.

I would use several conditionals to check for the forumID and only post the signature for posts in those forumID's. You can have the conditional in the postbit or postbit_legacy template depending which layout you use on youu board.

I believe the syntax of the conditional is thus;

<if condition="$forumid = 'x'">
signature code here
</if>

... where 'x' is the forumID

Joeychgo
05-05-2005, 04:39 PM
Nice John - Thanks.

contactsonia
05-05-2005, 09:00 PM
You people seem to know everything about vBulletin :D
I have got answers to all my queries. Wow!
Keep it up.

.

theMusicMan
05-05-2005, 11:26 PM
You people seem to know everything about vBulletin :D
I have got answers to all my queries. Wow!
Keep it up.

.

... except the one that is. "How can vB make me money such that I can stop working for someone and work for myself" :)

PKRWUD
05-10-2005, 02:20 AM
Yes - indeed this is certainly possible.

I would use several conditionals to check for the forumID and only post the signature for posts in those forumID's. You can have the conditional in the postbit or postbit_legacy template depending which layout you use on youu board.

I believe the syntax of the conditional is thus;

<if condition="$forumid = 'x'">
signature code here
</if>

... where 'x' is the forumID


Thank you for the info! Our race schedule has been busy the last couple weeks, and I don't get online as often as I'd like, otherwise I would have stopped by sooner.

Question:
I understand your suggestion, but I have one more question. I have over 30 different forums on my website, would I need to add 30 different conditionals to my postbit_legacy template, or is there a way to list them all in the same conditional? If so, what would be the proper syntax for multiple forum numbers?

Thanks!

PKRWUD
05-10-2005, 02:24 AM
Actually, this is the sig code currently:

<if condition="$post['signature'] AND $bbuserinfo[userid] != 0">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>


How would I modify that to make it work with your suggestion, and for 30+ forums?

Forgive my ignorance.

PhotoDiscussions
06-05-2005, 01:16 AM
You'll just have to edit this one time, with the forum id's seperated by coma's (,) i beleive, try that and see if it works. IT might not, i'm no expert ;) Just a thought


<if condition="$forumid = 'x,x,x,x,x'">

<if condition="$post['signature'] AND $bbuserinfo[userid] != 0">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>
</if>


Or maybe even, I think one of these ways should work just fine, just replace X with your forum id


<if condition="$forumid ='x,x,x,x,x' AND $post['signature'] AND $bbuserinfo[userid] != 0">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>


vBulletin

seo book

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum