• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

[Aayush] Hide Hack v1 1.5.3

No permission to download
This addon gives users the ability to hide their content using BbCode.

Aayush Agrawal

Well-known member
#1
Aayush Agrawal submitted a new resource:

vFCoders - Hide Hack (version 1.0) - This addon gives users the ability to hide their content using BbCode.

Description:
This addon gives users the ability to hide their content using BbCode.

View attachment 43155

Features:
  • Six different BBCode to Hide Contents.
    1. [HIDE-REPLY] -> Content within this tag is not shown to user until he/she replies in that thread.
    2. [HIDE-POSTS] -> Content within this tag can only be seen by people's who have more...
Read more about this resource...
 

Sheratan

Well-known member
#5
Some suggestion:

1. Change [HIDE-REPLY-THANKS] to [HIDE-REPLY-LIKES]
2. Change [HIDE-THANKS] to [HIDE-LIKES]
2. Show the BBcode in /help/bb-codes

-edit-
4. Looks like the BB Codes doesn't follow the [plain*] BB Codes rule
 

resonansER

Well-known member
#6
One very annoying bug exists! Look at picture.
If enter ANY links in hide close tag ADD to link. :(

Code:
[SHOWTOGROUPS=3,4][URL='http://xenforo.com/community/resources/vfcoders-hide-hack.1618/[/SHOWTOGROUPS]']http://xenforo.com/community/resources/vfcoders-hide-hack.1618[/SHOWTOGROUPS][/URL]
 

Attachments

Aayush Agrawal

Well-known member
#7
One very annoying bug exists! Look at picture.
If enter ANY links in hide close tag ADD to link. :(

Code:
[SHOWTOGROUPS=3,4][URL='http://xenforo.com/community/resources/vfcoders-hide-hack.1618/[/SHOWTOGROUPS]']http://xenforo.com/community/resources/vfcoders-hide-hack.1618[/SHOWTOGROUPS][/URL]
Yup. XenForo automatically links URLs and emails and i missed to disable it for hide-tags.
 

cclaerhout

Well-known member
#9
Yup. XenForo automatically links URLs and emails and i missed to disable it for hide-tags.
See this: http://xenforo.com/community/threads/disable-autolinking.8610/page-2#post-467850

And for information, your addon will break TinyMCE for people who are using the Button Manager (see here - last version) because of this part of your code
PHP:
                case 'editor_tinymce_init':
                    if ($tag_list = self::fetch_tag_list($node_id))
                    {
                        $addToTemplate = ",\ntheme_xenforo_buttons2_add : ',|,$tag_list'";
                        $contents = $contents . $addToTemplate;
                    } 
                    break;
Edit 1: nope I was wrong the use of your addon and my addon advanced toolbar breaks TinyMCE. I still need to understand why.

Edit 2: I disable my toolbar and reactivate it after and it was working... strange. Never mind.
 

Aayush Agrawal

Well-known member
#11
See this: http://xenforo.com/community/threads/disable-autolinking.8610/page-2#post-467850

And for information, your addon will break TinyMCE for people who are using the Button Manager (see here - last version) because of this part of your code
PHP:
                case 'editor_tinymce_init':
                    if ($tag_list = self::fetch_tag_list($node_id))
                    {
                        $addToTemplate = ",\ntheme_xenforo_buttons2_add : ',|,$tag_list'";
                        $contents = $contents . $addToTemplate;
                    }
                    break;
Edit 1: nope I was wrong the use of your addon and my addon advanced toolbar breaks TinyMCE. I still need to understand why.

Edit 2: I disable my toolbar and reactivate it after and it was working... strange. Never mind.

Your mod replaces buttons2 line where as this mods add new set of buttons to its right by using theme_xenforo_buttons2_add. When i was coding this mod i knew this editor problem may arise, so thats why i decided to use "theme_xenforo_buttons2_add". If i am not wrong, i don't think there is any addon which uses "theme_xenforo_buttons2_add" to add new buttons.
 

resonansER

Well-known member
#13

Attachments

resonansER

Well-known member
#14
This is link looks like:
Code:
[HIDE=100][URL]http://xenforo.com/community/resources/steam-authentication-integration.1336/updates[/HIDE][/URL]
and this:
Code:
http://xenforo.com/community/resources/steam-authentication-integration.1336/updates%5B/vfc_hh%5D
Where this link leads.
heh....Strangely.
 

dwdmadmac

Active member
#17
For this bbcode:
[HIDE-REPLY-THANKS]information[/HIDE-REPLY-THANKS]
Information is not shown to people unless they either reply or press "Like" button.
can you also add the option to switch between Xenforo Default Liking system or Post Ratings Liking System?