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)
-   -   Show Thread Enhancements - MARCO1 BBCODE Hide Tags [ hide] [/ hide] (https://vborg.vbsupport.ru/showthread.php?t=235384)

derdiedastim 11-14-2010 02:23 PM

Quote:

Originally Posted by iyama (Post 2119811)
Like this?

Code:

}
                                        if($myreplies > 0){
                                                $hide_read = true;
                                        }


yes, thats right. In both plugins

barakuda 11-16-2010 12:19 PM

tahnk you and installed

doopz 11-18-2010 09:18 AM

Would it be possible to have this mod, but remove the whole reply function?
I only want our moderators to be able to view content, and thus hide the content from our normal users.

I tried setting the 'true' to 'false' inside the code but it still was viewable after the reply.

Am willing to pay for this, as far as I know it's only a matter of _removing_ some code instead of adding.

andreamarucci 11-18-2010 02:06 PM

Look promising but I've a question. I would like to use this mod not to hide some parts of the post untile the reader reply to the thread but based on usergroup permission.

To be more clear I would like that the members becoming from a specified usergroup can see the hidden text without replying but the unregistered members and the members from others usergroup cannot see it in any case.

Is this possible?

iyama 11-23-2010 05:50 AM

Quote:

15 Feb 2010, 12:05

MARCO1;
Then the problem show disappear. this fix is included to the next version.
MARCO1
Coder
Last Activity: Yesterday 19:02

Question: Marco why are you not replying to answers or give a update about this mod?

FReeSTER 11-24-2010 09:31 PM

Well I got it to work almost perfect in vb4.0.8 p2 but I have the problem that users have to refresh browser for they can see hidden content which sucks and is a pain in the a$$.

Hay Marco can you fix that please

PrivateFTA 11-26-2010 08:57 PM

very good if you join with thanks button

Silous 11-28-2010 08:40 AM

I would like to use this mod but I am concerned that "hidden content" may be visible via the Page Source. Is this an issue?

Thanks

FReeSTER 11-28-2010 05:23 PM

I get this error

Code:

Warning: Cannot use a scalar value as an array in [path]/includes/class_postbit.php(331) : eval()'d code on line 131
For some reason this mod is interfering with MARCO1 Image Re-sizer With HIGHSLIDE

How can I fix this?

shahin531 11-30-2010 06:45 PM

Quote:

Originally Posted by El Intocable (Post 2126776)
I get this error

Code:

Warning: Cannot use a scalar value as an array in [path]/includes/class_postbit.php(331) : eval()'d code on line 131
For some reason this mod is interfering with MARCO1 Image Re-sizer With HIGHSLIDE

How can I fix this?


I have received the same error

How can I fix this?

:confused:

iyama 12-06-2010 09:26 AM

Quote:

Originally Posted by El Intocable (Post 2126776)
I get this error

Code:

Warning: Cannot use a scalar value as an array in [path]/includes/class_postbit.php(331) : eval()'d code on line 131
For some reason this mod is interfering with MARCO1 Image Re-sizer With HIGHSLIDE

How can I fix this?

https://vborg.vbsupport.ru/showpost....&postcount=120

MARCO1 12-06-2010 07:17 PM

Guys, As I said before, The free Mods is my lowest priority at this time.

mitch84 12-07-2010 05:44 PM

Yesterday I saw another version updated, where is she? thx

iyama 12-08-2010 12:19 PM

Quote:

Originally Posted by MARCO1 (Post 2130138)
Guys, As I said before, The free Mods is my lowest priority at this time.

Then you must placed atext in your first post that it not will be upgraded. :cool:

Never mind i have a new one from vbteam, and it work fine.

mavigul 12-13-2010 12:54 PM

Does it work with thanks button

jluerken 12-30-2010 01:24 PM

I want to use this for my staff only meaning Moderators, Super Moderators and Admins should be able so see the text all the time without replying.

The threadstarter and all other groups should NEVER see it, even if they reply.
How can I do this?

anushkumarb 12-30-2010 05:24 PM

THANKS FOR THIS MOD, i am getting this error. Can you pls help me.

Quote:

Unable to add cookies, header already sent.
File: /home/anush/public_html/forums/includes/class_core.php
Line: 4598

MarioRe 12-31-2010 09:22 AM

Quote:

Originally Posted by iyama (Post 2130829)
...

Never mind i have a new one from vbteam, and it work fine.

:eek:
What do you mean by this? You've found a "Hide Hack" wich is working 100% correct?
If so... where is this version available?



We runnin' this Hide Hack of MARCO1 (vB 4.0.2) and havin' a lot trouble with those "Scalar Errors"...

Code:

Warning: Cannot use a scalar value as an array in [path]\includes\class_postbit.php(314) : eval()'d code on line 186

-----

Unable to add cookies, header already sent.
File: /home/anush/public_html/forums/includes/class_core.php
Line: 4598

...because of this bug, it's mostly not possible to access a thread again after a reply was made in this thread.
As far I know, this affects only Mods & Admins in context of the "Usergroups permissions ".

MARCO's "solution" to "Delete all the ID's and add 0" ( https://vborg.vbsupport.ru/showpost....&postcount=120 ) must be a joke...:down:...this makes the "Usergroups permissions" total pointless, 'cause Mods & Admins have to reply first, before they can see the hidden content of a post, like all normal users.

A provisional solution to fix this "Reply with Quote" bug, is... to use: [HIDE*][QUOTE*]hidden content[/QUOTE*][/HIDE*] ...by this it's not posible to see the hidden content by "Reply With Quote" anymore, but that's really NO ultimate solution. :mad:



Any suggestions for a REALLY correct workin' solution?

anushkumarb 01-04-2011 12:13 PM

Thanks, can any one help me out i am getting this error.

Quote:

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_hide_noaccess in [path]/includes/functions.php on line 4007

genxstan 01-07-2011 11:24 PM

Any updates ?

A7ib 01-11-2011 08:10 AM

cool

but, how can I change the font size?

angelimnot 01-11-2011 02:53 PM

Quote:

Originally Posted by MarioRe (Post 2141777)
:eek:
What do you mean by this? You've found a "Hide Hack" wich is working 100% correct?
If so... where is this version available?



We runnin' this Hide Hack of MARCO1 (vB 4.0.2) and havin' a lot trouble with those "Scalar Errors"...

Code:

Warning: Cannot use a scalar value as an array in [path]\includes\class_postbit.php(314) : eval()'d code on line 186

-----

Unable to add cookies, header already sent.
File: /home/anush/public_html/forums/includes/class_core.php
Line: 4598

...because of this bug, it's mostly not possible to access a thread again after a reply was made in this thread.
As far I know, this affects only Mods & Admins in context of the "Usergroups permissions ".

MARCO's "solution" to "Delete all the ID's and add 0" ( https://vborg.vbsupport.ru/showpost....&postcount=120 ) must be a joke...:down:...this makes the "Usergroups permissions" total pointless, 'cause Mods & Admins have to reply first, before they can see the hidden content of a post, like all normal users.

A provisional solution to fix this "Reply with Quote" bug, is... to use: [HIDE*][QUOTE*]hidden content[/QUOTE*][/HIDE*] ...by this it's not posible to see the hidden content by "Reply With Quote" anymore, but that's really NO ultimate solution. :mad:



Any suggestions for a REALLY correct workin' solution?


We are having the same problem.. but for everyone not only mods and admins.. anytime anyone uses "hidden" code.

Someone said they found a working one??? Please link????

MarioRe 01-11-2011 11:02 PM

Quote:

Originally Posted by angelimnot (Post 2147562)
We are having the same problem.. but for everyone not only mods and admins.. anytime anyone uses "hidden" code.

...it's possible that "normal users" are affected too, but this bug was just reported by "Mods&Admins" to us.

Whateva... no matter if just "Mods&Admins", or all usergroups... this bug is really "pain in the ass":( ...same like the other "security gaps" wich make this "Hide Hack" somehow useless.


Also, I've to say.... a coder should always support the users of his add-on and try to fix known bugs of his "product"... no matter if it's for free or users have to pay for... he shouldn't release somethin', without to be ready to make his "product" workin' 100% correct afterwards!


Quote:

Originally Posted by angelimnot (Post 2147562)
Someone said they found a working one??? Please link????

Yeah... I think a lot people would really appreciate some informations about this "new one from vbteam"

genxstan 01-13-2011 03:09 AM

Please update this one MARCO

Whtetrashwarrio 01-26-2011 12:10 PM

Quote:

Originally Posted by derdiedastim (Post 2118967)
I fixed it.

You have to replace
PHP Code:

$hide_read['userid'] = true

with
PHP Code:

$hide_read true

in the plugins "MARCO1 Hide BBCODE Functions (M)" and "MARCO1 Print Pages Hide BBCODE Functions"

In German:
http://tims-stube.de/article/fehler-...code-hide-tags

can someone confirm that this works perfectly?
is the content still hidden afterwards, but mods and admins can see it without replying?
thx

angelimnot 01-29-2011 07:51 PM

Can we pay you to fix this ??? Or pay someone to create one that actually works properly.. ??

vitrag24 01-29-2011 08:26 PM

I also need "Thanks to unhide" mod, which was available for free in vb 3.x all versions.

Now i'm ready to pay if you can create it.

Thanks.

Chmura 02-01-2011 09:14 PM

Anyone get this working on 4.1.1?

MarioRe 02-23-2011 01:05 AM

Quote:

Originally Posted by Whtetrashwarrio (Post 2154829)
can someone confirm that this works perfectly?
is the content still hidden afterwards, but mods and admins can see it without replying?
thx

As far as I can estimate... IT WORKS FINE!

All contents are still hidden... admins can see the hidden content without reply (for Mods I didn't have checked, I'm waitin' for the response of one of our S-Mods... but, no idea why it shouldn't work correct?)
For the "normal users" all works correct too...

THANKS for fixing this mean bug... GREAT JOB!!!https://vborg.vbsupport.ru/external/2011/02/1.gif


EDIT:

...works for MOD's too.

iyama 03-23-2011 07:38 AM

Quote:

Originally Posted by MarioRe (Post 2165635)
As far as I can estimate... IT WORKS FINE!

EDIT:

...works for MOD's too.

Its not working for CMS and on a treathd it shows the hidden if you edit the page info.

Danielgsc 03-23-2011 11:10 PM

Quote:

Originally Posted by MARCO1 (Post 1978630)
Sure I can, Just make the same template edits steps but in showthread_quickreply Template And It should work :)

