Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications

Reply
 
Thread Tools
Signature only on first post Details »»
Signature only on first post
Version: 1.00, by Zachariah Zachariah is offline
Developer Last Online: Jan 2020 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 10-22-2005 Last Update: 11-27-2005 Installs: 207
Template Edits
 
No support by the author.

Signature only on first post VB3.5

This will cause each user's signature to be shown only on their first post on each page.

Quote:
Originally Posted by Thug
Hi i was wondering if theres a hack where peoples sigs only show once per page?
In the postbit or postbit_legacy template,

Find :

Code:
<if condition="$post['signature']">
And replace it with this one:

Code:
<if condition="$post['signature'] AND !$vboptions['shownsigs'][$post[userid]] AND $vboptions['shownsigs'][$post[userid]] = true">
There can be only one ! ~ The Highlander

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #62  
Old 02-04-2006, 01:50 AM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GGIII
Is there any way to make this a selectable option per user?
+1

I would appreciate that greatly.
Reply With Quote
  #63  
Old 02-05-2006, 09:22 AM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[high]* Brandon Sheley installs
[/high]


can u make it show all the profile info I've added only shows on the first post too ?

or maybe i can figure it out by looking at this hack

attached is what I'm talking about.. can I remove all this, avatar,post,points. etc.. after the first post has been made on threads ?


btw

this post

http://www.locoforum.com/forums/show...=4297#post4297

u can see my sig two times,, i use the quick reply.. gl with the mod
hmm,, but when I refresh a few times,, it just shows one like it should.. don't know if that info helps you or now ?

can I add
Code:
AND !$vboptions['shownsigs'][$post[userid]] AND $vboptions['shownsigs'][$post[userid]] = true">
after all the info that I'm talking about ?
to edit each line, that i want to show once only. ?

thank you
Reply With Quote
  #64  
Old 02-06-2006, 06:17 PM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone ?
Reply With Quote
  #65  
Old 02-10-2006, 10:40 PM
lazyseller lazyseller is offline
 
Join Date: Oct 2003
Posts: 178
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to exclude certain usergroups from this ?? like admins / moderators ?
Reply With Quote
  #66  
Old 02-19-2006, 08:42 AM
stan111 stan111 is offline
 
Join Date: Aug 2005
Location: CA
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

worrk perfectly on 3.0.7
thanks
Reply With Quote
  #67  
Old 02-19-2006, 07:57 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stan111
worrk perfectly on 3.0.7
thanks
That's cool

This is a very simple edit.

Ideas:

- exclude usergroups or choose usergroups.
This can be done in the template also but not to handy for quick change.

- User choice if show every time or not.
This is also a simple template edit, but adding the userfield would move it out of a template hack. (not ruled out of working on, but must post a new hack in another area of the forums)

I had thoughts of expanding this hack: (would make it plugin w/ uploads)

AdminCP options:
- enable / disable per usergroup
- enable / disable per user

More feedback is cool. I may have no clue what I am talking about
Reply With Quote
  #68  
Old 02-19-2006, 08:34 PM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachariah
- User choice if show every time or not.
This is also a simple template edit, but adding the userfield would move it out of a template hack. (not ruled out of working on, but must post a new hack in another area of the forums)
I, for one, would very much like this. Some users like it and some don't, and this would solve the problem for everyone.
Reply With Quote
  #69  
Old 02-24-2006, 04:17 PM
djwins djwins is offline
 
Join Date: Jan 2005
Posts: 167
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lazyseller
Is there a way to exclude certain usergroups from this ?? like admins / moderators ?
Seconded
Reply With Quote
  #70  
Old 02-24-2006, 11:38 PM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Loco.M
[high]* Loco.M installs
[/high]


can u make it show all the profile info I've added only shows on the first post too ?

or maybe i can figure it out by looking at this hack

attached is what I'm talking about.. can I remove all this, avatar,post,points. etc.. after the first post has been made on threads ?


btw

this post

http://www.locoforum.com/forums/show...=4297#post4297

u can see my sig two times,, i use the quick reply.. gl with the mod
hmm,, but when I refresh a few times,, it just shows one like it should.. don't know if that info helps you or now ?

can I add
Code:
AND !$vboptions['shownsigs'][$post[userid]] AND $vboptions['shownsigs'][$post[userid]] = true">
after all the info that I'm talking about ?
to edit each line, that i want to show once only. ?

thank you

bump ? :ermm:
Reply With Quote
  #71  
Old 02-25-2006, 01:28 AM
djwins djwins is offline
 
Join Date: Jan 2005
Posts: 167
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another interesting edit would be to only show signature images once per page (leave text intact).
Reply With Quote
Reply

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

Forum Jump


All times are GMT. The time now is 05:35 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08224 seconds
  • Memory Usage 2,305KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete