Hidden Link
4 posters
Page 1 of 1
Hidden Link
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
Also tried below
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- New Member
- Posts : 9
Reputation : 1
Language : English
Re: Hidden Link
Hello,
From now on now please use code tags (
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
From now on now please use code tags (
- Code:
[code][/code]
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
Remember to mark your topic when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?
Team Leader
Review Section Rules | Request A Review | Sticker Points
Re: Hidden Link
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
aussie- New Member
- Posts : 9
Reputation : 1
Language : English
Re: Hidden Link
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.
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.
Guest- Guest
Re: Hidden Link
mpelmmc,
Here's where I found the script
Thanks
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- New Member
- Posts : 9
Reputation : 1
Language : English
Re: Hidden Link
Sorry mate but the "Reply To See Hidden" does not appear. I logged in with non staff account & the pic below is what appears.
aussie- New Member
- Posts : 9
Reputation : 1
Language : English
Re: Hidden Link
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
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
Re: Hidden Link
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
regards
APE.
I will get back to you when i get news
regards
APE.
Re: Hidden Link
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- New Member
- Posts : 9
Reputation : 1
Language : English
Re: Hidden Link
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
kind regards.
APE.
I have asked that member of staff to come and help you more on this
kind regards.
APE.
Re: Hidden Link
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:
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();
});
});
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!
JaneDoe likes this post
Re: Hidden Link
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
Thanks
aussie- New Member
- Posts : 9
Reputation : 1
Language : English
Re: Hidden Link
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
icon doesn't show up on your editor?
(If so, can I please have an account to check this out?)
Regards.
|
(If so, can I please have an account to check this out?)
Regards.
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!
Re: Hidden Link
With @Luffy 's code you should see this in your Quick reply editor
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
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
Re: Hidden Link
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!
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!
Re: Hidden Link
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
Many thanks for your help APE & Luffy
aussie- New Member
- Posts : 9
Reputation : 1
Language : English
Re: Hidden Link
Yes @aussie,
You can change this part of the code above
to anything you want to say before the hide tags!
You can change this part of the code above
|
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!
Similar topics
» link is hidden, you must reply to see
» How do I create different hidden forums for different hidden groups?
» How do I create a link where you hover over the link and it pops up some kinda text?
» Link Random Banners to a diffrent Link
» Tool bar hidden
» How do I create different hidden forums for different hidden groups?
» How do I create a link where you hover over the link and it pops up some kinda text?
» Link Random Banners to a diffrent Link
» Tool bar hidden
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum