View Full Version : Integrated with photopost, but links are wrong
3pixelchicks
05-13-2008, 12:23 PM
Hello! I'm having some problems with the photopost integration. I'd post for help over there, but the header and footer files are actually coming from vbulletin, so I just need to know how to change those. Everything works as it should in the forum, but the header links (log in, user CP, etc) and footer links (contact us, admin, etc) are pointing to the wrong folder in the gallery. I think I need to add the full URL instead of a relative one, but I can't figure out where to add that information (and I'm totally new at this - please forgive my ignorance here!).
If I need to change the path from ..../forum/usercp.php to ..../henhouse/usercp.php - how and where do I do that? Like I said, everything is working fine in the vbulletin forum, but the folks over at photopost said that I probably need to add the full URL in the vbulletin footer and header files in order for the links to work correctly.
Forum: www.3pixelchicks.com/henhouse
Gallery: www.3pixelchicks.com/coop
login / password: test / test
Thanks for any help or advice! :)
veenuisthebest
05-13-2008, 01:23 PM
Go to vBgallery->Modify Settings->Mention allll the filenames that you would like to be replaced with the Forum's URL in the Header and Footer replacements.
You should have these files listed in your Header Replacement:-
group.php
album.php
tags.php
portal.php
index.php
misc.php
memberlist.php
usercp.php
register.php
faq.php
calendar.php
search.php
login.php
forumdisplay.php
profile.php
private.php
subscription.php
member.php
online.php
And these in Footer Replacements:-
archive
sendmessage.php
forumdisplay.php
showgroups.php
search.php
memberlist.php
index.php
portal.php
calendar.php
usercp.php
faq.php
login.php
register.php
This would solve your problem !!
--------------- Added 1210689274 at 1210689274 ---------------
okayyyyy.... so I just logged in with test in your forums..
I think.. you have provided the wrong value in $forumpath variable in gallery_config.php in coop folder
It should be this:-
$forumpath = 'path/to/your/httpdocs/henhouse';
instead of henhouse, you had provided forum. is this what you have done ??
3pixelchicks
05-13-2008, 02:05 PM
okayyyyy.... so I just logged in with test in your forums..
I think.. you have provided the wrong value in $forumpath variable in gallery_config.php in coop folder
It should be this:-
$forumpath = 'path/to/your/httpdocs/henhouse';
instead of henhouse, you had provided forum. is this what you have done ??
I don't think so?? Here's what I have in my config-int.php:
// We need to know the server paths to both your vB installation and your PhotoPost installation
$vbpath = "/home/www3pix/public_html/henhouse";
$pppath = "/home/www3pix/public_html/coop";
// We need the URL path to your PhotoPost and vb installation
$url_path = "http://www.3pixelchicks.com/coop";
$vb_urlpath = "http://www.3pixelchicks.com/henhouse";
Does that look right? For whatever reason, it doesn't seem to work. It's trying to go to forum/whatever.php.
veenuisthebest
05-13-2008, 02:34 PM
okk.. so you have different gallery than mine !! i don't have a gallery-int.php
fine.. it looks perfect.. then there's definitely something to do with the settings within.
WHEN YOU DON'T have directory called forum, its still pointing to that.. doesn't this mean that somewhere within the gallery settings. the forum path is set to /forum instead of /henhouse
--------------- Added 1210692999 at 1210692999 ---------------
do you have any settings like header/footer replacements..
3pixelchicks
05-13-2008, 02:43 PM
Yep - that's what I think. The problem is, I can't figure out where to change it! I don't see anything that's pointing to ...forum/whatever.php - it's all directed to ...henhouse/whatever.php. So I'm not sure where to change the path. :confused:
And it should be pulling those links over from vbulletin (it's integrated) - so I'm not sure that it's anything in the gallery files that I need to change...
veenuisthebest
05-13-2008, 03:11 PM
you should try posting this issue at photopost support forums coz its not a vB issue!!
i do not have the same gallery software otherwise i could have helped you !! it cannot be that complex, some minor mistake at your side..
are you sure, you do not have any header/footer replacement settings coz to be true.. I faced the same problem the day I installed my gallery, but that was 100% an issue of Header/footer replacements !!
3pixelchicks
05-14-2008, 11:11 PM
Bumping this up - any other ideas??? Photopost says it's a vbulletin problem, vbulletin says its a photopost issue. I've reinstalled both, and I still can't figure out why the photopost footer and header links, which should be integrated and coming from vbulletin, are pointing to the wrong directory. Please help!! :confused:
ssslippy
05-14-2008, 11:46 PM
Just check the config settings, its in there. Its not an issue with vbulletin.
3pixelchicks
05-15-2008, 01:17 PM
Config settings are correct - they are pointing to the henhouse, not the forum. I posted them 5 posts up...
Where can I asses the vbulletin vbburl variable?
Here is the header replacement code from photopost (that is loading the header info from vbulletin)
$headvars = array( "\"clientscript", "url(images/", "\"search", "\"profile", "\"#usercp", "\"private", "\"member",
"\"subscription", "\"online", "\"misc", "\"forumdisplay", "action=\"login", "\"faq", "\"register",
"\"{$vboptions[forumhome]}.php", "\"#usercptools", "\"usercp.php", "\"login.php", "'misc.php",
"\"calendar.php", "\"images/misc", "\"admincp.php" );
$headrepl = array( "\"{$vboptions['bburl']}/clientscript", "url({$vboptions['bburl']}/images/", "\"{$vboptions['bburl']}/search",
"\"{$vboptions['bburl']}/profile", "\"{$vboptions['bburl']}/#usercp", "\"{$vboptions['bburl']}/private",
"\"{$vboptions['bburl']}/member", "\"{$vboptions['bburl']}/subscription", "\"{$vboptions['bburl']}/online",
"\"{$vboptions['bburl']}/misc", "\"{$vboptions['bburl']}/forumdisplay", "action=\"{$vboptions['bburl']}/login",
"\"{$vboptions['bburl']}/faq", "\"{$vboptions['bburl']}/register",
"\"{$vboptions['bburl']}/{$vboptions[forumhome]}.php", "\"{$vboptions['bburl']}/#usercptools",
"\"{$vboptions['bburl']}/usercp.php", "\"{$vboptions['bburl']}/login.php", "'{$vboptions['bburl']}/misc.php",
"\"{$vboptions['bburl']}/calendar.php", "\"{$vboptions['bburl']}/images/misc", "\"{$vboptions['bburl']}/admincp.php" );
$vbheader = str_replace( $headvars, $headrepl, $vbheader );
As you can see, everything is pointing to vbulletin. I need to figure out where the {$vboptions['bburl']} is, and how to change it. Thank you!!
Leigh
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.