Previous Thread
Next Thread
Print Thread
Hop To
Joined: Dec 2003
Posts: 70
H
journeyman
journeyman
H Offline
Joined: Dec 2003
Posts: 70
I'm trying to create a custom portal island to serve as an ad. It says that it accepts html but I can't get it to work. All I did was give it a name, cache time = 0, checked "Always Build" and in the body I replaced the code (which I don't understand) and inserted this:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Life of the Mind Conference</title>
</head>

<body>
<a href="http://www.apologetics.com/images/body/main/life_of_the_mind.gif"><img src="http://www.apologetics.com/images/body/main/life_of_the_mind.gif" alt="" name="ltm" width="400" height="225" border="0"></a>
</body>
</html>

I'm sure the code that I replaced had something to do with it. I'm just not a programmer and know basic html. Any help would be appreciated. Thanks.
-Harry

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
You'll actually want it to contain this:

PHP Code

$body = <<<EOF
<a href="http://www.apologetics.com/images/body/main/life_of_the_mind.gif"><img src="http://www.apologetics.com/images/body/main/life_of_the_mind.gif" alt="" name="ltm" width="400" height="225" border="0"></a>
EOF;
 

Last edited by Rick; 07/18/2007 1:47 PM.
Joined: Dec 2003
Posts: 70
H
journeyman
journeyman
H Offline
Joined: Dec 2003
Posts: 70
Wow! Thanks for the quick response. It worked and I wouldn't have figured this one out myself.

Joined: Dec 2003
Posts: 70
H
journeyman
journeyman
H Offline
Joined: Dec 2003
Posts: 70
Just a follow up. I noticed the Custom Portal Island 1 & 2 has some pre-written code that's different from the rest. Now as I was in the process of getting the custom islands to work I replaced those codes with the one above. Like I said, it worked. But out of curiosity, what features did I lose by not having those codes?

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
The ones that were in there by default were just samples from my testing. No loss from changing them.

Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
I had the same questions.
This may help some My post


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2006
Posts: 167
member
member
Joined: Jun 2006
Posts: 167
Can someone please post a link to a post on your site that has a custom portal island in it so I can see what exactly it is?

Thank you



How's all this "hopie-changie" working out for you???
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
They can really contain anything... For example, here you can see the "Site Navigation" to the top left; on my UGN Security forums, ou can see "My Sponsors" for ad's


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
0 members (), 686 guests, and 131 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)