TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 195,994
  • Total Topics: 21,325
  • Online today: 142
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 96
  • Total: 96

Code for linking 150x35 icons to other sites in TP side panel?

Started by antechinus, February 06, 2008, 11:50:42 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Zetan

If you are using an Article, turn the WYSIWYG editor off, or the FCK Editor, whichever you use.
Then enter the code and save. Don't try inserting code with an editor.

Quote from: keith021773 on February 06, 2008, 01:42:18 PM
You beat me to it ZTN.   :)

lol, sorry keith  :P

antechinus

 :up: That's what it was: the editor. The settings were still on the default value because I didn't know what the damned thing did so I figured I should leave it alone. It'd made a pig's breakfast of the code. I turned the editor off, cleaned up the mess, entered your original code and hey presto, it works!
That was the basic bit I was missing.  :)
Tanku, tanku, tanku. I can do the rest of the links easily now.
Marked as solved.

Zetan

lol..  :coolsmiley:

Quote from: antechinus on February 06, 2008, 11:50:42 AM
(like the ones you have here) and put it in the TP side panel.

After establishing Article and not Block.

antechinus

Yes, I'm back.  ;)
So I've managed to get my nifty 150x35 link icons displaying in my side panel using html......but....only some of them display. The others don't, but something is pushing the size of the box out as if there's something there.

Here's where I'm at:

1/ I've checked the image paths and target site url's thoroughly.

2/ I've deleted and reinstalled the image files via ftp.

3/ I've then downloaded the image files back to my computer (in a different folder to the originals) and they display perfectly. Ergo I assume they aren't corrupted.

4/ I then c&p'd the html from the article directly into Notepad and saved that on my desktop as a test file. When I call it up on my browser it displays perfectly, with all icons visible and spaced correctly. All the link icons function flawlessly. So the html, image paths and target url's are correct.

5/ After doing all this some of the icons still aren't displaying on my test forum. The ones that are displaying work just fine.
I closed Firefox, disconected teh Net and restarted my poota just to make sure. No difference.

I'm not stressing about this but it's got me thoroughly stumped. Anyone see something I've missed?

ETA:

Link to my site: Available to staff via pm.
SMF version: SMF 1.1.4
TP version: TP ver. 0.983
Theme name and version: Devil's Rejects.
Mods installed: None.
Related Error messages: None.


G6Cad

Also make sure the actuall image names are corrct like
JPG or jpg, GIF, gif, PNG png, etc etc  Make sure the uppwer and lower cases are correct. they MUSt be the same as in the code your using

antechinus

Quote from: G6 on February 07, 2008, 10:03:17 AM
Also make sure the actuall image names are corrct like
JPG or jpg, GIF, gif, PNG png, etc etc  Make sure the uppwer and lower cases are correct. they MUSt be the same as in the code your using

Already sorted. I've been thorough this time. As in:

Quote4/ I then c&p'd the html from the article directly into Notepad and saved that on my desktop as a test file. When I call it up on my browser it displays perfectly, with all icons visible and spaced correctly. All the link icons function flawlessly. So the html, image paths and target url's are correct.

antechinus

Quote from: ZTN on February 07, 2008, 10:00:53 AM
Post your code.

Sure. Here it is:

<p align ="center"><a href="http://www.nontheistnexus.com/" target="_blank"><img src="http:/ourtestsite.com/images/nexusButton_150x34.gif" border="0" ></a></p>

That's one of the one's that isn't showing. Apart from the target url and the image name the format is identical to the ones that are showing.

antechinus

Might as well ask a really basic question: is there a limit to the number of icons TP 0.983 will display?
Four are currently showing and I was aiming for ten.

Zetan

Can you post the whole code for each image, direct from the page including the formatting, line breaks etc..
No limits, only server limits and user bandwidth.

This website is proudly hosted on Crocweb Cloud Website Hosting.