vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - Block PHP, CODE, HTML and QUOTES from Guests for vB3.7 (https://vborg.vbsupport.ru/showthread.php?t=178176)

veenuisthebest 05-05-2008 12:55 PM

woww.. this works perfect for me !! without setting Post's cache lifespan to 0.

one thing sir..

Code:

Guests are not allowed to view code. To enable the
viewing of code, please click 'here' to register.

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

thank you.

Boofo 05-05-2008 12:58 PM

Quote:

Originally Posted by veenuisthebest (Post 1509240)
woww.. this works perfect for me !! without setting Post's cache lifespan to 0.

one thing sir..

Code:

Guests are not allowed to view code. To enable the
viewing of code, please click 'here' to register.

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. ;)

veenuisthebest 05-05-2008 01:03 PM

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]

veenuisthebest 05-05-2008 01:16 PM

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

Boofo 05-05-2008 01:21 PM

Are you using IE?

veenuisthebest 05-05-2008 01:25 PM

no only firefox !!

veenuisthebest 05-05-2008 01:28 PM

by the way, can you plz tell me sir, whats the difference between

file.php$session[sessionurl_q]

file.php?$session[sessionurl]

veenuisthebest 05-05-2008 01:32 PM

oh yess I see..

the code copy feature is working fine in IE

also ? instead of $ is working fine in both IE and firefox

Boofo 05-05-2008 01:32 PM

This is what some of the vb templates use.

register.php$session[sessionurl_q]

I am fixing it now. The reason your code doesn't click is it is only for IE until I can find code that will work with other browsers.

veenuisthebest 05-06-2008 02:34 AM

thanks for this cool mod sir.. really useful for me !!

i hope you'll soon add up feature to hide links as well.. :)


All times are GMT. The time now is 06:51 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01157 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete