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 />
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.
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 />
#233868 - 01/24/0301:06 PMRe: Threads Wrappers for Photopost
[Re: sf49rminer]
Mudpuppy
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!
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.
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
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.
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.
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 />
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="" />
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.