Previous Thread
Next Thread
Print Thread
Hop To
Joined: May 2007
Posts: 48
A
journeyman
journeyman
A Offline
Joined: May 2007
Posts: 48
Howdy.

I'm playing around with designing a website that uses UBBthreads and I'm trying to display one of my post islands on the front page of the html site.

I see the directions in the "external use" menu for the island, but I'm just not getting it.

I have 0 knowledge of php, which is probably the problem. Is there anyone around that could help me out?

Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
Well, your pages MUST be PHP to use a PHP Include; so you'll likely want to read up a bit to at least be somewat proficient to be able to use it...

basically php is structured html, so your current html will work fine in a .php page; you'd insert the php include where you wish for the island to be displayed.


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!
Joined: Feb 2007
Posts: 678
W
old hand
old hand
W Offline
Joined: Feb 2007
Posts: 678
Hi there

I'm trying to do this. But can't get it working. The code I have been given by the admin page is:

<?php
if (!defined('UBB_MAIN_PROGRAM')) define('UBB_MAIN_PROGRAM',1);
$style_side="";$tbopen="";$tbclose="";
echo "<table width=\"100%\">";
include("/home/sites/www.site-the-forums-are-on.com/web/languages/english/portal_islands.php");
include("/home/sites/www.site-the-forums-are-on.com/web/languages/english/generic.php");
include("/home/sites/www.site-the-forums-are-on.com/web/cache/gallery_island_25.php");
echo "</table>";
?>

but it is not working, the image does not appear

http://www.site-i-want-it-displaying-on.com/gallery/17/thumbs/16.jpg - but that doesn't exist

and the link also goes to the wrong place

http://www.site-i-want-it-displayin-on.com/ubbthreads.php?ubb=showgallery&Number=254358



so it seems I need to adjust the URL or something in the code so that it goes to the forums domain name rather than the domain name of the site I am trying to post it on.

Anyone able to help?

Thank you

Joined: Feb 2007
Posts: 678
W
old hand
old hand
W Offline
Joined: Feb 2007
Posts: 678
Anyone able to help here? It's another of those head-scratchers with no light at the end of the tunnel! Thanks

Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
I have no clue on the Galley Islands; I'll see if I can give it a shot and give some advice this weekend however.


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!
Joined: Dec 2003
Posts: 70
H
journeyman
journeyman
H Offline
Joined: Dec 2003
Posts: 70
I have the same problem as well. Go to www.apologetics.tv and you'll see my attempts at getting this external island working. Please help.

Joined: Dec 2003
Posts: 70
H
journeyman
journeyman
H Offline
Joined: Dec 2003
Posts: 70
Here's the code that I put on my php enabled page:

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

My guess is that in the "include" part, I'm not pointing to the right directory. You see, I'm experimenting with trying to connect the board, which is hosted elsewhere to my up and coming site which is hosted separately. Is this an issue?

Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1

I'm no expert, but to clarify, both of you are trying to include something from Threads on another domain name and/or server entirely?


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Dec 2003
Posts: 70
H
journeyman
journeyman
H Offline
Joined: Dec 2003
Posts: 70
That's correct.

Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1

Last I tried it, I wasn't able to figure it out, cuz the include paths are obviously calling the same server. Wish I knew, actually!

Is it possible to use full URLs? Probably not, but I haven't tried it, either... but a solution would be great for me, too, as I have a couple dozen domains and it would be nice to *share* amongst them wink


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Dec 2003
Posts: 70
H
journeyman
journeyman
H Offline
Joined: Dec 2003
Posts: 70
jgeoff,
I tried using full URLs, but that didn't work. I know this can work because it used to when we were using classic back then. Anyone?

Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1

.Classic used Javascript includes like this:
Code
<SCRIPT src="http://www.gangsterbb.net/ubb/ContentIslands/1/html.js"
language="Javascript1.3" type="text/javascript"></SCRIPT>
and worked fine on other domains...


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
Classic used JS includes, threads does not (currently)


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!
Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1

Didn't I just say that? tongue


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
You skirted the answer, I posted it direct as "no" lol


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
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
1 members (Ruben), 476 guests, and 111 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)