But I can't find
Code:

<vb:if condition="!$show['basicbbcodeonly']">
in the showthread_quickreply template... vb4.1.2

How can I do it?
Thanks in advance...

demonfatal 03-28-2011 10:37 AM

Useless because you can see the link(s) when you QUOTE the post...
MARCO1 please solve this issue...

ReallyWhat 04-01-2011 12:12 PM

Quote:

Originally Posted by demonfatal (Post 2178269)
Useless because you can see the link(s) when you QUOTE the post...
MARCO1 please solve this issue...

I do not have this ^ problem.

I DO get a double line space after each line when NOT hidden. Merely an annoyance. Is there an easy fix? Note that this does not occur when hidden.

Installed, and works perfect for me, thank you.
VB 4.1.2

hyperviperx99 04-02-2011 11:05 AM

I can't find this- "In editor_toolbar_on template find :"

Where do I find this exact template?

tomoyo23 04-21-2011 03:12 PM

it may work with the hack .. https://vborg.vbsupport.ru/showthread.php?t=231666 ? is it possible?

Sworm 04-24-2011 08:02 AM

Is it possible to adjust this hack for 3.8?

Lestat_ 04-24-2011 02:15 PM

I altered the xml import a little bit and added this line of code


Code:

union SELECT count(userid) as count FROM vb_user WHERE usergroupid in (6,7) and userid='$bbuserinfo[userid]'"
to all the


Code:

$hide_replied = $db->query("SELECT COUNT(postid) AS count FROM ". TABLE_PREFIX . "post WHERE userid='$bbuserinfo[userid]' AND visible = 1 AND threadid='$post[threadid]');
so after adding the code you get :

Code:

$hide_replied = $db->query("SELECT COUNT(postid) AS count FROM ". TABLE_PREFIX . "post WHERE userid='$bbuserinfo[userid]' AND visible = 1 AND threadid='$post[threadid]' union SELECT count(userid) as count FROM vb_user WHERE usergroupid in (6,7) and userid='$bbuserinfo[userid]');
It is a bit of hardcoding because of the (6,7) but can easily be extended with parameters i guess, so basically I added one more count to the sql select which checks if the current user is in group 6 or 7 (mods or admins) and if so, it raises the count, which causes the hidden text being visible regardless the current user replied or not.
this little adjustment fixes the "scalar value" error :)

Lestat_ 04-24-2011 02:19 PM

Quote:

Originally Posted by FReeSTER (Post 2126776)
I get this error

Code:

Warning: Cannot use a scalar value as an array in [path]/includes/class_postbit.php(331) : eval()'d code on line 131
For some reason this mod is interfering with MARCO1 Image Re-sizer With HIGHSLIDE

How can I fix this?

take a look here : https://vborg.vbsupport.ru/showthrea...235384&page=19

Lestat_ 04-26-2011 01:09 PM

Quote:

Originally Posted by MarioRe (Post 2141777)
MARCO's "solution" to "Delete all the ID's and add 0" ( https://vborg.vbsupport.ru/showpost....&postcount=120 ) must be a joke...:down:...this makes the "Usergroups permissions" total pointless, 'cause Mods & Admins have to reply first, before they can see the hidden content of a post, like all normal users.

Any suggestions for a REALLY correct workin' solution?

I followed marco's instructions, set the id's to 0 but before doing this, I altered the xml import a little bit so mods & admins always see the hidden text : read more here : https://vborg.vbsupport.ru/showpost....&postcount=280

it's working fine here :)

Mickie D 04-29-2011 11:56 AM

Quote:

Originally Posted by MARCO1 (Post 1987887)
This forum is for vBulletin 4 Mods, you need to search on 3.x Mods.

This modification is not in the vb3.8 mods ?

Do you have a link I cannot find it ?

Thanks for any help.

Mick


All times are GMT. The time now is 01:53 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.01956 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
  • (11)bbcode_code_printable
  • (2)bbcode_php_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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