![]() |
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. |
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 |
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. |
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 |
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 |
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 |
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 |
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. |
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. |
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 |
Quote:
I already followed the full path modification as mentioned above. still not working. |
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 |
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 :) |
didn't work for me |
Try using full url |
allready did |
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