![]() |
Auto Sig
How do we mimic the VB.org signature system.
ie. Installed in sig Developer in sig Etc etc , this is something I would like to adopt for our members, and moderator teams. I presume its a Usergroup permission thing, with automatic code added to their sig ( i dnt need the vb.org complex version ) Any help. Ste |
You could use a condition and add an image to the postbit, not sure how though :confused:
|
Looking at the vb.org code, it appears to be in sig.
|
Signature is parsed in the postbit. Display things here depending on certain conditions.
Any more specifics? |
nope just wanted to know what the code would be for us to post an image of say:
Thread Starter in the signature of a user, who starts a thread. Often as you go thru pages and pages of posts, you forget who started / created the thread. So similarly to VB.org where INSTALLEd or DEVELOPER is displayed in the postbit, we would like to replicate this Ste |
My guess (Similar to the first post on all pages mod) is that you add an extra column to the thread table and store who created the thread inside it.
Edit - Silly me...thread starter is stored in the thread table...not sure if it can normally be accessed though, maybe globalize it and then use a conditional? Access the variable inside the postbit with a conditional. Edit again.. Solution! Find in postbit HTML Code:
<!-- sig --> HTML Code:
<if condition="$post['signature'] OR $thread[postuserid] == $post[userid]"> |
1 Attachment(s)
So tell me, please.
If lets say we created a watermarked image , such as: below. Would we code: Code:
<if condition="$post['signature'] OR $thread[postuserid] == $post[userid]"> |
Yes, just make sure you add an alt attribute so it validates!
|
Quote:
|
Put it in a container if you want to style it such as a div, but since it's just an image it should be fine and align left to begin with.
Consider adding a line break after the image <br /> if you want to ensure it's on its own line. |
All times are GMT. The time now is 12:40 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|