Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
6 registered (Ruben, SD, nims2, Dunny, GregK, SteveS), 22 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
mig
mig
Registered: 07/22/05
Posts: 39
Top Posters (30 Days)
Ruben 65
SD 57
Gizmo 53
gliderdad 32
Iann128 22
Dunny 21
Steve C 20
driv 18
dbremer 16
Stan 15
Latest Photos
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Gizzo Marx
Page 1 of 2 1 2 >
Topic Options
#233158 - 01/03/10 02:01 PM custom portal islands
Monkeyra Offline
newbie
Registered: 06/06/06
Posts: 34
Loc: London
How do I insert HTML into a custom portal island?

Currently I get this error message:

Code:
Parse error: syntax error, unexpected '<' in /home/realtune/public_html/forums/cache_builders/custom/portal_box_1.php on line 3


I thought it supported HTML? Is it only PHP it allows you to enter?
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#233160 - 01/03/10 02:03 PM Re: custom portal islands [Re: Monkeyra]
Ruben Online   hyper

Registered: 12/20/03
Posts: 4264
Loc: Lutz,FL
You need to place the html between the eof tags. Think of it like the ubb code tags.
_________________________
Blue Man Group
Top
#233161 - 01/03/10 02:08 PM Re: custom portal islands [Re: Ruben]
gliderdad Offline
Registered: 06/08/06
Posts: 1437
Loc: NY
Ruben, always beating me to it, lol.
Top
#233162 - 01/03/10 02:09 PM Re: custom portal islands [Re: gliderdad]
Ruben Online   hyper

Registered: 12/20/03
Posts: 4264
Loc: Lutz,FL
Been kinda out of touch.
Playing with my xmas server and redoing my desk layout.
_________________________
Blue Man Group
Top
#233163 - 01/03/10 02:14 PM Re: custom portal islands [Re: Ruben]
Monkeyra Offline
newbie
Registered: 06/06/06
Posts: 34
Loc: London
Thanks guys!
Top
#233164 - 01/03/10 02:26 PM Re: custom portal islands [Re: Monkeyra]
Monkeyra Offline
newbie
Registered: 06/06/06
Posts: 34
Loc: London
I spoke to soon blush

Ok, this is what I'm entering into my custom portal island:



Code:
/*
<a href="http://www.*****.org/forum/fpage.php?page/contactus/">Contact Us</a><br>
<a href="http://www.*****.org/forum/fpage.php?page/About/">About *****.org</a><br>
*/
$body = <<<EOF
EOF;



But the island remains empty?
Top
#233166 - 01/03/10 02:37 PM Re: custom portal islands [Re: Monkeyra]
Ruben Online   hyper

Registered: 12/20/03
Posts: 4264
Loc: Lutz,FL
wrong:
Quote:
/*
<a href="http://www.*****.org/forum/fpage.php?page/contactus/">Contact Us</a><br>
<a href="http://www.*****.org/forum/fpage.php?page/About/">About *****.org</a><br>
*/
$body = <<<EOF
EOF;


Correct would be like:
Quote:
/* PHP CODE HERE */

/* BODY HERE */
$body = <<<EOF
<a href="http://www.*****.org/forum/fpage.php?page/contactus/">Contact Us</a><br>
<a href="http://www.*****.org/forum/fpage.php?page/About/">About *****.org</a><br>
EOF;
_________________________
Blue Man Group
Top
#233167 - 01/03/10 02:39 PM Re: custom portal islands [Re: Monkeyra]
driv Offline

Pooh-Bah
Registered: 01/10/04
Posts: 2349
Loc: UK
It needs to be like this... smile

Code:


$body = <<<EOF

/*
<a href="http://www.*****.org/forum/fpage.php?page/contactus/">Contact Us</a><br>
<a href="http://www.*****.org/forum/fpage.php?page/About/">About *****.org</a><br>
*/


EOF;

_________________________
Using version :: 7.5.6
Top
#233168 - 01/03/10 02:39 PM Re: custom portal islands [Re: driv]
driv Offline

Pooh-Bah
Registered: 01/10/04
Posts: 2349
Loc: UK
Ruben strikes again wink
_________________________
Using version :: 7.5.6
Top
#233170 - 01/03/10 02:52 PM Re: custom portal islands [Re: driv]
gliderdad Offline
Registered: 06/08/06
Posts: 1437
Loc: NY
I gotta mess with his keyboard so he cant beat us tongue
Top
Page 1 of 2 1 2 >



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
A positive note
by SteveS
Yesterday at 09:36 PM
How to locate links to particular site if they are only used in images?
by Conrad
02/10/12 09:41 PM
Pictures not displaying
by Marker23
02/09/12 10:04 PM
Issue with logging out constantly
by Flanuva
02/09/12 07:05 PM
Long thread, UBB code not parsing
by Bad Frog
02/09/12 07:47 AM
Forum Stats
10213 Members
36 Forums
33666 Topics
180902 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image