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 Online   censored

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 Online   censored

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
#233171 - 01/03/10 02:54 PM Re: custom portal islands [Re: driv]
Monkeyra Offline
newbie
Registered: 06/06/06
Posts: 34
Loc: London
Originally Posted By: driv
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;




This one worked smile Rubens didn't, still got a parse error.

Thanks again guys smile
Top
#233174 - 01/03/10 03:03 PM Re: custom portal islands [Re: Monkeyra]
Ruben Online   hyper

Registered: 12/20/03
Posts: 4264
Loc: Lutz,FL
Okay I assumed the */ was because your replaced some of the default comments in the island.
Meaning such as "/* BODY HERE */"
Since you did not post the entire island code in the post.
_________________________
Blue Man Group
Top
#233182 - 01/03/10 03:49 PM Re: custom portal islands [Re: Ruben]
Monkeyra Offline
newbie
Registered: 06/06/06
Posts: 34
Loc: London
Originally Posted By: Ruben
Okay I assumed the */ was because your replaced some of the default comments in the island.
Meaning such as "/* BODY HERE */"
Since you did not post the entire island code in the post.


I did, that was the entire code I was posting, albeit incorrectly smile
Top
#233196 - 01/04/10 12:22 AM Re: custom portal islands [Re: gliderdad]
Dunny Online   coffee
addict
Registered: 01/16/08
Posts: 427
Loc: DE USA
LOL I actually saw him on and said nope Ruben is faster than I am tongue


Dunny
_________________________
Dunny

http://forums.iskirra.net

Dawn of Iskirra
Top
#237863 - 07/11/10 03:23 PM Re: custom portal islands [Re: Dunny]
Ruben Online   hyper

Registered: 12/20/03
Posts: 4264
Loc: Lutz,FL
Okay I see someone visited this post and it started to bug me.
The default code that would be in a custom Island is:
Code:
/* PHP CODE HERE */

/* BODY HERE */
$body = <<<EOF
EOF;


If you wanted to add some html only it would be something like:
Code:
/* PHP CODE HERE */

/* BODY HERE */
$body = <<<EOF
<a href="http://www.mindraven.com/hosting/aff.php?aff=002"><img src="http://www.mindraven.com/banners/mindraven_125_125.gif" width="200" height="125" border="5"></a>
EOF;


I don't have a clue how the the other stuff got included from other posts here such as /* or */ but that just don't work.
_________________________
Blue Man Group
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