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

5 posters

Go down

Solved Hidden Link

Post by aussie August 27th 2018, 2:50 am

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 September 5th 2018, 2:23 pm; 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 August 27th 2018, 3:25 am

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 : 10110
Reputation : 923
Language : English
Location : USA

https://www.broadcastingduo.com

Back to top Go down

Solved Re: Hidden Link

Post by aussie August 27th 2018, 3:42 am

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 mpelmmc August 27th 2018, 4:45 am

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.
mpelmmc
mpelmmc
Helper
Helper

Male Posts : 1092
Reputation : 170
Language : English and Spanish

https://help.forumotion.com/

Back to top Go down

Solved Re: Hidden Link

Post by aussie August 27th 2018, 5:11 am

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 August 27th 2018, 6:39 pm

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 : 19160
Reputation : 1995
Language : fluent in dork / mumbojumbo & English haha

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

Back to top Go down

Solved Re: Hidden Link

Post by aussie August 28th 2018, 1:19 am

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 August 28th 2018, 2:12 am

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 : 19160
Reputation : 1995
Language : fluent in dork / mumbojumbo & English haha

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

Back to top Go down

Solved Re: Hidden Link

Post by aussie August 28th 2018, 2:44 am

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 August 29th 2018, 7: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 : 19160
Reputation : 1995
Language : fluent in dork / mumbojumbo & English haha

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

Back to top Go down

Solved Re: Hidden Link

Post by aussie August 30th 2018, 12:08 am

PM sent
aussie
aussie
New Member

Posts : 9
Reputation : 1
Language : English

Back to top Go down

Solved Re: Hidden Link

Post by Ape August 30th 2018, 11: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 : 19160
Reputation : 1995
Language : fluent in dork / mumbojumbo & English haha

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

Back to top Go down

Solved Re: Hidden Link

Post by aussie August 30th 2018, 11: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 September 4th 2018, 5:07 pm

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 : 19160
Reputation : 1995
Language : fluent in dork / mumbojumbo & English haha

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

Back to top Go down

Solved Re: Hidden Link

Post by TheCrow September 4th 2018, 8: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 : 6921
Reputation : 795
Language : Greek, English

https://forumote.forumotion.com

JaneDoe likes this post

Back to top Go down

Solved Re: Hidden Link

Post by aussie September 4th 2018, 11: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 September 4th 2018, 11: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 : 6921
Reputation : 795
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

Solved Re: Hidden Link

Post by Ape September 5th 2018, 12:09 am

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 : 19160
Reputation : 1995
Language : fluent in dork / mumbojumbo & English haha

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

Back to top Go down

Solved Re: Hidden Link

Post by TheCrow September 5th 2018, 12:23 am

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 : 6921
Reputation : 795
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

Solved Re: Hidden Link

Post by aussie September 5th 2018, 12:49 am

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 September 5th 2018, 12:51 am

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 : 6921
Reputation : 795
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

Solved Re: Hidden Link

Post by Ape September 5th 2018, 1:04 am

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 : 19160
Reputation : 1995
Language : fluent in dork / mumbojumbo & English haha

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

Back to top Go down

Solved Re: Hidden Link

Post by Ape September 5th 2018, 6:35 pm

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 : 19160
Reputation : 1995
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