 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
October 8th, 2004, 03:23 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Aug 2002 Location: NY
Posts: 426
| Upgraded to IPB2.1, problems
Ok, I'm losing it. We did a forum upgrade to IPB2. I am having a problem trying to get the default style from the forums to show on the gallery.
I have run the Rebuild Skin Set Cache tool. I have css_2.css in the style_images directory. That's about as far as I got. Not looking good so far.
I'm a bit confused as to what to put in the header/footer.htm files. This is using the default skin that comes with IPB2.
Thanks for any help you can provide.
Last edited by Chuck S; October 11th, 2004 at 04:53 AM.
|
| |
October 8th, 2004, 09:14 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
Smoothie
You want to post a link for us to see?
Keep in mind you may need to update the relative image url paths to full images urls in that css_2.css file
As far as a header footer you link them as always. Make ones up and link them in the Photopost options.
|
| |
October 8th, 2004, 11:51 AM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Aug 2002 Location: NY
Posts: 426
| Quote: |
Originally Posted by omegatron Smoothie
You want to post a link for us to see?
Keep in mind you may need to update the relative image url paths to full images urls in that css_2.css file
As far as a header footer you link them as always. Make ones up and link them in the Photopost options. | Sorry 'bout that. Linkage: http://www.macfora.com/gallery
I already have the header/footer.htm linked, but I am at a loss what code to insert. Sans images, PP seems not to be following the css.
|
| |
October 8th, 2004, 12:00 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
Looks to me like its following the css I get the default style when logged out.
I would need a login to see how it looks when loggedin
The only thing I see if your tableborders are white on a white background
|
| |
October 8th, 2004, 12:11 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Aug 2002 Location: NY
Posts: 426
| Quote: |
Originally Posted by omegatron Looks to me like its following the css I get the default style when logged out.
I would need a login to see how it looks when loggedin
The only thing I see if your tableborders are white on a white background | I never looked at it logged out, but I did and it looks much different than when logged in.
|
| |
October 8th, 2004, 03:42 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
Yep your users stylesheets are set to 0
The program is looking for this http://macfora.com/forums/style_images/css_0.css
Edit your ib2.php file and change line 372
if ( $fstyle == "" ) {
to
if ( $fstyle == "" || $fstyle == 0 ) {
|
| |
October 8th, 2004, 04:38 PM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Aug 2002 Location: NY
Posts: 426
| Quote: |
Originally Posted by omegatron | Ok, did that. Seems to work, things look better but not quite right yet. What else do I need to do? But is there something wrong on my end that caused this? I would have never known to edit ipb2.php
|
| |
October 8th, 2004, 04:48 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
Nah I wouldn't go that far.
When I wrote that module I dealt with the normal program defaults of installing a fresh ib2 install. The default stores a user's style when they register to the default 1
Could be your upgrade from or old ib never did that and your users where set to 0.
I just added a switch if its set to 0 then use forum default. Not a big deal and I will get our code updated
|
| |
October 8th, 2004, 06:42 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Aug 2002 Location: NY
Posts: 426
|
Hi Chuck,
Thanks for the help. Now, if I could ask one more thing. I'm still kinda new to this IPB2 thing and my gallery still seems a bit off. Not sure what else I need to do.
I have set the 'Cache CSS to text files? to yes' Do I need to edit something else? I seem to missing borders amoung other things.
Last edited by Smoothie; October 8th, 2004 at 06:47 PM.
|
| |
October 8th, 2004, 07:01 PM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Aug 2002 Location: NY
Posts: 426
|
Boy, something seems to be way off. If I use any of the featured templates, like thumbstacks, its all out of wack.
|
| |
October 8th, 2004, 07:11 PM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Aug 2002 Location: NY
Posts: 426
|
I think we need to check the css classes for the new version, looks like some stuff has changed. There is no tableborder class, row4, titlemedium, row3, forminput. There may be others, but I compared the classes listed in IPB2.php and the css_2.css in the style_images folder.
|
| |
October 9th, 2004, 08:50 AM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
Well I will recheck ib2 but the last time I checked those styles existed just fine. I wonder if this is some new style or custom one?
You can try this out in the bottom of your ib2.php file and see if things look different
if ( $Globals['forumstyle'] == "yes" ) {
$Style['onbody'] = "onbody";
$Style['tableborders'] = "tablepad";
$Style['tablesurround'] = "";
$Style['tddetails'] = "row1";
$Style['tdbackground'] = "darkrow3";
$Style['tdnothumbs'] = "maintitle";
$Style['menubar'] = "maintitle";
$Style['menubarnb'] = "";
$Style['catcolumn'] = "row1";
$Style['photocol'] = "row2";
$Style['commentscol'] = "row2";
$Style['lastphocol'] = "row2";
$Style['lastcommcol'] = "row1";
$Style['small'] = "desc";
$Style['medium'] = "normalname";
$Style['large'] = "font-size: 14pt;";
$Style['welcome'] = "desc";
$Style['lighttable'] = "row1";
$Style['alternatetable'] = "row2";
$Style['formboxes'] = "input";
$Style['blockquote'] = "postcolor";
}
|
| |
October 9th, 2004, 12:14 PM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Aug 2002 Location: NY
Posts: 426
|
If you have a pre-final version, yes, IPS said that the css classes would change. I am using the default skin/css that comes with an out-of-the-box version of IPB2. I am attaching the css file.
|
| |
October 9th, 2004, 12:23 PM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Aug 2002 Location: NY
Posts: 426
| Quote: |
Originally Posted by omegatron Well I will recheck ib2 but the last time I checked those styles existed just fine. I wonder if this is some new style or custom one?
You can try this out in the bottom of your ib2.php file and see if things look different
if ( $Globals['forumstyle'] == "yes" ) {
$Style['onbody'] = "onbody";
$Style['tableborders'] = "tablepad";
$Style['tablesurround'] = "";
$Style['tddetails'] = "row1";
$Style['tdbackground'] = "darkrow3";
$Style['tdnothumbs'] = "maintitle";
$Style['menubar'] = "maintitle";
$Style['menubarnb'] = "";
$Style['catcolumn'] = "row1";
$Style['photocol'] = "row2";
$Style['commentscol'] = "row2";
$Style['lastphocol'] = "row2";
$Style['lastcommcol'] = "row1";
$Style['small'] = "desc";
$Style['medium'] = "normalname";
$Style['large'] = "font-size: 14pt;";
$Style['welcome'] = "desc";
$Style['lighttable'] = "row1";
$Style['alternatetable'] = "row2";
$Style['formboxes'] = "input";
$Style['blockquote'] = "postcolor";
} | Thanks, but nope. Looks the same as before; http://www.macfora.com/gallery |
| |
October 10th, 2004, 03:38 PM
|
#15 (permalink)
| | Member Verified Customer
Join Date: Aug 2002 Location: NY
Posts: 426
|
Hi,
Will there be an update forthcoming to fix this?
|
| |
October 10th, 2004, 03:47 PM
|
#16 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
Try this but keep in mind your tableborder is WHITE in that style. You are missing the tablesurround.
if ( $Globals['forumstyle'] == "yes" ) {
$Style['onbody'] = "onbody";
$Style['tableborders'] = "tablepad";
$Style['tablesurround'] = "borderwrap";
$Style['tddetails'] = "row1";
$Style['tdbackground'] = "darkrow3";
$Style['tdnothumbs'] = "maintitle";
$Style['menubar'] = "maintitle";
$Style['menubarnb'] = "";
$Style['catcolumn'] = "row1";
$Style['photocol'] = "row2";
$Style['commentscol'] = "row2";
$Style['lastphocol'] = "row2";
$Style['lastcommcol'] = "row1";
$Style['small'] = "desc";
$Style['medium'] = "normalname";
$Style['large'] = "font-size: 14pt;";
$Style['welcome'] = "desc";
$Style['lighttable'] = "row1";
$Style['alternatetable'] = "row2";
$Style['formboxes'] = "input";
$Style['blockquote'] = "postcolor";
}
|
| |
October 10th, 2004, 05:19 PM
|
#17 (permalink)
| | Member Verified Customer
Join Date: Aug 2002 Location: NY
Posts: 426
|
Getting there, I added what you posted. Something is not quite right still, the photo thumbs are wacked, and all the images are left aligned.
|
| |
October 10th, 2004, 05:44 PM
|
#18 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
well I dont see images left aligned but try this. Problem I see now are all those margina around the tables.
if ( $Globals['forumstyle'] == "yes" ) {
$Style['onbody'] = "onbody";
$Style['tableborders'] = "bg1";
$Style['tablesurround'] = "borderwrap";
$Style['tddetails'] = "row1";
$Style['tdbackground'] = "darkrow3";
$Style['tdnothumbs'] = "maintitle";
$Style['menubar'] = "maintitle";
$Style['menubarnb'] = "";
$Style['catcolumn'] = "row1";
$Style['photocol'] = "row2";
$Style['commentscol'] = "row2";
$Style['lastphocol'] = "row2";
$Style['lastcommcol'] = "row1";
$Style['small'] = "desc";
$Style['medium'] = "normalname";
$Style['large'] = "font-size: 14pt;";
$Style['welcome'] = "desc";
$Style['lighttable'] = "row1";
$Style['alternatetable'] = "row2";
$Style['formboxes'] = "input";
$Style['blockquote'] = "postcolor";
}
The problem with there style is all the darn paddings and margins etc which makes it hard to match anything
Last edited by Chuck S; October 10th, 2004 at 05:46 PM.
|
| |
October 10th, 2004, 06:19 PM
|
#19 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
By the way ib2 has been final for a few months. They just recently had to change these classes as we have had users switch to ib2 months ago with no issues.
I have no way to developmentally test things since I dont own InvisionBoard so we will just have to plug away here until we get something that is the best match.
|
| |
October 10th, 2004, 09:48 PM
|
#20 (permalink)
| | Member Verified Customer
Join Date: Aug 2002 Location: NY
Posts: 426
| Quote: |
Originally Posted by omegatron By the way ib2 has been final for a few months. They just recently had to change these classes as we have had users switch to ib2 months ago with no issues.
I have no way to developmentally test things since I dont own InvisionBoard so we will just have to plug away here until we get something that is the best match. | They posted over at IPB that when final 2.0 was released that the css would change. I'm not sure which build you have, but I use version I use, 2.0.1.
I made the changes you requested. It still looks bad. I appreciate your help.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 05:07 PM. | |