Back to vBulletin 4.x Add-ons

MARCO1 BBCODE Hide Tags [ hide] [/ hide]
Mod Version: 2.00, by MARCO1

vB Version: 4.0.x Rating: (28 votes - 4.79 average) Installs: 305
Released: 09 Feb 2010 Last Update: 10 Feb 2010 Downloads: 2413
Not Supported Uses Plugins Auto-Template  

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!
- http://www.vbulletin.org/forum/vborg_miscactions.php?do=nominate&threadid=235384&type=1

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 :

Spoiler (click to open)


Web 2 style.

PSD available of People Icon Messages, if reqd
Attached Thumbnails
Click image for larger version
Name:	hide4.gif
Views:	132
Size:	7.5 KB
ID:	112009   Click image for larger version
Name:	hide5.gif
Views:	108
Size:	6.4 KB
ID:	112010   Click image for larger version
Name:	hide6.gif
Views:	105
Size:	7.3 KB
ID:	112011   Click image for larger version
Name:	hide2.gif
Views:	128
Size:	26.2 KB
ID:	112012  

Click image for larger version
Name:	hide3.gif
Views:	98
Size:	14.6 KB
ID:	112013   Click image for larger version
Name:	hide.gif
Views:	113
Size:	12.4 KB
ID:	112014  

Close

PSD Images :

Spoiler (click to open)


psd
Attached Files
File Type: zip hide.zip (125.2 KB, 340 views)

Close

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 :

Spoiler (click to open)



Close

English Version in Attachments.

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,

Spoiler (click to open)


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

Close

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

File Type: %1$s MARCO1 Hide BBCODE.zip (26.8 KB, 2759 downloads)

Supporters / CoAuthors

  • MARCO1

Screenshots

Click image for larger version
Name:	admincp.jpg
Views:	3489
Size:	71.2 KB
ID:	111938   Click image for larger version
Name:	forum1.jpg
Views:	4700
Size:	58.2 KB
ID:	111939   Click image for larger version
Name:	FORUM2.jpg
Views:	5747
Size:	48.2 KB
ID:	111941   Click image for larger version
Name:	FORUM3.jpg
Views:	4702
Size:	43.5 KB
ID:	111942  

Similar Mods

Show Thread Enhancements MARCO1 Hide Thread Content - With excluding forum to hide content vBulletin 4.x Add-ons
Show Thread Enhancements MARCO1 Hide Thread Content - With excluding forum to hide content vBulletin 3.8 Add-ons

vblts.ru supports vBulletin®, 2022-2024