Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
vB3 Block PHP, CODE and HTML from unregistered users Details »
vB3 Block PHP, CODE and HTML from unregistered users
Mod Version: 1.00, by Boofo (R.I.P.) Boofo is offline
Developer Last Online: Jun 2012 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.0 Rating: (2 votes - 4.50 average) Installs: 42
Released: 04 Jan 2004 Last Update: Never Downloads: 81
Not Supported  

vB3 Block PHP, CODE and HTML from unregistered visitors v1.1
(By Boofo)

What does this hack do?
This will block all php, code and html code from all unregistered users. Any code bewteen those tags will be replaced will a line telling them they are not allowed to view the code and to please register. (You can change the messages to whatever you like.) Included is also the code for the QUOTE boxes. I don't use the QUOTE boxes bypass on my board, but I have the option ready in case someone decides to quote code, php or html code to bypass this hack. Anything between the code, php or html tags will be parsed out, even quote tags, as long as it is between one of the other tags within the quote itself. If someone just puts QUOTE tags around the code itself, then it will show as normal (unless you add the quote bypass below).

Version Information:
Version 1.0 --Initial release
Version 1.1 --Updated to now work in the archive. Also added the ability to double-click the code box to copy the code to the clipboard. Only works in IE so far. Will be adding the double-clicking ability for other browers as I find what will work with them.

Installation overview:
Files to edit: (2)
--includes/functions_bbcodeparse.php
--archive/index.php
Templates to edit: 3 (Optional: 2)
--bbcode_code
--bbcode_html
--bbcode_php
(Optional)
--bbcode_sql
--bbcode_quote
Phrases to add: 3 (Optional: 2)
--bf2_block_code
--bf2_block_html
--bf2_block_php
(Optional)
--bf2_sql_code
--bbcode_quote

If you find this hack useful, please click the install button.

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.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Miscellaneous Hacks Block PHP, CODE, HTML and QUOTES from Guests for vB3.7 Boofo Modification Graveyard 127 28 Jun 2008 15:28

  #76  
Old 03 Mar 2005, 16:58
arsec arsec is offline
 
Join Date: Oct 2004
how can i get it to work in 3.0.7???
Reply With Quote
  #77  
Old 18 Apr 2005, 13:28
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
I find sometimes the code gets blocked even if your logged in. SOME TIMES not all the time.
__________________
http://www.t3media.com (Ideas at the speed of thought.)
http://www.sprnch.com social networking!
http://hunterex.com (cellphones super cheap!)
Reply With Quote
  #78  
Old 21 Jul 2005, 02:50
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Real name: Jeremy
I got this error:

Parse error: parse error, unexpected T_STRING in /home/mytho4/public_html/vbrenegades/includes/functions_bbcodeparse.php on line 55
Line 55 is this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Unless I counted Wrong.

EDIT: About to do a revert so that the board is viewable and I'll redo the hack tomorrow.
__________________
Former vBulletin.org Staff Member

Do not request support through any other means except the forums.

Useful Post With Links on Learning How To Develop vBulletin Plugins

Latest Modification: Stop Forum Spam Integration
Reply With Quote
  #79  
Old 02 Oct 2005, 02:12
Crazy Serb Crazy Serb is offline
 
Join Date: Mar 2005
is there a new version of this for vbulletin 3.5?!! pleasssseeee!!!
Reply With Quote
  #80  
Old 13 Nov 2005, 00:06
vakvak's Avatar
vakvak vakvak is offline
 
Join Date: Mar 2005
Real name: xxx
thanks..
Reply With Quote
  #81  
Old 13 Nov 2005, 00:28
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Real name: Anton Kanevsky
Are you going to port this hack to 3.5.x? Thanks
__________________
I can no longer support any of my hacks. Please do not contact me for that. Feel free to create and post new versions of my hacks, as long as you give me credit for the original work.
Reply With Quote
  #82  
Old 06 Dec 2005, 14:25
MPDev's Avatar
MPDev MPDev is offline
 
Join Date: Oct 2003
3.5 version would be nice.
__________________
Reply With Quote
  #83  
Old 07 Jan 2006, 05:15
DS MrSinister's Avatar
DS MrSinister DS MrSinister is offline
 
Join Date: Dec 2002
anyword on porting this hack?
Reply With Quote
  #84  
Old 11 Dec 2006, 12:21
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Real name: sabe
did this ever make it to vB3.5/vB3.6?
__________________
UNDER CONSTRUCTION: Confessionary Hack

Make me a Hack of The Month author: GRPS: Groups Commune
make my hacks, they'll make you famous

unless it's a security concern, please do not pm/im me for support unless you're willing to pay.
Reply With Quote
  #85  
Old 05 Apr 2007, 07:30
taheri6 taheri6 is offline
 
Join Date: Jan 2007
I too would love to see this for 3.6.x

Ive been looking for this for a while now
__________________
See my domain names for sale at Afternic!
http://www.yaur.com -=[Yaur]=- Website
Reply With Quote
  #86  
Old 05 Feb 2008, 05:34
The Notorious's Avatar
The Notorious The Notorious is offline
 
Join Date: Jan 2006
Yup, would be nice to have this for 3.6...
Reply With Quote
  #87  
Old 05 Feb 2008, 05:48
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
I will see what I can do about updating this.
Reply With Quote
  #88  
Old 21 Feb 2009, 20:19
compact123 compact123 is offline
 
Join Date: Jun 2006
Seems to work fine
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 13:13.

Layout Options | Width: Wide Color: