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

Reply
 
Thread Tools
Advanced Signature Details »»
Advanced Signature
Version: 1.00, by kaB00M kaB00M is offline
Developer Last Online: Aug 2009 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.6.x Rating:
Released: 06-12-2008 Last Update: Never Installs: 4
Template Edits
Re-useable Code Code Changes Translations  
No support by the author.

This modification is designed for use on forums where there is a large number of users or a board that has limited hosting re-sources. With this hack the signature can be limited to selected options so that valuable mySQL space is not used.

This hack uses the in-built profile field script provided by vBulletin with a small bit of code editing.

This hack can also be used for more than just a signature. You could also use this script on web-hosting forums ? Computer forums. If you want to make the input private to only a few people then add this code to the beginning of your code.

Code:
<if condition="is_member_of($vbulletin->userinfo, 1, 2, 3)"></if>
With this code only members in the groups 1, 2 and 3 will be able to see the signature. This is good if you want to use this for a hosting forum so only technicians or admin members can see the details. Great if you want the user to input there password and cPanel username.

Show Your Support

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

Comments
  #2  
Old 06-13-2008, 11:37 PM
Gray Matter Gray Matter is offline
 
Join Date: May 2005
Posts: 260
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Template conditionals should use $bbuserinfo, not $vbulletin->userinfo.
Reply With Quote
  #3  
Old 06-14-2008, 02:23 AM
veenuisthebest's Avatar
veenuisthebest veenuisthebest is offline
 
Join Date: Mar 2008
Location: India
Posts: 1,416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gray Matter View Post
Template conditionals should use $bbuserinfo, not $vbulletin->userinfo.
$vbulletin->userinfo is correct !! it works in template conditionals
Reply With Quote
  #4  
Old 06-14-2008, 08:02 PM
Gray Matter Gray Matter is offline
 
Join Date: May 2005
Posts: 260
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Find me one default vB template that uses $vbulletin->userinfo.
Reply With Quote
  #5  
Old 06-14-2008, 11:17 PM
kaB00M kaB00M is offline
 
Join Date: May 2008
Location: London
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This topic isint about that bit of code. It's about this small modification. The code can be changed but i have tested it and that bit of text works! :up:
Reply With Quote
  #6  
Old 06-15-2008, 12:03 AM
BlizzardHQ BlizzardHQ is offline
 
Join Date: Dec 2007
Location: Fort Wayne Indiana
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gray Matter View Post
Template conditionals should use $bbuserinfo, not $vbulletin->userinfo.
Who cares as long as it works.. gees.
Reply With Quote
  #7  
Old 10-02-2008, 10:35 PM
SwollenCranium's Avatar
SwollenCranium SwollenCranium is offline
 
Join Date: Oct 2007
Location: Raleigh, NC
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gray Matter View Post
Template conditionals should use $bbuserinfo, not $vbulletin->userinfo.
Nerd
Quote:
Originally Posted by veenuisthebest View Post
$vbulletin->userinfo is correct !! it works in template conditionals
Nerd
Quote:
Originally Posted by BlizzardHQ View Post
Who cares as long as it works.. gees.
Werd !
Reply With Quote
  #8  
Old 10-11-2008, 02:11 PM
abdobasha2004's Avatar
abdobasha2004 abdobasha2004 is offline
 
Join Date: Aug 2008
Posts: 541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanx a lot about the code
about the file it is just a repeller for members
but disabling visitors to see signatures is gr8
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 08:23 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.05848 seconds
  • Memory Usage 2,270KB
  • Queries Executed 21 (?)
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
  • (1)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete