php forum
php mysql forum
php mysql smarty
 
Topic Options
#312336 - 12/25/06 05:59 AM Default / Master template?
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2570
Loc: England

   Default / Master template? to Del.icio.us Add to del.icio.us
  Digg Default / Master template? Digg it
Hi,

Couldn't find one - but has anyone put together a default or master template for 7.x so that non-threads pages can display the header/footers/sidebars etc.

I need to learn the code more to create something - but in the meantime wondered if anyone had done it.

Thanks.
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#312337 - 12/25/06 10:23 AM Re: Default / Master template? [Re: Ian_W]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25411
Loc: Texas
Not yet, it's why my shoutbox isn't working correctly yet: http://www.praisecafe.org - I guess we need to approach it from the angle that it needs to pull everything including sidebars over so that it will be seamless smile
_________________________
- Allen wavey
- What Drives You?

Top
#312344 - 12/25/06 08:08 PM Re: Default / Master template? [Re: AllenAyres]
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2570
Loc: England
I can't get anything at the moment - any pointers? It has all changed from 6.x

Or am I being thick?
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#312354 - 12/26/06 12:20 PM Re: Default / Master template? [Re: Ian_W]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25411
Loc: Texas
No, it's all changed smile

The place to start would be sample.inc.php - that creates a page called ubbthreads.php/ubb/sample and can be used for pages like that, but not for pages like /sample.php
_________________________
- Allen wavey
- What Drives You?

Top
#312369 - 12/26/06 06:57 PM Re: Default / Master template? [Re: AllenAyres]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5119
Loc: Portland, OR, USA
aye but you could use apache to forward all requests to /sample.php to ubbthreads.php/ubb/sample :nods:
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#312383 - 12/27/06 04:40 PM Re: Default / Master template? [Re: Gizmo]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25411
Loc: Texas
Would make for a large htaccess file for a site I know of - has maybe 100 pages running off the forum header/footer/auth - plus break all se links smile
_________________________
- Allen wavey
- What Drives You?

Top
#312386 - 12/27/06 06:03 PM Re: Default / Master template? [Re: AllenAyres]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5119
Loc: Portland, OR, USA
Not hard, just dedication :x
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#312400 - 12/28/06 04:02 AM Re: Default / Master template? [Re: Gizmo]
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2570
Loc: England
thanks - looks like a good way to spend a day in Sydney smile
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#312403 - 12/28/06 05:11 AM Re: Default / Master template? [Re: Ian_W]
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5119
Loc: Portland, OR, USA
Now all that's needed is a fruity drink with a miniature umbrella...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#312432 - 12/31/06 08:42 AM Re: Default / Master template? [Re: Gizmo]
chillin Offline
Journeyman

Registered: 01/26/03
Posts: 127
Loc: bend, OR USA
Do you just want the design, or do you need the ability to execute db queries/access the ubb core functions?

I have a design wrapper built up that uses cookies to grab a user's stylesheet preference and displays accordingly:
http://www.cascadeclimbers.com/
_________________________
i see threads people
http://www.chinooktc.com

Top
#312433 - 12/31/06 09:05 AM Re: Default / Master template? [Re: chillin]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25411
Loc: Texas
That's looking real good smile A design wrapper would be a good start for most, I think he was wanting to be able to pull the sidebars across too.
_________________________
- Allen wavey
- What Drives You?

Top
#312435 - 12/31/06 09:14 AM Re: Default / Master template? [Re: AllenAyres]
chillin Offline
Journeyman

Registered: 01/26/03
Posts: 127
Loc: bend, OR USA
Thanks! You can pull sidebars into what I have using the cached files that ubb produces (pretty slick). I chose to not use them as i think they are too table heavy.

I do use the cache files to pull a list of 'news' posts into my homepage though.


Edited by chillin (12/31/06 09:15 AM)
_________________________
i see threads people
http://www.chinooktc.com

Top
#312436 - 12/31/06 09:26 AM Re: Default / Master template? [Re: chillin]
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2570
Loc: England
Hi - thanks smile

Yes - essentially I need to pull in the sidebars (if the user has not turned them off) incl shout box etc...

So in affect it looks like the main forum pages.

Thanks for any assistance.
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#312472 - 01/02/07 04:58 PM Re: Default / Master template? [Re: Ian_W]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25411
Loc: Texas
We need more flexibility built-in as well, for one - to put things other than just the news in the center column - would be nice to put some custom islands in there, maybe the calendar smile
_________________________
- Allen wavey
- What Drives You?

Top


Top Posters Last 30 Days
AllenAyres 12
Gizmo 10
S7ARBVCK 2
Cambridge 1
Murphdog 1
MattUK 1
Kevin H 1
Who's Online
1 Registered (mikey81), 26 Guests and 8 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
BeyondCompare v3.00
by blaaskaak
Yesterday at 02:46 PM
Noob - need help, or a reality check!
by Gizmo
09/04/08 03:21 AM
Here I am! Rock me like a Hurricane!
by AllenAyres
09/02/08 03:05 PM
[7.x] Generic Page Outside of forum directory
by Gizmo
08/30/08 05:43 PM
Team UBBDev Rides Again!
by Gizmo
08/28/08 11:45 PM
Multiple Identity Detector
by MattUK
08/28/08 04:10 PM
[7.3.x] ubb.links
by AllenAyres
08/26/08 09:57 AM
New Mods
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
[7.x] Generic Page Outside of forum directory
by
01/14/07 10:58 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
veedubb8, twentyseven, Claus1, welcomeback1, Paug
13327 Registered Users

 

 

 
fusionbb message board php hacks