Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
4 registered (alissarose, KuKuKaChu, Dunny, id242), 40 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/05/06
Posts: 469
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 2 of 2 < 1 2
Topic Options
#189575 - 07/01/07 08:07 PM Re: Building Islands - External Use [Re: Trixie]
NewZealandNZ Offline
journeyman
Registered: 07/01/07
Posts: 77
Loc: Rangiora, North Canterbury, Ne...
Hello All (and Rick)

7.1 looks great and can't wait to install it on our network

I used to be able to display Content Islands on the right homepage of each site within New Zealand's Information Network like you see on the sample sites listed below.

New Zealand's Information Network
Golden View Motel
Airport Garden Inn Hotel & Conference Centre

All I did is add this code

 Code:
<link rel="stylesheet" href="css/discussions.css" type="text/css" />
<table align="right">
<tr>
<td><script src="http://www.newzealandnz.co.nz/discussions/ContentIslands/1_html.js" language="Javascript1.3" type="text/javascript"></script>
</td>
</tr>
</table>


The pages I am using for the Websites is HTML and I cannot see how to use the new code given rss1.xml code to achieve the same result. If you look through the sample sites provided you will see I have made full use of the wrappers that you can display around each individual message board, the way we run our Network is as a group. Every Website within our Network has its own Message Board which points back to the main Message Board of New Zealand's Information Network.

It works really well, however, being able to have a content island on the top right hand side is a great way for each individual Website owner to get their Message Board seen and used. Any help much appreciated.

If you are clever enough to give me a hand in pulling the rss1.xml content from the file to display in a box I would be most grateful if you could post it here.

Feed URL: http://www.newzealandnz.co.nz/discussions2/cache/rss1.xml

Maybe

To use the HTML format as a Server Side Include:
 Code:
<link rel="stylesheet" href="css/discussions.css" type="text/css" />
<table align="right">
<tr>
<td><!--#include virtual="/usr/wwwroot/ddehek/newzealandnz/discussions2/cache/rss1.xml" -->
</td>
</tr>
</table>


or

To use the HTML format as a PHP Include:
 Code:
<link rel="stylesheet" href="css/discussions.css" type="text/css" />
<table align="right">
<tr>
<td>
<?
readfile("/usr/wwwroot/ddehek/newzealandnz/discussions2/cache/rss1.xml");
?>
</td>
</tr>
</table>
_________________________
Best Regards

Danny de Hek - Below is our Office Cam Image

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."
#189579 - 07/01/07 08:16 PM Re: Building Islands - External Use [Re: Mark S]
Trixie Offline
member
Registered: 05/10/07
Posts: 154
Loc: Rye, Co - USA
Thanks so much. I'll check back later okay? It's 6:15pm here and I need to clean 4 ferret cages before it gets to dark.

Here's my screwy page: http://www.shorthandclasses.com/maxnews/articles/newsltr1_index.html \:\)

Bye now.
_________________________
Top
#189587 - 07/01/07 09:10 PM Re: Building Islands - External Use [Re: Trixie]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Threads doesn't come with javascript islands (js); however you can use a php include to call content if you place it on another page; or you can parse an xml feed using an rss reader (which only works for forum data).

For the sidebar data, it takes a lot of customization to get things to display properly when you use the external use islands; I have a small item at UBBDev that shows how to do external use with content islands (who's online mainly), it's in the addons forum in the templates section.
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#189639 - 07/02/07 12:06 AM Re: Building Islands - External Use [Re: Gizmo]
Trixie Offline
member
Registered: 05/10/07
Posts: 154
Loc: Rye, Co - USA
Would the php include look something like this?

<php?
include ("http://www.shorthandclasses.com/newsltr-cal.php");
?>

So in my html webpage, I could insert this php include so it would go to the newsltr-cal.php file and get the php code to make it work correctly?
_________________________
Top
#189649 - 07/02/07 01:11 AM Re: Building Islands - External Use [Re: Trixie]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
<?php include ("http://www.shorthandclasses.com/newsltr-cal.php"); ?>

Also, you CAN NOT use php code in an HTML page; .html/.htm/.shtm/.shtml are nor sent through the php parser in your webserver; generaly only .php pages are.
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#189650 - 07/02/07 01:12 AM Re: Building Islands - External Use [Re: Gizmo]
ntdoc Offline
Registered: 11/09/06
Posts: 3384
You could enable parsing but that would slow down all your pages and is not the correct way to run PHP pages.
Top
#189652 - 07/02/07 01:14 AM Re: Building Islands - External Use [Re: ntdoc]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Yes, I would highly advise against setting non .php pages to parse through php as a "quick fix"; that's dirty and can slow things down (as you'd be parsing things which don't really need parsed in the first place)
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
Page 2 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
10490 Members
36 Forums
33841 Topics
181708 Posts

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