Support Forum

Add Topic Button not working?

MR Michael O'Riley
Michael O'Riley
Member

Hi,

I recently installed Simple:Press and had a little difficulty because of a calendar plugin I am using, but I deactivated the other plugin and than the install went perfect.

I have started putting together groups and forums and tried to test it and the add topic button doesn’t do anything. I just get a little message in lower left corner that states; javascrpt;null (void)?

12 Answers

New Answer

MR Michael O'Riley
Michael O'Riley
Member

One other quick note: I have social network buttons at the top of my page that change color when you hover over them. The ones on the forum page are loading in the darker hover over color?

MP Mr Papa
Mr Papa
Member

hard to tell anything without a link to the site…

but the button issue is likely a js conflict… read more:  http://codex.simple-press.com/codex/faq/troubleshooting/what-is-this-jquery-conflict/

MR Michael O'Riley
Michael O'Riley
Member

http://problem-with-post-edit-buttonudsonvalleyinsight.com/forum/

As far as the .js issue, I see there is several issues with calendar plugins I have disabled the Calendar and still the same problem. I don’t see any duplicate .js files and I am really not sure which file is presenting the issue.

 

Thanks for the help

MP Mr Papa
Mr Papa
Member

since the forum is closed, we cannot get in…

but you have a theme doing improper things… its hard loading jquery vs using the one that comes with wp…

<script type=’text/javascript’ src=’http://problem-with-post-edit-buttonudsonvalleyinsight.com/wp-content/themes/spotlight/js/jquery-1.7.2.min.js?ver=3.3.2′></script>

and since the wp version is loaded too (and its a different version), they are likely conflicting…  more help on this type conflict:  http://codex.simple-press.com/codex/faq/troubleshooting/what-is-this-jquery-conflict/

if you find where in your theme its doing things improperly and loading that, we can help fix it…

MR Michael O'Riley
Michael O'Riley
Member

I have been messaging the theme guy but he is MIA! I located the (jquery 1.7.2.min.js) file, but how do I know what is causing to load? Is this going to be in a php page somewhere?

I am not sure why the forum is closed? I have the permissions set, I tried to open it on a different browser and had the same result maybe it is part of the same issue?

MP Mr Papa
Mr Papa
Member

No, not likely the cause…

you need to find where that loading of the wrong js is done… normally, this is in the header.php or functions.php file of the theme, but could be in many locations…

here is a little tutorial on how permissions and access works:  http://codex.simple-press.com/codex/getting-started/controlling-access/

read through it and see if it helps you get the permissions set up…

MR Michael O'Riley
Michael O'Riley
Member

Okay, I think I have found it in the function.php file. It is in the area that says load java function and looks like this;

    wp_enqueue_script(‘custom_script-1’, get_template_directory_uri() . ‘/js/jquery-1.7.2.min.js’,array(‘jquery’));

YS Yellow Swordfish
Yellow Swordfish
Member

Try changing that to:

wp_enqueue_script(‘jquery’);

MR Michael O'Riley
Michael O'Riley
Member

Okay that seemed to have helped the add topic issue, but now I have the button issue throughout the site and lost some other style functions on the main menu.

Forum locked issue: I read through the document and set up permissions (ie:Guest-Limited Access), but still appears locked to guests.

 

Thanks

MP Mr Papa
Mr Papa
Member

sorry, can you elaborate on button issue?  different than add topic?  do you mean just not working…

quick look at your site, and we as guests cannot get in, you are throwing a whole bunch of js errors on your site…  almost all of them are from your spotlight theme..

the theme is using the $ name space vs the preferred jquery in a lot of its scripts… ie

$.fn.preloader = function(options){

vs

jQuery.fn.preloader = function(options){

might be worth seeing if in those theme js files, you changed $ to jQuery if it helps… does not appear to be too many, but its the cause of those errors…