Support Forum

Join and Add a Topic buttons not working

SS Scott Schwab
Scott Schwab
Member
Hello-

I’m having an issue with both the login button and the add a topic button… the login button shows javascript:void(0); and the Add a Topic button shows javascript:void(null); upon rollover…

I have to login to WP because I can’t use the login button on the forum page… If I am logged in to WP as the admin that’s when I see the Add a Topic button that unfortunately also won’t work…

MWE_Support-Forum.jpg

All the other buttons seem to work.

Help! I’m desperate!

26 Answers

New Answer

MP Mr Papa
Mr Papa
Member

the javascript:void(0) is irrelevant – it just means that the onclick attribute of the link is used and not the href…

but its still more than likley a js/jquery conflict… if you can give us a link, we can check for the obvious wp theme doing things wrong… 

more reading too:  http://codex.simple-press.com/codex/faq/troubleshooting/what-is-this-jquery-conflict/

SS Scott Schwab
Scott Schwab
Member

In order to view the site, you would have to modify your local host file… can I email my credentials to you instead of posting on the forum?

MP Mr Papa
Mr Papa
Member

have you looked for a jquery conflict as indicated in the codex article?

If you want to PM the details to yellow swordfish and myself (with a link to this topic and brief reminder of the issue) we can take a look too…

SC Simon Coxshaw
Simon Coxshaw
Member

Hi,

I have the exact same issue as Scott. Did anyone find a solution? Could they post it here please?

Thx,

Simon.

SS Scott Schwab
Scott Schwab
Member

I just sent a PM to both Mr Papa and Yellow Swordfish with the details… Please note that the http:// is not necessary for the local host file edit… the email placed that there automatically…

Simon – I will let you know how this goes…

MP Mr Papa
Mr Papa
Member

Simon, the solution has been found many times… did you read the codex article linked to in post #2?  and try to resolve the conflict? 

If you dont know that, then a link to your site is needed to look for the conflict… its usually not the same fix from wp theme to wp theme…  but is as the codex article says about improperly coded themes…

Scott, will try to look this evening…

SS Scott Schwab
Scott Schwab
Member

Thank you! If you have any questions about modifying the local host file, check out the quick video I made…

http://www.absolute0.net/video/ModifyingLocalhostFile/

BTW, I did read through the Codex and understand why there might be a problem, but as a designer with a fair amount of programming expertise, I had no idea what to do with the information… eek

 

I appreciate your help!

MP Mr Papa
Mr Papa
Member

Scott, quite familiar with that concept – do it all the time…

just sent you PM…  site appears down…

SS Scott Schwab
Scott Schwab
Member

Hmmm… the site is up, I’m looking at it right now… Sent you a PM…

MP Mr Papa
Mr Papa
Member

so multiple things wrong going on here…

first, the theme is improperly loading jquery ui

<script type=’text/javascript’ src=’http://www.midwestengineering.com/wp_mwe/wp-content/themes/innovative/js/jquery-ui-1.8.11.custom.min.js?ver=3.3.2′></script>

that will conflict with the jquery ui loaded by wp…  not to mention its also an outdated version of jquery ui again that will conflict with the version shipped with wp…

also, something else, probably the theme, but could be a plugin, is incorrectly loading  jquery

<script type=’text/javascript’ src=’http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js?ver=3.3.2′></script>

as per the codex article we referenced, you need to correct those incorrect js loading items…

you can find out if both are the theme by a quick switch to the wp default theme and see if stuff works…

MP Mr Papa
Mr Papa
Member

if you can find where in the theme its doing it wrong, we can help you correct the loading to wp standards…

SS Scott Schwab
Scott Schwab
Member

I will try to find it… I’m just not sure where to look? Any ideas?

It has my programmer stumped as well… I may have him post the next question if I can’t find the jquery calls… laugh

MP Mr Papa
Mr Papa
Member

it wont be jquery calls… but usually just html output in the normally either the head.php or functions.php of the theme files…  but could really be in any…

look for the string sequences mentioned above in any of the theme files…

SS Scott Schwab
Scott Schwab
Member

I found wp_register_script(‘jquery’, (“http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js”), false, ”); in the functions.php file…

 

also found

 wp_register_script(‘jquery-ui’, get_template_directory_uri() . ‘/js/jquery-ui-1.8.11.custom.min.js’, false, ”, true);

in functions.php