Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Signature Only Shown Once Details »»
Signature Only Shown Once
Version: 1.0, by Dismounted Dismounted is offline
Developer Last Online: Apr 2023 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.6.x Rating:
Released: 01-12-2007 Last Update: Never Installs: 143
Uses Plugins Template Edits
 
No support by the author.

Signature Only Shown Once

Description:
This mod only shows a signature once per page if user sets option to yes. Option is in User CP -> Edit Oprions.

Request:
Requested By Snake via PM.

Installation:
All the installation information is in the package.

Changes:
1 Plugin
3 Phrases

Change Log:
13/01/2007 - Version 1.0
- Initial Release

Supporters / CoAuthors

Show Your Support

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

Comments
  #12  
Old 01-13-2007, 02:20 PM
Robru Robru is offline
 
Join Date: Aug 2005
Location: Netherlands
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Shows this hack the signature on the first or the last post? Or can we choose for it...
Reply With Quote
  #13  
Old 01-13-2007, 09:28 PM
letsjoy's Avatar
letsjoy letsjoy is offline
 
Join Date: Jun 2006
Location: Dhump State
Posts: 197
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not working for me
Reply With Quote
  #14  
Old 01-14-2007, 02:41 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TTG View Post
Is there any difference between this simple template edit and your addition ?
Yes, this is user chosen, not forced.
Quote:
Originally Posted by FunaGuy View Post
Don't use my edits, find:
HTML Code:
<if condition="$post['signature']">


<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
<else />
$scr_nosig
</if>
Replace With:
HTML Code:
<if condition="$post['signature']">
<if condition="$firstsig == 0">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>
<else />
$scr_nosig
</if>
Quote:
Originally Posted by letsjoy View Post
not working for me
Did you apply edits to postbit and postbit_leagcy?
Reply With Quote
  #15  
Old 01-15-2007, 05:49 PM
grecostimpy grecostimpy is offline
 
Join Date: Mar 2005
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome! My members were asking for this just this week! Installed!

Added note to anyone else before they say it is not working:

If someone replies using "Quick Reply", their signature will show up a second time until the page is refreshed.
Reply With Quote
  #16  
Old 01-16-2007, 07:11 AM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah I have just noticed that as well. Could it be a bug?
Reply With Quote
  #17  
Old 01-16-2007, 07:22 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, it is not a bug. It's just the way vBulletin processes things. I'll try find a solution though.
Reply With Quote
  #18  
Old 01-17-2007, 05:13 AM
Gbml2u's Avatar
Gbml2u Gbml2u is offline
 
Join Date: Mar 2006
Location: Inside
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I cant adjust the settings although i hack like what you show. Please help me, thanks!
Reply With Quote
  #19  
Old 01-17-2007, 06:57 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Errr, what's wrong? Read the ReadMe file.....
Reply With Quote
  #20  
Old 01-27-2007, 07:54 AM
rjmjr69's Avatar
rjmjr69 rjmjr69 is offline
 
Join Date: Jan 2007
Location: Southie
Posts: 876
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

WOW man I've been wanting something like this for a long time. I think every forum should have this. Some forums I visit have members with sig's that are out of control. Video's playing extra large pictures. I feel bad for dial up users which there are many still out there. Well thanks for a great mod.

Oh one thing is there any way possible to set this as the default or even only option for new members as well as present members?

If not can this be an added feature in the next release or something?
Reply With Quote
  #21  
Old 01-28-2007, 03:23 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rjmjr69 View Post
Oh one thing is there any way possible to set this as the default or even only option for new members as well as present members?
To do this, edit the plugin 'Set Enabled/Disabled' and replace the whole plugin with:
PHP Code:
global $vbulletin$sig_shown;

$field 'field' $vbulletin->options['signature_only_shown_once_field'];
if (!isset(
$sig_shown[$post['userid']]) OR $vbulletin->userinfo[$field] != 'Yes')
{
    
$firstsig 0;
    if (
$post['signature'])
    {
        if (
$vbulletin->userinfo[$field] == 'Yes' OR $vbulletin->userinfo[$field] == '')
        {
                
$sig_shown[$post['userid']] = 1;
        }
    }
}
else
{
    
$firstsig 1;

Then edit the custom field and put 'Yes' as the top option.
Reply With Quote
Reply


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 06:44 PM.


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.04613 seconds
  • Memory Usage 2,318KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_html
  • (1)bbcode_php
  • (4)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
  • (3)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