Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 05-13-2008, 12:23 PM
3pixelchicks 3pixelchicks is offline
 
Join Date: May 2008
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Integrated with photopost, but links are wrong

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!
Reply With Quote
  #2  
Old 05-13-2008, 01:23 PM
veenuisthebest's Avatar
veenuisthebest veenuisthebest is offline
 
Join Date: Mar 2008
Location: India
Posts: 1,416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:-
Quote:
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:-

Quote:
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 [DATE]1210689274[/DATE] at [TIME]1210689274[/TIME] ---------------

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:-

Code:
$forumpath = 'path/to/your/httpdocs/henhouse';
instead of henhouse, you had provided forum. is this what you have done ??
Reply With Quote
  #3  
Old 05-13-2008, 02:05 PM
3pixelchicks 3pixelchicks is offline
 
Join Date: May 2008
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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:-

Code:
$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:

PHP Code:
// 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.
Reply With Quote
  #4  
Old 05-13-2008, 02:34 PM
veenuisthebest's Avatar
veenuisthebest veenuisthebest is offline
 
Join Date: Mar 2008
Location: India
Posts: 1,416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 [DATE]1210692999[/DATE] at [TIME]1210692999[/TIME] ---------------

do you have any settings like header/footer replacements..
Reply With Quote
  #5  
Old 05-13-2008, 02:43 PM
3pixelchicks 3pixelchicks is offline
 
Join Date: May 2008
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.

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...
Reply With Quote
  #6  
Old 05-13-2008, 03:11 PM
veenuisthebest's Avatar
veenuisthebest veenuisthebest is offline
 
Join Date: Mar 2008
Location: India
Posts: 1,416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 !!
Reply With Quote
  #7  
Old 05-14-2008, 11:11 PM
3pixelchicks 3pixelchicks is offline
 
Join Date: May 2008
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!!
Reply With Quote
  #8  
Old 05-14-2008, 11:46 PM
ssslippy ssslippy is offline
 
Join Date: Jan 2006
Posts: 877
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just check the config settings, its in there. Its not an issue with vbulletin.
Reply With Quote
  #9  
Old 05-15-2008, 01:17 PM
3pixelchicks 3pixelchicks is offline
 
Join Date: May 2008
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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)

PHP Code:
 $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
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:58 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04594 seconds
  • Memory Usage 2,269KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete