Register Members List Search Today's Posts Mark Forums Read

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

This thread is in the Modification Graveyard.
vB Version: 3.7.0 Rating: (2 votes - 5.00 average) Installs: 52
Released: 05 May 2008 Last Update: 05 May 2008 Downloads: 293
Not Supported Auto-Template  

Block PHP, CODE, HTML and QUOTES from Guests for vB3.7
Version 1.0.2
(By Boofo)

What does this product do?
This is a long-overdue update of my block code hack for vB3.0, now as a product, with no file or template edits. This will block all php, code and html code from all unregistered users. Any code between 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 an option 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 try and 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 enable the quote option). It works in the archive, as well as the showpost and printable post. This product should work on prior versions of vB as the hooks that are used are common hooks. It also has the ability to copy the contents of the boxes to the clipboard. This works fine is IE and Opera. To enable the javascript Copy to Clipboard in Firefox or Mozilla, please read below:

"By default these javascript Copy to Clipboard buttons work perfectly on Internet Explorer and Opera browser. If Firefox or Mozilla is used, it is possible to select text and press Ctrl+C (or choose Copy from Edit menu). To enable these javascript Copy to Clipboard buttons in Firefox or Mozilla follow the guide."

For more...

http://www.febooti.com/support/websi...clipboard.html

Version Information:
Version 1.0.1 --Initial release for vB3.7
Version 1.0.2 --Fixed register.php links

Installation overview:
Templates to edit: 0
Products to Install: (1)

Installation Instructions:
1. Go to your Admin CP
Scroll down to 'Plugin System'
Click 'Manage Products'
Click 'Add/Import Product'
Click the 'Browse' button, and locate the product-boofo_bbcode.xml file on your computer

2. Go to your Admin CP
Go to your Admin CP -> vBulletin Options -> Boofo's Enhanced BBCode for Guests and set the following option:
Disable QUOTES for Guests -> Do you want to disable the viewing of quotes in messages for guests?

NOTE: The default setting is NO, which enables the viewing of QUOTES to guests.

Done!
Enjoy!

NOTE: If you do not click install, you do not need support.

Download Now

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

Show Your Support

  • 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
vB3 Block PHP, CODE and HTML from unregistered users Boofo vBulletin 3.0 Full Releases 87 21 Feb 2009 20:19

Comments
  #2  
Old 05 May 2008, 13:06
projectego's Avatar
projectego projectego is offline
 
Join Date: Feb 2006
Location: UK
Real name: Steve
/me clicks install

Thanks!
__________________
Reply With Quote
  #3  
Old 05 May 2008, 13:09
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Let me know how it goes. I think I caught everything for it. Also, I will be adding links and images to block also here in the near future.
Reply With Quote
  #4  
Old 05 May 2008, 14:15
Barakat's Avatar
Barakat Barakat is offline
 
Join Date: Nov 2004
Real name: Barakat
thanks a lot
__________________
مسلمـ من أمة محمد ...
Reply With Quote
  #5  
Old 05 May 2008, 14:18
Kaleem's Avatar
Kaleem Kaleem is offline
 
Join Date: May 2006
Real name: Kaleem
Looks good but cant u add more options like selecting which quotes should be included and which not.

Like Enable it for every quote Code, HTML, PHP.
__________________
My Forum: FriendsKorner - Entertainment Forum
Reply With Quote
  #6  
Old 05 May 2008, 14:25
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
It was written to block the code from guests so they would be more inclined to register to unblock the code. You can disable quote blocking.
Reply With Quote
  #7  
Old 05 May 2008, 14:26
veenuisthebest's Avatar
veenuisthebest veenuisthebest is offline
 
Join Date: Mar 2008
Real name: Vinayak
but sir, how does it differ from the inbuilt BB Code settings in vBulletin Options.. If i'm not mistaken.. php, html and code can be shown to specific usergroups from within vB. I think it only does not show custom messages.

but i'm unable to get it to work .. the code still shows up !! do I have to change Post's Cache Lifespan to 0 ??

Last edited by veenuisthebest; 05 May 2008 at 14:43.
Reply With Quote
  #8  
Old 05 May 2008, 14:46
Kaleem's Avatar
Kaleem Kaleem is offline
 
Join Date: May 2006
Real name: Kaleem
Originally Posted by Boofo View Post
It was written to block the code from guests so they would be more inclined to register to unblock the code. You can disable quote blocking.
Yea it enables all the quote my suggestion was if u can add options to enable or disable on CODE, HTML, and PHP individually.
__________________
My Forum: FriendsKorner - Entertainment Forum
Reply With Quote
  #9  
Old 05 May 2008, 14:49
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Originally Posted by veenuisthebest View Post
but sir, how does it differ from the inbuilt BB Code settings in vBulletin Options.. If i'm not mistaken.. php, html and code can be shown to specific usergroups from within vB. I think it only does not show custom messages.

but i'm unable to get it to work .. the code still shows up !! do I have to change Post's Cache Lifespan to 0 ??
Yes.
Reply With Quote
  #10  
Old 05 May 2008, 14:51
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Originally Posted by LightInClouds View Post
Yea it enables all the quote my suggestion was if u can add options to enable or disable on CODE, HTML, and PHP individually.
That is something I may add later on but it wasn't added for the reason I stated, this is for guest blocking. And mainly for sites that use a lot of code.
Reply With Quote
  #11  
Old 05 May 2008, 14:55
veenuisthebest's Avatar
veenuisthebest veenuisthebest is offline
 
Join Date: Mar 2008
Real name: Vinayak
woww.. this works perfect for me !! without setting Post's cache lifespan to 0.

one thing sir..


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

the link to here is pointing to register.php$session%5Bsessionurl_q%5D instead of register.php?session%5Bsessionurl_q%5D

thank you.
Reply With Quote
  #12  
Old 05 May 2008, 14:58
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Originally Posted by veenuisthebest View Post
woww.. this works perfect for me !! without setting Post's cache lifespan to 0.

one thing sir..


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

the link to here is pointing to register.php$session%5Bsessionurl_q%5D instead of register.php?session%5Bsessionurl_q%5D

thank you.
Looks the same to me. It takes you to the register page.
Reply With Quote
  #13  
Old 05 May 2008, 15:03
veenuisthebest's Avatar
veenuisthebest veenuisthebest is offline
 
Join Date: Mar 2008
Real name: Vinayak
i think it should be ? instead of $ , coz its taking me to the Page not found error !!

register.php$session[sessionurl_q]

register.php?session[sessionurl_q]

Last edited by veenuisthebest; 05 May 2008 at 15:21.
Reply With Quote
  #14  
Old 05 May 2008, 15:16
veenuisthebest's Avatar
veenuisthebest veenuisthebest is offline
 
Join Date: Mar 2008
Real name: Vinayak
i have corrected it in the .XML..

also.. this ain't working for me ..
(Double-click CODE box to copy code to clipboard)

no alert pops up neither it gets copied !!

thank you
Reply With Quote
  #15  
Old 05 May 2008, 15:21
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Are you using IE?
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
Forum Jump


New To Site? Need Help?

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

Layout Options | Width: Wide Color: