Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
MARCO1 BBCODE Hide Tags [ hide] [/ hide] Details »»
MARCO1 BBCODE Hide Tags [ hide] [/ hide]
Version: 2.00, by MARCO1 MARCO1 is offline
Developer Last Online: Jan 2022 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.0.x Rating:
Released: 02-08-2010 Last Update: 02-09-2010 Installs: 305
Uses Plugins Auto-Templates
 
No support by the author.

MARCO1 BBCODE Hide Tags
vB4.x.x
By
Marco Mamdouh

Please Note that : I'm keeping update my products and codes without any money simply support me in vb.org to continue this work

Support Me!
Mark As Installed - Nominate For MOTM

What's this ?
This Mod Hide X Area in the threads By Using HIDE BBCODE Tags With Powerful control via AdminCp with very nice button in your editor to automatically enter Hide tags when you click on it, More info and pictures in Attachments.

Features :
  • Compatible with All vBulletin 4 Versions.
  • No conflict with any other Mods to hide links.
  • Full Control via vBulletin Admincp.
  • Auto Template And Core Functions Edit.
  • Can Control the Hide message from Admincp.
  • Admin Can see hidden content without reply.
  • Moderators Can see hidden content without reply.
  • Super Moderators Can see hidden content without reply.
  • Thread Author Can see hidden content without reply.
  • Usergroups permissions : If you have any additional usergroup like VIP To See hidden content without reply.
  • Excluding X Forum To BBCODE Hide : You can disable the Mod in any sub-forum via Admincp.
  • Full Optimized to make your forum very fast when you using it
  • 0 Query Which Make the forum fast because there is no DB Query In This Mod Coding.
Installation :
Upload images folder in your forum root directory.
Import the .xml file from your AdminCp.

Require 1 Template edit :
In editor_toolbar_on template find :
HTML Code:
<vb:if condition="!$show['basicbbcodeonly']">
Add Above :
HTML Code:
<img src="images/buttons/hide.gif" class="imagebutton" id="{vb:raw editorid}_cmd_wrap0_hide" width="20" height="20" alt="Insert Hide Tags" />

Screenshots & Download :

In Attachments.

If you want more Hide Images ?
TimberFloorAu Has Made very very very Good images in this post : https://vborg.vbsupport.ru/showpost....6&postcount=49
PSD Images : https://vborg.vbsupport.ru/showpost....1&postcount=52
Many thanks to him for his time.


Translations :
You can translate this Mod and publish it in your forum however you can't do that without take permissions from Me via PM's
This Mod Is Also Available in Arabic Thanks to DR.Osama : https://vborg.vbsupport.ru/showpost....6&postcount=42
English Version in Attachments.

BUGS :

Quote:
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/showpost....&postcount=280
I'm sorry But I really don't have much time to update any of my free mods at this time.

DON'T FORGET TO SUPPORT ME

Download Now

File Type: zip MARCO1 Hide BBCODE.zip (26.8 KB, 2757 views)

Screenshots

File Type: jpg admincp.jpg (71.2 KB, 0 views)
File Type: jpg forum1.jpg (58.2 KB, 0 views)
File Type: jpg FORUM2.jpg (48.2 KB, 0 views)
File Type: jpg FORUM3.jpg (43.5 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
8 благодарности(ей) от:
Babis 92, blue7, ChiNa, josner, mohammadxxx, smsma.net, sweetpotato, vBarsiv

Comments
  #272  
Old 03-23-2011, 11:10 PM
Danielgsc Danielgsc is offline
 
Join Date: Jul 2008
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MARCO1 View Post
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...
Reply With Quote
  #273  
Old 03-28-2011, 10:37 AM
demonfatal demonfatal is offline
 
Join Date: Mar 2009
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Useless because you can see the link(s) when you QUOTE the post...
MARCO1 please solve this issue...
Reply With Quote
  #274  
Old 04-01-2011, 12:12 PM
ReallyWhat's Avatar
ReallyWhat ReallyWhat is offline
 
Join Date: Feb 2010
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by demonfatal View Post
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
Reply With Quote
  #275  
Old 04-02-2011, 11:05 AM
hyperviperx99's Avatar
hyperviperx99 hyperviperx99 is offline
 
Join Date: Feb 2011
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Where do I find this exact template?
Reply With Quote
  #276  
Old 04-21-2011, 03:12 PM
tomoyo23 tomoyo23 is offline
 
Join Date: Jan 2011
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it may work with the hack .. https://vborg.vbsupport.ru/showthread.php?t=231666 ? is it possible?
Reply With Quote
  #277  
Old 04-24-2011, 08:02 AM
Sworm Sworm is offline
 
Join Date: Feb 2008
Posts: 422
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to adjust this hack for 3.8?
Reply With Quote
  #278  
Old 04-24-2011, 02:15 PM
Lestat_ Lestat_ is offline
 
Join Date: Apr 2011
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Благодарность от:
nacaruncr
  #279  
Old 04-24-2011, 02:19 PM
Lestat_ Lestat_ is offline
 
Join Date: Apr 2011
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FReeSTER View Post
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
Reply With Quote
  #280  
Old 04-26-2011, 01:09 PM
Lestat_ Lestat_ is offline
 
Join Date: Apr 2011
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarioRe View Post
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
Reply With Quote
  #281  
Old 04-29-2011, 11:56 AM
Mickie D Mickie D is offline
 
Join Date: Jun 2002
Posts: 430
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MARCO1 View Post
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
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:56 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05990 seconds
  • Memory Usage 2,366KB
  • Queries Executed 29 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (2)bbcode_html
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (9)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete