Previous Thread
Next Thread
Print Thread
Rate Thread
#199019 02/11/2003 1:36 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
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: https://www.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?
Sponsored Links
#199020 02/11/2003 4:08 AM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Hmm...I'll check this out. smile

#199021 02/11/2003 5:41 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Cool, let me know what you think, The discussion from the 6.3 version is found here:
https://ubbdev.com/ubb/ultimatebb.php?ubb=get_topic;f=31;t=000076


- Allen wavey
- What Drives You?
#199022 02/12/2003 6:03 AM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
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).

#199023 04/05/2003 2:06 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
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?
Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)