Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-24-2010, 11:20 PM
Skedoozy's Avatar
Skedoozy Skedoozy is offline
 
Join Date: May 2006
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default VB Menus not working in Chrome

I've looked everywhere and can not find a reason for the popup aka dropdown menus not working. I've installed a default style and they don't work there either so it's not anything in the style.

I've deleted every single javascript that is running, one at a time, to see if any are conflicting with the menu java and nothing there either.

This is really annoying.

Can anyone help?

http://boards.altgn.com
Reply With Quote
  #2  
Old 02-26-2010, 04:17 PM
Skedoozy's Avatar
Skedoozy Skedoozy is offline
 
Join Date: May 2006
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone know where I might be able to get help then??
Reply With Quote
  #3  
Old 02-27-2010, 09:57 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The menu's working fine for me viewing your forum as guest with Chrome.
Reply With Quote
  #4  
Old 02-27-2010, 12:53 PM
Skedoozy's Avatar
Skedoozy Skedoozy is offline
 
Join Date: May 2006
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The dropdown menus???
Reply With Quote
  #5  
Old 02-27-2010, 02:12 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is no dropdown for guests, so if that is the problem, please provide a test login.
Reply With Quote
  #6  
Old 02-27-2010, 09:43 PM
Skedoozy's Avatar
Skedoozy Skedoozy is offline
 
Join Date: May 2006
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

login: vbtest
pass: vbtest2010
Reply With Quote
  #7  
Old 02-28-2010, 12:58 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes i can confirm the dropdowns don't work in Chrome.

To troubleshoot start by disabling plugins and create a new default style. If you still have issues then, check the bug reports on vB.com and if nothign is posted open a support ticket or thread (on vBulletin.com).
Reply With Quote
  #8  
Old 02-28-2010, 03:34 PM
Skedoozy's Avatar
Skedoozy Skedoozy is offline
 
Join Date: May 2006
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did create a default style and disabled plugins. It's actually worse in the default style. The arrows don't even show up there.

--------------- Added [DATE]1267379816[/DATE] at [TIME]1267379816[/TIME] ---------------

Well I got the arrows to show up... but still no dropdown. :/

--------------- Added [DATE]1267380934[/DATE] at [TIME]1267380934[/TIME] ---------------

The test default template is now selectable as a template so you can check that.

--------------- Added [DATE]1267383113[/DATE] at [TIME]1267383113[/TIME] ---------------

I just disabled all plugins again and no change. :/

--------------- Added [DATE]1267383675[/DATE] at [TIME]1267383675[/TIME] ---------------

Okay, so I disabled Use 'vBMenu' DHTML Popup Menus? in the settings and checked it in firefox and that's exactly what it looks like in chrome. So for some reason Chrome is deciding to ignore vbulletin_menu.js it looks like.

--------------- Added [DATE]1267386159[/DATE] at [TIME]1267386159[/TIME] ---------------

I GOT IT WORKING!

Hopefully this helps someone else who has this same problem.

Solution: Apparently global.php was not recognizing chrome as a browser with popup capabilities so it was disabling it.

Open global.php in an editor.

Find:
PHP Code:
$vbulletin->options['usepopups'] = 0
Replace with:
PHP Code:
$vbulletin->options['usepopups'] = 1
and all is solved.

I'm sure you could find out how to add Chrome to the if statement above this but this is a simple fix and if you have users who are using a browser without pop ups on it then they will just have to suffer!
Reply With Quote
  #9  
Old 04-03-2010, 08:45 PM
Sore Eyes Sore Eyes is offline
 
Join Date: Jan 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is the next solution in includes/functions.php (around line 4340 in vB 3.6).


In
Code:
		if (strpos($useragent, 'applewebkit') !== false AND $is['mac'])
		{
			preg_match('#applewebkit/(\d+)#', $useragent, $regs);
			$is['webkit'] = $regs[1];
I removed the $is['mac'] test.

with the same effect.
Reply With Quote
  #10  
Old 06-15-2010, 09:46 AM
quitsmoking quitsmoking is offline
 
Join Date: Mar 2006
Location: Egypt
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Skedoozy View Post
I GOT IT WORKING!

Hopefully this helps someone else who has this same problem.

Solution: Apparently global.php was not recognizing chrome as a browser with popup capabilities so it was disabling it.

Open global.php in an editor.

Find:
PHP Code:
$vbulletin->options['usepopups'] = 0
Replace with:
PHP Code:
$vbulletin->options['usepopups'] = 1
and all is solved.

I'm sure you could find out how to add Chrome to the if statement above this but this is a simple fix and if you have users who are using a browser without pop ups on it then they will just have to suffer!
Thank you very much for your solution
Reply With Quote
Reply


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


All times are GMT. The time now is 08:09 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04164 seconds
  • Memory Usage 2,263KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (4)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete