Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
5 registered (Gizmo, GregK, Iann128, SteveS, SD), 34 Guests and 16 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 04/22/10
Posts: 5
Top Posters (30 Days)
Ruben 61
SD 52
Gizmo 48
gliderdad 33
Dunny 21
driv 18
dbremer 16
Mark S 13
Stan 12
Iann128 10
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 3 1 2 3 >
Topic Options
#231986 - 12/10/09 09:41 AM Does UBB provide a mechanism for custom pages?
AmyGraper Offline
stranger
Registered: 12/10/09
Posts: 12
Hi,

I was wondering if UBB provides a mechanism for creating custom pages so that I could add pages to a UBB installation and leverage its login mechanism, etc., as opposed to adding UBB to a site with stand alone custom pages?

Thank you
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."
#231988 - 12/10/09 09:48 AM Re: Does UBB provide a mechanism for custom pages? [Re: AmyGraper]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Yes, there is a sample script and template included with the software that you can use to include your own pages within. By modifying the samples you can create as many custom pages as you want which will have access to all of the ubb functions, login, etc.
Top
#231990 - 12/10/09 09:51 AM Re: Does UBB provide a mechanism for custom pages? [Re: Rick]
AmyGraper Offline
stranger
Registered: 12/10/09
Posts: 12
That's great, thank you Rick.
Top
#231992 - 12/10/09 10:09 AM Re: Does UBB provide a mechanism for custom pages? [Re: Rick]
Bad Frog Offline
addict
Registered: 05/13/08
Posts: 593
Loc: Coast of Maine
Originally Posted By: Rick
Yes, there is a sample script and template included with the software that you can use to include your own pages within. By modifying the samples you can create as many custom pages as you want which will have access to all of the ubb functions, login, etc.


there is? I gotta read my documentation! lol
_________________________
"No matter where you go, there you are."
"If you can't do something smart, Do something right"
"There are three kinds of people in the world, those who can count, and those who can't"
Top
#231993 - 12/10/09 10:21 AM Re: Does UBB provide a mechanism for custom pages? [Re: Bad Frog]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
It's one of those undocumented things (We will be better at this with 8.0, I promise wink. But inside the scripts directory is a sample.inc.php file and inside the templates/default directory is a sample.tpl file. Both commented so they are pretty easy to follow.
Top
#231999 - 12/10/09 11:21 AM Re: Does UBB provide a mechanism for custom pages? [Re: Rick]
Bad Frog Offline
addict
Registered: 05/13/08
Posts: 593
Loc: Coast of Maine
I will have to check this out later when I have a few minutes.
_________________________
"No matter where you go, there you are."
"If you can't do something smart, Do something right"
"There are three kinds of people in the world, those who can count, and those who can't"
Top
#232002 - 12/10/09 12:00 PM Re: Does UBB provide a mechanism for custom pages? [Re: Bad Frog]
ScriptKeeper Offline

veteran
Registered: 12/09/06
Posts: 1420
Loc: UK
Rick, will the V7 custom templates be compatible with V8?
Top
#232004 - 12/10/09 12:06 PM Re: Does UBB provide a mechanism for custom pages? [Re: ScriptKeeper]
Gizmo Online   cat

Registered: 06/05/06
Posts: 14904
Loc: Portland, OR; USA
if you want a good easy to follow example of a custom script, go to UBBDev and download my pJIRC addon and compare it to the sample page; you'll see how to call just about anything
_________________________
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
#232008 - 12/10/09 12:19 PM Re: Does UBB provide a mechanism for custom pages? [Re: Gizmo]
Ruben Offline

Registered: 12/20/03
Posts: 4268
Loc: Lutz,FL
What !!!
Not going to plug your wrapper hack at UBBDev???
I think it works quite nice.
_________________________
Blue Man Group
Top
#232009 - 12/10/09 12:27 PM Re: Does UBB provide a mechanism for custom pages? [Re: Ruben]
Gizmo Online   cat

Registered: 06/05/06
Posts: 14904
Loc: Portland, OR; USA
Well, the pJIRC does a better job of showing how things work than the wrapper... Though the wrapper is great if you just want to wrap pages into the UBB with little know-how needed...
_________________________
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
#232034 - 12/11/09 08:53 AM Re: Does UBB provide a mechanism for custom pages? [Re: Gizmo]
AmyGraper Offline
stranger
Registered: 12/10/09
Posts: 12
Originally Posted By: Gizmo
if you want a good easy to follow example of a custom script, go to UBBDev and download my pJIRC addon and compare it to the sample page; you'll see how to call just about anything


Thanks, I'll check it out.
Top
#238682 - 08/16/10 06:04 PM Re: Does UBB provide a mechanism for custom pages? [Re: AmyGraper]
Iann128 Online   gnasher

enthusiast
Registered: 03/21/08
Posts: 224
Loc: Austin, AR
Can't seem to find the sample.tpl file frown It is not on my site or in the 7.5.5 file I just downloaded...
_________________________
Ian
http://www.firstgenmc.com/ubbthreads

"Experience is a hard teacher because she gives the test first, the lesson afterwords."
Top
#238683 - 08/16/10 06:25 PM Re: Does UBB provide a mechanism for custom pages? [Re: Iann128]
SD Online   partay
Registered: 04/19/07
Posts: 4031
Loc: SoCal, USA
yah, the sample.inc.php is just part of it.

would be nice if there was a sample.tpl (which it references) too laugh
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#238684 - 08/16/10 06:26 PM Re: Does UBB provide a mechanism for custom pages? [Re: SD]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Will put one into 7.5.6.
Top
#238685 - 08/16/10 06:27 PM Re: Does UBB provide a mechanism for custom pages? [Re: Rick]
SD Online   partay
Registered: 04/19/07
Posts: 4031
Loc: SoCal, USA
go all the way and complete the triple play with a sample.php (/languages/english)



:2c:
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#238686 - 08/16/10 06:29 PM Re: Does UBB provide a mechanism for custom pages? [Re: SD]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
That might take a few extra keystrokes. I dunno, but I'll try wink
Top
#238688 - 08/16/10 06:37 PM Re: Does UBB provide a mechanism for custom pages? [Re: Rick]
Iann128 Online   gnasher

enthusiast
Registered: 03/21/08
Posts: 224
Loc: Austin, AR
Can I get get a early copy smile
_________________________
Ian
http://www.firstgenmc.com/ubbthreads

"Experience is a hard teacher because she gives the test first, the lesson afterwords."
Top
#238689 - 08/16/10 06:51 PM Re: Does UBB provide a mechanism for custom pages? [Re: Iann128]
Ruben Offline

Registered: 12/20/03
Posts: 4268
Loc: Lutz,FL
You can look at a few hacks by Giz.
Try http://www.ubbcentral.com/forums/ubbthreads.php/topics/227834/1.html
To start with.
But anyway the file is in the scripts folder.
Sample.inc.php not the templates like everyone says.
_________________________
Blue Man Group
Top
#238690 - 08/16/10 07:03 PM Re: Does UBB provide a mechanism for custom pages? [Re: Ruben]
SD Online   partay
Registered: 04/19/07
Posts: 4031
Loc: SoCal, USA
ruben, to clarify -- there are usually 3 files involved in a 'script'

1. scripts/coolthingie.inc.php
2. templates/default/coolthingie.tpl
3. languages/english/coolthingie.php

so yes, 'the file' is in the scripts, but to truly be a full sample, it should include all 3..

then this could be called by yourforum/url/to/forum/ubbthreads.php?ubb=coolthingie

_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#238691 - 08/16/10 07:14 PM Re: Does UBB provide a mechanism for custom pages? [Re: SD]
Ruben Offline

Registered: 12/20/03
Posts: 4268
Loc: Lutz,FL
Oh I agree 100%.
It has always been clear as Mud on how to create a custom page using the sample script.
And the other pieces have always been missing. As well as any documentation on how to apply them.
_________________________
Blue Man Group
Top
#238692 - 08/16/10 07:40 PM Re: Does UBB provide a mechanism for custom pages? [Re: Ruben]
Iann128 Online   gnasher

enthusiast
Registered: 03/21/08
Posts: 224
Loc: Austin, AR
I am looking at some of the other templates and sorta see how it all works, but having a sample and some docs would be helpful. I am trying to build a page like the showmembers.tpl to search a different database. I have most of the code ready, but not exactly sure how to put it in the .tpl file... SD was the one that pointed me to run it through the ubb engine smile
_________________________
Ian
http://www.firstgenmc.com/ubbthreads

"Experience is a hard teacher because she gives the test first, the lesson afterwords."
Top
#238693 - 08/16/10 07:49 PM Re: Does UBB provide a mechanism for custom pages? [Re: Iann128]
Ruben Offline

Registered: 12/20/03
Posts: 4268
Loc: Lutz,FL
For now I would look at UBBDev for clues.
Search for wrapper or pJIRC
Like SD said you need to create three files to make it work.
_________________________
Blue Man Group
Top
#238698 - 08/17/10 03:20 AM Re: Does UBB provide a mechanism for custom pages? [Re: Ruben]
Gizmo Online   cat

Registered: 06/05/06
Posts: 14904
Loc: Portland, OR; USA
You should post your completed project to help others learn; it's how most of my "mods" at UBBDev happen hehe
_________________________
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 1 of 3 1 2 3 >



Moderator:  AllenAyres, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Edit Post
by Bert
Today at 01:19 PM
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
Forum Stats
10214 Members
36 Forums
33668 Topics
180918 Posts

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