coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 pnCPG (Coppermine for postNuke/Zikula) => Topic started by: Kenshino on April 19, 2007, 01:55:08 PM

Title: Double Scrolling Bar, something to do with how it is linked!
Post by: Kenshino on April 19, 2007, 01:55:08 PM
This is a very interesting thing I've found out.

http://www.unrealcreation.com/index.php?module=pnCPG

The link above creates double vertical bars.

However!

This link - http://unrealcreation.com/index.php?module=pnCPG

It does not create double vertical bars.

The only difference is the www in the address!

Anyone know why?
Title: Re: Double Scrolling Bar, something to do with how it is linked!
Post by: Joachim Müller on April 20, 2007, 08:40:44 AM
Be consistent in your use of the www subdomain. I suggest redirecting all your users who access your page with the www in the URL to be sent to unrealcreation.com using .htaccess

Please review similar threads:

Not sure though what actually causes the extra scroll bar - I'm not familiar with PN.
Title: Re: Double Scrolling Bar, something to do with how it is linked!
Post by: Kenshino on April 20, 2007, 03:48:13 PM
Yup! I did that but I realised that it could be valuable information in solving the problem of double scroll bars once and for all. So I removed the .htaccess for the time being till Casnuy looks at it
Title: Re: Double Scrolling Bar, something to do with how it is linked!
Post by: .carolinecblaker. on April 26, 2007, 08:11:25 PM
I'm not completely understanding how this is all to do with cookies and login, especially since pnCPG does this whether a user is logged into the gallery or not. Also, in my particular instance of pnCPG, it displays correctly with "www," not without. Why would it display "short" at all? Isn't there a line of code that could be adjusted? A touch of javascript, perhaps? .htaccess does not sound like a bad fix, but since there  are multiple paths to my gallery, finding all of the ways for the url to be displayed sounds like a guessing game.
Title: Re: Double Scrolling Bar, something to do with how it is linked!
Post by: Kenshino on May 02, 2007, 04:00:45 AM
It is indeed interesting that yours has the exact opposite behaviour from mine.

My .htaccess does not involve guessing, instead it rewrites all http://www attempts to just http://

It goes like this

RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.eaglescoutgroup\.org$ [NC]
RewriteRule .* http://eaglescoutgroup.org/ [L,R=301]

Title: Re: Double Scrolling Bar, something to do with how it is linked!
Post by: .carolinecblaker. on May 06, 2007, 06:57:32 PM
I think it has to do with how the server is setup- my "root" folder is not actually that, and the www extension actually places the browser in the right place.

Is that all that your .htaccess file contains? headers? other cool info? thx
Title: Re: Double Scrolling Bar, something to do with how it is linked!
Post by: Kenshino on May 08, 2007, 07:02:28 PM
Yes, that is all that my .htaccess file contains
Title: Re: Double Scrolling Bar, something to do with how it is linked!
Post by: casNuy on May 12, 2007, 05:44:57 PM
Since I am working mainly with Windows, .htaccess will not be a general solution.
Are using a relative or fixed path in the settings of pnCPG ?
I already applied some java code to avoid those bloody bars.
Always open for ideas.
Cas
Title: Re: Double Scrolling Bar, something to do with how it is linked!
Post by: Kenshino on May 14, 2007, 04:31:15 AM
Am using the fixed path for The location of coppermine installation

http://unrealcreation.com/cpg1410
Title: Re: Double Scrolling Bar, something to do with how it is linked!
Post by: casNuy on May 15, 2007, 06:35:32 PM
Do you still have the problem with the latest version ?
Does it happen with IE and FireFox ?
Cas
Title: Re: Double Scrolling Bar, something to do with how it is linked!
Post by: Kenshino on May 16, 2007, 05:53:14 AM
Hi!

The new version does not fix the www and non-www problem.

However, I've discovered that if I set the cpg installation and postnuke installation roots to http://www.unrealcreation.com
instead of http://unrealcreation.com, then viewing the site gallery with www. loads it without double scrollbars.

But, should I try now with http://unrealcreation.com to view it, the gallery does not load properly and loads with extra scrollbars.

Has it something to do with - If the root settings are not exactly the same as entered in the address bar, it stops a few lines from loading therefore not removing the extra scrollbars?

Also, the new version does not log me into the gallery automatically. Is there something I must remove? I've initialised and activated the pnSSI module before updating the pnCPG module.
Title: Re: Double Scrolling Bar, something to do with how it is linked!
Post by: casNuy on May 16, 2007, 05:05:28 PM
First to the logging in.
You also copied my version of pnUser.php (comes with pnSSI) ?
You adjhusted the settings of pnCPG accordingly ?
Which version of Coppermine are you using (It says modified by L) ?

As for the scrollbars, will look into that later.
Cas
Title: Re: Double Scrolling Bar, something to do with how it is linked!
Post by: Kenshino on May 16, 2007, 06:13:14 PM
Will create new topic for login problems so this thread will stay on the weird double scroll bar problem