link is hidden, you must reply to see

Go down

Solved link is hidden, you must reply to see

Post by zenzo on April 29th 2017, 9:29 am

may i know what code use to hide the link



thank you
avatar
zenzo
Forumember

Posts : 564
Reputation : 13
Language : english,tagalog
Location : philippines

Back to top Go down

Solved Re: link is hidden, you must reply to see

Post by skouliki on April 29th 2017, 9:49 am

hello

you can read this https://help.forumotion.com/t149133-hidden-codes?highlight=hidden+lonk

also if you click that you can generate hidden tags
avatar
skouliki
Graphic Designer
Graphic Designer

Female Posts : 4124
Reputation : 675
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: link is hidden, you must reply to see

Post by zenzo on April 29th 2017, 10:15 am

where exactly i put this code so it will automatically show the message of hidden tags
Code:
$(function(){
    $(function(){
          $('<a class="sceditor-button sceditor-button-fahide-hotrofm" unselectable="on"><div unselectable="on">Hide</div></a>').insertAfter('.sceditor-button-fahide').click(function(){
              $('#text_editor_textarea').sceditor("instance").insertText("(You need to reply to see the hidden content)[hide]","[/hide]");
          });
      });
        $("body").prepend("<style>.sceditor-button-fahide-hotrofm div {background-position: 0 -692px;}.sceditor-button-fahide {display: none !important;}</style>");
});
avatar
zenzo
Forumember

Posts : 564
Reputation : 13
Language : english,tagalog
Location : philippines

Back to top Go down

Solved Re: link is hidden, you must reply to see

Post by skouliki on April 29th 2017, 10:18 am

Acp >> modules >>HTML & JAVASCRIPT >> Add a Javascript Code >in all
avatar
skouliki
Graphic Designer
Graphic Designer

Female Posts : 4124
Reputation : 675
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: link is hidden, you must reply to see

Post by zenzo on April 29th 2017, 10:29 am

try to add this code in JS but the tag message is not showing
avatar
zenzo
Forumember

Posts : 564
Reputation : 13
Language : english,tagalog
Location : philippines

Back to top Go down

Solved Re: link is hidden, you must reply to see

Post by skouliki on April 29th 2017, 11:41 am

did you check by clicking the hidden button? will look like this 



avatar
skouliki
Graphic Designer
Graphic Designer

Female Posts : 4124
Reputation : 675
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: link is hidden, you must reply to see

Post by zenzo on April 29th 2017, 11:54 am

yes i follow exactly,

avatar
zenzo
Forumember

Posts : 564
Reputation : 13
Language : english,tagalog
Location : philippines

Back to top Go down

Solved Re: link is hidden, you must reply to see

Post by skouliki on April 29th 2017, 12:03 pm

i really do not know why i try in my invision forum and worked perfectly



can you put a screenshot of your result
avatar
skouliki
Graphic Designer
Graphic Designer

Female Posts : 4124
Reputation : 675
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: link is hidden, you must reply to see

Post by zenzo on April 29th 2017, 12:20 pm

i found the cause of error,,

i was trying this code in an old post that this JS i was not user before,

now i make new post and works,,...

and one more after replying needs to reload the page to see the hidden content

i was using an rediretion code, that the topic will not reload when replying..

i was thinking where this code i must use,..

btw,..thanks for helping me @skouliki

this is done for now...
avatar
zenzo
Forumember

Posts : 564
Reputation : 13
Language : english,tagalog
Location : philippines

Back to top Go down

Solved Re: link is hidden, you must reply to see

Post by skouliki on April 29th 2017, 12:21 pm

you welcome !thanks for posting the solution
avatar
skouliki
Graphic Designer
Graphic Designer

Female Posts : 4124
Reputation : 675
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: link is hidden, you must reply to see

Post by APE on April 29th 2017, 4:16 pm

Problem solved & topic archived.
Please read our forum rules:  ESF General Rules



avatar
APE
Administrator
Administrator

Male Posts : 12477
Reputation : 1305
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum