Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 08 Nov 2004, 00:32
burrelly burrelly is offline
 
Join Date: Oct 2002
Show users sig once per page

I am looking for a mod that makes a users Signature appear only once per page.

Running VB 3.0.3

Thanks
Reply With Quote
  #2  
Old 08 Nov 2004, 01:06
CarCdr CarCdr is offline
 
Join Date: Apr 2004
You can do this in the template, using a trick that creates a value that lives in PHP. Presuming you use the regular postbit to display posts, as opposed to the legacy postbit, then look in in the "postbit" template for these lines:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The line you want to replace is the first one, the "<if ... >" test.

Try replacing it with this:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

In plain english, what this test means is:
  • if there is a user signature for this post
  • AND if I have not yet seen it
  • THEN note I have seen it and output the HTML for it
For the same page, the next time that a post is seen from this user, the second test will fail and the signature will not be displayed.
Reply With Quote
  #3  
Old 08 Nov 2004, 01:14
burrelly burrelly is offline
 
Join Date: Oct 2002
Doesent Work i am using Postbit Legacy

Last edited by burrelly; 08 Nov 2004 at 01:25.
Reply With Quote
  #4  
Old 08 Nov 2004, 01:32
all-the-vb's Avatar
all-the-vb all-the-vb is offline
 
Join Date: Apr 2003
http://www.vbulletin.org/forum/showthread.php?t=60785
__________________
vbulletin is the best
http://arabusers.com
My Hacks:
clicks here
Reply With Quote
  #5  
Old 08 Nov 2004, 01:37
burrelly burrelly is offline
 
Join Date: Oct 2002
Thats it sorted

Thanks
Reply With Quote
  #6  
Old 17 Nov 2004, 03:04
Titus Titus is offline
 
Join Date: Apr 2004
If you're using postbit_legacy (like I am) this template conditional will work.

Find in postbit_legacy:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Works like a charm for me. Note, I did not write this, I found it on vBulletin.com after looking here first.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 04:46.

Layout Options | Width: Wide Color: