vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vS-Hide Hack Resurrection (https://vborg.vbsupport.ru/showthread.php?t=97366)

JJH35 10-12-2005 12:47 AM

guess if id use some common sense id get it, i substituted the hidetag_color in there to the remove thing u have and got ur hack to install, thanks again

akanevsky 10-12-2005 12:48 AM

Yes, sorry, I posted wrong link.
I posted a link to the option from the advanced version of this hack instead of the version for vB 3.0.x :(

havefun 10-12-2005 02:14 PM

Quote:

Originally Posted by Dark Visor
Ah! Then remove <font color='".$vbulletin->options['hidetag_color']."'> and </font> from the line you posted.

thx. now i found out how it works. moved </font> before :</b>

havefun 10-12-2005 09:28 PM

sorry. me again :)

because of a fun-forum it would be better that mods and super-mods
can't see it too. only after answer.

i think that i've to delete this for mods:
PHP Code:

    if (can_moderate($forumid) AND in_array(THIS_SCRIPT, array('forumdisplay''showthread''archive''printthread')))
    {
        
$hidetag['canview'] = true// allowed if [user = mod]
    



akanevsky 10-12-2005 09:31 PM

Replace
if (in_array($usergroup, array(5,6))
With
if (in_array($usergroup, array(6))

and erase
if (can_moderate($forumid) AND in_array(THIS_SCRIPT, array('forumdisplay', 'showthread', 'archive', 'printthread')))
{
$hidetag['canview'] = true; // allowed if [user = mod]
}

havefun 10-12-2005 09:34 PM

Quote:

Originally Posted by Dark Visor
Replace
if (in_array($usergroup, array(5,6))
With
if (in_array($usergroup, array(6))

and erase
if (can_moderate($forumid) AND in_array(THIS_SCRIPT, array('forumdisplay', 'showthread', 'archive', 'printthread')))
{
$hidetag['canview'] = true; // allowed if [user = mod]
}

ok fine, THX

ctsolutions 10-14-2005 11:07 AM

Hi, Dark Visor

I find something but I dont know if this is a bug from the first release or the second.

Exemple:

I make a new thread and I post

[hide]sometext[/hide]

now, when somebody visit this thread will see that he need 10 post to be able to see the hiden text. Our user has only 5 post and he is not able to see the hiden text.

That is okay, so far.

Anyway,when the user post a "replay" but he dont post realy and scroll down to my hiden thread he IS ABLE to see the hiden text in the " Topic Review (Newest First) "

Is that a bug or my update mistake ?

2. I have noticed that when I click the hide icon, to write a text a java script popup open. When I wrote "http://www.vbulletin.org" I will take:

[HIDE="http://www.vbulletin.org"][/HIDE] and that is wrong

[HIDE]="http://www.vbulletin.org"][/HIDE] that is correct. I missed an ] after the first "hide" tag.

Can you help please ?

Thanks,
Mike

david_be 10-14-2005 02:25 PM

gracias

akanevsky 10-14-2005 05:51 PM

ctsolutions,
In popup you should write the amount of posts a user needs to have to see the content. The content itself goes here:
[hide]...youcontents...[/hide]

ctsolutions 10-14-2005 06:48 PM

Quote:

Originally Posted by Dark Visor
ctsolutions,
In popup you should write the amount of posts a user needs to have to see the content. The content itself goes here:
[hide]...youcontents...[/hide]


Okay, thanks...but what is with my example here:

Quote:

I find something but I dont know if this is a bug from the first release or the second.

Exemple:

I make a new thread and I post

[hide]sometext[/hide]


now, when somebody visits this thread will see that he needs 10 posts to be able to see the hidden text. Our user has only 5 posts and he is not able to see the hidden text.

That is okay, so far.

Anyway,when the user poss a "reply" but he doesnt post really and scrolls down to my hidden thread he IS ABLE to see the hidden text in the " Topic Review (Newest First) "


Is that a bug or my update mistake ?
Thanks

Mike


All times are GMT. The time now is 08:06 AM.

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.01690 seconds
  • Memory Usage 1,746KB
  • 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
  • (1)bbcode_php_printable
  • (4)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