View Full Version : Signature Rules - post rules for users to follow
SonicGT
08 Jan 2010, 03:58
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
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
SonicGT
08 Jan 2010, 04:03
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
08 Jan 2010, 06:00
For your first mod, it is very nice. Tagged for when I upgrade. thanks.
KevinGupta
08 Jan 2010, 07:41
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
08 Jan 2010, 08:26
It will be more cool if we force our members to follow the rules. Can u go for that mate? Tagged.
FF|Skyrider
08 Jan 2010, 09:04
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!
Looks nice but can be done with a simple template modification. :)
FF|Skyrider
08 Jan 2010, 10:04
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
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.
SonicGT
08 Jan 2010, 13:51
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 :D
And thanks everyone for compliments so far
Deirdre
13 Jan 2010, 07:06
love it! very nice indeed!
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
:(
cloferba
20 Jan 2010, 00:49
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? :)
SonicGT
20 Jan 2010, 03:13
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:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
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)
The mistake is mine, sorry, misunderstand the function of this MOD. This works well.
Thank you.
Pd: cloferba, my real nick is Gmaster :D
Every template edit will be needed in each theme i add in future :S
SonicGT
20 Jan 2010, 19:35
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
cloferba
23 Jan 2010, 14:22
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! :D
wayne.richards@
23 Jan 2010, 15:03
Fan Bluddy Tastic Sonic! What A Great Little Mod! Thank You! :up:
Working great on 4.0.1
I want to translate "Signature Rules" to another language (alone this phrase in the bar of signatures).
I search this phrase for admincp and translating it, but I do not work.
How I must do?.
Regards.
SonicGT
25 Jan 2010, 23:58
I want to translate "Signature Rules" to another language (alone this phrase in the bar of signatures).
I search this phrase for admincp and translating it, but I do not work.
How I must do?.
Regards.
Unfortunatly that is about the one thing that I didn't phrase. If you edit the template Signature_Rules you can make the change
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Just find the above section in the template and change ""Signature Rules" to whatever you wish it to say
fishmaster
23 Aug 2010, 03:06
Very nice and useful!
sbsforum.us
23 Aug 2010, 21:53
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:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
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)
This did the trick for me thanks!!
d2gaming
26 Feb 2011, 11:35
Great mod. Kudos!
COL NIL SATIS
26 Feb 2011, 12:45
Tagged for install later
venom2124
26 Feb 2011, 17:17
works good with 4.1.2
rfsforums
29 Mar 2011, 15:21
Installed - Thanks!
Now my users won't have any excuses - yeah right lol
buddha69
19 Jul 2011, 20:42
Newbie here. Where do I find the "template". I'm not sure what the templates are.
buddha69
19 Jul 2011, 20:46
ok I think I found where the templates are - in styles & templates (surprise!). Not sure what to do in there though.
Luca_ITA
05 Aug 2011, 13:25
Just installed in 4.1.5pl1
Working perfectly
Thank you for this mod!!
Luca_ITA
27 Dec 2011, 09:44
works on 4.1.9
Nice Mod It's very simple to use And thank you for sharing it hope you develop more Mods like this one
Working on Vb 4.1.8
Scyther
28 Dec 2011, 01:41
works well with 4.1.8
Marked installed and sent for MOTM!
thanks
datoneer
28 Dec 2011, 11:35
Awesome mod! Installed, rated 5, nominated. Working with 4.1.8
michelle86
22 Oct 2012, 15:26
Is there a version of this that is compatible with 4.2.0 or can this mod be updated? I tried installing it and it says it is not compatible. Thanks!
http://i65.photobucket.com/albums/h228/mchll9898/notcompatible_zpsb8c0e09c.jpg
autoescala
24 Oct 2012, 07:56
Works perfect on 4.2.0 I modify the xml to let me install :)
PHayward
27 Oct 2012, 22:51
How to make it work for 4.2:
1. Open the .xml with notepad
2. Find "<dependency dependencytype="vbulletin" minversion="4.0.0" maxversion="4.1.99" />"
It is on the 8th line so count down or ctrl+f
3. Change max version to 4.2
4. It should look like this:
<dependency dependencytype="vbulletin" minversion="4.0.0" maxversion="4.2.99" />
Now upload and it'll work all good :)
vBulletin® v3.6.12, Copyright ©2000-2013, Jelsoft Enterprises Ltd.