PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Installs and Upgrade - vBulletin 4 (http://www.photopost.com/forum/installs-upgrade-vbulletin-4/)
-   -   VbGallery URL Error (http://www.photopost.com/forum/installs-upgrade-vbulletin-4/145055-vbgallery-url-error.html)

simonwhitehead January 15th, 2011 01:28 PM

VbGallery URL Error
 
Hi All.
I have installed a homepage CMS system on my website but when clicking on the "Homepage" Tab on the navbar from the VBGallery tab the URL is

http://www.mydomain.com/gallery/index.php

But should be

http://www.mydomain.com/index.php

All other tabs are OK it's just that one :confused:

Anyone know the cure ?

Solved, it was nothing to do with VBGallery.

Chuck S January 15th, 2011 02:31 PM

Yep no problem let us know if you need anything else.

BrettJC January 18th, 2011 05:54 PM

What was the resolution? I am having this issue at the moment

Chuck S January 18th, 2011 06:03 PM

If you have relative urls in your navbar or header you can place these filenames in your vbgallery settings under header and navbar replacements for the forum url to be prepended on those filenames.

simonwhitehead January 19th, 2011 01:48 AM

Quote:

Originally Posted by BrettJC (Post 1283536)
What was the resolution? I am having this issue at the moment

Hi Brett.
My particular problem was that I forgot to add the w ww. to the URL in my CMS settings.

Simon

BrettJC January 19th, 2011 02:21 AM

I am using THIS_SCRIPT values for my home button which is the problem i am having anyway to ad an exception for this in vbgallery?

Chuck S January 19th, 2011 07:32 AM

If your using some type of coding outside the normal vbulletin values yes you would have to alter it. Your adding your own code to do something so that would be custom yes.

BrettJC January 19th, 2011 03:29 PM

Hi Chuck,

When I say i'm using THIS_SCRIPT constants they are the standard vbulletin ones these are for example memberlist, index etc

for example in the vbulletin forum.php file you can see the following:

// #################### DEFINE IMPORTANT CONSTANTS #######################
define('THIS_SCRIPT', 'index');
define('CSRF_PROTECTION', true);
define('CSRF_SKIP_LIST', '');
define('VB_ENTRY', 'forum.php');

Chuck S January 19th, 2011 03:39 PM

Thats fine what I am saying is your creating some type of personal conditional which is your own coding. If you want to do things like that you would make sure to also code it to work with vbGallery. Our files have THIS_SCRIPT definitions also.

In our program the natural way to ensure forum links are rewrote there are replacement vars in the vbgallery admin area for header navbar and footer. Now stuff outside the forum url you normally want to use full urls to a file so it can be found by everything.


All times are GMT -5. The time now is 03:41 AM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97