vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - Signature Rules - post rules for users to follow (https://vborg.vbsupport.ru/showthread.php?t=232499)

SonicGT 01-07-2010 10:00 PM

Signature Rules - post rules for users to follow
 
1 Attachment(s)
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


SonicGT 01-08-2010 03:03 AM

I'm very new to vb mods, so I will try and support any issues as best as I can. The mod is very simple so I don't really see issues popping up, but you never know.

Also if anyone has suggestions on what can be done better since I am new please do let me know

Hornstar 01-08-2010 05:00 AM

For your first mod, it is very nice. Tagged for when I upgrade. thanks.

Aexo 01-08-2010 06:29 AM

very useful. Thanks

KevinGupta 01-08-2010 06:41 AM

Excellent stuff :)
First mod and First NICE STUFF :D hehe.. keep it up
I have installed it on my site and works like a charm

Forum Lover 01-08-2010 07:26 AM

It will be more cool if we force our members to follow the rules. Can u go for that mate? Tagged.

Skyrider 01-08-2010 08:04 AM

Quote:

Originally Posted by Forum Lover (Post 1950189)
It will be more cool if we force our members to follow the rules. Can u go for that mate? Tagged.

Since it's signatures, I don't think it's a good idea to force the rules for those who already have good ones. If they wish to edit it, they would see the new rules, correct? That's all I want. I'll be sure to download this once I get back home, thanks!

Kolbi 01-08-2010 09:00 AM

Looks nice but can be done with a simple template modification. :)

Skyrider 01-08-2010 09:04 AM

Quote:

Originally Posted by Kolbi (Post 1950223)
Looks nice but can be done with a simple template modification. :)

A lot can be done with simple template modifications. Just the add-ons makes it a lot easier and simple. :p

woffie 01-08-2010 09:11 AM

Quote:

Originally Posted by FF|Skyrider (Post 1950225)
A lot can be done with simple template modifications. Just the add-ons makes it a lot easier and simple. :p

Yes, I love mods that make it so I don't have to make those skin edits everytime I add a new skin.


All times are GMT. The time now is 11:18 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.01035 seconds
  • Memory Usage 1,738KB
  • 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
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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