vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Signature only on first post (https://vborg.vbsupport.ru/showthread.php?t=139689)

SnapOff Racing 02-22-2007 03:09 PM

that worked!!! thank you so much!

LordDB 02-22-2007 07:30 PM

Zachariah, many thx for this!:)

How do we allow only S.Admin to have the siggy in every post, as I, personally, have useful info for Members in it?

Cheers!

Smoothie 02-22-2007 07:39 PM

Quote:

Originally Posted by daPLAYBOY (Post 1188537)
Zachariah, many thx for this!:)

How do we allow only S.Admin to have the siggy in every post, as I, personally, have useful info for Members in it?

Cheers!

Probably adding another <if> statement would work. Also there's another mod, similar to this one that the end user can control.

Tralala 02-23-2007 12:39 AM

Quote:

Originally Posted by Smoothie (Post 1188550)
Probably adding another <if> statement would work. Also there's another mod, similar to this one that the end user can control.

This one: https://vborg.vbsupport.ru/showthread.php?t=136364
Although it is not (yet?) usergroup savvy.

Zachariah 02-23-2007 01:54 AM

Quote:

Originally Posted by daPLAYBOY (Post 1188537)
Zachariah, many thx for this!:)

How do we allow only S.Admin to have the siggy in every post, as I, personally, have useful info for Members in it?

Cheers!

Try this:

Usergroup: 6 is Administrator on my site

Find:
Code:

<if condition="$post['signature']">
Replace:
Code:

<if condition="$bbuserinfo[usergroupid] == 6">
<if condition="$post['signature']">
<else />
<if condition="$post['signature'] AND !$vboptions['shownsigs'][$post[userid]] AND $vboptions['shownsigs'][$post[userid]] = true">
</if>


Quote:

Originally Posted by Smoothie (Post 1188550)
Probably adding another <if> statement would work.

I could expand this hack but it would boot it out of a template hacks.
It could have a vboptions entry to allow you to put an array of user ID's that are not subject to the rule and allow standard signature display.

LordDB 02-23-2007 08:36 AM

Hi, Zachariah!

Now if shows NO siggy on first or others!:(

Applied code to postbit & postbit_legacy

Any idea's?

Br.

Smoothie 02-23-2007 02:00 PM

Quote:

Originally Posted by Zachariah (Post 1188782)
Try this:

Usergroup: 6 is Administrator on my site

Find:
Code:

<if condition="$post['signature']">
Replace:
Code:

<if condition="$bbuserinfo[usergroupid] == 6">
<if condition="$post['signature']">
<else />
<if condition="$post['signature'] AND !$vboptions['shownsigs'][$post[userid]] AND $vboptions['shownsigs'][$post[userid]] = true">
</if>


I could expand this hack but it would boot it out of a template hacks.
It could have a vboptions entry to allow you to put an array of user ID's that are not subject to the rule and allow standard signature display.

I think its fine just the way it is, that's why I use it. :)

GoNz00 03-04-2007 01:56 PM

nice mod :)

bela-meaad 03-06-2007 11:19 AM

can that be only for members
but not for admin or mod?

thanks

Zachariah 03-06-2007 12:07 PM

Quote:

Originally Posted by bela-meaad (Post 1197033)
can that be only for members
but not for admin or mod?

thanks

Take a look @ post 25


All times are GMT. The time now is 06:16 PM.

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.01162 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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