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

  #46  
Old 04 May 2004, 11:55
Logikos Logikos is offline
 
Join Date: Jan 2003
Any idea when this could be fixed? Or anyone eles know how to fix this problem?
__________________
Full Time PHP Developer
Please feel free to contact me if you have any paid work to be done.
Reply With Quote
  #47  
Old 04 May 2004, 12:12
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Just be patient young man. Relax. I am working on it now.
Reply With Quote
  #48  
Old 05 May 2004, 03:15
Logikos Logikos is offline
 
Join Date: Jan 2003
Just wanted to make sure you saw the post Thanks bud
__________________
Full Time PHP Developer
Please feel free to contact me if you have any paid work to be done.
Reply With Quote
  #49  
Old 11 May 2004, 18:05
Bulent Tekcan Bulent Tekcan is offline
 
Join Date: Oct 2003
Realy interesting because my forum is 3.0.1 but every code still visible,see in http://www.turkeyforum.com/satforum/...ad.php?t=10112 very interesting.

Any idea ?
Reply With Quote
  #50  
Old 11 May 2004, 18:27
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Originally Posted by turkeyforum
Realy interesting because my forum is 3.0.1 but every code still visible,see in http://www.turkeyforum.com/satforum/...ad.php?t=10112 very interesting.

Any idea ?
You must have missed something somewhere. Make sure you do ALL of the edits for the functions_bbcodeparse.php.

Did you download the latest version of this hack? I don't see the double-click line in it on your site.
Reply With Quote
  #51  
Old 12 May 2004, 04:19
Logikos Logikos is offline
 
Join Date: Jan 2003
Worked perfect for me vb 3.0.0 THANKS!!!!!
__________________
Full Time PHP Developer
Please feel free to contact me if you have any paid work to be done.
Reply With Quote
  #52  
Old 12 May 2004, 11:30
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Originally Posted by Live Wire
Worked perfect for me vb 3.0.0 THANKS!!!!!
You're very welcome, sir.
Reply With Quote
  #53  
Old 13 May 2004, 19:32
cLord cLord is offline
 
Join Date: Feb 2004
Question

Maybe it's me but when I install this hack I get a javascript error when the page loads and the double-click doesn't work...

Can someone please help?
cLord

(vBulletin version: 3.0.1)
Reply With Quote
  #54  
Old 13 May 2004, 19:44
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Originally Posted by cLord
Maybe it's me but when I install this hack I get a javascript error when the page loads and the double-click doesn't work...

Can someone please help?
cLord

(vBulletin version: 3.0.1)
What browser are you using?
Reply With Quote
  #55  
Old 13 May 2004, 20:04
cLord cLord is offline
 
Join Date: Feb 2004
IE 6.0.2800.1106 XPSP1...

cLord
Reply With Quote
  #56  
Old 13 May 2004, 23:12
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
You either have another hack installed conflicting with this or you missed some code somewhere when installing this hack. Those are the only things I can see that would be causing the problem you are having. Go through the hack instructions very carefully again and let me know if that fixes it.
Reply With Quote
  #57  
Old 14 May 2004, 07:07
Logikos Logikos is offline
 
Join Date: Jan 2003
Hey Boofo, could you maybe show me how to block it from a usergroup id also? I tried conditions but didn't work. I want to make sure people check there email before they can see the inside the tags. Thanks!
__________________
Full Time PHP Developer
Please feel free to contact me if you have any paid work to be done.
Reply With Quote
  #58  
Old 14 May 2004, 10:55
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Originally Posted by Live Wire
Hey Boofo, could you maybe show me how to block it from a usergroup id also? I tried conditions but didn't work. I want to make sure people check there email before they can see the inside the tags. Thanks!
That's not a bad idea. I forgot all about people who don't verify. I'll get something together and get it to you.
Reply With Quote
  #59  
Old 14 May 2004, 18:36
Logikos Logikos is offline
 
Join Date: Jan 2003
Sweet man, thanks a bunch
__________________
Full Time PHP Developer
Please feel free to contact me if you have any paid work to be done.
Reply With Quote
  #60  
Old 15 May 2004, 20:53
Bulent Tekcan Bulent Tekcan is offline
 
Join Date: Oct 2003
Hello

EDIT: Boofo has removed the attachment as vBulletin files are not to be posted here.

This is my file,is it correct.....

Last edited by Boofo; 16 May 2004 at 04:18.
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 14:34.

Layout Options | Width: Wide Color: