PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   Rollovers not working in PP header (http://www.photopost.com/forum/photopost-pro-how-do-i/112991-rollovers-not-working-pp-header.html)

dlangley March 21st, 2005 02:19 PM

Rollovers not working in PP header
 
I'm using VB3 and PP 5.01 with integration. Everything is working great now with much thanks to Omegatron.

The only silly little problem I have left is something that has occurred with the rollover buttons on the VBStyles Aria skin I am using. The rollovers work fine on the forum but for some reason when the header is generated for PP, some work and some do not.

I'm getting a pop up error on the 'members', 'search', and 'faq'

JSFX.Rollover - An Error Has Been Detected

You must define a JSFX.Rollover in your document
JSFX.Rollover("members","your_on_img.gif")
(check the spelling of your JSFX.Rollovers)


JSFX.findImg - An error has been detected
<IMG SRC="your_image.ext"Name="members">
(check the Name=attribute of your images)

The forum is located at www.samsmarine.com/forums/index.php

The gallery is located at www.samsmarine.com/photopost/index.php

Here's what is being generated on the forum page...

</script>

<script type="text/javascript" src="clientscript/vbulletin_global.js"></script>
<script type="text/javascript" src="clientscript/vbulletin_menu.js"></script>


<SCRIPT LANGUAGE=JavaScript SRC="aria/misc/rollovers.js" TYPE="text/javascript"></SCRIPT>

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

Here's what is being generated on the PP page

// -->
</script>

<script type="text/javascript" src="http://www.samsmarine.com/forums/clientscript/vbulletin_global.js"></script>
<script type="text/javascript" src="http://www.samsmarine.com/forums/clientscript/vbulletin_menu.js"></script>


<SCRIPT LANGUAGE=JavaScript SRC="aria/misc/rollovers.js" TYPE="text/javascript"></SCRIPT>

<SCRIPT LANGUAGE="javascript">
<!--
JSFX.Rollover("http://www.samsmarine.com/forums/register", "aria/misc/register_over.gif");
JSFX.Rollover("usercp", "aria/misc/usercp_over.gif");
JSFX.Rollover("http://www.samsmarine.com/forums/faq", "aria/misc/faq_over.gif");
JSFX.Rollover("http://www.samsmarine.com/forums/members", "aria/misc/members_over.gif");
JSFX.Rollover("calendar", "aria/misc/calendar_over.gif");
JSFX.Rollover("daily", "aria/misc/daily_over.gif");
JSFX.Rollover("new", "aria/misc/new_posts_over.gif");
JSFX.Rollover("http://www.samsmarine.com/forums/search", "aria/misc/search_over.gif");
JSFX.Rollover("links", "aria/misc/links_over.gif");
JSFX.Rollover("logout", "aria/misc/logout_over.gif");
//-->

I have the aria/misc directory in both the /forums directory and in the /photopost directory

Here is what is in the headinclude template in VB...

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

Any ideas? Any help very much appreciated.

Chuck S March 21st, 2005 03:08 PM

This is not going to autotranslate or be found over photopost

<SCRIPT LANGUAGE=JavaScript SRC="aria/misc/rollovers.js" TYPE="text/javascript"></SCRIPT>

Your need to make sure to have a full url to it

dlangley March 21st, 2005 03:40 PM

I replaced the style variable with the full URL and the source on the PP index page is now:

<script type="text/javascript">
<!--
var SESSIONURL = "";
var IMGDIR_MISC = "http://www.samsmarine.com/forums/aria/misc";
// -->
</script>

<script type="text/javascript" src="http://www.samsmarine.com/forums/clientscript/vbulletin_global.js"></script>
<script type="text/javascript" src="http://www.samsmarine.com/forums/clientscript/vbulletin_menu.js"></script>


<SCRIPT LANGUAGE=JavaScript SRC="http://www.samsmarine.com/forums/aria/misc/rollovers.js" TYPE="text/javascript"></SCRIPT>

<SCRIPT LANGUAGE="javascript">
<!--
JSFX.Rollover("http://www.samsmarine.com/forums/register", "http://www.samsmarine.com/forums/aria/misc/register_over.gif");
JSFX.Rollover("usercp", "http://www.samsmarine.com/forums/aria/misc/usercp_over.gif");
JSFX.Rollover("http://www.samsmarine.com/forums/faq", "http://www.samsmarine.com/forums/aria/misc/faq_over.gif");
JSFX.Rollover("http://www.samsmarine.com/forums/members", "http://www.samsmarine.com/forums/aria/misc/members_over.gif");
JSFX.Rollover("calendar", "http://www.samsmarine.com/forums/aria/misc/calendar_over.gif");
JSFX.Rollover("daily", "http://www.samsmarine.com/forums/aria/misc/daily_over.gif");
JSFX.Rollover("new", "http://www.samsmarine.com/forums/aria/misc/new_posts_over.gif");
JSFX.Rollover("http://www.samsmarine.com/forums/search", "http://www.samsmarine.com/forums/aria/misc/search_over.gif");
JSFX.Rollover("links", "http://www.samsmarine.com/forums/aria/misc/links_over.gif");
JSFX.Rollover("logout", "http://www.samsmarine.com/forums/aria/misc/logout_over.gif");
//-->

So the 'members', 'search', and 'faq' still do not work on PP index page. Everything still works fine on the forum page.

I'm guessing there is not a way I can go in and change the header on PP since it is being generated from VB.

It surprised me that the rollover is incorrect on 'members', 'search', and 'faq' but came out OK on "USER CP", "CALENDAR", and "NEW POST" & "LOG OUT"

I know this is because I am using this custom skin and really is not a problem with VB3 or PP and I can go back to another skin if I have to.

Thanks again in advance for any guideance.

Chuck S March 21st, 2005 04:15 PM

Thats because your rollover does not want a url. It wants a name

We autotranslate relative url's in VB some of those button urls are being autotranslated.

Your to really get your style working need to alter your VB the old way and replace all relative links in the header navbar etc with full url and then comment out our header replacement in header include

You can ask code modification tips over at http://www.photopostdev.com

youradultworld March 28th, 2005 12:04 PM

I'm running the same skin and am disappointed also that the same links aren't working, and the same links that are working for you are working for me too.

So is there a way to fix this now that we are at this point?

Please see the ppost page I Am referring to: http://www.youradultworld.com/ppost

Thanks,

Chris

Chuck S March 28th, 2005 02:57 PM

Follow the suggestions in this thread.

We don't claim to work with any custom styles and custom javascript. We integrate tightly with VB3

If your going to run some custom style which also has hard coded relative values and hard coded relative javascript calls until you fix them to be full url your going to have issues running relative url's over Photopost

youradultworld March 28th, 2005 11:47 PM

I shouldn't have said that I was disappointed in the above post, I like the product which is why I'm here, and the fast responses are awesome. I meant to say that I'm eager to get past the issue that I'm having. If someone could go to www.youradultworld.com/ppost and let me know where I would make changes. I am comfortable making changes, but I don't see where the changes need to be made. Thanks so much. OH yeah, just trying moving your mouse over some of the menu items.

As far as what I should do, I guess manually change the urls and get rid of the header include stuff?

Thanks in advance,

Chris

Michael P March 29th, 2005 09:05 AM

I just purchased the exact same style from vbstyles; I ended up redoing most of the templates so my PP would match my forums:

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

I had to take out the graphic wrappers for guests on my site because the load was killing my server (with 700+ users online throughout the day). But if you are logged in, then you see the aria style as it was designed (and slightly modified by me).

Go into your StyleVars in your vB Control Panel and change the Image Paths towards the bottom to use actual paths:

/forum/aria/misc/logo3.gif

so, I added /forum/ to each of the paths.

jbj49 October 22nd, 2005 01:17 PM

VBStyles Aria Skin Integration
 
I'm using VBulletin 3.5 gold integrated with the latest PP.
I'm trying to use VBStyles Aria skin, like other members here, the skin works with no problems in the Forum but I get blank menu buttons. "x'd out"
No error message.

I have seen some of the members here who have their own custom skins and would like to apply the same to mine.

I tried editing the paths on my stlye variable. Still not working.
any help would be gladly appreciated.

Chuck S October 22nd, 2005 01:43 PM

Hello all relative image paths must be full url when using custom styles. We do not auto rewrite relative url's that are not part of a base VB package

jbj49 October 23rd, 2005 02:14 AM

Quote:

Originally Posted by Chuck S
Hello all relative image paths must be full url when using custom styles. We do not auto rewrite relative url's that are not part of a base VB package

How do I change this paths? What files do I need to edit? is this accessible through the admin page?

I already followed the full path modification as mentioned above. still not working.

Chuck S October 23rd, 2005 08:12 AM

Hello

Well this is all to do with vbulletin and nothing to edit on our side.

Go into your StyleVars in your vB Control Panel and change the Image Paths towards the bottom to use actual paths:

/forum/aria/misc/logo3.gif

so, I added /forum/ to each of the paths.

Take your errors and go through them one at a time or cheat and place a copy of the aria directory under photopost

jbj49 October 23rd, 2005 12:50 PM

For the dummies out there like myself, this is a quick fix it just took me awhile to figure out what they're posting about.
hope this helps...

edit your "skin.xml" file
I'm using the aria+ skin so I edited the "aria+.xml" file
Yes, this is the file in the aria \XMLS folder provided by VBStyles

The code you need to edit will be in the botom part.
Like they said here in the thread all you need to do is add your paths.

So to do this replace the $stylevar[imgdir_misc]
with your own paths which would be something like /yourforum/images/aria/misc/

once you're done your edit should look like this .....

Code:

Content visible to verified customers only.

Once you're done, reinstall your skin.
Go to your style variables from your VB admin and edit the paths again..
same thing add "/yourforum/" to the given image paths.

After this you will have a cool looking Forum :)

grassiekuik March 10th, 2006 10:35 AM

didn't work for me

Chuck S March 10th, 2006 10:57 AM

Try using full url

grassiekuik March 10th, 2006 11:46 AM

allready did

Chuck S March 10th, 2006 01:23 PM

Well this issue is one of custom stylesheets and relative paths and not that of photopost. You can not use relative paths in a program that does not exist where the images lie. Thus it needs to be full urls.

http://www.photopost.com/forum/showp...0&postcount=12


All times are GMT -5. The time now is 12:35 PM.

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