php forum
php mysql forum
php mysql smarty
 
Topic Options
#199019 - 02/11/03 12:36 AM [6.x] UBB php style file
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25411
Loc: Texas

   [6.x] UBB php style file to Del.icio.us Add to del.icio.us
  Digg [6.x] UBB php style file Digg it
Name: UBB PHP STYLE FILE

Description: Creates a vars_style.inc.php file in whch you can include your forum styles/header/footer/etc into any php page.

Link: http://ubbdev.com/hacks/6.3/ubbphpstyle.zip

Demo: none

Author: Allen Ayres

Credits: Charles Capps for the pointers smile

Requirement: UBB™ 6+

Note: Rather easy to install and run. It's of alpha/beta quality only because I didn't include any visual info (html) that the file actually did what it was supposed to. You modify cp.cgi and upload the the included .cgi file and access it via your forum's /cp.cgi?ubb=styles_php. It runs and writes the vars_style.inc.php file, giving you all the styles data you could need to use in any php page in your site. Require the file into your .php file (example: index.php) and call the variables ($Header, $Footer, $TableTop, $TableColorStrip, $FontFace, etc. etc. etc.) - for a full list, check the included file for what variables are written.

Thanks in advance to those who might find any bugs, I've tested it on 6.3 - 6.5 smile
_________________________
- Allen wavey
- What Drives You?

Top
#199020 - 02/11/03 03:08 AM Re: [6.x] UBB php style file
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
Hmm...I'll check this out. smile
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#199021 - 02/11/03 04:41 PM Re: [6.x] UBB php style file
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25411
Loc: Texas
Cool, let me know what you think, The discussion from the 6.3 version is found here:
http://www.ubbdev.com/ubb/ultimatebb.php?ubb=get_topic;f=31;t=000076
_________________________
- Allen wavey
- What Drives You?

Top
#199022 - 02/12/03 05:03 AM Re: [6.x] UBB php style file
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
Alright, cool. I've read the discussion over at 6.3 Mods forum and I'll install this sometime today and take a look at it. Just about 3 days ago I released my site in which I had to manually do the tables. If I'm thinking correctly on what this hack is capable of doing, the cosmetics of intergrating the board with the site will be much easier to create and manage.

I'm not sure exactly if and how I'll be able to use this but as Bookie and X stated this hack could be largely used for a Portal (PHP to Perl).
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#199023 - 04/05/03 01:06 AM Re: [6.x] UBB php style file
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25411
Loc: Texas
it could be an easy way to carry the styles and basic table structure (TBT and TBB) over to a .php page smile
_________________________
- Allen wavey
- What Drives You?

Top


Moderator:  Charles, Gizmo 
Top Posters Last 30 Days
AllenAyres 12
Gizmo 10
S7ARBVCK 2
Cambridge 1
Murphdog 1
MattUK 1
Kevin H 1
Who's Online
0 Registered (), 29 Guests and 6 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