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 1 of 2 1 2 >
Topic Options
#189524 - 07/01/07 03:17 PM Building Islands - External Use
Trixie Offline
member
Registered: 05/10/07
Posts: 154
Loc: Rye, Co - USA
Hi. I'm uncertain how to get my portal islands to work correctly outside the community program. I suppose the same process would pertain to any portal layout island needing to be built outside of the message board program.

I'm creating a 3-column newsletter from my website at this link: Newsletter Archives and want to use the "Recent Topics" and "Public Calendar" islands to appear on the 1st and 3rd columns of the newsletter.

I know to get the code for external use, I go to
cp -> portal layout -> make sure the checkbox is checked for these islands and update the page, and then click on the "external use" link to find my code.

It was easy for me to know WHERE to place the html code within my html webpage. But I'm not sure WHERE to place the php code.

I understand the instructions say my webpage needs to be php enabled. Does this mean I just need to change the .htm extention to .php instead? That would be easy-enough to do.

But then in a later paragraph, it reads:
Inserting the php code above will insert the following HTML into it's place. As you can see there are 2 CSS classes you'll want to define for the included HTML, those being tdheader and alt-1. You can modify the properties of the table itself in the code above.:

Can't I just go to a language file for our calendar and copy the same tdheader and alt-1 code specifics?

Thanks for any help. I realize I could be way off-base here; but definitely need to know how to fix this.
_________________________
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."
#189527 - 07/01/07 03:30 PM Re: Building Islands - External Use [Re: Trixie]
Mark S Offline
Carpal Tunnel
Registered: 07/04/06
Posts: 4447
Loc: Liverpool : England : UK
First your going to have to have php enabled.

make a new page and end it with the .php

For testing copy the bit of code into that page.
After where you see <body>
 PHP:

<?php
echo "Hi i'm Trixie";
?>



Upload the page and let us know if you can see it.

I guess you should as you wouldn't be able to run your forums.

1 Step at a time ;\)
_________________________
Version v7.5.6 smile smile < Threads satisfaction status
People who inspire me Rick Gizmo Ian David jgeoff ntdoc
Oooo i hear 8 is coming? just after 7 my friend.
Top
#189536 - 07/01/07 04:10 PM Re: Building Islands - External Use [Re: Mark S]
Trixie Offline
member
Registered: 05/10/07
Posts: 154
Loc: Rye, Co - USA
Thanks.

I created a php webpage called "testingCode.php." Inside this webpage, I used html coding and inserted the calendar php code after the <body> html code.

I then pulled it up at this link http://www.shorthandclasses.com/testingCode.php after uploading and got the calendar...but it's all spread out across the webpage!

Step 1 worked. I used the "view source" and could see that the php code was converted into html code after the webpage with the php extension was uploaded. Cool! I'm catching on slowly. Thanks. Now what?

Don't I now need to place a link at the position in the webpage where I want the calendar to appear so that it goes to the calendar php file?


Edited by Trixie (07/01/07 04:33 PM)
_________________________
Top
#189541 - 07/01/07 05:44 PM Re: Building Islands - External Use [Re: Trixie]
Mark S Offline
Carpal Tunnel
Registered: 07/04/06
Posts: 4447
Loc: Liverpool : England : UK
Change

<table width="100%">

to

<table width="25%">
_________________________
Version v7.5.6 smile smile < Threads satisfaction status
People who inspire me Rick Gizmo Ian David jgeoff ntdoc
Oooo i hear 8 is coming? just after 7 my friend.
Top
#189542 - 07/01/07 06:18 PM Re: Building Islands - External Use [Re: Mark S]
Trixie Offline
member
Registered: 05/10/07
Posts: 154
Loc: Rye, Co - USA
All done. Looks normal and very nice in the php file. \:\)

My newsletter still shows June month instead of July. I guess we're still doing steps. This is fun. What's next? \:\)


Edited by Trixie (07/01/07 06:21 PM)
_________________________
Top
#189543 - 07/01/07 06:27 PM Re: Building Islands - External Use [Re: Trixie]
Ian Offline
Registered: 06/05/06
Posts: 4337
Loc: Essex, UK
It is worth mentioning that 'external' means internal within your existing site - they will not work on an 'external site'
Top
#189546 - 07/01/07 06:33 PM Re: Building Islands - External Use [Re: Ian]
Mark S Offline
Carpal Tunnel
Registered: 07/04/06
Posts: 4447
Loc: Liverpool : England : UK
Shows july for me ;\)

Your going to have to hold the calendar in a Table
or DIV Tags.

Now your lost lol..

You need a layout now Trixie
Something to hold things in place, most places use
tables to achieve this. It can be complicated for a beginner
but achievable.
_________________________
Version v7.5.6 smile smile < Threads satisfaction status
People who inspire me Rick Gizmo Ian David jgeoff ntdoc
Oooo i hear 8 is coming? just after 7 my friend.
Top
#189548 - 07/01/07 06:38 PM Re: Building Islands - External Use [Re: Ian]
Trixie Offline
member
Registered: 05/10/07
Posts: 154
Loc: Rye, Co - USA
Thanks Ian. No worries. I'm trying to create this newsletter from the same website that the forums are sited on.

My calendar links from the newsletter go directly to the forum calendar but for some reason it's still showing June month instead of July.

It may be important to mention that I didn't know where to put the php code so I just copied the html code instead. It probably needs the php code to make the calendar automatically update. Just not sure where to paste it.

It may also be important to know that the newsletter program I bought came from http://www.webwisesage.com/addons/maxlist.html is a php newsletter generator program (which is also the same website that advertised this forum website).

I'm not sure what to do at this moment. Everything Mark has told me has worked fine and I like working in steps. Thanks.



Edited by Trixie (07/01/07 06:48 PM)
_________________________
Top
#189549 - 07/01/07 06:42 PM Re: Building Islands - External Use [Re: Mark S]
Trixie Offline
member
Registered: 05/10/07
Posts: 154
Loc: Rye, Co - USA
Hi Mark.

I know that the htm code for the calendar already comes within a table. Inside my newsletter layout (which is also 3 column table), I have added the html table code for the calendar.

For the testing link http://www.shorthandclasses.com/testingCode.php it DOES show a July month. However, in my html webpage's table, http://www.shorthandclasses.com/maxnews/articles/newsltr1_index.html it still shows June. When I click on any link within the June month, it DOES take me to the July calendar month on the forum. But I'm thinking it should also appear as July month from within my newsletter webpage.

I think I need to add the php code someplace but when I do this and upload it, it throws my 3 column table all out of wack!


Edited by Trixie (07/01/07 06:54 PM)
_________________________
Top
#189570 - 07/01/07 08:04 PM Re: Building Islands - External Use [Re: Trixie]
Mark S Offline
Carpal Tunnel
Registered: 07/04/06
Posts: 4447
Loc: Liverpool : England : UK
Post the screwy page and then we can check the code
for you from source.

I'm off to bed now 1am
hopefully someone can help you as i sleep ;\)
_________________________
Version v7.5.6 smile smile < Threads satisfaction status
People who inspire me Rick Gizmo Ian David jgeoff ntdoc
Oooo i hear 8 is coming? just after 7 my friend.
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
10490 Members
36 Forums
33841 Topics
181708 Posts

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