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 September 7th, 2005, 11:17 AM   #1 (permalink)
tox
Junior Member
Verified Customer
 
Join Date: Sep 2005
Posts: 27
template errors

I have no problems with vBulletin, or the CPMS portal which is hacked in. However some (not all!) of the icons on the main vB navbar in photopost are giving javascript rollover errors.

http://www.romsexguide.com/forum/ ..this is fine
http://www.romsexguide.com/photopost/ ..the FAQ button gives errors.

For some reason PhotoPost isn't correctly using the templates... any ideas?

thanks
tox
tox is offline   Reply With Quote
Old September 7th, 2005, 11:36 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Look at your rollover.js file and see if you have any relative links to anything. Basically something is being sent as a relative url and it can not be found over Photopost

You could try copying that aria directory under the photopost directory as a temp measure until you debug your custom stuff.

We work with vbulletin fine we dont claim to work with custom made stylesheets with custom java files.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 7th, 2005, 03:04 PM   #3 (permalink)
tox
Junior Member
Verified Customer
 
Join Date: Sep 2005
Posts: 27
the problem is that the contents of template HEADINCLUDE are getting changed when PhotoPost runs.

the original template looks like this:

<meta http-equiv="Content-Type" content="text/html; charset=$stylevar[charset]" />
<meta name="generator" content="vBulletin $versionnumber" />
<meta name="keywords" content="$vboptions[keywords]" />
<meta name="description" content="$vboptions[description]" />

<!-- CSS Stylesheet -->
$style[css]
<if condition="is_browser('opera')">
<style type="text/css">
ul, ol { padding-left:20px; }
</style>
</if>
<!-- / CSS Stylesheet -->

<script type="text/javascript">
<!--
var SESSIONURL = "$session[sessionurl_js]";
var IMGDIR_MISC = "$stylevar[imgdir_misc]";
// -->
</script>

<script type="text/javascript" src="clientscript/vbulletin_global.js"></script>
<if condition="$show['popups']"><script type="text/javascript" src="clientscript/vbulletin_menu.js"></script></if>


<SCRIPT LANGUAGE=JavaScript SRC="$stylevar[imgdir_misc]/rollovers.js" TYPE="text/javascript"></SCRIPT>

<SCRIPT LANGUAGE="javascript">
<!--
JSFX.Rollover("register", "$stylevar[imgdir_misc]/register_over.gif");
JSFX.Rollover("usercp", "$stylevar[imgdir_misc]/usercp_over.gif");
JSFX.Rollover("faq", "$stylevar[imgdir_misc]/faq_over.gif");
JSFX.Rollover("members", "$stylevar[imgdir_misc]/members_over.gif");
JSFX.Rollover("calendar", "$stylevar[imgdir_misc]/calendar_over.gif");
JSFX.Rollover("daily", "$stylevar[imgdir_misc]/daily_over.gif");
JSFX.Rollover("new", "$stylevar[imgdir_misc]/new_posts_over.gif");
JSFX.Rollover("search", "$stylevar[imgdir_misc]/search_over.gif");
JSFX.Rollover("links", "$stylevar[imgdir_misc]/links_over.gif");
JSFX.Rollover("logout", "$stylevar[imgdir_misc]/logout_over.gif");
//-->
</SCRIPT>

but when PhotoPost loads some of the javascript lines are getting changed. For example, this line:

JSFX.Rollover("register", "$stylevar[imgdir_misc]/register_over.gif");

becomes

JSFX.Rollover("http://www.romsexguide.com/forum/register", "http://www.romsexguide.com/forum/aria/misc/register_over.gif");

hence PhotoPost is putting the vBulletin URL prefix onto the word "register" because it thinks its a link

Last edited by tox; September 7th, 2005 at 03:11 PM.
tox is offline   Reply With Quote
Old September 7th, 2005, 04:59 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Yes and that it should in a normal vbulletin integration because we autorewrite the vbulletin relative urls

You could get rid of the autorewrite code in our header-inc.php file but you need to make every link in your header footer headinclude files of vbulletin full url's then
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 23rd, 2005, 10:28 PM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2005
Posts: 15
What I ended up having to do to solve it is to rename the problem ones.

So, "register" became "reg_aria", "faq" becam "questions", "members" became "memb_aria", and "search" became "looking".

I made the changes in the "header" template here:

Code:
Content visible to verified customers only.
The above is for the "register". Continue changing in the template for "faq", "members", and "search".

I also had to make the changes in the "headinclude" template here:

Code:
Content visible to verified customers only.
And again, continue changing for "faq", "members", and "search".
TwinsForMe is offline   Reply With Quote
Old November 24th, 2005, 06:26 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Yep faq members and search are used in the photopost rewrite url code to ensure when you click those links they are full url's going to the forum

The other side of the coin would be to alter our header-inc.php and remove those 3 from the header rewrite code
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S 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
Header/template/image errors rsailors Photopost Pro Installation & Upgrades 5 October 19th, 2005 04:28 PM
what template is this in..?? ncg ReviewPost Installation & Upgrades 1 August 7th, 2005 08:55 PM
Template Question Lionel ReviewPost Installation & Upgrades 2 July 26th, 2005 11:48 AM
Template makhmal Before You Buy 1 May 16th, 2005 06:17 AM
Template Errors - Problems with PP Classifieds Interference SVTBlackLight01 ReviewPost Bug Reports 1 July 13th, 2004 08:56 AM


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

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