php forum
php mysql forum
php mysql smarty
 
Page 1 of 4 1 2 3 4 >
Topic Options
#233858 - 01/23/03 04:33 PM Threads Wrappers for Photopost
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Okay what this does is expand upon the work of JustDave and Dalantech and make Photpost use the table wrappers for a more uniform Threads site. <br /> <br />You can attempt this if you own Photopost as well as Threads and want them to look the same. This is compatable with Threads 6.2,6.2.1 and Photopost 3.2.1. <br /> <br />You can see a demo here: <br /> <br />http://www.reeftalk.com/ubbthreads/gallery/index.php <br /> <br />


Attachments
65988-photopost-integration.zip (48 downloads)

_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#233859 - 01/23/03 06:10 PM Re: Threads Wrappers for Photopost [Re: sf49rminer]
shortbus Offline
Code Monkey

Registered: 04/19/02
Posts: 631
Loc: Enid, Oklahoma
You Da Man! <img src="/forum/images/graemlins/tongue.gif" alt="" />

Top
#233860 - 01/23/03 06:47 PM Re: Threads Wrappers for Photopost [Re: wilstephens]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
I took the time to write it up just for you <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#233861 - 01/23/03 10:09 PM Re: Threads Wrappers for Photopost [Re: sf49rminer]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Nice. <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#233862 - 01/23/03 10:14 PM Re: Threads Wrappers for Photopost [Re: Daine]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Now this is superficial now. If you see what I have done you basically need to do that to every Photopost file that has a table. I also took out the hard-coding of colors and replaced with CSS class variables so that when I change theme's color's change something Photopost does not do. <img src="/forum/images/graemlins/wink.gif" alt="" /><br /><br />I will post more on that subject.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#233863 - 01/24/03 03:15 AM Re: Threads Wrappers for Photopost [Re: sf49rminer]
dimopoulos Offline
Kahuna

Registered: 08/18/02
Posts: 1271
Loc: Vienna, Austria
Well done Chuck. This is awesome!!!!<br /><br />Warm regards<br /><br />Nikos
_________________________
Nikos

Top
#233864 - 01/24/03 04:25 AM Re: Threads Wrappers for Photopost [Re: sf49rminer]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Excellent work! <img src="/forum/images/graemlins/cool.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#233865 - 01/24/03 04:48 AM Re: Threads Wrappers for Photopost [Re: sf49rminer]
shortbus Offline
Code Monkey

Registered: 04/19/02
Posts: 631
Loc: Enid, Oklahoma
Thanks man! You're making me blush!

Top
#233866 - 01/24/03 05:31 AM Re: Threads Wrappers for Photopost [Re: wilstephens]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Come on buddy how many of us have both Threads and Photopost,<br /><br />Hmm let me see the usability of this hack is minor. I know of maybe 5 of us.<br /><br />JoshPet,Myself,Msula,You and casper. I know there are a few others.<br /><br /><br /><br />
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#233867 - 01/24/03 11:17 AM Re: Threads Wrappers for Photopost [Re: sf49rminer]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
I can't find JustDave's CSS Table Wrappers mod (even tried to search for it). Anyone got a link?
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#233868 - 01/24/03 01:06 PM Re: Threads Wrappers for Photopost [Re: sf49rminer]
Mudpuppy Offline
Journeyman

Registered: 08/16/02
Posts: 113
Loc: Sin City
[]Come on buddy how many of us have both Threads and Photopost[/]<br /><br />I use them both, too. I'm in the process of attempting this hack (I'm still on the Threads Table Wrappers Mod step), although all the "if you dare!" statements in your instructions leave me feeling a bit intimidated. I love anything that makes my site look more cohesive, and appreciate the work folks put into hacks like these. Thanks!

Top
#233869 - 01/24/03 01:07 PM Re: Threads Wrappers for Photopost [Re: jacksonm99]
Mudpuppy Offline
Journeyman

Registered: 08/16/02
Posts: 113
Loc: Sin City
[]I can't find JustDave's CSS Table Wrappers mod (even tried to search for it). Anyone got a link? [/]<br /><br />http://www.threadsdev.com/threads/php/sh...amp;amp;fpart=1

Top
#233870 - 01/24/03 01:44 PM Re: Threads Wrappers for Photopost [Re: jbiz]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Thanks! <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#233871 - 01/24/03 03:00 PM Re: Threads Wrappers for Photopost [Re: jacksonm99]
msula Offline
Addict

Registered: 02/18/02
Posts: 1969
Loc: Lansing, Michigan
omega rules <img src="/forum/images/graemlins/smile.gif" alt="" /> I haven't implimented the table wrapper mods yet as I haven't had time for any redesigning, but this will be of great benefit for making a seamless transition <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />Thanks.

Top
#233872 - 01/24/03 03:03 PM Re: Threads Wrappers for Photopost [Re: palmen]
msula Offline
Addict

Registered: 02/18/02
Posts: 1969
Loc: Lansing, Michigan
Actually, I just thought of something...<br /><br />how does this handle multiple stylesheets? I know photopost has the forum colors, links, text, etc all specified within the database. It doesn't use CSS yet.<br /><br />So, I'm assuming this hack will only work with the colors you specify inside photopost correct? For example right now I have 4 color schemes people can use, but photopost is stuck using only one <img src="/forum/images/graemlins/frown.gif" alt="" /> Just wonder if this is something your mod changes, or we have to wait until PP begins using templates and CSS

Top
#233873 - 01/24/03 03:10 PM Re: Threads Wrappers for Photopost [Re: palmen]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
You are correct Photopost will use CSS and templates next version. My hack only does one style. However I am writing up a small chart for those that dare to convert CSS in Photopost. The changes are too intensive to list an exact hack but this is not that hard. I have done this on my site to all the major files so that people can change stylesheets and Photopost changes. It is a simple but time consuming thing but anyone can do it. Example below: <br /> <br />bgcolor=\"{$Globals['bordercolor']}\" <br /> <br />would be <br /> <br />class=\"tableborders\" <br /> <br />or <br /> <br />bgcolor=\"{$Globals['maincolor']}\" <br /> <br />would be <br /> <br />class=\"darktable\" <br /> <br />or <br /> <br />bgcolor=\"{$Globals['headcolor']}\" <br /> <br />would be <br /> <br />class=\"tdheader\" <br /> <br />Like I said I am going to write up a short comparison so those that want to do this can do this and this should provide full integration until Photopost catch's up with the CSS and template thing. <br /> <br />I got ya covered Msula I know a die hard Photopost guy like you wants the whole thing. <img src="/forum/images/graemlins/smile.gif" alt="" /> Let these guys digest the first part and they can finish for multiple stylesheets next. I will have a comparison probally tonight or tommorow morning.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#233874 - 01/24/03 03:15 PM Re: Threads Wrappers for Photopost [Re: sf49rminer]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
When you installed JustDave's CSS table wrapper mod did you declare the background images in the tbopen and tbclose files that you made, or did you use CSS classes?<br /><br />The reason why I'm asking is that after reading the mod it makes more sense to put the path for the background images in the tbopen and tbclose templates that you make for each style sheet.
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#233875 - 01/24/03 03:29 PM Re: Threads Wrappers for Photopost [Re: jacksonm99]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Dalantech, <br /> <br /> Dave's mod changes nothing from your mod. All his does is make threads aware whether there is a wrapper or not. <br /> <br /> Currently in your mod tbopen and tbclose has the 10pixel spacers which show up in every stylesheet whether you have a stylesheet graphic specified or not. So if I did not use wrappers for greenday in your mod I would have a 10pixel border around my tables. With his mod installed I would not. You simply put a clean copy or tbopen and tbclose in your template directory. For every stylesheet where you define the CSS classes with images you would create a tbopen-(stylesheet name).tmpl and tbclose-(stylesheet name)/tmpl with your mods. You see the difference? This allows use of multiple stylesheet use without displaying that empty table and making your site look a little funky. <br />I called the images from CSS classes just like you did. I just name the templates ending name the stylesheet name. <br />I have only made stylesheets for my default stylesheet and greenday so if you choose infopop you will see the normal tables. <br /> <br />Your mods go together like peanut butter and jelly. <br />
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#233876 - 01/24/03 04:14 PM Re: Threads Wrappers for Photopost [Re: sf49rminer]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Thanks for the info <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />I was thinking that I could create a "painless" set of table wrappers (easy to install).<br /><br />I should have the new set up soon. Take a look at my site for a peek at what the new graphics / templates can do <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#233877 - 01/24/03 04:38 PM Re: Threads Wrappers for Photopost [Re: jacksonm99]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
I would say your mod is quite easy to install. How hard is it to copy 8 graphics to a directory. Add eight CSS classes to a stylesheet and edit the path to the graphic. Then make a few small changes to two templates.<br /><br />I must be sleeping as I looked at your site and am missing something.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
Page 1 of 4 1 2 3 4 >


Who's Online
1 registered (Gizmo), 30 Guests and 10 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Forum 'Trader Ratings'.
by blaaskaak
11/20/08 08:27 AM
Problems reading a lot of old posts here
by Ruben Rocha
11/18/08 04:33 PM
PhotoPost BB Code Popup
by Iann128
11/15/08 01:24 PM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
Looking for a simple upload script
by AllenAyres
11/11/08 02:12 PM
New Mods
Forum 'Trader Ratings'.
by McLemore
11/19/08 02:14 PM
[7.4] Keep log of custom title changes
by blaaskaak
10/27/08 07:51 AM
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
Newest Members
Begbie, cenk, MATTO, DougMMcts, tim Anderson
13361 Registered Users
Top Posters
AllenAyres 25448
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks