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: 25452
Loc: Texas
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: 25452
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: 25452
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 
Who's Online
0 registered (), 20 Guests and 8 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Wisdom needed
by Gizmo
Yesterday at 10:54 AM
How to hide sub forums from summary page
by blaaskaak
12/03/08 09:54 AM
Spell Check [beta]
by Bill B
12/01/08 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
12/01/08 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
12/01/08 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
12/01/08 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
Truth, David DelMonte, nick1, Begbie, cenk
13364 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks