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

Reply
 
Thread Tools
Signature Rules - post rules for users to follow Details »»
Signature Rules - post rules for users to follow
Version: 1.1, by SonicGT SonicGT is offline
Developer Last Online: Dec 2012 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.0.0 Rating:
Released: 01-07-2010 Last Update: 12-06-2010 Installs: 149
Uses Plugins Template Edits
 
No support by the author.

About
This is my very first vb mod and a simple one at that. There are similar mods for older versions of vb, but not for 4.x yet, so decided to try it myself, and wanted to share.

The modifciation allows admins to post a list of rules or guidelines for users to follow when updating or creating a signature. It is a simple list and does not truely force users to follow the rules listed; however, it is a good reminder right where the user is creating their signature of any rules you may be trying to enforce.

Updates
1.0 Initial Release
1.1 Updated installer to account for vb 4.1.x

Options
1. Up to 10 rules can be displayed
2. Can use a single column list or multi column to display the rules
3. Can change the graphic used as a bullet for the list, by default uses the accept.png located in the images/misc folder

Installation
1. Import the Signature-Rules.xml product file
2. Add a reference to the template in the modifysignature template
to do this edit the modifysignature template and add the following as the first line in the template
PHP Code:
{vb:raw signaturerules

Download Now

File Type: xml Signature-Rules.xml (12.1 KB, 285 views)

Screenshots

File Type: jpg sigrules-settings.jpg (106.1 KB, 0 views)
File Type: jpg 2columnrules.jpg (50.5 KB, 0 views)
File Type: jpg 1columnrules.jpg (51.0 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
Insta-Gator

Comments
  #12  
Old 01-08-2010, 12:51 PM
SonicGT's Avatar
SonicGT SonicGT is offline
 
Join Date: May 2006
Location: Chicago Burbs
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kolbi View Post
Looks nice but can be done with a simple template modification.
Yea it can be a template modification, and is not that complex, thus why I chose to do this for my first mod attempt, and I feel I learned a decent amount about how the plugin system works doing it :up:
Also I myself tend to like the plugin system a little better then having to add alot to my templates on my boards and this makes it a little easier on me when/if I need to change my rules I can just go into settings and make an update

And thanks everyone for compliments so far
Reply With Quote
  #13  
Old 01-13-2010, 06:06 AM
Deirdre Deirdre is offline
 
Join Date: Jun 2007
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

love it! very nice indeed!
Reply With Quote
  #14  
Old 01-19-2010, 04:36 PM
Selcor Selcor is offline
 
Join Date: Dec 2009
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I apply the mod and configure in Admincp-options-Signature Rules.

Add to template "modifysignature" and "newThread" and does nothing, it shows all the same.

Using Vb 4.0.1

Reply With Quote
  #15  
Old 01-19-2010, 11:49 PM
cloferba cloferba is offline
 
Join Date: Apr 2009
Posts: 437
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Selcor View Post
I apply the mod and configure in Admincp-options-Signature Rules.

Add to template "modifysignature" and "newThread" and does nothing, it shows all the same.

Using Vb 4.0.1

Selcor? i only know one guy which uses that username...in all world

are you or dont?
Reply With Quote
  #16  
Old 01-20-2010, 02:13 AM
SonicGT's Avatar
SonicGT SonicGT is offline
 
Join Date: May 2006
Location: Chicago Burbs
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Selcor View Post
I apply the mod and configure in Admincp-options-Signature Rules.

Add to template "modifysignature" and "newThread" and does nothing, it shows all the same.

Using Vb 4.0.1


It will not work in any other template then the modifysignature, so the newthread behavior is expected.

Can you verify that under admincp that you do have the mod enabled, and that you have
Code:
{vb:raw signaturerules}
as the first line of your modifysignature template.

If so can you post screenshots of all 3 locations (options, template, and what a user sees when editing signature)
Reply With Quote
  #17  
Old 01-20-2010, 05:07 PM
Selcor Selcor is offline
 
Join Date: Dec 2009
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The mistake is mine, sorry, misunderstand the function of this MOD. This works well.

Thank you.


Pd: cloferba, my real nick is Gmaster
Reply With Quote
  #18  
Old 01-20-2010, 05:38 PM
LbR LbR is offline
 
Join Date: Nov 2009
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Every template edit will be needed in each theme i add in future :S
Reply With Quote
  #19  
Old 01-20-2010, 06:35 PM
SonicGT's Avatar
SonicGT SonicGT is offline
 
Join Date: May 2006
Location: Chicago Burbs
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LbR View Post
Every template edit will be needed in each theme i add in future :S
It depends on how you add themes, but if all themes are added at the top level then yes, unfortunatly vb does not have a hook at the location that I want to display the mod.
What I do to get around this is I make my themes all a child of the default style, then make the edit in the default style and it propagates to all children without having to modify each on individually
Reply With Quote
  #20  
Old 01-23-2010, 01:22 PM
cloferba cloferba is offline
 
Join Date: Apr 2009
Posts: 437
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SonicGT View Post
It depends on how you add themes, but if all themes are added at the top level then yes, unfortunatly vb does not have a hook at the location that I want to display the mod.
What I do to get around this is I make my themes all a child of the default style, then make the edit in the default style and it propagates to all children without having to modify each on individually
that would be great!

plase!
Reply With Quote
  #21  
Old 01-23-2010, 02:03 PM
wayne.richards@ wayne.richards@ is offline
 
Join Date: Jul 2008
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fan Bluddy Tastic Sonic! What A Great Little Mod! Thank You! :up:

Working great on 4.0.1
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 10:28 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.07865 seconds
  • Memory Usage 2,344KB
  • 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
  • (1)bbcode_code
  • (1)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete