Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Beta Releases

Reply
 
Thread Tools
Signature Guardian Version 1 (Beta Released) Details »»
Signature Guardian Version 1 (Beta Released)
Version: 1.00, by why-not why-not is offline
Developer Last Online: Jun 2007 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 04-06-2005 Last Update: Never Installs: 37
Is in Beta Stage  
No support by the author.

Signature Guardian Version 1 / 0212

Tomorrow night will be the big update... April 29, 2005

I have been out of town so I have not had a chance to get the final version done, but it is done now. The final version will include the following...

1. Mod Panel Controls

The Admin Panel has a option for the administrator to set permissions for mods and super mods to access the following controls!

A. Can or can not remove signature bans!
B. Can or can not view or edit signatures! (only signatures that are under ban!)
C. Can or can not access the forum signature controls (threadbit, postbits)

2. Admin Panel Controls

A. Set Auto ban limits ( hour(s), day(s), week(s), month(s), forever ) [per group]
B. You now can merge permissions into multi groups (set one permission to have it be used by many groups)
C. Admin Signature Editor, (all editors, uses the one you have selected in your options)
D. Image viewer (report)
E. Turn on or Off forum signature controls! (validate signatures (by post or thread) full detailed report shown with Admin options... (what to validate)
F. domain blocking via file or database.

I have also written a 15 page help file with over 100 images that explains each control in as much detail as I could. Also Help phrases have been added throughout the Admin and Mod panel and on the threadbits and postbits controls!

That it, c ya tomorrow!

Sonia

(2) mirror errors that should be corrected. MySQL 3 support

https://vborg.vbsupport.ru/showthrea...d=1#post640036


Added MySQL support for any version of MySQL less than 4.1, including MySQL version 3, but you should update your MySQL install if you can!

Update the zip file to include both Mysql version scripts and error fixes!


The signature control is very advanced signature control and monitor! This modification will allow the administrator to take back control of all signatures on their forum. The control has over 100 key features that will allow total control of signature displaying on your forum!


The signature control allows you to switch from using vBulletin limited signature permissions, to a really advanced signature control. It does this by not ever effecting vBulletin control, allowing you to use the standard vBulletin control for some groups and use this advanced control for others!

The reason for developing this modification was to bring the complete signature control into one single Administrator Panel, so as not to have to set (bbcode rules) on one vBulletin options page, then have to set (image rules) and other signature option on many different pages! It make administering your forum much easier!

The signature control gives you many different options. Each is designed to allow you complete unlimited control of just how you want each groups to display their signatures!

Key Features...

Overrides vBulletin Signature rules
Works via groups and single users!
Group can use signatures (yes/no)
Group can view any signature (yes/no)
Enforce new rules or updated rules now! (yes/no)

Signature monitor (vB fake cron, server cron) scripts included!
Auto Ban (Soft, signature removed until revalidated)
Auto Ban (Hard, signature removed until administrator review)

Signature Admin Panel

View and remove bans on banned signatures (with full details about each ban)
Quick stats (users who are using signatures, sizes)

Signature Permissions

Document permissions

Total lines allowed
Total characters per line
Total characters for (1) single word
Total spacing allowed between lines that have content
Total characters for complete signature
Turn bad word filter on or off


Smilies permissions

Group can use smilies (yes/no)
Total smilies allowed to be used (limit rule)
A list of smilies that are not allowed (denied rule)


bbcode permissions

Each BBCODE has it's own allow rules (yes/no)
Maximum times any (1) bbcode may be reused (#)
The total combined BBCODES allowed (#)
The minimum and maximum font SIZE allowed


URL permissions

Group can have links in their signatures (yes/no)
The maximum number of links allowed (#)
The HTTP protocols that are allowed (http, https, ftp...)
Domain Link blocking (allow and denied list Or just denied list) [simple wildcard rules]


IMAGE permissions

Group can have images in their signatures (yes/no)
Inline or display as link (yes/no)
The maximum number of images allowed (#)
Validate all images not local to this domain (yes/no)
Do line break testing if images with text (yes/no)
maximum size of any (1) image
maximum height of any (1) image
maximum width of any (1) image
image extensions that are allowed!
Domain image blocking (allow and denied list Or just denied list) [simple wildcard rules]


This is the beta release of this modification! The only part that is still beta, is the Admin Panel. The front end of this control is the (100% final working version). There will be no changes to that part of the code when this is released as being (Final).

The Admin Panel still needs (ban list sorting and limiting), see the install file for when this will be added as the first of (2) updates that this modification will have before being released as final!

As it is now, you can 100% (add, update) permissions, you also (view and remove hard bans). The Signature Monitor is (100%) working including (both) versions, the vB fake cron or the real server based cron!

FIRST UPDATE DONE (sort and limit) ban list

Zip File Updated....

For those that already have downloaded this before this update, see the first post below for the update zip file


Demo is here...

http://forum.ya-right.com/index.php?

Just create an account to try it!



Sonia

Show Your Support

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

Comments
  #52  
Old 04-12-2005, 06:58 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Darmak
What MySQL version are you running? the ON DUPLICATE was introduced in MySQL 4.1 if i recall correct.
Reply With Quote
  #53  
Old 04-13-2005, 03:13 AM
Darmak Darmak is offline
 
Join Date: Jun 2004
Location: M?xico
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarcoH64
@Darmak
What MySQL version are you running? the ON DUPLICATE was introduced in MySQL 4.1 if i recall correct.
i running mysql 4.0.24
Reply With Quote
  #54  
Old 04-13-2005, 05:47 AM
why-not why-not is offline
 
Join Date: Feb 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Darmak
i running mysql 4.0.24
Hi Darmak

Just download the zip file attached, and replace your current signature include files functions_signature.php and adminfunctions_signature.php with the ones included in this zip file!

NOTE: ONLY FOR MySQL Server 4.0.24


Enjoy...

Sonia
Reply With Quote
  #55  
Old 04-13-2005, 06:05 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Then you must hope for Sonia to update her hack to support older MySQL versions.

Edit: Oops never noticed that Sonia was faster with a solution then i was with my reply.
Reply With Quote
  #56  
Old 04-13-2005, 06:26 AM
why-not why-not is offline
 
Join Date: Feb 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Eternal2u
a suggestion for your mod is as follows..:

Make it were the signature permissions can be added to multiple usergroups at once..

in otherwords make it where you DO NOT have to go one by one on each usergroup for the signature permissions..

because i don't know about other sites, but i have in excess 20+ usergroups that are everythign from limited avatars, to limited signatures, to banned usergroups/jailed usergroups..to different colored moderater ranks, and more..

and manually goign one by one would take WAY too much time.
Hi

I am doing this for the final release, just like Usergroups you can inherit another groups permissions so as to save time not having to configure each group with a new set of permissions! Tere will also be a multi select box at the bottom on the permissions configuration page that will be shown if there are other groups that inherit the same permissions!

After the final release I will be doing another plugin that will allow for multi groups for each user, so a user can be a member of many groups and have different permissions based on forum and permissions that s/he has for the forum they are currently accessing. That will be as far as will be going with this mod, besides keeping it updated until the need for it has been replaced with a better vBulletin control.

Thanks for your input, it will help me make this better for everyone!

Sonia
Reply With Quote
  #57  
Old 04-13-2005, 08:13 AM
Darmak Darmak is offline
 
Join Date: Jun 2004
Location: M?xico
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by why-not
Hi Darmak

Just download the zip file attached, and replace your current signature include files functions_signature.php and adminfunctions_signature.php with the ones included in this zip file!

NOTE: ONLY FOR MySQL Server 4.0.24


Enjoy...

Sonia
Thank you =D
Reply With Quote
  #58  
Old 04-13-2005, 12:03 PM
why-not why-not is offline
 
Join Date: Feb 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fix (2) coding errors!

1. Array to String error for bbcode SIZE tag.
2. Missing dot operator for smilies path.

NOTES:

1. If I have installed this on your forum or fixed a install then you do not need to do this!
2. Darmak or anyone else that I gave MySQL version 3 or 4 files to, do not need these edits!


Everyone else should do this!


Open './includes/functions_signature.php'

FIND THIS

Code:
					$errors[] = construct_phrase ( $vbphrase['sig_editor_size_bbc'], $in[$i], $code['size'][0], $code['size'][1] );

REPLACE WITH

Code:
					$errors[] = construct_phrase ( $vbphrase['sig_editor_size_bbc'], $in[1][$i], $code['size'][0], $code['size'][1] );
close and save './includes/functions_signature.php'


Open './includes/adminfunctions_signature.php'

FIND THIS

Code:
	$path = ( substr ( $path, -1 ) != '/' ? '/' : '' );

REPLACE WITH

Code:
	$path .= ( substr ( $path, -1 ) != '/' ? '/' : '' );
close and save './includes/adminfunctions_signature.php'


Done with error edits!


Sonia
Reply With Quote
  #59  
Old 04-13-2005, 01:43 PM
Mephisteus's Avatar
Mephisteus Mephisteus is offline
 
Join Date: Dec 2001
Location: The Netherlands
Posts: 288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Two bugs I found
It doesnt seem to do any of the signature image checks (with the exception the domain restriction which is missing the help file so far :P). And the domain check is bugged in the way that doesnt work (properly restricted) but does work (avoids check). And as said, the signature image doesnt get checked for the size, height and width
Reply With Quote
  #60  
Old 04-13-2005, 04:46 PM
why-not why-not is offline
 
Join Date: Feb 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DarkSSJ3
Two bugs I found
It doesnt seem to do any of the signature image checks (with the exception the domain restriction which is missing the help file so far :P). And the domain check is bugged in the way that [img ]http://www.duhweb.com/sig.duh[/img] doesnt work (properly restricted) but [img ]www.duhweb.com/sig.duh[/img] does work (avoids check). And as said, the signature image doesnt get checked for the size, height and width

Which one is not getting checked! Please give a real example because both of those you gave will not help me find what the problem is, if there is any!

This would not be checked because it would be a error...

{img}http://www.duhweb.com/sig.duh{/img}

:S/ERROR:

A [IMG] link is invalid or using a unsupported (image extension). We only allow [gif, jpg, png, jpeg] for image type linking.

If the extension was valid you would get this error! If the image was not found

A invalid {IMG} link (http://www.duhweb.com/sig.gif) was found.

:E/ERROR:



This would not be checked because it is not a valid img url, it missing the protocol (http://...), so the signature control will not even validate it because it will never be displayed as a image!

{img}www.duhweb.com/sig.duh{/img}


The signature control will only validate a IMAGE that is contained in valid BBCODE or valid HTML code if that is turned on. There is no need to validate IMAGE links that are not valid because they will not be converted! if you want to validate {img}www.duhweb.com/sig.duh{/img} then I will add it for you personally, but I won't add it to the Final release because it is wasteful resources being used. Why, because I would have to guess where the image is (http, https, ftp, ftps) which would result in (4) remote calls because the person is to lazy to add the protocol to the image tag!


So like I said give me a real working example, because I am not very good at guessing!



Oh, ya....

I forgot the HELP file for all the options (Domain blocking configuration and the rest of the options) will be up tonight, plus the HELP phrases will be added tonght so you can add them to the Admin Panel if you want!


Sonia
Reply With Quote
  #61  
Old 04-16-2005, 01:40 PM
Protoman's Avatar
Protoman Protoman is offline
 
Join Date: Jan 2005
Posts: 237
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

error in phrases:
PHP Code:
INSERT INTO phrase VALUES ('', -1'vb_sig_rules_changed''My must I revalidate my signature?'7000); 
should be :
PHP Code:
INSERT INTO phrase VALUES ('', -1'vb_sig_rules_changed''Why must I revalidate my signature?'7000); 

phrase:
PHP Code:
INSERT INTO phrase VALUES ('', -1'sig_editor_spaces''To many line breaks in a row. You are allowed <strong>{1}</strong> line breaks in between lines that contain content.'11); 
should be:
PHP Code:
INSERT INTO phrase VALUES ('', -1'sig_editor_spaces''Too many line breaks in a row. You are allowed <strong>{1}</strong> line breaks in between lines that contain content.'11); 
note I have no DB prefix.

edit: more issues!
the phrase signature_permissions would not display as a Control Panel homepage type. I had to make it a CP global before it would display.

I have the same issue mentioned above, it doesn't check the image's dimensions at all using proper img tags and gives this error:

A [IMG] link is invalid or using a unsupported (image extension). We only allow [gif, jpg, png, jpeg] for image type linking.
Reply With Quote
Reply

Thread Tools

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 01:37 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.07759 seconds
  • Memory Usage 2,340KB
  • Queries Executed 27 (?)
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
  • (4)bbcode_code
  • (4)bbcode_php
  • (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
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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_postinfo_query
  • fetch_postinfo
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete