Resource icon

[Aayush] Hide Hack v1 1.5.3

No permission to download
Is there a way we can change the color of the box surrounding it? As of now it is greenish
 
@Aayush Agrawal, your addon already has been installed when I install BBM 2.1.0 on XF 1.2.beta4. After that buttons of your addon disappeared from redactor.
I reinstalled your addon, but nothing changed. Cache BBCode output - turn OFF. Please, help.

P.S. Very strange. I turn OFF BBM 2.1.0 and your addon works now works perfect!
@cclaerhout need send notification about this buGs. :)
yes i can not fix . please help me because if turn on BBM [ vfcoders-hide-hack not working ]
 
PLZ dont work on TinyMCE Quattro

b5962309f2af1836a6f03762d2689af2.png


you could make it work.


HEL plz:

Code:
<?xml version="1.0" encoding="utf-8"?>
<bbm_bbcodes>
  <BbCode>
    <General>
      <tag>hide</tag>
      <title><![CDATA[Hidden content]]></title>
      <description><![CDATA[Hidden content from guests]]></description>
      <example><![CDATA[[hide]Hidden content[/hide] Hidden content is here
[hide]Hidden content[/hide] Hidden content is here, 5 post requires to view]]></example>
      <active>1</active>
      <display_help>0</display_help>
    </General>
    <Methods>
      <Replacement>
        <start_range><![CDATA[]]></start_range>
        <end_range><![CDATA[]]></end_range>
        <options_number>1</options_number>
      </Replacement>
      <Template>
        <active>1</active>
        <name>bbm_bbcode_hide</name>
        <callback_class>VfcodersHH_ControllerPublic_Post</callback_class>
        <callback_method>actionEdit</callback_method>
      </Template>
      <PhpCallback>
        <class/>
        <method/>
      </PhpCallback>
    </Methods>
    <ParserOptions>
      <stopAutoLink>none</stopAutoLink>
      <parseOptions>0</parseOptions>
      <regex/>
      <trimLeadingLinesAfter>0</trimLeadingLinesAfter>
      <plainCallback>0</plainCallback>
      <plainChildren>0</plainChildren>
      <stopSmilies>0</stopSmilies>
      <stopLineBreakConversion>0</stopLineBreakConversion>
      <wrapping_tag>none</wrapping_tag>
      <wrapping_option/>
      <emptyContent_check>0</emptyContent_check>
      <options_separator/>
    </ParserOptions>
    <ParserPerms>
      <parser_has_usr>0</parser_has_usr>
      <parser_usr>a:0:{}</parser_usr>
      <parser_return>none</parser_return>
      <parser_return_delay>0</parser_return_delay>
    </ParserPerms>
    <ViewPerms>
      <view_has_usr>1</view_has_usr>
      <view_usr>a:0:{}</view_usr>
      <view_return>template</view_return>
      <view_return_delay>0</view_return_delay>
    </ViewPerms>
    <Button>
      <hasButton>1</hasButton>
      <button_has_usr>1</button_has_usr>
      <button_usr>a:0:{}</button_usr>
      <killCmd>0</killCmd>
      <custCmd/>
      <quattro_button_type>icons_xen</quattro_button_type>
      <quattro_button_type_opt><![CDATA[f3c5]]></quattro_button_type_opt>
      <quattro_button_return>direct</quattro_button_return>
      <quattro_button_return_opt><![CDATA[]]></quattro_button_return_opt>
      <imgMethod/>
      <buttonDesc><![CDATA[{phrase:bbcodeHide_button}]]></buttonDesc>
      <tagOptions><![CDATA[]]></tagOptions>
      <tagContent><![CDATA[]]></tagContent>
      <redactor_has_icon>1</redactor_has_icon>
      <redactor_sprite_mode>1</redactor_sprite_mode>
      <redactor_sprite_params_x>3</redactor_sprite_params_x>
      <redactor_sprite_params_y>-701</redactor_sprite_params_y>
      <redactor_image_url><![CDATA[styles/default/xenforo/editor/icons.png]]></redactor_image_url>
    </Button>
  </BbCode>
</bbm_bbcodes>
 
Last edited:
Well.
this plugin works for me under 1.3.1
the only thing not working is the autourl detection within the hide-tags.

edit
okay. now i found an error.

if the user has liked the thread and come back later, the content is locked again.
very annoying.

edit2
got it working. Just a small bug with copy paste
 
Last edited:
Let me know if there are any bugs as i haven't tested it much. There was a issue with this addon not working with some other editor addons, which i have fixed it.
 
I posted this a while ago:

Hi @Aayush Agrawal I've installed the addon but I think it's not compactiable with the Post Ratings addon when you want a user to like the post before to seem the content. Could you make by any chance the addon compactible with the Post Ratings addon?

Thank You.
 
Top Bottom