Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Mod-Approved HTML Signatures for vBulletin 3.6 Details »
Mod-Approved HTML Signatures for vBulletin 3.6
Mod Version: 2.00, by antialiasis (Member) antialiasis is offline
Developer Last Online: Nov 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.4 Rating: (0 vote - 0 average) Installs: 10
Released: 21 Aug 2006 Last Update: 22 Aug 2006 Downloads: 45
Not Supported DB Changes Uses Plugins Template Edits Additional Files  

This is a 3.6 version of this hack for vBulletin 3.5.x. Upgrading is necessary if you had previously installed the hack. (Screenshots can also be found there.)

-------


To avoid security risks (and general page mess-ups by users who are inexperienced at HTML), it is generally not a good idea to allow HTML in signatures. However, the annoying fact is that most people have perfectly legitimate reasons to want to use HTML in their signatures, and many of them know what they're doing and won't forget to close table tags that will embed the rest of the page into their signatures. Wouldn't it be great if you and your moderators could just look over the code of all HTML signatures before they actually get put on the forums? Well, look no further.

Admin and approver features:

- Fully phrased
- Specify groups which can approve HTML signatures in the Admin CP (moderators, super moderators and administrators by default)
- View list of all unapproved HTML signatures by clicking an unobtrusive link at the bottom of every page
- View and edit a single HTML signature's code without having it executed on the page or preview it after making sure it does not posess any obvious security risk

User features:

- Either use a normal BBCode signature, which does not need approval, or an advanced HTML signature
- Normal BBCode signature, if any, is used while HTML signature has not yet been approved
- HTML is shown as "on" in Signature Permissions box when editing HTML signature to avoid confusion, and is of course parsed in HTML signature preview
- Line breaks are not parsed in HTML signatures, so you can space out your code as you like without worrying about extra line breaks appearing in the finished product


Version History:

[vBulletin 3.6.x]
2.0: Adapted to 3.6, and that's pretty much it. If you had the hack installed on 3.5.x and just upgraded your board, you must import the new product (with Allow Overwrite set to Yes) and remake (or make, in the case of new ones) the template edits marked with an asterisk. Reuploading htmlsig.php should not be necessary; no changes have been made to the file.
[vBulletin 3.5.x]
1.6: Another missing TABLE_PREFIX added and the setting is now definitely included. No changes have been made to htmlsig.php, so to upgrade you only need to download the zip and import the new product-htmlsigapproval.xml.
1.5: HTML signatures now work in PMs. Added missing TABLE_PREFIX in a query. To upgrade: Again, reupload htmlsig.php and import the new product-htmlsigapproval.xml, making sure that "Allow Overwrite" is on.
1.1: It used to make HTML disabled in your already-approved HTML signature again after you edited it; now that's fixed. To upgrade: Reupload htmlsig.php and import the new product-htmlsigapproval.xml through the Admin CP, making sure that "Allow Overwrite" is ON.
1.0: Initial release.

---

Difficulty: Medium
Template edits: 6
Product installs: 1
File uploads: 1
Code modifications: 0
Additional database rows: 2


-------

Support will be given in this thread if you have any questions, comments, suggestions, etc.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 21 Aug 2006, 23:44
MGM MGM is offline
 
Join Date: Jan 2003
Real name: Bara
Great idea, and definitely reduces the risk of having signatures on by default...

MGM out
Reply With Quote
  #3  
Old 22 Aug 2006, 00:10
utw-Mephisto utw-Mephisto is offline
 
Join Date: Feb 2005
Sweet

/me is waiting if people ask for screenshots instead of checking old 3.5 version

/me clicks install of course too
Reply With Quote
  #4  
Old 22 Aug 2006, 02:07
y2krazy y2krazy is offline
 
Join Date: Jun 2003
Real name: Sean
Steps 2 and 3 cannot be done. The files do not exist in the ZIP you included. ><

Difficulty: Medium
Template edits: 6
Product installs: 1
File uploads: 1
Code modifications: 0
Additional database rows: 2

INSTALLATION INSTRUCTIONS

1: Unzip htmlsigapproval.zip.
2: Upload htmlsig.php to your main forum folder (the one containing global.php, forumdisplay.php, etc.)
3: Import product-htmlsigapproval.xml via the Admin CP Product Manager.

4: Go to vBulletin Options in the Admin CP, select User Profile Options and scroll to the bottom. Edit the setting "Groups that can approve of HTML signatures" to the groups you want to be able to approve HTML signatures. (Leave it as 5,6,7 if you want moderators, super moderators and administrators to have that ability.)
5: Be sure to disable HTML in regular signatures (located on the Edit Usergroup pages) - not much of a point in making people get their HTML signatures approved if their normal signatures can have HTML in them anyway.
6: Make the following template edits:
Reply With Quote
  #5  
Old 22 Aug 2006, 13:44
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Real name: Josh
Lovely!
Reply With Quote
  #6  
Old 22 Aug 2006, 21:41
antialiasis's Avatar
antialiasis antialiasis is offline
 
Join Date: Jan 2006
Okay, that is odd because I remember putting them in very clearly. o_O I guess I accidentally put them into the 3.5 zip instead of the one I was going to upload here or something. The correct one is there now...

EDIT: Ack, there was a short delay in actually putting it there (Firefox started misbehaving) but now it's definitely there.
__________________
Featured hacks:
3.6:
NoSpam! - get rid of those spambots for good!
Import News from a Forum - have unread announcements appear at the top of every page of your forum to get members to read them!
3.5:
NoSpam! - the 3.5 version
Personal Notepad - allow your members to store private notes in their User CP

Last edited by antialiasis; 22 Aug 2006 at 21:48.
Reply With Quote
  #7  
Old 22 Aug 2006, 22:20
y2krazy y2krazy is offline
 
Join Date: Jun 2003
Real name: Sean
Thank you.
Reply With Quote
  #8  
Old 24 Aug 2006, 12:50
TCB's Avatar
TCB TCB is offline
 
Join Date: Jun 2004
it seems like something I really could use..

But what happens when someone who has an approved html signature edits his/her signature? Will it be re-qeued for moderation, or are edits automatically approved?
Reply With Quote
  #9  
Old 28 Aug 2006, 08:19
TCB's Avatar
TCB TCB is offline
 
Join Date: Jun 2004
Does anyone know?
Reply With Quote
  #10  
Old 29 Aug 2006, 00:11
antialiasis's Avatar
antialiasis antialiasis is offline
 
Join Date: Jan 2006
The edits will be put under moderation again, but the previous HTML signature will be shown until the edits are approved.
__________________
Featured hacks:
3.6:
NoSpam! - get rid of those spambots for good!
Import News from a Forum - have unread announcements appear at the top of every page of your forum to get members to read them!
3.5:
NoSpam! - the 3.5 version
Personal Notepad - allow your members to store private notes in their User CP
Reply With Quote
  #11  
Old 29 Aug 2006, 07:09
TCB's Avatar
TCB TCB is offline
 
Join Date: Jun 2004
Originally Posted by antialiasis
The edits will be put under moderation again, but the previous HTML signature will be shown until the edits are approved.
Fantastic! That answer was exactly the one that I was hoping for
Reply With Quote
  #12  
Old 31 Aug 2006, 05:03
Exitilus's Avatar
Exitilus Exitilus is offline
 
Join Date: Jul 2004
Real name: Derek
Awesome Hack. Installed

Though I just noticed something. When I go to the Approval Page IE says it has a Error (The annoying lil ! in the bottom right of IE)

Gives me the following Information.

Line: 998
Char: 2
Error: Object Unexpected
Code: 0
http://forums.houseofcrazed.com/htmlsig.php
__________________
Owner / Webmaster
House of Crazed
http://www.houseofcrazed.com

Last edited by Exitilus; 31 Aug 2006 at 05:06.
Reply With Quote
  #13  
Old 31 Aug 2006, 18:03
antialiasis's Avatar
antialiasis antialiasis is offline
 
Join Date: Jan 2006
Hmm, that is rather odd since there is no Javascript in the file at all. Admittedly I can't see the page as I'm not logged in (the less somebody with permission to edit HTML signatures). IE doesn't have a problem with the page on my forum, at least.
__________________
Featured hacks:
3.6:
NoSpam! - get rid of those spambots for good!
Import News from a Forum - have unread announcements appear at the top of every page of your forum to get members to read them!
3.5:
NoSpam! - the 3.5 version
Personal Notepad - allow your members to store private notes in their User CP
Reply With Quote
  #14  
Old 31 Aug 2006, 18:19
Exitilus's Avatar
Exitilus Exitilus is offline
 
Join Date: Jul 2004
Real name: Derek
Hmmm odd ..
__________________
Owner / Webmaster
House of Crazed
http://www.houseofcrazed.com
Reply With Quote
  #15  
Old 31 Aug 2006, 19:21
Jealousy10312 Jealousy10312 is offline
 
Join Date: Aug 2006
& what happens if someone puts <noscript> .. then you probably wont even be able to see the moderation qeue
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 22:03.

Layout Options | Width: Wide Color: