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 14:28

  #61  
Old 26 May 2004, 11:29
Charlie Argueta's Avatar
Charlie Argueta Charlie Argueta is offline
 
Join Date: Oct 2002
Real name: Charlie Argueta
Hi Boofo

I have a question, if I also want to block the Spoiler Code, how do I do it with this Hack or I have to do something else?

See Ya
Reply With Quote
  #62  
Old 14 Jun 2004, 22:21
SaN-DeeP's Avatar
SaN-DeeP SaN-DeeP is offline
 
Join Date: Jun 2002
this hack is not working for me.
i am using vb 3.0

I just want to disable the php code tag and rest leave enabled.
i have just modified the bbcode_php template and left the rest as it is.

its not working for me.
where can be the prob ??

this is the test thread.
http://207.58.143.178/forums/showthr...2928#post32928

and also the doubleclick php box to copy to clipboard not working.
would prefer to remove that.

is there any way to change this hack and enable it for displaying contents in this code tags for users with 20+ posts only.

Thnx.
Sandy...

Last edited by SaN-DeeP; 27 Feb 2005 at 11:46.
Reply With Quote
  #63  
Old 17 Jun 2004, 23:24
SaN-DeeP's Avatar
SaN-DeeP SaN-DeeP is offline
 
Join Date: Jun 2002
Originally Posted by SaN-DeeP
this hack is not working for me.
i am using vb 3.0

I just want to disable the php code tag and rest leave enabled.
i have just modified the bbcode_php template and left the rest as it is.

its not working for me.
where can be the prob ??

this is the test thread.
http://207.58.143.178/forums/showthr...2928#post32928

and also the doubleclick php box to copy to clipboard not working.
would prefer to remove that.

is there any way to change this hack and enable it for displaying contents in this code tags for users with 20+ posts only.

Thnx.
Sandy...
bump

need some help
thnx.

Last edited by SaN-DeeP; 27 Feb 2005 at 11:46.
Reply With Quote
  #64  
Old 17 Jun 2004, 23:36
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
It looks to me like you forgot to edit the includes/functions_bbcodeparse.php. Post the bbcode_php template here and let me see it. We'll get you going.
Reply With Quote
  #65  
Old 27 Jun 2004, 14:21
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Real name: sabe
are the templates upto date yet?
__________________
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
  #66  
Old 27 Jun 2004, 15:03
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Originally Posted by sabret00the
are the templates upto date yet?
Yessir.
Reply With Quote
  #67  
Old 28 Jun 2004, 13:22
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Real name: sabe
nice one, i was worried as i removed the javascript from the boxes then thought, darn these might be the old templates lol
__________________
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
  #68  
Old 28 Jun 2004, 14:53
SaN-DeeP's Avatar
SaN-DeeP SaN-DeeP is offline
 
Join Date: Jun 2002
Talking

Originally Posted by Boofo
It looks to me like you forgot to edit the includes/functions_bbcodeparse.php. Post the bbcode_php template here and let me see it. We'll get you going.
hello boofo
thnx for ur time this is the template
i am using vb 3.0 and want to hide the code only for only for PHP tag.
can u possibly also tell me, to make this work only for users who have more then 25 posts.
only users above 25 posts should be able to read the content under hidden tags


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

thnx.
Sandy...
Reply With Quote
  #69  
Old 29 Jun 2004, 22:49
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Real name: sabe
want to be using the vb3 tabless code instead?

bbcode_code

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

bbcode_html

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

bbcode_php

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

__________________
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
  #70  
Old 01 Sep 2004, 14:18
Bulent Tekcan Bulent Tekcan is offline
 
Join Date: Oct 2003
HTML code still viewing.....How can I hide it ?
Reply With Quote
  #71  
Old 16 Jan 2005, 13:56
Ruffneck Ruffneck is offline
 
Join Date: Oct 2002
Can i use this hack also only for the code: [URL] ?
Reply With Quote
  #72  
Old 16 Jan 2005, 14:52
Ruffneck Ruffneck is offline
 
Join Date: Oct 2002
Other question can i use this hack only on the forum id: 36 ?
Reply With Quote
  #73  
Old 16 Jan 2005, 18:54
ogetbilo ogetbilo is offline
 
Join Date: Mar 2004
Is this working on 3.0.5 ?
__________________
Linux Rules!
Reply With Quote
  #74  
Old 11 Feb 2005, 14:57
H2k H2k is offline
 
Join Date: Apr 2004
Originally Posted by ogetbilo
Is this working on 3.0.5 ?
For some reson this mod dose not work with me i use 3.0.6 and ihave many mod and hack installing in my board..

i try this one and it dont work .. the php and html and code.. is stillshowing .. any idea why this ..

i know that u are going to ask me .. i do not modify the php code.. in the bbcode.. but this code i have use it in 3.0..5 and it was work then after upgtade to the new v.. of vb 3.0.6 and i installing alot of mod hack then i try to install this one .. and it dont work with me .. everything is howing.

i have installing

ushop
Warn system
/you bbcode
and there is many other as well so i dont no if this is the reson or not..

thankyou
Reply With Quote
  #75  
Old 13 Feb 2005, 06:07
H2k H2k is offline
 
Join Date: Apr 2004
Originally Posted by H2k
For some reson this mod dose not work with me i use 3.0.6 and ihave many mod and hack installing in my board..

i try this one and it dont work .. the php and html and code.. is stillshowing .. any idea why this ..

i know that u are going to ask me .. i do not modify the php code.. in the bbcode.. but this code i have use it in 3.0..5 and it was work then after upgtade to the new v.. of vb 3.0.6 and i installing alot of mod hack then i try to install this one .. and it dont work with me .. everything is howing.

i have installing

ushop
Warn system
/you bbcode
and there is many other as well so i dont no if this is the reson or not..

thankyou
Something is really wrong i have install this hack in the localhost.. and it work great.

when i upload the file .. it dont work .. i can view all the code php or html etc..

and know i dont no what wrong .. even i'am login . wiht my username. and it tel me unregisiter user can't view this .. anyidea about this erro r?

thankyou
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 09:01.

Layout Options | Width: Wide Color: