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)

MARCO1 02-08-2010 10:00 PM

MARCO1 BBCODE Hide Tags [ hide] [/ hide]
 
1 Attachment(s)
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 :)

barroca 02-09-2010 11:01 AM

Great Marco!

To be perfect consider integrate with post thanks ;)

Thank you again!

War.Frog 02-09-2010 11:39 AM

This looks very interesting. So is the purpose behind this simply to force replies in threads?

dacho 02-09-2010 11:46 AM

Looks great thanks Marco

gsmlover4u 02-09-2010 01:07 PM

working fine thanks Marco

Kolbi 02-09-2010 03:42 PM

Thank you!!!

But a version without replying would be needed, too :)

MARCO1 02-09-2010 03:57 PM

Quote:

Originally Posted by Kolbi (Post 1978380)
Thank you!!!

But a version without replying would be needed, too :)

Sorry, I'm not completely understand your idea, Can you explain more ?

mitch84 02-09-2010 04:34 PM

Hi, this hack will work in next release with hack button thank? thx

ZuFett 02-09-2010 04:37 PM

It is possible to dont show the hidden Text in the CMS - last forum posts (widget)?
If i logged out, i can see the hide-content over the widget :(

Magz 02-09-2010 04:39 PM

Nice Mod, I'm testing as a way of posting quizzes, they post their answer, and immediately see how well they did..

Thanks ;)

vexvegaz 02-09-2010 04:43 PM

works great marco as always.

ps. can u please add a "thanks" before being able to view content?

thanks again marco.

MARCO1 02-09-2010 04:43 PM

Quote:

Originally Posted by mitch84 (Post 1978409)
Hi, this hack wii work in next release with hack button thank? thx

Yes, I have added this idea in my notes and be sure it will included in the next build version.

Quote:

Originally Posted by ZuFett (Post 1978411)
It is possible to dont show the hidden Text in the CMS - last forum posts (widget)?
If i logged out, i can see the hide-content over the widget :(

I think it will working in CMS as well, I didn't have the suite so I coding for the forum and then try to get the code working to CMS but without try it, That's the problem :)

MARCO1 02-09-2010 04:44 PM

Quote:

Originally Posted by vexvegaz (Post 1978414)
works great marco as always.

ps. can u please add a "thanks" before being able to view content?

thanks again marco.

Yes, Check this post : https://vborg.vbsupport.ru/showpost....5&postcount=12

vexvegaz 02-09-2010 04:47 PM

marco where is your donate link? im using so many of your mods i feel compelled to give a lil something back. thanks again

MARCO1 02-09-2010 04:49 PM

Quote:

Originally Posted by vexvegaz (Post 1978418)
marco where is your donate link? im using so many of your mods i feel compelled to give a lil something back. thanks again

PM Me for more info.

Kolbi 02-09-2010 04:55 PM

Quote:

Originally Posted by MARCO1 (Post 1978392)
Sorry, I'm not completely understand your idea, Can you explain more ?

I would like to have another option that registered always can see the hiden content and guest only can?t see it.

MARCO1 02-09-2010 05:03 PM

Quote:

Originally Posted by Kolbi (Post 1978427)
I would like to have another option that registered always can see the hiden content and guest only can?t see it.

Oh Man, Why I coded the Usergroups permissions ? That's to allow X group and disallow X group.
Simply Add 2 in the usergroups permissions in my product settings :)

Let me know if you faced any problem and don't forget to Mark as installed since you are using it :p

vexvegaz 02-09-2010 05:04 PM

Quote:

Originally Posted by Kolbi (Post 1978427)
I would like to have another option that registered always can see the hiden content and guest only can?t see it.

admincp > settings > options > MARCO1 Hide BBCODE Settings

add the usergroup ID of your registered users that you like to be able to view at all times.

MARCO1 02-09-2010 05:05 PM

Quote:

Originally Posted by vexvegaz (Post 1978435)
admincp > settings > options > MARCO1 Hide BBCODE Settings

add the usergroup ID of your registered users that you like to be able to view at all times.

That's Correct.

Kolbi 02-09-2010 05:37 PM

:D you?re right :D

Kolbi 02-09-2010 05:39 PM

A small issue, remove hides.gif from folder images/buttons/

MARCO1 02-09-2010 06:10 PM

Quote:

Originally Posted by Kolbi (Post 1978457)
A small issue, remove hides.gif from folder images/buttons/

Good eyes :D, You are right, Updated.

saadessa 02-09-2010 06:49 PM

thank you Marco for this great hack

cbiweb 02-09-2010 07:40 PM

You did a great job! Can you make it so the hide icon appears in Quick Reply too?

angelimnot 02-09-2010 07:53 PM

You are awesome Thank you Marco!!!!!!!!

MARCO1 02-09-2010 08:35 PM

Quote:

Originally Posted by cbiweb (Post 1978576)
You did a great job! Can you make it so the hide icon appears in Quick Reply too?

Sure I can, Just make the same template edits steps but in showthread_quickreply Template And It should work :)

MARCO1 02-09-2010 08:35 PM

Quote:

Originally Posted by angelimnot (Post 1978589)
You are awesome Thank you Marco!!!!!!!!

Thanks, Hope you like it!

TimberFloorAu 02-09-2010 08:42 PM

Prey tell me , Marco . What does this do ?

< may be a tad stooopid

MARCO1 02-09-2010 08:50 PM

Quote:

Originally Posted by TimberFloorAu (Post 1978640)
Prey tell me , Marco . What does this do ?

< may be a tad stooopid

Hi Steve,

With This Mod you can Hide any thing you want to members or for any other usergroup and they can see it after reply, Also you can allow X Usergroup they allow to see the hidden content like Admin, Moderators....etc, Simply that's hide any thing between the HIDE tags and there is a button in your editor to wrap the selected area with the HIDE Tags Automatically.

Let me know if you have any other questions.

War.Frog 02-09-2010 08:57 PM

Other than quizzes, what other things are people here using this for? Thanks!

MARCO1 02-09-2010 08:59 PM

Quote:

Originally Posted by War.Frog (Post 1978646)
Other than quizzes, what other things are people here using this for? Thanks!

You can use this Mod in any thing you want just think what you want if you can hide X Area or X Post from a thread ? If I have a download link and I want to hide it before reply And I want to Allow X Usergroup to see this content what I will do with all these options ? Check it out :)

TimberFloorAu 02-09-2010 09:01 PM

1 Attachment(s)
Brilliant !! LOVE IT

Created Image for you.

Happy to create more

War.Frog 02-09-2010 09:02 PM

Quote:

Originally Posted by MARCO1 (Post 1978648)
You can use this Mod in any thing you want just think what you want if you can hide X Area or X Post from a thread ? If I have a download link and I want to hide it before reply And I want to Allow X Usergroup to see this content what I will do with all these options ? Check it out :)

Awesome. Thanks Marco! One question...does the actual content appear when QUOTED (but before posting), or only after posting?

TimberFloorAu 02-09-2010 09:02 PM

AHHHH only issue.

When user clicks REPLY. Before they type a reply

If they scroll down, they can look at the POST and the answer is shown !!

Bugger

War.Frog 02-09-2010 09:03 PM

Quote:

Originally Posted by TimberFloorAu (Post 1978651)
AHHHH only issue.

When user clicks REPLY. Before they type a reply

If they scroll down, they can look at the POST and the answer is shown !!

Bugger

Exactly what I was wondering!

MARCO1 02-09-2010 09:04 PM

Quote:

Originally Posted by TimberFloorAu (Post 1978649)
Brilliant !! LOVE IT

Created Image for you.

Happy to create more

That's my pleasure, If you can do another one with you need to reply to see the hidden content because I want a new modern Image for this Mod since we are using the Most newest coding vB4 :D

TimberFloorAu 02-09-2010 09:08 PM

Will happily do some later, off to do a survey. BBS :) ( few hours )

Is it possible to please make the content hidden WHEN user is replying .

MARCO1 02-09-2010 09:32 PM

Quote:

Originally Posted by TimberFloorAu (Post 1978657)
Will happily do some later, off to do a survey. BBS :) ( few hours )

Is it possible to please make the content hidden WHEN user is replying .

I would you to give me more info about that, I doesn't see this issue in my tests forum, Screenshots also will be great.

MarioRe 02-09-2010 10:21 PM

First off thx for this amazing mod it works great.

MARCO1 02-09-2010 10:32 PM

Quote:

Originally Posted by MarioRe (Post 1978692)
First off thx for this amazing mod it works great.

You are welcome :)


All times are GMT. The time now is 04:55 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.01580 seconds
  • Memory Usage 1,829KB
  • 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
  • (2)bbcode_html_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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