How can I make signatures only show once per page for each user?
Signatures once per page
Collapse
X
-
Originally posted by KierActually, this can be done with conditionals.
In the postbit template, find this conditional:HTML Code:<if condition="$post['signature']">
HTML Code:<if condition="$post['signature'] AND !$vboptions['shownsigs'][$post[userid]] AND $vboptions['shownsigs'][$post[userid]] = true">
-
I want to be clear on this. Using that code, if the user has opted to show a sig, it will only show one time on a page. If they post 4 times in a thread on one page, uncheck the sig option on the first post, leave it checked on the second, third and fourth, the sig will only show in the second post.
What if the member has selected different than the default number of messages on a page? If I choose to see 20 when the default is 10, a member has posted 4 within the first 10 and a total of 6 times in all 20, will I see only 1 sig and others using the default see 2 sigs in the thread (one on each page)?
Thanks for helping me understand this. I really like this idea.
JimIf my post was helpful to you, please take the time to register at my forum and ask a question you've always wanted to know about floors.
www.TheFloorPro.comComment
-
It's not working for me.
Here is what I did:
Admin CP > Styles & Templates > search in templates
I then searched for "postbit" and found "postbit" under postbit templates and double clicked on it
I then searched in template for "signature" and found an instance identical to above instructions and edited it to be exactly like above instructions.
I tested this by posting twice in the same thread, on the same page.
Sig showed up both posts.
Perhaps I am way too dumb for this stuff.Comment
-
If you are using the new posting format, with the member name and info across the top of the message, that is the POSTBIT template. If you are using the old format, with the member name and info to the left of the message, that is the LEGACY_POSTBIT template. Change the appropriate one.
JimIf my post was helpful to you, please take the time to register at my forum and ask a question you've always wanted to know about floors.
www.TheFloorPro.comComment
-
-
Originally posted by the SandmanFrom This Thread.
Anyone know if this has been written for the latest vb version?
Thanks in advance.Comment
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Comment