Timberwolf1771 Posted April 14, 2012 Posted April 14, 2012 File Name: Anchor BBCodeFile Submitter: Timberwolf1771File Submitted: 14 Apr 2012File Category: Miscellaneous XML FilesThis is a simple anchor BBCode for your site. Use can use this BBCode to link to anchors you set in posts. At this time, it cannot be used in pages, articles or blog posts. When using this, make sure all the anchors on one page have unique anchor tags or the goto will jump to the first anchor. If you have any questions, feel free to ask me here or at my own site The Northlands. Thanks Timberwolf1771 (Timberwolf)Click here to download this file
Timberwolf1771 Posted April 14, 2012 Author Posted April 14, 2012 This is my first file, so if anybody has suggestions or comments, please feel free to let me know. :sorcerer:
connorhawke Posted April 14, 2012 Posted April 14, 2012 Amazing! Whenever I worked on IP.Content Articles or Pages, I thought about how useful a compatible anchor system would be. And here we are! :D
Aussie Cable Posted April 15, 2012 Posted April 15, 2012 I cannot find on your site where this is implemented, you say your demo is just your homepage, this is not helpful. I do not want to sign up, but would like to see this in demo.
Timberwolf1771 Posted April 15, 2012 Author Posted April 15, 2012 Hi Extreme, Sorry about that. Here is the link to where I'm using it. It's in my blog post about Hockey. Hope that helps.
Aussie Cable Posted April 15, 2012 Posted April 15, 2012 Thanks Timberwolf your a champ. I really think this will come in handy around our board, I do like this a lot. Keep up the great work!
IPS_Fan Posted April 15, 2012 Posted April 15, 2012 How would you implement a "TTP" button that you could put in the code? It just occurred to me that some may wish to go back to the top, as easily as they went to the specific anchored text. Possible?
Timberwolf1771 Posted April 15, 2012 Author Posted April 15, 2012 All you would have to do is at the top of your post put:[anchor]top[/anchor] then at the different areas where you want to give your readers the change to go back to the top you just add this: [goto='top']TOP[/goto] As long as the Anchor 1 code is there you can link to it from any place on your page as many times as you want. It will always bring the reader to that place. For this reason, the Anchor 1 code needs to be unique for the page so people don't choose the same thing.
KevinMc Posted June 26, 2012 Posted June 26, 2012 I really like this, timberwolf, but I'm not fully understanding why anchor 1 doesn't produce any text. I know I've gotta be doing something wrong. Here's what my code looks like. Anchor 2 link to anchor 1 perfectly fine, there's just no text for anchor 1 though. <div class="ipsBox"> <div class="ipsBox_container ipsPad"> <a name="pricing"></a> <br> <br> <a href="#pricing">This is some random text to test out the anchor BBCode.</a> <br> </div> </div> I'm doing exactly as the BBCode wants. Does an option need to be added to allow for visual text in anchor 1, instead of an invisible anchor?
Timberwolf1771 Posted June 27, 2012 Author Posted June 27, 2012 Hi Kevin. You're using html code where this is actually BBCode. Anchor 1 should be like this:[anchor]top[/anchor] Which doesn't produce any text. Anchor 2, which looks like this: [goto='top']TOP[/goto] Will have text that says TOP. You would click on TOP and that will bring you to the top of the page. Sorry for taking so long to get back to you, been a bit busy with school.
KevinMc Posted June 27, 2012 Posted June 27, 2012 No, I'm using BBCode. What I showed you is what it looks like from Firebug, using the exact instructions in the readme file. I replied to your PM, so i guess we can go from there. Thanks for your time.
Timberwolf1771 Posted June 28, 2012 Author Posted June 28, 2012 No problem at all. You have it working as it was intended.
mistera Posted March 12, 2013 Posted March 12, 2013 I can no longer use the latest ipboard version. Is it normal ?
Timberwolf1771 Posted March 13, 2013 Author Posted March 13, 2013 Thank you, mistera. I'll upgrade my site over the weekend and have a look at it and get it working.
Timberwolf1771 Posted March 22, 2013 Author Posted March 22, 2013 Hi Mistra. Sorry for taking so long, I've been moving and trying to help set up a school. I've updated my test board to 3.4.1, but it is working on there. Later today I will update the test board to 3.4.3 and see if it works there.
mistera Posted March 25, 2013 Posted March 25, 2013 Hi Timberwolf ! any news about 3.4.3 ? i can give you access to my board if you need.
Timberwolf1771 Posted March 25, 2013 Author Posted March 25, 2013 Hi mistera. If you can PM details I'll have a look and see if I can figure out why it isn't working. :)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.