![]() |
Navbar links being forced to invalid /photopost/ url 1 Attachment(s) The navbar links work fine on my vB forum, but when you are on the photopost Main Index, some of the navbar links have /photopost/ added as part of the url name. Where is PhotoPost adding this so I can edit it. For example, my arcade is located in http://www.domainname.com/forums It is not located in http://www.domainname.com/forums/photopost How can I stop these links from going to the photopost directory? Attachment 2864 |
Photopost is not adding this. Your using relative links to addon's or mods that you have added. You would need to edit your navbar and correct the relative urls to full urls in that template. |
Thanks Chuck, I was able to enter the full path for the arcade mod in the navbar template and it fixed that one link. It was an easy fix because it launches a php file and I just entered the full path as http://www.domainname.com/arcade.php and the link in the navbar works fine now. However, the RadioandTV feature I have installed launches a javascript program in a new window. It doesn't launch it via a php file like the arcade mod does. When I try to enter the full path, it does not work. Here is what it looks like now. <td class="vbmenu_control"><a href="javascript:openRadioAndTV()">$vbphrase[rs_radiostations]</a></td> If I change it to http://www.domainname.com/javascript:openRadioAndTV() it then says PAGE NOT FOUND like I entered the wrong address. How do you enter the full path to javascript:openRadioAndTV() Note: I understand this is not a PhotoPost question. You don't have to respond, but if you do, I would be grateful. |
Okay, I have the full url to the radioandtv.php file and when I enter in the full url of http://www.domainname.com/radioandtv.php the program launches with no problem. Okay, what I am trying to do is get the program to launch in a new window. What would you enter in the full url to get the RadioandTV program to launch in a new window? |
I am not familiar with that hack or mod sorry. All I can tell you is anywhere in code or templates of your hacks that you have relative links in your navbar if you show that navbar over photopost they will look for files in photopost. Relative urls always need to be full urls. I assume somewhere in the specific javascript functions are calls to specific urls or files make them full url. |
Thanks Chuck, I found where it called the function and entered the full path there. |
Enjoy glad to be of assistance let us know if you need anything else. |
| All times are GMT -5. The time now is 12:04 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0