vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   New Posting Features - vS-Hide Hack Resurrection (https://vborg.vbsupport.ru/showthread.php?t=237057)

andreamarucci 11-26-2010 05:55 AM

The version at the developer's site is the same. Tried to install it on a test board and now I get completely blank pages...

SBKTR 12-11-2010 11:44 PM

If anyone can help when trying to do the templates, all goes well until this one and then I get this error:

In file(s) ./includes/functions_forumdisplay.php

Fatal error: Call to a member function parse_bbcode() on a non-object in /home/admin/public_html/includes/functions_forumdisplay.php on line 176

Strik3 12-16-2010 02:21 PM

And although I have installed this hack:
vS.Hide.Hack.Resurrection.Expanded.Edition.v4.0.5

In the standard skin of the hack works without problems. In the Skin of the element works Thanks not when I click it does not point to thank who have thanked?

On what is the?
Reply With Quote

KissOfDeath 12-28-2010 03:38 PM

good idea but this hack is kind of useless as you can just view source of the web page and see the hidden content which is included in the meta tag description.......

genxstan 01-04-2011 05:26 AM

It isnt working on VB 4.0.8 anyways

KaiStone 01-05-2011 02:47 PM

Dear Psionic Vision,

If you do search with Show Post option, the hidden content is showed, please try to fix it and release new version.

I'm using vBulletin 4.0.8 PL2 and find that bug.

NovoCiv 01-05-2011 03:32 PM

I finally figured out a fix.

In Plugin Manager find the newreply_quote in the vS Hide Hack section.

Under
PHP Code:

$pagetext $GLOBALS['hhr']->strip_bbcode($pagetext'editor'); 

Add
PHP Code:

$pattern '/\[hide\](.*)\[\/hide\]/i';
$replacement " [i]Hide tags Hidden[/i] ";
$pagetext preg_replace($pattern$replacement$pagetext); 

Edit: The first post can still reveal hidden content due to meta tags. There are various ways to fix this but I removed the vulnerability from all but the public sections (who needs meta tags in members only sections anyway?) by changing this to this in Showthread template:
PHP Code:

    <vb:if condition="$threadinfo['keywords']"><meta name="keywords" content="{vb:raw threadinfo.keywords}" /></vb:if>
    <
meta name="description" content="{vb:raw thread.meta_description}" /> 

PHP Code:

<vb:if condition="in_array($threadinfo['forumid'], array(28,30,32))">
    <
vb:if condition="$threadinfo['keywords']"><meta name="keywords" content="{vb:raw threadinfo.keywords}" /></vb:if>
    <
meta name="description" content="{vb:raw thread.meta_description}" />
</
vb:if> 


FReeSTER 01-08-2011 07:45 PM

Quote:

Originally Posted by NovoCiv (Post 2144457)
I finally figured out a fix.

In Plugin Manager find the newreply_quote in the vS Hide Hack section.

Under
PHP Code:

$pagetext $GLOBALS['hhr']->strip_bbcode($pagetext'editor'); 

Add
PHP Code:

$pattern '/\[hide\](.*)\[\/hide\]/i';
$replacement " [i]Hide tags Hidden[/i] ";
$pagetext preg_replace($pattern$replacement$pagetext); 

Edit: The first post can still reveal hidden content due to meta tags. There are various ways to fix this but I removed the vulnerability from all but the public sections (who needs meta tags in members only sections anyway?) by changing this to this in Showthread template:
PHP Code:

    <vb:if condition="$threadinfo['keywords']"><meta name="keywords" content="{vb:raw threadinfo.keywords}" /></vb:if>
    <
meta name="description" content="{vb:raw thread.meta_description}" /> 

PHP Code:

<vb:if condition="in_array($threadinfo['forumid'], array(28,30,32))">
    <
vb:if condition="$threadinfo['keywords']"><meta name="keywords" content="{vb:raw threadinfo.keywords}" /></vb:if>
    <
meta name="description" content="{vb:raw thread.meta_description}" />
</
vb:if> 


have anyone else tried this?

EDIT:

what this stand for?
array(28,30,32))">

NovoCiv 01-09-2011 07:11 AM

Quote:

Originally Posted by El Intocable (Post 2146124)
have anyone else tried this?

EDIT:

what this stand for?
array(28,30,32))">

Those are the IDs of our three "Public" forums. (The ones guests can view).

KaiStone 01-09-2011 10:42 AM

It seems to be there's nobody care about searching problem. vS-Hide cannot work if you do a search inside topic :D


All times are GMT. The time now is 08:12 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.01817 seconds
  • Memory Usage 1,761KB
  • 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
  • (8)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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