HideTag Plugin (English+Russian)

  1. 5 years ago

    Hello. Another my little plugin for this great forum cms.

    Enable [hide], [hide=100], [groups=1,4], [users=Toby,Tristan] and [visitor] tags to hide content.

    How to use:
    [hide]Hello word[/hide] - Hide content from unregistered users.
    [hide=100]Hello word[/hide] - Hide content from user who has less than 100 posts.
    [groups=1,4]Hello word[/groups] -Hide content from users who not in groups 1,4.
    [users=Toby,Tristan]Hello word[/users] - Content for users Toby and Tristan only.
    Hello, [visitor][/visitor] - Say "Hello" to user who read this post.

    P.S.:Guys, please check my code.

  2. Deleted 5 years ago by Toby
  3. Deleted 5 years ago by Toby
  4. Toby

    1 May 2014 Administrator
    Edited 5 years ago by Toby

    @ihnep11 Please keep discussion on-topic. Make a new conversation if you need help with something unrelated.

  5. Nice plugin!

    Havent had tome to check your code yet. Could you please push it to github so we can clone/fork it and submit pull requests for any code improvements?

    Hello, [visitor][/visitor]

    What makes this different from just writing regular text.

  6. @Tristan What makes this different from just writing regular text.

    I believe it puts your nickname in there, so it's a whole different story.

    Good job, @Firestarter

  7. @Garfield I believe it puts your nickname in there, so it's a whole different story.

    Forgive me, I fail to understand its function. It does what?

  8. @Tristan Forgive me, I fail to understand its function. It does what?

    The way I see it works is that if he'd put "Hello, [visotor][/visitor]"

    It would render "Hello, Tristran" to your account.

  9. As a notification or what?

    Hello, @Garfield does the same, doesn't it?

  10. Edited 5 years ago by Garfield

    @Tristan As a notification or what?

    Hello, @Garfield does the same, doesn't it?

    If you're writing an article and want to reach your audience, nothing could make a better personal touch than this.

    I might be wrong and it could be a whole different thing, I haven't checked it out yet.

  11. @Garfield If you're writing an article and want to reach your audience, nothing could make a better personal touch than this.

    Right! Now I understand! Thanks, took some time :)

  12. @Firestarter P.S.:Guys, please check my code.

    You've got closing </p> tag in every preg_replace, but where is it opened?

    @Firestarter [visitor][/visitor]

    If you don't put anything between these tags, how about [visitor/] (self closing tag like in html)

  13. Deleted 5 years ago by Henry
  14. Fatal error: Call to undefined method ETPlugin_HideTag::getResource() in /home/web/public_html/talkurl/addons/plugins/HideTag/plugin.php on line 16

    I am getting error ?

 

or Sign Up to reply!