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)

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

Code:

[hide]http://etc[/hide]
the url is not clickable in internet explorer for users who have replied

when i post it like this

Code:

[hide]
http://etc
[/hide]

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

Code:

[hide]
selected text
[/hide]

instead of

Code:

[hide]selected text[/hide]
? 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

Quote:

Originally Posted by mitch84 (Post 2200550)
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

Quote:

Originally Posted by jack150464 (Post 2208295)
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: [hide]{param}[/hide]
Example: [hide]www.wheretohide.com[/hide]
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

Quote:

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

Quote:

Originally Posted by Sworm (Post 2216323)
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

Quote:

Originally Posted by Lestat_ (Post 2188101)
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 :)


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

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

Quote:

Originally Posted by james7zt (Post 2232989)
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

Quote:

Originally Posted by Ichigo88 (Post 2238559)
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.


All times are GMT. The time now is 06:15 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.01632 seconds
  • Memory Usage 1,818KB
  • 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
  • (7)bbcode_code_printable
  • (8)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