PDA

View Full Version : Show Thread Enhancements - MARCO1 BBCODE Hide Tags [ hide] [/ hide]


Pages : 1 [2]

iyama
12-06-2010, 09:26 AM
I get this error

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.php?p=1982754&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
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.

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

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"...

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.php?p=1982754&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.

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
: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"...

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.php?p=1982754&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
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!


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
I fixed it.

You have to replace
$hide_read['userid'] = true;
with
$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-mit-marco1-bbcode-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
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
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
Sure I can, Just make the same template edits steps but in showthread_quickreply Template And It should work :)

But I can't find
<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
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


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

to all the


$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 :

$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
I get this error

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/showthread.php?t=235384&page=19

Lestat_
04-26-2011, 01:09 PM
MARCO's "solution" to "Delete all the ID's and add 0" ( https://vborg.vbsupport.ru/showpost.php?p=1982754&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.php?p=2188101&postcount=280

it's working fine here :)

Mickie D
04-29-2011, 11:56 AM
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

Lestat_
05-27-2011, 10:54 AM
some users reported me a strange effect, i'll try to explain

when i post an url like this

http://etc

the url is not clickable in internet explorer for users who have replied

when i post it like this


http://etc


the url is clickable in internet explorer

Is it possible to alter the mod so if a posters clicks the hide button, the hide tags are placed like this


selected text


instead of

selected text

? Should really ease the usability for my board members - thanks in advance for a reply

mitch84
05-27-2011, 12:18 PM
this hack is outdated

Lestat_
05-27-2011, 12:21 PM
this hack is outdated

I don't find a newer one ?

raulin
05-28-2011, 01:56 PM
this terrible hack but in the last block of issues is the link you can copy that to aser may not be copied. thanks

voter
06-01-2011, 08:22 PM
Pictures are not showing when friently urls are used in forum. Then the Full path to image must be used in "What's the Hide Message ?" option

Faustrecht
06-04-2011, 02:38 PM
Wann kommt ein Thank-Hide herraus, das wirde mich mehr interessieren.

jack150464
06-16-2011, 12:21 AM
thanks for the nice mod.
the upgrade to 4.1.4 to see the icon left of the key, what change can I get the icon visible again?

Thanks

AntraxZ
06-16-2011, 05:55 AM
thanks for the nice mod.
the upgrade to 4.1.4 to see the icon left of the key, what change can I get the icon visible again?

Thanks

I have the same issue, after upgrading to 4.1.4 all the content after the first HIDE, gets aligned to the left :S

AntraxZ
06-16-2011, 05:56 AM
anyone knows how to fix it?

ccr
06-19-2011, 04:17 PM
I can't either see the key icon
thanks for your help

iyama
06-22-2011, 03:24 PM
Go to: BB Code
1-click on:Make new one
2-
Titel: hide
bb code: hide
Replacement: {param}
Example: www.wheretohide.com
Use {option}: yes

Write the path properly to your hide button >> example: images/buttons/hide.gif

At last make yes to the first 4 and no to the last en apply.

Now your botton is online in the editor again.

nacaruncr
06-25-2011, 04:22 PM
wiht this:
BUGS :

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

Fix : Check this post, https://vborg.vbsupport.ru/showp...&postcount=280
I'm sorry But I really don't have much time to update any of my free mods at this time.

I have to change all the codes who have the same lines? or how I have to do it??

Sworm
07-03-2011, 04:42 PM
Any SEO decreasing affect?

Kolbi
07-03-2011, 05:47 PM
Why decreasing? Don't understand your question.

I won't suggest to hide all content from guests ;)

Sworm
07-03-2011, 06:10 PM
Hi Kolbi,
thanks for your reply, i have read that hiding for example all the links of a forum, the seo's score will decrease.....but after your answer , now I want to try. :)

nacaruncr
07-04-2011, 03:38 AM
when a user put a link in and then we do a reply, it shows me a warning, I tried to modificate the xml but.. then, when I imported it, it show me a biggest warning.... I had to put 0 in the members who can see the links without reply... now all about have to reply to see the links :S

How I can do the amds, s-mod and mods can see the links without reply?

Kolbi
07-04-2011, 05:32 AM
Hi Kolbi,
thanks for your reply, i have read that hiding for example all the links of a forum, the seo's score will decrease.....but after your answer , now I want to try. :)

More or less... I won't suggest you to hide everything.

I for example use it to hide part of a text or sentence which I don't want to show guests.

Macgiber
07-04-2011, 02:28 PM
Thank you again!

Sworm
07-10-2011, 05:22 PM
There's a way to change the grey background color for all the user that can view hidden content?

Sworm
07-14-2011, 06:54 PM
Somebody know how fix this?
http://www.youtube.com/watch?v=Ux3fclyJOFA

Noerenberg
07-29-2011, 11:10 AM
I altered the xml import a little bit and added this line of code


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

to all the


$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 :

$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 :)


when i do this i got this error in over 20 rows in me header

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /includes/class_postbit.php(340) : eval()'d code on line 195

Lestat_
07-29-2011, 11:36 AM
@Noerenberg : did you adjusted the settings in admin for usergroup permissions (should be 0 not 6,7) :

http://www.lestat.be/marcosettings.jpg

Kolbi
08-01-2011, 07:29 AM
Any integration fix in editor since vB 4.1.4?

Sworm
08-04-2011, 09:06 PM
I'm receiving this error when i try to send a message with or without hide content:
Unable to add cookies, header already sent. File:/home/site/public_html/forum/includes/class_core.php
Line: 5463

At very top of the forum i have:

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

If i disable the hack, the posts are sended without problems. Any idea to fix this?

HiPhone
08-09-2011, 04:57 AM
Hey Marco1 ! First Thank You for This Hack! Ive read, that you are building a version of this hack with the Post Thank to Unlock Content.

I need it :-)

How log will it take?

angelimnot
08-12-2011, 11:13 AM
any fix for this hack??

james7zt
08-13-2011, 01:17 PM
can someone please point out where is the editor_toolbar_on template...

I searched in templates... and can not find it. :(

thanks for help. appreciate it.

-----------------------------------
Require 1 Template edit :
In editor_toolbar_on template find :
.................

Prisoner
08-15-2011, 01:06 AM
I'm wondering the same thing.

hoodoola
08-25-2011, 07:44 PM
does this work for 4.1.5 ? if not, then i won't download it.

Ichigo88
08-27-2011, 01:34 AM
can someone please point out where is the editor_toolbar_on template...

I searched in templates... and can not find it. :(

thanks for help. appreciate it.

-----------------------------------
Require 1 Template edit :
In editor_toolbar_on template find :
.................

i have the same problem help please!

iyama
09-06-2011, 08:52 AM
i have the same problem help please!

Go to your Style > Look for "Editor Teplates >>" click on it and voila there is your answer. :D

androidia
09-06-2011, 06:57 PM
Marco1 Any ideas on an update with [hide-thanks] so you dont have to reply, just click thanks?

or does anyone have any idea how to mod the code to allow this?

Sworm
09-08-2011, 06:56 PM
This hack is death don't work anymore.... better to find other solutions

pablete
09-13-2011, 05:20 PM
What about view the code hide on source code? it's visible?

patrixon78
09-16-2011, 01:14 PM
Everything seems to be fine and the plugin work with the 4.1.6 vB PS but cant find this:
editor_toolbar_on template. Can anyone give ma a clue?
I found only those:
https://vborg.vbsupport.ru/external/2011/09/23.png

SamSteve
10-05-2011, 01:38 PM
Is this mod compatible with post thank you hack???

MyPeSePe
10-15-2011, 06:43 PM
I have activated the bbcode hide, but the quick reply not unlock content, it would be possible to refresh the forum?

tele955848
10-15-2011, 07:28 PM
Finde keinen Button :(
Habe die Images auf den Server gespielt aber nix zu sehen:confused:

Kolbi
10-16-2011, 02:35 PM
Jop, seit dem vB 4.1.4 Update so... gehen sollte der BB-Code aber...

BluAzn
10-31-2011, 02:11 AM
Found a solution to add a button to the editor toolbar, took me a while to figure out. You got to add a custom BB Code to the manager via AdminCP.

Kolbi
10-31-2011, 12:45 PM
Content of the custom bb code?

iyama
11-09-2011, 04:45 PM
Go to: BB Code
1-click on:Make new one
2-
Titel: hide
bb code: hide
Replacement: {param}
Example: www.wheretohide.com
Use {option}: yes

Write the path properly to your hide button >> example: images/buttons/hide.gif

At last make yes to the first 4 and no to the last en apply.

Now your botton is online in the editor again.

I just had the solution already puth in the treath. ;)

Buth this hack is totaly OUT of date. :D
And Marco is rip i believe.
He promised a long, long, longggggggggggg time a go for a update here.

doileloi
11-25-2011, 08:52 PM
HI Marco thank you for great mod . can you pm me your link donation . :)

I can't fine In
editor_toolbar_on template

any help ? thank you

BiMBo3MeNDo
12-09-2011, 08:55 PM
I not found editor_toolbar_on at 4.1.8 version...
any1 can help me???

twista46
12-26-2011, 01:49 PM
4.1.9 found not editor_toolbar_on pls help

Oren Rozenbaum
12-26-2011, 05:07 PM
Hello there,
i am installed your mode, and i have a problem
when i download your mode you wrote:


Require 1 Template edit :
In editor_toolbar_on template find :

<vb:if condition="!$show['basicbbcodeonly']">


and i don't find this.
were it is?

thank you about every think.

twista46
12-26-2011, 09:31 PM
MARCO1 please update this hack

iyama
01-06-2012, 08:31 AM
Hello there,
i am installed your mode, and i have a problem
when i download your mode you wrote:



and i don't find this.
were it is?

thank you about every think.

Originally Posted by iyama View Post

Go to: BB Code
1-click on:Make new one
2-
Titel: hide
bb code: hide
Replacement: {param}
Example: www.wheretohide.com
Use {option}: yes

Write the path properly to your hide button >> example: images/buttons/hide.gif

At last make yes to the first 4 and no to the last en apply.

Now your botton is online in the editor again.

ricki09
01-08-2012, 01:13 PM
where to find editor_toolbar_on :( MARCO ??

https://vborg.vbsupport.ru/external/2012/01/59.png


http://i44.tinypic.com/2mmid95.jpg


my VB Version 4.1.9

ricki09
01-11-2012, 09:21 AM
any1???

iyama
01-15-2012, 10:27 AM
Just see my post above you ricki ;)

MrAd
01-20-2012, 07:54 AM
@rick: since vb4.1.3 the software is using the CK-editor. If you do the template change like posted in the installation text, you will mess up your editior.

Just install the hide-hack exactly like shown in iyama´s reply #331.
Nothing less and nothing more.

Deniz AKCANTAŞ
07-09-2012, 09:44 PM
vBulletin 4.2 version ?

nacaruncr
07-10-2012, 05:56 AM
check my signature... this hack its awesome :D this does not work since 4.1.3 if I remember well..

regards ;)

EvilDemon666
12-04-2012, 02:58 AM
yes it doesnt work on vBulletin 4.2.0 Patch Level 3

i cant find where in editor_templates to put the code

This Mod needs an vb 4.2.0 lvl 3 update

blue7
03-07-2013, 07:29 PM
How i can let specific user groups use this tag ? i dont want all user groups use it...

smsma.net
03-16-2013, 03:53 PM
Thanks Marco

tomshawk
03-22-2013, 02:22 AM
It appears they changed the templates in 4.2

editor_toolbar_on

does anyone know where to add the code now

tomshawk
03-22-2013, 02:31 AM
Originally Posted by iyama View Post

Go to: BB Code
1-click on:Make new one
2-
Titel: hide
bb code: hide
Replacement: {param}
Example: www.wheretohide.com
Use {option}: yes

Write the path properly to your hide button >> example: images/buttons/hide.gif

At last make yes to the first 4 and no to the last en apply.

Now your botton is online in the editor again.

That added the icon, thank you, but it doesn't work

Anyone else

Edit: Nevermind, this works perfectly. Obviously I can see the content as and admin. ROFL

Thank you iyama

elitecarders
03-22-2013, 11:51 AM
sir i don't have editor_toolbar_on in my skin templates where can i find i got this code in my editor_ckeditor Guide me please if you can post a screen print it will be more help full for me

<div id="{vb:raw editorid}" class="blockrow texteditor">
<div class="editor">
<div class="editor_textbox_container<vb:if condition="$smiliebox"> smilie</vb:if>">
<div class="editor_textbox <vb:if condition="$smiliebox">editor_textbox_smilie</vb:if>">
{vb:raw ckeditor}
</div>
</div>
<vb:if condition="$smiliebox">
<div class="editor_smiliebox">
{vb:raw smiliebox}
</div>
</vb:if>
</div>
</div>

<input type="hidden" name="wysiwyg" id="{vb:raw editorid}_mode" value="{vb:raw editortype}" />

semaster
05-03-2013, 04:32 PM
i can not find editor_toolbar_on template in my vbulletin 4.2.1

Please help.

Narabedla
05-16-2013, 04:12 PM
i can not find editor_toolbar_on template in my vbulletin 4.2.1

Please help.
I have same problem.

willy888
10-09-2013, 07:24 PM
This mod gives problem after upgrade to 4.2.2 .

Warning: Assigning the return value of new by reference is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 115

If I diseble it all ok .
Marco I think it's time for update BBCODE Hide Tags

ozzy47
10-09-2013, 09:53 PM
Warning: Assigning the return value of new by reference is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 115

How to fix.

ACP --> Plugins & Products --> Plugin Manager, Find the plugin called, MARCO1 Hide BBCODE Functions, under the group, MARCO1 Hide BBCODE, edit it and find this bit of code:

$parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());Replace it with this:

$parser = new vB_BbCodeParser($vbulletin, fetch_tag_list());

willy888
10-10-2013, 08:08 PM
If I replace that I have the same error in showthread.php

Parse error: syntax error, unexpected ']' in ..../includes/class_postbit.php(345) : eval()'d code on line 115

ozzy47
10-10-2013, 08:11 PM
Try the above code again, I had a extra ] in it, sorry.

jjohns12
11-10-2013, 06:17 PM
I used the fix above on 4.22 and got past that error but now get

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 184

Anyone have a fix for This?

Thanks

ozzy47
11-10-2013, 06:29 PM
I used the fix above on 4.22 and got past that error but now get

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 184

Anyone have a fix for This?

Thanks

Are you sure that error is from this mod, so when you disable it, the error goes away?

jjohns12
11-10-2013, 06:39 PM
Yes when disabled no error
Thanks

ozzy47
11-10-2013, 06:41 PM
Ok give me a moment.

ozzy47
11-10-2013, 06:48 PM
ACP --> Plugins & Products --> Plugin Manager, Find the plugin called, MARCO1 Hide BBCODE Functions (M), under the group, MARCO1 Hide BBCODE, edit it

and find this bit of code:

$MARCO1_NoHideUSG = split(',',$vbulletin->options['MARCO1_NoHideUSG']);Replace it with this:

$MARCO1_NoHideUSG = explode(',',$vbulletin->options['MARCO1_NoHideUSG']);ACP --> Plugins & Products --> Plugin Manager, Find the plugin called, MARCO1 Print Pages Hide BBCODE Functions, under the group, MARCO1 Hide BBCODE, edit it

and find this bit of code:

$MARCO1_NoHideUSG = split(',',$vbulletin->options['MARCO1_NoHideUSG']);Replace it with this:

$MARCO1_NoHideUSG = explode(',',$vbulletin->options['MARCO1_NoHideUSG']);

jjohns12
11-10-2013, 06:57 PM
Worked perfect! back up and running.

Thanks again for all your help!

ozzy47
11-10-2013, 06:58 PM
Not a problem, glad to help. :)

john7911
11-11-2013, 08:39 AM
Hi,
I want to install it but i can't find editor_toolbar_on :(
http://imageshack.us/a/img708/1668/yx8f.png
Where is it?
Thank you ;)

jjohns12
11-11-2013, 09:51 AM
Just make a new custom bb code follow instructions ind this post
https://vborg.vbsupport.ru/showthread.php?p=2211355#post2211355

worked for me!:)

DemOnstar
11-13-2013, 08:51 AM
Why do I get a script prompt on this?

Clicking on the little key icon in the editor brings up the tags after I have clicked ok on the script prompt..
'Please enter the option for your [HIDE] tag'. undefined

bosanci28
01-31-2014, 02:57 AM
Hmm,was going to try this mod,but also i can't find where is the location off: editor_toolbar_on

ozzy47
01-31-2014, 03:02 AM
Hmm,was going to try this mod,but also i can't find where is the location off: editor_toolbar_on

Did you try the suggestion in this post, https://vborg.vbsupport.ru/showthread.php?p=2211355#post2211355

bosanci28
01-31-2014, 03:38 AM
Hi Ozzy , yes i did and it works,but is weird the way it works!,

you create new tread and then i click on the picture to lock it,a pop-up box comes ,i insert my link ,then you must put some link in between ] ...[/hide] , and when you come and reply , you must refresh the page to see the link!

Now i am not sure what this line does:

Require 1 Template edit :
In editor_toolbar_on template find :




<vb:if condition="!$show['basicbbcodeonly']">

Add Above :
<img src="images/buttons/hide.gif" class="imagebutton" id="{vb:raw editorid}_cmd_wrap0_hide" width="20" height="20" alt="Insert Hide Tags" />


but i never find where to edit that file...

ozzy47
01-31-2014, 03:40 AM
If I am not mistaken, that edit is obsolete since vB version 4.1.4, when they introduced the ckeditor.

bosanci28
01-31-2014, 04:19 AM
Hmm, i see!

Well looks like is not working right in 4.2.1 , it works, but you can post reply or quick reply,and will not show,unless page is refreshed !.

ozzy47
01-31-2014, 04:24 AM
Right, it will do that for the poster only. If another member navigates to the post it will show.

bosanci28
01-31-2014, 05:08 AM
Ok, the box pop-up is not coming anymore ,by doing this: Use {option} in bbcode,
but now remains why after replying the box will not show,why need to refresh page?...

Thanks for any advice.

ozzy47
01-31-2014, 10:44 AM
TBH I am all out of ideas on this one, maybe someone who uses this will know.

bosanci28
01-31-2014, 03:35 PM
Thanks,hopefully someone will fix the problem ,so no need to refresh the page to see the link after reply was made, this is my sec. hide mode install and not working fully!,anyway will keep trying other. Thanks for your help friend!.

booble
03-10-2014, 08:17 PM
work on 4.2.2?
where is the template "editor_toolbar_on" ???

semaster
06-01-2014, 05:49 AM
work on 4.2.2?
where is the template "editor_toolbar_on" ???

same question here.
where is the template "editor_toolbar_on" ???

it doesn't work on 4.2.2 :(


edit : i updated to vbulletin 4.2.2 and it doesn't show the hidden link to anyone even after replying.

before replying to that thread, it shows this message : "You will have to reply to see hidden content"

and after someone replies to that thread, it shows this message where content is hidden : "Now you can see what's hidden{param}"

Please help anyone, most of the threads on my forum have this hidden code applied and now after upgrading to vbulletin 4.2.2, noone is able to see links whether they reply to the thread or not.

even if i disable this addon from admincp, then also the same condition remains.

please help me to make this addon work on my forum. and if its not possible, atleast help me to uninstall this addon.
i tried uninstalling it and it still shows same red message

technet
02-26-2015, 09:11 PM
Hi
This hack work with vb5??

ozzy47
02-26-2015, 09:12 PM
Nope, it would have to be redone.

killah360z
07-18-2015, 01:29 PM
could somebody tell me how i could replace the image with text ?

Haseenvilla
10-10-2015, 09:01 AM
Dear MARCO1 Sir,

Im using vbulletin 4.2.2 version and I installed as your guide But its not working on my Board ? any idea ?

Markco
06-13-2017, 12:46 AM
Does not work on PHP7

syntax error, unexpected 'new' (T_NEW) on line 55 in /forums/includes/class_postbit.php(345) : eval()'d code
#0 forums/showthread.php(1096): vB_Postbit->construct_postbit(Array)
#1 {main}

Kolbi
02-01-2018, 11:21 AM
Does not work on PHP7

syntax error, unexpected 'new' (T_NEW) on line 55 in /forums/includes/class_postbit.php(345) : eval()'d code
#0 forums/showthread.php(1096): vB_Postbit->construct_postbit(Array)
#1 {main}


Are you sure? I don't see any issues yet.