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)

adill420 10-06-2005 04:36 AM

hey thanks for this great hack!

one thing though..i did it to define as default what show groups to show to..so when a user is replying the button is clicked and the showtogroups=x,x,x,x is already filled..but i couldn't figure out how to do this for wysiwyg for creating new thread..any ideas on how i can add the two buttons on those?

thanks

KoC 10-06-2005 12:45 PM

Quote:

Originally Posted by Dark Visor
Maybe I will release a separate version that will include both "Thank You" and "Hide Until Reply" tags. Keep up with updates (of course, to do that you need to click Install)

I also wait for this release. Thank you Dark Visor for this great work

akanevsky 10-06-2005 06:48 PM

Quote:

hey thanks for this great hack!

one thing though..i did it to define as default what show groups to show to..so when a user is replying the button is clicked and the showtogroups=x,x,x,x is already filled..but i couldn't figure out how to do this for wysiwyg for creating new thread..any ideas on how i can add the two buttons on those?

thanks
Check out my How-To...
https://vborg.vbsupport.ru/showthread.php?t=97295

ctsolutions 10-06-2005 09:29 PM

can you tell me please what is the change log from 1.0.0 to 1.0.1 ?

I have installed the 1.0.0 release, what is new in the 1.0.1 ?
What code must be change from 1.0.0 ?

thanks
Mike

P.S, sorry, here is the chance ?

Download the new version, just released.

To upgrade:
1. Re-do changes for functions.php
2. Do changes for vbulletin_textedit.js

akanevsky 10-06-2005 09:42 PM

ctsolutions,

Yes. Those two are what you gotta do. And if you have clicked "install" when you actually installed the hack, then you would've received those by e-mail....

Quote:

can you tell me please what is the change log from 1.0.0 to 1.0.1 ?
It's in hack's description.

stinger2 10-07-2005 07:47 PM

Quote:

Originally Posted by Dark Visor
Maybe I will release a separate version that will include both "Thank You" and "Hide Until Reply" tags. Keep up with updates (of course, to do that you need to click Install)

thanks great hack.was waiting for it..i will aslo be the first one install the separate version with the thank you button when released....
many thanks

oricon 10-07-2005 08:38 PM

@dark visor:
edit: i wrote pm.

KoC 10-07-2005 09:37 PM

Quote:

Originally Posted by oricon
@dark visor:
i need only one thing in the expanded version ([HIDE-THANKS][/HIDE-THANKS]). 30$ is too much for me and so i hope it is possible to buy a cheaper version with only [HIDE-THANKS][/HIDE-THANKS]. i hope my question it is not bad for you. the work for the script is hard and it is ok to sell it.

I also want only the Thank You Version of this hack. But i think 30$ is too much for a expanded version. I also know thats not easy to coding a hack for vbulletin. :ermm:
:disappointed: :disappointed:

akanevsky 10-08-2005 02:34 PM

About the price, see PM :)

Concerning parsehide() problems, I just found out that my HTML manual won't be displayed correctly in Internet Explorer because of a CSS issue.
Until I fix it, use something other than Internet Explorer to view my manuals, or just use the TEXT version of it.

hawksisdead 10-08-2005 03:29 PM

I just bought a custom hide hack from Dark Visor and it's definitely worth the money. You will get very detailed installation instructions and he's always around for support.

If you need help installing the hacks, I can do it for next to nothing. Email hawkz@3kingz.net

sezmar 10-09-2005 02:52 AM

Why are you selling the hack for 30 bucks?

Well I guess I will figure this one out for myself.

JJH35 10-09-2005 03:59 AM

how to change the color from BLUE?

akanevsky 10-09-2005 11:27 AM

Quote:

how to change the color from BLUE?
AdminCP -> vBulletin Settings -> BBCode Options -> [HIDE] Color

dantes 10-09-2005 02:53 PM

ИМХО .... они .... все парсевые функции ... не туда вставляют....
Больщое спасибо ещё раз ... Всё отлично работает ... бед не знаем ....

JJH35 10-09-2005 04:48 PM

thank you, hack works well, never got a good workin hide hack that allows admins to view past, this one works great

rb290 10-09-2005 05:26 PM

how come its like this, putting certain amount of posts for people to see

the other hide hack you had to leave a post to see it <<<<< i liked much better, is their a way to do this

akanevsky 10-09-2005 06:16 PM

Quote:

ИМХО .... они .... все парсевые функции ... не туда вставляют....
Больщое спасибо ещё раз ... Всё отлично работает ... бед не знаем ....
Дело в том, что я допустил ошибку в CSS инструкций, поэтому в Internet Explorer содержимое текстовых окон было вытянуто в одну строку... Что, естественно, недопустимо :) Рад что для тебя работает.

Quote:

thank you, hack works well, never got a good workin hide hack that allows admins to view past, this one works greatp
Glad to be of help.

Quote:

how come its like this, putting certain amount of posts for people to see

the other hide hack you had to leave a post to see it <<<<< i liked much better, is their a way to do this
That is featured in my expanded version of the hack.

Makaveli105 10-10-2005 08:50 AM

Quote:

how come its like this, putting certain amount of posts for people to see

the other hide hack you had to leave a post to see it <<<<< i liked much better, is their a way to do this
Quote:

That is featured in my expanded version of the hack.
where is this expanded version? or is it still in progress?

havefun 10-10-2005 07:35 PM

[high]* havefun clicked install
[/high]
THX Dark Visor, working fine :)

i like to change one thing:
PHP Code:

// ####################################################
    // output
    // ####################################################

    
if ($hidetag['canview'] == true)
    {
        
$text str_replace(array("<%=ugrouptitles=%>"),    array($hidetag['usergroups_list']), "<font color='".$vbulletin->options['hidetag_color']."'><b>".$vbphrase['hidetag_showtogroups_caption'].":</b><br />".$text."</font>");
    } 
    ... 

i don't like to have that .$text."</font>" colored..? thx

akanevsky 10-10-2005 08:19 PM

havefun,
vBulletin Options -> BBCode Options -> HIDE Color

havefun 10-11-2005 06:55 AM

Quote:

Originally Posted by Dark Visor
havefun,
vBulletin Options -> BBCode Options -> HIDE Color

i know. sorry, i described it the wrong way.
everything should be colored but not the text between "[hide|showtogroups]not colored[/hide|showtogroups]"

idander 10-11-2005 01:41 PM

great hack

JJH35 10-11-2005 05:40 PM

if the post is hide=20 does the user regardless have to have 20 posts or is 20 posts so they can see it without replying?

akanevsky 10-11-2005 05:41 PM

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

JJH35 10-11-2005 10:44 PM

any answer to my question DARk

akanevsky 10-11-2005 11:08 PM

Yes, hide=20 requires a user to have 20 posts. [HIDE] does not have anything to do with replies, and the reply-based hide ([HIDE-REPLY]) is not included in this version of the hack.

JJH35 10-12-2005 12:05 AM

an idea whats causing this error
Code:

Database error in vBulletin 3.5.0:

Invalid SQL:

                                INSERT INTO setting
                                (varname, grouptitle, value, defaultvalue, datatype, optioncode, displayorder, advanced, volatile, product)
                                VALUES
                                (
                                        'hidetag_color',
                                        'bbcode',
                                        'blue',
                                        'blue',
                                        'free',
                                        '',
                                        10,
                                        0,
                                        1,
                                        'darkvisor_hide'
        ),
        (
                                        'hidetag_defaultposts',
                                        'bbcode',
                                        '1',
                                        '5',
                                        'number',
                                        '',
                                        10,
                                        0,
                                        1,
                                        'darkvisor_hide'
        );

MySQL Error  : Duplicate entry 'hidetag_color' for key 1


akanevsky 10-12-2005 12:25 AM

Yes. You already have the 3.0 version of the hack installed in your database. You need to uninstall the 3.0 options by going to yourboardurl/admincp/options.php?do=removesetting&varname=hidetag_defau ltposts and
yourboardurl/admincp/options.php?do=removesetting&varname=hidetag_color

JJH35 10-12-2005 12:42 AM

it let me remove the first thing u have, said the 2nd wasnt there but it still gives me same sql error

akanevsky 10-12-2005 12:43 AM

You're welcome :)

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 07:06 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.01955 seconds
  • Memory Usage 1,848KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (16)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
  • (40)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