vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Show Thread Enhancements - Signature Only Shown Once (https://vborg.vbsupport.ru/showthread.php?t=136364)

Robru 01-13-2007 02:20 PM

Shows this hack the signature on the first or the last post? Or can we choose for it...

letsjoy 01-13-2007 09:28 PM

not working for me

Dismounted 01-14-2007 02:41 AM

Quote:

Originally Posted by TTG (Post 1157994)
Is there any difference between this simple template edit and your addition ?

Yes, this is user chosen, not forced.
Quote:

Originally Posted by FunaGuy (Post 1158009)

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 (Post 1158371)
not working for me

Did you apply edits to postbit and postbit_leagcy?

grecostimpy 01-15-2007 05:49 PM

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.

Snake 01-16-2007 07:11 AM

Yeah I have just noticed that as well. Could it be a bug?

Dismounted 01-16-2007 07:22 AM

No, it is not a bug. It's just the way vBulletin processes things. I'll try find a solution though.

Gbml2u 01-17-2007 05:13 AM

I cant adjust the settings although i hack like what you show. Please help me, thanks!
https://vborg.vbsupport.ru/

Dismounted 01-17-2007 06:57 AM

Errr, what's wrong? Read the ReadMe file.....

rjmjr69 01-27-2007 07:54 AM

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?

Dismounted 01-28-2007 03:23 AM

Quote:

Originally Posted by rjmjr69 (Post 1168225)
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.


All times are GMT. The time now is 12:57 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
  • Page Generation 0.01114 seconds
  • Memory Usage 1,749KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete