php forum
php mysql forum
php mysql smarty
 
Page 1 of 5 1 2 3 4 5 >
Topic Options
#248513 - 05/31/03 10:35 AM Finished-[6.2-6.3] Photopost Integration Version 3
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Mod Name / Version: Photopost Integration Version 3 <br /> <br />Description: This modification allows UBBThreads and Photopost to be a seamless integrated product. It pulls the Threads headers and stylesheet around Photopost allowing your site to flow flawlessly. <br /> <br />Working Under: UBB.Threads 6.2-6.3 <br /> <br />Mod Status: Finished <br /> <br />Any pre-requisites: Must own UBBThreads and Photopost. <br /> <br />Author(s): Omegatron <br /> <br />Date: 05/31/03 <br /> <br />Credits: Gardener for help with a Global file option so I could get the new admin frameset to display. <br /> <br />Files Altered: adm-inc.php, comments.php, editphoto.php, reportphoto.php, showphoto.php, showgallery.php, pp-inc.php, index.php, uploadphoto.php <br /> <br /> <br />New Files: None <br /> <br />Database Altered: No <br /> <br />Info/Instructions: Backup your files before modifing!!!!! <br /> <br />I feel pretty confident of this mod being finished. It has been around for a couple of versions of each product with no known bugs other than application error of the modification. <br /> <br /> One known issue was related to a server issue not allowing the tbopen and tbclose variables to be read. <br /> <br />Many people have expressed hardship in reading Beyond Compare reports as I have always done to save time with the intense changes that need to be done. I have taken the extra time and done away with those and made a normal txt file for all to follow. <br /> <br /> <br /> <br />Disclaimer: Please backup every file that you intend to modify. <br />If the modification modifies the database, it's a good idea to backup your database before doing so. <br /> <br />Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files. <br /> <br />


Attachments
82531-photopost-integration.txt (171 downloads)

_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#248514 - 05/31/03 11:56 AM Re: Finished-[6.2-6.3] Photopost Integration Version 3 [Re: sf49rminer]
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
Thanks Chuck - is this just for PP4?
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#248515 - 05/31/03 12:18 PM Re: Finished-[6.2-6.3] Photopost Integration Version 3 [Re: Gorlum]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
It should be backward compatible for version 3.3 but just incase there is still the version 2 mod which were made for it. The code of this hack has not changed through the versions. The reason it should be compatable backward compatable with 3.3 is easy. 3.3 uses the class calls already just like 4.0. 3.2 is totally different as it still used the Global color calls from the photopost admin section so you would be looking for entirely different text. <img src="/forum/images/graemlins/wink.gif" alt="" /> <br /> <br />The main reason I posted this was this: <br /> <br /> 1)Photopost released there new version today. <br /> <br /> 2)Many people had difficulty reading the Beyond Compare difference reports which was mainly laziness on my part having to cut and paste exact code from 8-9 different files as this is a rather lengthy integration. <br /> <br />There is one main difference with this version over the others. Version 4 of Photopost has a new frameset in the admin section. There is a new global statement to exclude two admin files from the hack to disallow the header so the admin frameset will load and also a minor alteration to one admin file for specifying stylesheet to use for the excluded files as a purely cosmetic issue. <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#248516 - 05/31/03 10:15 PM Re: Finished-[6.2-6.3] Photopost Integration Version 3 [Re: sf49rminer]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
thanks Chuck <img src="/forum/images/graemlins/laugh.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#248517 - 05/31/03 10:32 PM Re: Finished-[6.2-6.3] Photopost Integration Version 3 [Re: SurfMinister]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Oh Yeah I had real fun with the FRAMESET <img src="/forum/images/graemlins/frown.gif" alt="" /> Thanx to Gardener for putting me on track with GLOBAL EXCLUDES.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#248518 - 05/31/03 11:48 PM Re: Finished-[6.2-6.3] Photopost Integration Version 3 [Re: sf49rminer]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Thanks Chuck! <img src="/forum/images/graemlins/waytogo.gif" alt="" /><br /><br />FYI - the issue with the tbopen and tbclosed not working I believe it solved by turning off Zlib compression in either threads or photopost. You can Zlib compress stuff twice.... I think that's where the problems were. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#248519 - 06/01/03 05:35 AM Re: Finished-[6.2-6.3] Photopost Integration Version 3 [Re: Daine]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Cool Glad to hear it was solved. I guess you mean you CAN'T use zlib compression twice. <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#248520 - 06/01/03 11:37 AM Re: Finished-[6.2-6.3] Photopost Integration Version 3 [Re: sf49rminer]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Oops - yes, you can't compress the stuff twice.<br /><br />If PP is using compression and trying to send compressed threads headers - you don't get any output. <img src="/forum/images/graemlins/smile.gif" alt="" /> You, me and Allen strugged over that one for quite a while once. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#248521 - 06/01/03 12:31 PM Re: Finished-[6.2-6.3] Photopost Integration Version 3 [Re: Daine]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Yep I am glad you figured that one out. <br /> <br />My latest fun was getting the new admin frameset to display as this hack interrupted that until the framset was excluded.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#248522 - 06/16/03 09:41 PM Re: Finished-[6.2-6.3] Photopost Integration Version 3 [Re: sf49rminer]
msula Offline
Addict

Registered: 02/18/02
Posts: 1969
Loc: Lansing, Michigan
Awesome hack Chuck, one of the biggest things I've needed to do to my site to get the look I wanted <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />Everything seems to be working great, except one tiny little detail. See the attached photo... notice the threads menu bar at the top and how it doesn't have a border around the text. <br /><br />For some reason, all of the PP items, noted with the red arrow, have a box or button look to them. Just trying to figure out how to get rid of those <img src="/forum/images/graemlins/confused.gif" alt="" />


Attachments
85274-almostthere.jpg (11 downloads)


Top
#248523 - 06/17/03 05:09 AM Re: Finished-[6.2-6.3] Photopost Integration Version 3 [Re: palmen]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Jeremy quite literaly that is the HTML coding and not this hack for the short answer. I beleive that is your tablesurround on the Threads TBOPEN AND TBCLOSE variables. Match that color and see. Try modifying your variables in tbopen.tmpl<br /><br />The class for the menu and menu2 variables is set in pp-inc.php and thus has no tbopen and tbclose tags around it and will not do this. Hense you notice that border is around any table that calls the wrappers.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#248524 - 06/17/03 08:52 AM Re: Finished-[6.2-6.3] Photopost Integration Version 3 [Re: sf49rminer]
msula Offline
Addict

Registered: 02/18/02
Posts: 1969
Loc: Lansing, Michigan
I figured it out.. but it isn't because of tbopen and close, it is a conflict with the menubar class. For example, here is my .menubar settings:<br /><br />
Code:
.menubar{ <br />background-color: #336699; <br />border-color: #C0CAE2 #24278E #24278E #C0CAE2; <br />border-style: solid; <br />border-width: 1px; <br />color: #ffffff; <br />font-size: 11px; <br />font-weight: normal; <br />}
<br /><br />Now.. notice the border-color, this makes the left and top borders the light color, and the bottom and right dark, to produce the 3D effect you can see in that image I attached above, look at the threads menubar and you see how it works.<br /><br />The problem is, it seems as if the class=menubar is being called twice in the photopost menu, the first one makes the whole box look like it should, as you can see. But then it looks like this class is also being called for the table that holds the nav links.<br /><br />So if people aren't using this CSS effect, it looks fine, so that's why it probably hasn't been noticed before <img src="/forum/images/graemlins/smile.gif" alt="" /> I don't know if this is something you want to address, as it probably affects only myself right now, but if not, could you point me to the right file(s) to try and change this? Would be appreciated <img src="/forum/images/graemlins/smile.gif" alt="" /> Thanks!

Top
#248525 - 06/17/03 09:00 AM Re: Finished-[6.2-6.3] Photopost Integration Version 3 [Re: palmen]
msula Offline
Addict

Registered: 02/18/02
Posts: 1969
Loc: Lansing, Michigan
Actually, I guess I'm not as stupid as I thought, I'm picking up on this hacking stuff a bit better <img src="/forum/images/graemlins/laugh.gif" alt="" /> I fixed it by changing this in pp-inc.php <br /> <br />
Code:
Find: <br /> <br /> <br />    $menu = "&lt;font class=\"menubar\"&gt;"; <br />    $menu2 = "&lt;font class=\"menubar\"&gt;"; <br /> <br /> <br />Replace with: <br /> <br /> <br />    $menu = "&lt;font class=\"\"&gt;"; <br />    $menu2 = "&lt;font class=\"\"&gt;"; <br />
<br /> <br />Or if you want, just make a new class for the photopost menu, but I found just simply taking the class out of it causes it to display properly <img src="/forum/images/graemlins/smile.gif" alt="" /> <br /> <br />EDIT: <br /> <br />Also noticed one more spot this can be changed if you're having problems, in index.php: <br /> <br />[]</td><td align=\"right\" class=\"menubar\"><b>{$Globals['pp_lang']['keywords']}&nbsp;&nbsp;</b></td><td><input type=\"radio\" name=\"stype\" value=\"2\"> <br /> </td><td align=\"right\" class=\"menubar\"><b>{$Globals['pp_lang']['username']}&nbsp;&nbsp;</b></td><td align=\"right\"> <br /> <input type=\"text\" name=\"si\" style=\"font-size: 8pt;\" size=\"15\" value=\"\" /> <br /> <input type=\"submit\" value=\"Search\" style=\"font-size: 9pt;\" /> <br /> </td></tr><tr><td colspan=\"6\" align=\"right\" class=\"menubar\">[/] <br /> <br />Just remove the menubar, or replace with a special ppmenubar class you make, and everything should work fine <img src="/forum/images/graemlins/smile.gif" alt="" /> <br />


Edited by Jeremy (06/17/03 09:10 AM)

Top
#248526 - 06/17/03 09:54 AM Re: Finished-[6.2-6.3] Photopost Integration Version 3 [Re: palmen]
msula Offline
Addict

Registered: 02/18/02
Posts: 1969
Loc: Lansing, Michigan
Hmm.. this is going to take longer than I had thought. The index page looks great, but there are quite a few other areas that I need to work on.<br /><br />Most importantly, which I find very odd, is showmembers.php. Every other PP page the photopost menu looks correct. But for some reason showmembers.php isn't. So because the menubar class was removed from pp-inc.php, the links on that page are completely invisible as the table isn't assigned any class <img src="/forum/images/graemlins/confused.gif" alt="" /> Why only that script? I dunno.

Top
#248527 - 06/17/03 01:34 PM Re: Finished-[6.2-6.3] Photopost Integration Version 3 [Re: palmen]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Actually Jeremy the easiest thing to do is assign tdheader instead of MENUBAR. I did not change any CSS classes Michael assigned in Photopost. This hack does what it is suppose to do. CSS can be a tricky thing and change from site to site. I really have no control over what people put in their I can assist with resolving specific problems though. <img src="/forum/images/graemlins/wink.gif" alt="" /><br /><br />Showmembers.php I will need to look at Michael finally worked on that I guess. It used to be a purely Threads script.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#248528 - 06/17/03 02:33 PM Re: Finished-[6.2-6.3] Photopost Integration Version 3 [Re: sf49rminer]
msula Offline
Addict

Registered: 02/18/02
Posts: 1969
Loc: Lansing, Michigan
Its cool, I got it all taken care of (although took about 4 hours with my limited skills <img src="/forum/images/graemlins/laugh.gif" alt="" /> ) But what I ended up doing was just creating a new class for those problematic menu items, then going through and replacing the parts that needed to be replaced.<br /><br />I thought about just using the tdheader, but I kinda liked the blue of the menubar instead <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />As far as showmembers, I just took part of the menu code that was used for showgallery, and replaced some junk that was in there and it seemed to work <img src="/forum/images/graemlins/laugh.gif" alt="" /><br /><br />So everything should be all squared away. I just hope photopost doesn't release a new version again until it comes with built in threads CSS matching <img src="/forum/images/graemlins/grin.gif" alt="" />

Top
#248529 - 06/17/03 05:01 PM Re: Finished-[6.2-6.3] Photopost Integration Version 3 [Re: palmen]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
LOL The CSS classes you added to every threads stylesheet match the ones listed in Threads. What is funny is you commented on the border pixels on menubar. Well I have them as well but it is a non-issue as if you set them to your darktable class it match's <img src="/forum/images/graemlins/wink.gif" alt="" /> If you view mine you see what I mean. Showmember.php is easy I will add that to the instructions. Never had to worry about that one before as it was a threads script.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#248530 - 06/17/03 05:10 PM Re: Finished-[6.2-6.3] Photopost Integration Version 3 [Re: sf49rminer]
msula Offline
Addict

Registered: 02/18/02
Posts: 1969
Loc: Lansing, Michigan
Ahh.. lordy lordy, I suppose that could have been avoided if they matched the darktable. But oh well, sometimes you have to learn things the hard way, lol. It was good to poke around and be forced to learn more though <img src="/forum/images/graemlins/laugh.gif" alt="" /><br /><br />I guess that's what I get for giving up coffee..

Top
#248531 - 06/17/03 07:17 PM Re: Finished-[6.2-6.3] Photopost Integration Version 3 [Re: palmen]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
No you can't give up coffee
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#248532 - 06/17/03 09:33 PM Re: Finished-[6.2-6.3] Photopost Integration Version 3 [Re: sf49rminer]
msula Offline
Addict

Registered: 02/18/02
Posts: 1969
Loc: Lansing, Michigan
I know, it seems impopssible, but I was reading that high caffine intake really slows your metabolism down.. so combine that with working from home... you get the idea. <br /><br />So since it is summer and warm out, I gave up my daily pot of coffee in the morning, and am avoiding all soda beverages. Although.. I think right now it is making me loose my mind <img src="/forum/images/graemlins/jester.gif" alt="" />

Top
Page 1 of 5 1 2 3 4 5 >


Moderator:  Ian_W 
Who's Online
0 registered (), 25 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Wisdom needed
by Gizmo
56 minutes 29 seconds ago
How to hide sub forums from summary page
by blaaskaak
Yesterday at 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