vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v3.0 Support > Troubleshooting & Problems

Reply
 
Thread Tools Display Modes
  #1  
Old 12-30-2009, 04:01 AM
EuT EuT is offline
Junior Member
 
Join Date: Mar 2005
Location: Vilvoorde, België
Posts: 15
Default Again Java problems?

Hi,

seems like I'm having some navbar/java problems again. I only cant recall when this happens. But I'm thinking it happen most likely when I placed PL1 onto the forums. Because before that, the navbar/java was working well and I didn't had any problems until a few weeks ago.

Example: on ravenforums.com (the forums, it's all working like a charm) but on ravengames.com (the domain where only vBA and vBA-LinksDir are located) and every other folder located with ravengames.com/xxx the navbar exists functioning

The only weird thing is that this is only affecting the navbar. The java I'm using else where is functioning how it should be. This is what makes me pounding my head against the wall.

Last time the problem was due to a mis-configured .htaccess which gave the problem, this got fixed, but this is happening once again and currently I'm clue less on why there only and not on every vBA page/location?

Regards,
EuT.be
__________________
Emma, my daughter - born august 4th '09
the RavenGames.com network
Your hub in Raven Software games.
Fully powered by vB - vBAdvanced - vB Links directory
Reply With Quote
  #2  
Old 12-30-2009, 02:02 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

What exactly is the problem with the javascript? I've tried to browse some pages at ravengames.com, but every link seems to redirect me to ravenforums.com.
__________________
Frequently Asked Questions
CMPS Users Manual

For vBadvanced software assistance, please use the support forums.
Unsolicted PMs, IMs, and email will not be responded to.
If you have a non-software related question or problem with your account, please submit a support ticket.
Reply With Quote
  #3  
Old 12-30-2009, 02:45 PM
EuT EuT is offline
Junior Member
 
Join Date: Mar 2005
Location: Vilvoorde, België
Posts: 15
Default

Well, Ravenforums.com is the domain where vB is registered to and the forums are running on where ravengames.com is the domain where all Game-information is shown thanks to vBA.

The thing is, pre-Patch (this is what I'm pretty sure off or the time when it started) the navbar did it's job as it should be and gave the menu's in search, I could log-in/out (either facebook or normal wise), the search was a pop-up menu & etc...

Now there's no pop-up, not able to login in either both way's and the navbar shows up as it's being shown as AJAX isn't available.

Else we've got to look elsewhere or preform an alternative option which is removing (some funtions or entirely) navbar
__________________
Emma, my daughter - born august 4th '09
the RavenGames.com network
Your hub in Raven Software games.
Fully powered by vB - vBAdvanced - vB Links directory
Reply With Quote
  #4  
Old 01-01-2010, 01:14 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

From what I can see, it looks like the javascript for those menus has been removed.
This is your 'Search' button from ravenforums.com:
Code:
<td class="vbmenu_control"><a id="navbar_search" href="http://www.ravenforums.com/search.php" accesskey="4" rel="nofollow">Search</a> <script type="text/javascript"> vbmenu_register("navbar_search", true); </script></td>
And this is the same button from ravengames.com:
Code:
<td class="vbmenu_control"><a id="navbar_search" href="http://www.ravenforums.com/search.php" accesskey="4" rel="nofollow">Search</a> </td>
__________________
Frequently Asked Questions
CMPS Users Manual

For vBadvanced software assistance, please use the support forums.
Unsolicted PMs, IMs, and email will not be responded to.
If you have a non-software related question or problem with your account, please submit a support ticket.
Reply With Quote
  #5  
Old 01-01-2010, 05:12 PM
EuT EuT is offline
Junior Member
 
Join Date: Mar 2005
Location: Vilvoorde, België
Posts: 15
Default

Just looked at the navbar template and I see why this happens:
Have a look:
Code:
<if condition="$show['popups']">
			<if condition="$show['searchbuttons']">
				<if condition="$show['member']">
				<td class="vbmenu_control"><a href="$vboptions[bburl]/search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
				<else />
				<td class="vbmenu_control"><a href="$vboptions[bburl]/search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
				</if>
				<td class="vbmenu_control"><a id="navbar_search" href="$vboptions[bburl]/search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search", true); </script></if></td>
			</if>
			<if condition="$show['member']">
				<td class="vbmenu_control"><a id="usercptools" href="$show[nojs_link]#usercptools" accesskey="3">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools", true); </script></td>
			</if>
		<else />
			<if condition="$show['searchbuttons']">
				<td class="vbmenu_control"><a href="$vboptions[bburl]/search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
				<if condition="$show['member']">
				<td class="vbmenu_control"><a href="$vboptions[bburl]/search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
				<else />
				<td class="vbmenu_control"><a href="$vboptions[bburl]/search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
				</if>
			</if>
			<td class="vbmenu_control"><a href="$vboptions[bburl]/forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
			<if condition="$show['member']">
				<td class="vbmenu_control"><a href="#" onclick="window.open('$vboptions[bburl]/misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_contacts]</a></td>
			</if>
		</if>
Meaning, that when if the pop-ups are not enabled (though they are :s) the pop's wont show neither. Probably the reason why the Facebook login wont work neither or the JS on the navbar :s.

Though I'm still stumped for the reason why vBA doesn't recognize the cookie data for keeping me logged in on ravengames.com.
__________________
Emma, my daughter - born august 4th '09
the RavenGames.com network
Your hub in Raven Software games.
Fully powered by vB - vBAdvanced - vB Links directory
Reply With Quote
  #6  
Old 01-31-2010, 05:16 AM
EuT EuT is offline
Junior Member
 
Join Date: Mar 2005
Location: Vilvoorde, België
Posts: 15
Default

I solved my problem... seemed like some extra was required to preform

I had to change a few things in the form submission:
Code:
<form action="
        			<if condition="VBA_SCRIPT == CMPS AND rgnclans == true">
                    $vboptions[homeurl]/board/login.php?do=login
                    	<else />
                        	$vboptions[bburl]/login.php?do=login
                     </if>" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
		<script type="text/javascript" src="
        									<if condition="VBA_SCRIPT == CMPS AND rgnclans == true">
                                            	$vboptions[homeurl]/board/clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]
                                            	<else />
                                                	$vboptions[bburl]/clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]
                                            </if>"></script>
don't mind the "rgnclans" referral, it's something I had to add so that Adsense, analytics and the header functions in one same template instead of using xx-amounts of templates

If I now only could make RavenClans.com function on it's own with the same installation then and able to install a second vBLinks installation I'm good to go.
Oh, I might have found a better for split news screens
__________________
Emma, my daughter - born august 4th '09
the RavenGames.com network
Your hub in Raven Software games.
Fully powered by vB - vBAdvanced - vB Links directory

Last edited by EuT; 01-31-2010 at 05:38 AM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Irc Java Chat ? DJSONIC "How Do I..." Questions 2 12-11-2008 11:00 PM
Java Script in a Module? PhilMcKrackon "How Do I..." Questions 1 09-13-2008 08:27 AM
how to add css and java script to vbadvanced volcom5799 "How Do I..." Questions 5 04-23-2008 12:43 PM
Getting Java to work ChErAbOo "How Do I..." Questions 1 08-04-2006 02:44 AM
adding some Java and new cells ntburchf "How Do I..." Questions 3 07-16-2005 04:33 AM


All times are GMT -4. The time now is 11:37 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.