Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
2 registered (A-GATE, Jake), 29 Guests and 13 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 04/09/11
Posts: 140
Top Posters (30 Days)
Ruben 51
Gizmo 24
DennyP 24
Dunny 15
SteveS 14
AllenAyres 12
SD 10
dbremer 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 2 1 2 >
Topic Options
#215718 - 07/22/08 09:35 AM Help With Displaying External Island
harry Offline
journeyman
Registered: 12/25/03
Posts: 70
Loc: CA
I have a Joomla-based site and when I create a left module, paste the external code, I get a weird result. My site was created using PHP and MySQL, so I don't know why this is happening. Any Joomla folks out there that can help?

When I simply paste the html that's supposed to be generated by the php code, it displays properly. So at least I know the left module works. I've pasted the result so you all can see the unexpected code it's generating.


Attachments
discussion_image.gif

Description: External Island Error


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."
#215720 - 07/22/08 09:49 AM Re: Help With Displaying External Island [Re: harry]
driv Online   censored

Pooh-Bah
Registered: 01/10/04
Posts: 2377
I'm not sure if you are displaying all your code, but shouldn't the include look something like this...

Php Code:


<?php include("/path/to/your/island"); ?>


_________________________
Using version :: 7.5.6
Top
#215721 - 07/22/08 09:53 AM Re: Help With Displaying External Island [Re: driv]
driv Online   censored

Pooh-Bah
Registered: 01/10/04
Posts: 2377
...or more specifically (for external use) blush

Php Code:


<?php
if (!defined('UBB_MAIN_PROGRAM')) define('UBB_MAIN_PROGRAM',1);
$style_side="";$tbopen="";$tbclose="";
echo "<table width=\"100%\">";
include("/path_to/forums/languages/english/portal_islands.php");
include("/path_to/forums/languages/english/generic.php");
include("/path_to/forums/cache/portal_box_1.php");
echo "</table>";
?>


_________________________
Using version :: 7.5.6
Top
#215746 - 07/22/08 09:40 PM Re: Help With Displaying External Island [Re: driv]
harry Offline
journeyman
Registered: 12/25/03
Posts: 70
Loc: CA
driv,
This is exactly my problem. I stated earlier that I would input the correct code (like the one you used) and the result would be what I pasted in my original reply. In other words, the correct code would generate whatever it is that I pasted above. Thanks for looking into it.
Top
#215750 - 07/22/08 10:35 PM Re: Help With Displaying External Island [Re: harry]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
TinyMCE is killing what you paste.. you should do it with

This guy -- Official extensions.joomla reviews etc..

and voila smile

I use it all the time for my Joomla / Ubbt integrations... well, i only have ONE integration laugh , but i use that smile

the beauty of having Smarty in ubbthreads also allows you to just get into the .tpl for the module and have the output styled to match your Joomla! template. so it really looks integrated.

i've replaced all most of the custom islands into the joomla! portal as well as the fixed ones and styled them to match smile

Screenie on admin
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#215755 - 07/23/08 01:53 AM Re: Help With Displaying External Island [Re: SD]
harry Offline
journeyman
Registered: 12/25/03
Posts: 70
Loc: CA
Thanks so much Sirdude. I'm currently using Joomla 1.5.3 Would you say that this module is conflict-free? In other words, it's not going to bring my version of Joomla down? Sorry for the paranoia.
Top
#215769 - 07/23/08 07:20 AM Re: Help With Displaying External Island [Re: harry]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
it's 1.5 native smile that's as conflict free as you can get.

i have it running on my 1.5.4 joomla..

keep in mind that there are actually 3 things you can install. the module, the component and the plugin..

each work fine and have their respective roles in Joomla smile
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#215770 - 07/23/08 10:30 AM Re: Help With Displaying External Island [Re: SD]
harry Offline
journeyman
Registered: 12/25/03
Posts: 70
Loc: CA
As always, thanks Sirdude for your help. I got it working without a single hitch.
Top
#215778 - 07/23/08 01:45 PM Re: Help With Displaying External Island [Re: harry]
harry Offline
journeyman
Registered: 12/25/03
Posts: 70
Loc: CA
Sirdude,
I noticed something inconsistent with my external island. I made a test post just to see how fast it would appear on it. My test post appeared very quickly, so that was good. But when I deleted it, it didn't go away on the external island. Is this some kind of bug?
Top
#215779 - 07/23/08 01:52 PM Re: Help With Displaying External Island [Re: harry]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
yah -- the external island might be showing the cached copy. you might want to always build or set a lower cache time.

you may have just gotten 'lucky' and have the new post show up 'immediately'.. it's a roll of the dice when the cache times out wink

smile
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#215780 - 07/23/08 02:00 PM Re: Help With Displaying External Island [Re: SD]
harry Offline
journeyman
Registered: 12/25/03
Posts: 70
Loc: CA
I've had it set to Always Build from the start. Cache time is set to 5 min. I've emptied cache in Safari and reloaded. No effect. I'll wait and see.

So this is normal?
Top
#215782 - 07/23/08 02:26 PM Re: Help With Displaying External Island [Re: harry]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
no -- you also have a cache setting in joomla too you know.. wink
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
Page 1 of 2 1 2 >



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

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

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