PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old December 23rd, 2004, 08:16 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Posts: 34
CSS problem on Navbar...

I can't figure out why it cause... I turned VB3 integration on and I notice navbar template seem not correct... it like it insert link to CSS code, for example:

<div id="http://www.demo.com/memberAreaBox">
when it should be
<div id="memberAreaBox">

It just weird it added website link... Any idea?
SNOWCRAZE is offline   Reply With Quote
Old December 24th, 2004, 08:46 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
If this is some custom thing you entered in your navbar you may need to make it a full url to let Photopost find it. we only autotranslate the normal entries on the navbar for vb3
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old December 24th, 2004, 10:48 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Posts: 34
Hmm I'm not sure I'm following you... I means any "ID" or "CLASS" for stylesheet that not suppose attached to URL.
Here's actually result code:
Quote:
<!-- BEGIN TEMPLATE: navbar -->

<div id="membox">
<div class="bot"><div class="top">
<div id="http://www.snowcraze.com/memberAreaBox">

<img src="/img_default/memarea.gif" alt="Member Area:" width="101" height="22" />
<ul id="http://www.snowcraze.com/memberLogon">
<li id="myprofile" title="Profile"><a href="/member.php?u=1"></a></li>
<li id="conpanel" title="Control Panel"><a href="/usercp.php?"></a></li>
<li id="myalbums" title="My Albums"><a href="/gallery/showgallery.php?cat=500&amp;ppuser=1"></a></li>
<li id="favpixes" title="Favorite Pictures"><a href="/gallery/showgallery.php?cat=fav"></a></li>
<li id="myblog" title="My Blog"><a href="/blog.php"></a></li>
<li id="mypost" title="My Post"><a href="/search.php?do=finduser&amp;u=1"></a></li>
.....
....
And did u notice div id and ul id end up use URL? (MemberAreaBox and memberLogon) while other ID got it right. I never put any url on id/class. I thought it must be related to $headvars, $headrepl from header-inc.php but can't figure it out.
SNOWCRAZE is offline   Reply With Quote
Old December 24th, 2004, 11:00 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
What I am saying is this!

We autotranslate the NORMAL vb3 navbar links. If you have added links or any custom code to your VB3 navbar you would need to modify such code to full url

You do not have a normal vb navbar so there is nothing our program is going to translate. You need to get rid of all the relative image and link tags in your custom navbar and put the full url to everything and you should be fine.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old December 24th, 2004, 11:36 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Posts: 34
Gee.. All right, look like I have figure it out myself... Thanks anyway.
SNOWCRAZE is offline   Reply With Quote
Old December 24th, 2004, 12:23 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
I have stated twice what you need to do to get your navbar links right. Yes help with code modifications or hacks is not a function of product support although we do try and give suggestions in some cases which I have done.

You are using a custom navbar in VB3 and not the normal one try this below as an example of what you need to do as you have relative links instead of full url's

<!-- BEGIN TEMPLATE: navbar -->

<div id="membox">
<div class="bot"><div class="top">
<div id="memberAreaBox">

<img src="http://www.snowcraze.com//img_default/memarea.gif" alt="Member Area:" width="101" height="22" />
<ul id="memberLogon">
<li id="myprofile" title="Profile"><a href="http://www.snowcraze.com/member.php?u=1"></a></li>
<li id="conpanel" title="Control Panel"><a href="http://www.snowcraze.com/usercp.php?"></a></li>
<li id="myalbums" title="My Albums"><a href="http://www.snowcraze.com/gallery/showgallery.php?cat=500&amp;ppuser=1"></a></li>
<li id="favpixes" title="Favorite Pictures"><a href="http://www.snowcraze.com/gallery/showgallery.php?cat=fav"></a></li>
<li id="myblog" title="My Blog"><a href="http://www.snowcraze.com/blog.php"></a></li>
<li id="mypost" title="My Post"><a href="http://www.snowcraze.com/search.php?do=finduser&amp;u=1"></a></li>
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; December 24th, 2004 at 12:37 PM.
Chuck S is online now   Reply With Quote
Old December 24th, 2004, 12:55 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Posts: 34
Ok... i just put old header-inc.php and seem works right... but I stick to new one and still trying to figure out.

Right now on navbar template:
Quote:
<if condition="THIS_SCRIPT == 'bloguser' ">
<else />
<div id="membox">
<div class="bot"><div class="top">
<div id="memberAreaBox">
<if condition="$show['member']">
<img src="/img_default/memarea.gif" alt="Member Area:" width="101" height="22" />
<ul id="memberLogon">
<li id="myprofile" title="Profile"><a href="/member.php?$session[sessionurl]u=$bbuserinfo[userid]"></a></li>
<li id="conpanel" title="Control Panel"><a href="/usercp.php?$session[sessionurl]"></a></li>
<li id="myalbums" title="My Albums"><a href="/gallery/showgallery.php?cat=500&amp;ppuser=$bbuserinfo[userid]"></a></li>
<li id="favpixes" title="Favorite Pictures"><a href="/gallery/showgallery.php?cat=fav"></a></li>
<li id="myblog" title="My Blog"><a href="/blog.php"></a></li>
<li id="mypost" title="My Post"><a href="/search.php?$session[sessionurl]do=finduser&amp;u=$bbuserinfo[userid]"></a></li>
<li id="privmsg" title="Private Message"><a href="/private.php?$session[sessionurl]"></a></li>
</ul>
.....
....
...
..
.
and result on photopost/gallery is:
Quote:
<!-- BEGIN TEMPLATE: navbar -->

<div id="membox">
<div class="bot"><div class="top">
<div id="http://www.snowcraze.com/memberAreaBox">

<img src="/img_default/memarea.gif" alt="Member Area:" width="101" height="22" />
<ul id="http://www.snowcraze.com/memberLogon">
<li id="myprofile" title="Profile"><a href="/member.php?u=1"></a></li>
<li id="conpanel" title="Control Panel"><a href="/usercp.php?"></a></li>
<li id="myalbums" title="My Albums"><a href="/gallery/showgallery.php?cat=500&amp;ppuser=1"></a></li>
<li id="favpixes" title="Favorite Pictures"><a href="/gallery/showgallery.php?cat=fav"></a></li>
<li id="myblog" title="My Blog"><a href="/blog.php"></a></li>
<li id="mypost" title="My Post"><a href="/search.php?do=finduser&amp;u=1"></a></li>
.....
....
as you see, url should not be there on red text... Let me know if u want to see what i done w/ old header-inc.php? Look like my time is up cuz I gotta go to PA for holiday... I will back tmw night. I just realize I post wrong forum since it seem hink i should post at photopostdev.com? You can check css at: http://www.snowcraze.com/inc/default.css

Well happy holiday!
SNOWCRAZE is offline   Reply With Quote
Old December 24th, 2004, 01:42 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Posts: 34
Ok look like I found what's wrong... it's header-inc.php and it ($headrepl or $headvars) looks for "member" so it found "memberLogon" (CSS) and "memberAreaBox" (CSS) and so it adds url there. I guess it better if I change CSS name, it should solve plm.

Let me know if there's better way to alter on header-inc.php. Before I change CSS name tmw night.

Thank you!
SNOWCRAZE is offline   Reply With Quote
Old December 24th, 2004, 02:03 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
Nope our product is coded to rewrite url's as stated based on the normal VB3 navbar. Go ahead and rename your coding that should work.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old December 24th, 2004, 02:24 PM   #10 (permalink)
Member
Verified Customer
 
Join Date: Jan 2003
Posts: 34
Ok. I just decide to replace from "member" to "member.php" at $headvars and $headrepl from header-inc.php and it's fixed anyway.
SNOWCRAZE is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
navbar problem sabret00the Installs and Upgrade - vBulletin 3.0.X 6 June 26th, 2005 04:13 PM
navbar problem imported_axi Installs and Upgrade - vBulletin 3.0.X 13 March 21st, 2005 01:41 PM
A strange navbar problem thevenue Photopost Pro Installation & Upgrades 25 March 10th, 2005 06:58 AM
Use Proper CSS please... JCS100 Classifieds Suggestions 13 July 24th, 2004 04:22 AM


All times are GMT -5. The time now is 08:59 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0