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)

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 03:35 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.01648 seconds
  • Memory Usage 1,745KB
  • 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
  • (5)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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