The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Hidden Link

4 posters

Go down

Solved Hidden Link

Post by aussie Sun Aug 26, 2018 7:50 pm

Hi, I am just starting out. Can someone please advise. I have installed script below & works fine however The button or text stating the "Links are Hidden, You must reply to see Links" is not appearing Is there a way to make either the button or Text show when using the "Hide" function or does it need to be entered manually each time "Hide" option is used
I am using phpbB3 version with Win10
Thanks for your time

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("[img]https://i.servimg.com/u/f37/19/53/09/53/unlock10.gif[/img][hide]","[/hide]");
              });
          });
            $("body").prepend("<style>.sceditor-button-fahide-hotrofm div {background-position: 0 -692px;}.sceditor-button-fahide {display: none !important;}</style>");
    });

Also tried below

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("[img]https://i.servimg.com/u/f37/19/53/09/53/unlock10.gif[/img][hide]","[/hide]");
          });
      });
        $("body").prepend("<style>.sceditor-button-fahide-hotrofm div {background-position: 0 -692px;}.sceditor-button-fahide {display: none !important;}</style>");
});


Last edited by aussie on Wed Sep 05, 2018 7:23 am; edited 2 times in total
aussie
aussie
New Member

Posts : 9
Reputation : 1
Language : English

Back to top Go down

Solved Re: Hidden Link

Post by brandon_g Sun Aug 26, 2018 8:25 pm

Hello,

From now on now please use code tags (
Code:
[code][/code]
) when posting scripts here.

What exactly is the problem your having? I know it has something to do with the hide feature, but thats about as much I got.

-Brandon


Hidden Link Brando10
Remember to mark your topic Hidden Link Solved15 when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?

Hidden Link Scre1476
Team Leader
Review Section Rules | Request A Review | Sticker Points
brandon_g
brandon_g
Manager
Manager

Male Posts : 10113
Reputation : 923
Language : English
Location : USA

https://www.broadcastingduo.com

Back to top Go down

Solved Re: Hidden Link

Post by aussie Sun Aug 26, 2018 8:42 pm

Hi Brandon, Sorry about not using the code tab in my previous post. My problem is although the Hide function hides the link as it should, no text appears to say "Link is hidden, You must reply to see Link" I need to have that text or a button to auto appear on the post when using the Hide function, My board is
Code:
http://memorylane.board-directory.net
Thanks
aussie
aussie
New Member

Posts : 9
Reputation : 1
Language : English

Back to top Go down

Solved Re: Hidden Link

Post by Guest Sun Aug 26, 2018 9:45 pm

Hello @aussie

Where did you get the code from ? Also, may you please put the code you posted above into the code tags ? That would make our job much easier.

Thank you so much.
avatar
Guest
Guest


Back to top Go down

Solved Re: Hidden Link

Post by aussie Sun Aug 26, 2018 10:11 pm

mpelmmc,
Here's where I found the script
Thanks

Code:
https://help.forumotion.com/t152868-link-is-hidden-you-must-reply-to-see?highlight=Links+are+Hidden+++You+must+reply+to+see+Links
aussie
aussie
New Member

Posts : 9
Reputation : 1
Language : English

Back to top Go down

Solved Re: Hidden Link

Post by Ape Mon Aug 27, 2018 11:39 am

Your forum editor should already have the hide setting in the tools
there is no real need for a code anymore.
Hidden Link Captur54 if you can't see the text then we can do something with CSS files but you must link us to a topic that has this already used and guests can see it or a test account sent by pm


Hidden Link Left1212Hidden Link Center11Hidden Link Right112
Hidden Link Ape_b110
Hidden Link Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19454
Reputation : 2012
Language : fluent in dork / mumbojumbo & English haha

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

Back to top Go down

Solved Re: Hidden Link

Post by aussie Mon Aug 27, 2018 6:19 pm

Thanks APE ,
pm sent
aussie
aussie
New Member

Posts : 9
Reputation : 1
Language : English

Back to top Go down

Solved Re: Hidden Link

Post by Ape Mon Aug 27, 2018 7:12 pm

I sent a reply by PM with a video to show you what i mean


Hidden Link Left1212Hidden Link Center11Hidden Link Right112
Hidden Link Ape_b110
Hidden Link Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19454
Reputation : 2012
Language : fluent in dork / mumbojumbo & English haha

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

Back to top Go down

Solved Re: Hidden Link

Post by aussie Mon Aug 27, 2018 7:44 pm

Sorry mate but the "Reply To See Hidden" does not appear. I logged in with non staff account & the pic below is what appears.

Hidden Link HIDE
aussie
aussie
New Member

Posts : 9
Reputation : 1
Language : English

Back to top Go down

Solved Re: Hidden Link

Post by Ape Wed Aug 29, 2018 12:03 pm

do you have a test account i can use with admin powers ?
https://help.forumotion.com/t156280-how-to-make-a-test-account-for-your-forum#1077992

also if you are posting your forum link you don't need to use the code tags its only if you are sending a code like css or templates Wink


Hidden Link Left1212Hidden Link Center11Hidden Link Right112
Hidden Link Ape_b110
Hidden Link Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19454
Reputation : 2012
Language : fluent in dork / mumbojumbo & English haha

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

Back to top Go down

Solved Re: Hidden Link

Post by aussie Wed Aug 29, 2018 5:08 pm

PM sent
aussie
aussie
New Member

Posts : 9
Reputation : 1
Language : English

Back to top Go down

Solved Re: Hidden Link

Post by Ape Thu Aug 30, 2018 4:48 am

ok I have made some change and found that this is a bug in our system and I have made a report to our head office I hope this will be fixed soon

I will get back to you when i get news Smile

regards

APE.


Hidden Link Left1212Hidden Link Center11Hidden Link Right112
Hidden Link Ape_b110
Hidden Link Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19454
Reputation : 2012
Language : fluent in dork / mumbojumbo & English haha

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

Back to top Go down

Solved Re: Hidden Link

Post by aussie Thu Aug 30, 2018 4:53 am

OK Thanks, Great you did find it so it does not create headaches for others. If it cannot be fixed on this version phpbb then perhaps you can recommend another version to switch over to.
aussie
aussie
New Member

Posts : 9
Reputation : 1
Language : English

Back to top Go down

Solved Re: Hidden Link

Post by Ape Tue Sep 04, 2018 10:07 am

okay I have spoke to our head office and they say this is not a bug it was never there to begin with but I was sure it was but a staff member said maybe it was a code used in Javascript that was used to show this.

I have asked that member of staff to come and help you more on this Wink

kind regards.

APE.


Hidden Link Left1212Hidden Link Center11Hidden Link Right112
Hidden Link Ape_b110
Hidden Link Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19454
Reputation : 2012
Language : fluent in dork / mumbojumbo & English haha

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

Back to top Go down

Solved Re: Hidden Link

Post by TheCrow Tue Sep 04, 2018 1:07 pm

Hi there,

I am using this code to my forum to hide the original hide icon and add this new one where it adds whatever I want it to add. To do this you simply need to add this Javascript to your forum and set it to all the pages:
Code:
$(function(){
  $(function(){
    $('<a class="sceditor-button sceditor-button-hidcon" unselectable="on" title="Hidden Content"><div unselectable="on" style="background:url(https://i.servimg.com/u/f37/19/06/26/04/66974910.png);background-size:16px;">Hidden Content</div></a>').insertAfter('a.sceditor-button-faspoiler').click(function(){
      $('#text_editor_textarea').sceditor("instance").insertText('Please reply to see the following hidden content: \n[hide]','[/hide]');
    });
  $('a.sceditor-button-fahide').remove();
  });
});


Hidden Link Thecro10
Forum of the Forums

Forumotion Rules | Tips & Tricks |
FAQ | Did you forget your password?



*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
TheCrow
TheCrow
Manager
Manager

Male Posts : 6916
Reputation : 795
Language : Greek, English

https://www.inforumgr.com

JaneDoe likes this post

Back to top Go down

Solved Re: Hidden Link

Post by aussie Tue Sep 04, 2018 4:34 pm

Hi Luffy, Still not working The phase "You Need to Reply to Reveal Link" or whatever it is supposed to show is not appearing. Feel free to access site & make any changes if necessary
Thanks
aussie
aussie
New Member

Posts : 9
Reputation : 1
Language : English

Back to top Go down

Solved Re: Hidden Link

Post by TheCrow Tue Sep 04, 2018 4:36 pm

What this code does is whenever the hidden icon is pressed (from now on) it will show the text and the hidden code tags. This
Code:
eye
icon doesn't show up on your editor?

(If so, can I please have an account to check this out?)

Regards.


Hidden Link Thecro10
Forum of the Forums

Forumotion Rules | Tips & Tricks |
FAQ | Did you forget your password?



*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
TheCrow
TheCrow
Manager
Manager

Male Posts : 6916
Reputation : 795
Language : Greek, English

https://www.inforumgr.com

Back to top Go down

Solved Re: Hidden Link

Post by Ape Tue Sep 04, 2018 5:09 pm

With @Luffy 's code you should see this in your Quick reply editor Hidden Link Captur57

you will need to put the Javascript set to post only

Then make a new post with something hid using that button in your editor


Hidden Link Left1212Hidden Link Center11Hidden Link Right112
Hidden Link Ape_b110
Hidden Link Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19454
Reputation : 2012
Language : fluent in dork / mumbojumbo & English haha

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

Back to top Go down

Solved Re: Hidden Link

Post by TheCrow Tue Sep 04, 2018 5:23 pm

Having this Javascript set to posts only, the icon will appear only in the Quick Reply editor. Now If you set this to all the pages, it will still work but this will replace the hidden icon in all the pages the editor appears! Wink


Hidden Link Thecro10
Forum of the Forums

Forumotion Rules | Tips & Tricks |
FAQ | Did you forget your password?



*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
TheCrow
TheCrow
Manager
Manager

Male Posts : 6916
Reputation : 795
Language : Greek, English

https://www.inforumgr.com

Back to top Go down

Solved Re: Hidden Link

Post by aussie Tue Sep 04, 2018 5:49 pm

I see what you mean now. If I am correct you are saying that to make sure the phase Please reply to See Hidden that will be seen by someone reading the post the poster must click on the eye icon when posting the hidden content. When I have used the Hide on other boards The Phase Reply to see Hidden Content auto appeared once teh "Hide" tab was used. Out of curiousity is there a way the Phase can be change to ie- "Click To Reveal Hidden Content"

Many thanks for your help APE & Luffy
aussie
aussie
New Member

Posts : 9
Reputation : 1
Language : English

Back to top Go down

Solved Re: Hidden Link

Post by TheCrow Tue Sep 04, 2018 5:51 pm

Yes @aussie,

You can change this part of the code above
Code:
Please reply to see the following hidden content:
to anything you want to say before the hide tags! Wink


Hidden Link Thecro10
Forum of the Forums

Forumotion Rules | Tips & Tricks |
FAQ | Did you forget your password?



*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
TheCrow
TheCrow
Manager
Manager

Male Posts : 6916
Reputation : 795
Language : Greek, English

https://www.inforumgr.com

Back to top Go down

Solved Re: Hidden Link

Post by Ape Tue Sep 04, 2018 6:04 pm

Yes I made mine on the test look like this
Hidden Link Captur59
with some tables codes and CSS you can do anything Wink

just a shame the box don't go away after you reply thou Sad


Hidden Link Left1212Hidden Link Center11Hidden Link Right112
Hidden Link Ape_b110
Hidden Link Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19454
Reputation : 2012
Language : fluent in dork / mumbojumbo & English haha

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

Back to top Go down

Solved Re: Hidden Link

Post by Ape Wed Sep 05, 2018 11:35 am

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


Hidden Link Left1212Hidden Link Center11Hidden Link Right112
Hidden Link Ape_b110
Hidden Link Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19454
Reputation : 2012
Language : fluent in dork / mumbojumbo & English haha

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

Back to top Go down

Back to top

- Similar topics

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