Support Forum

New Topic and Reply links not working

TR Tim Riley
Tim Riley
Member

Hi Guys

Any ideas re. the above. It’s a new install everything seems to work except those two buttons.

Cheers

Tim

19 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

One thing we have found that could be the culprit is if another WP plugin is loading an alternate tooltips script to ours these two buttons seem to stop – although I have no idea why just these two!

You might be able to tell if the tooltips on ther forum buttons look like ordinary, unstyled tooltips. or of you can give me a link I can take a look for you.

TR Tim Riley
Tim Riley
Member

Hi

Thanks for your reply.

I am fumbling around in the dark to be honest so any help would be apperciated.

 

Its a shame you guys are retiring, you have a great product.

What info do you need from me?

This is the site http://kentcryptonetwork.co.uk. Still a work in progress, I work for a large company and want to start a private forum for the staff as there are alot of people looking for advice and info in the company.

 

Thanks in advance

Tim

TR Tim Riley
Tim Riley
Member

I have set up access for you in the backend if you need it.

I can PM or email you the details.

Cheers

Tim

YS Yellow Swordfish
Yellow Swordfish
Member

I think it’s the tooltip issue we have seen before. Try the following to find out…

the theme you are using (BareBones) has a file in the /templates folder called spFunctions.php. Open it for editing (you can use the theme editor in the SP admin > themes section).

Right at the top you will see a define statement for tooltips and a note on how to turn it off. Change the ‘true’ to ‘false’ – save – clear your browser cache – try the front end forum again and see if that resolves things.

TR Tim Riley
Tim Riley
Member

That is all sorted now.

Thank you so much for your help, I would never have found that.

Regards

Tim

YS Yellow Swordfish
Yellow Swordfish
Member

Good news.

You really should use a child theme of course that will preserve the edit when the main parent theme gets updated. Child themes are free from our store and you simply make the change in that and use that theme instead of the parent.

Full use details of child themes can be found here: https://simple-press.com/documentation/codex/themes/theme-basics/creating-a-child-theme/

RW rwilliam99
rwilliam99
Member

I have a similar problem, however changing the tooltips option did not fix it.  The  add topic button on the topic display page works fine, however the add reply button does not work.  On the forum display page, the add topic button does not work.  When inspecting these buttons, the href attribute is not populated on the buttons that don’t work.  I attempted to trace this back, but I’m not understanding where these functions go.

I’m not exactly sure when this stopped working, but I haven’t done anything except for wordpress and simple:press updates – no other custom coding.

I also tried using the default wordpress theme and also tried different simple:press themes – none of them made any difference.

I also experimented with disabling plugins and disabling all caching – no change in behavior at all.

Any help you can provide would be appreciated.

YS Yellow Swordfish
Yellow Swordfish
Member

Let’s start by asking  you to check in your web console for script errors. Open the forum page and then try the operations again and see if anything gets reported.

If you have no experience with the console then this FAQ should help point the way: https://simple-press.com/documentation/codex/faq/how-to/how-to-use-your-web-browser-console/

Always try and just ensure that only the ‘errors;’ reporting is selected…

RW rwilliam99
rwilliam99
Member

Wow – I missed that one – there is a plugin – Photo Gallery which is throwing the following error:

ReferenceError: bwg_set_shortcode_popup_dimensions is not defined

I deactivated that plugin and the buttons are working.  I can’t believe I missed that.

Thank you – I will pursue with that plugin.

YS Yellow Swordfish
Yellow Swordfish
Member

That sounds possibly like there are some optional settings the plugin wants that you have not set yet?

RW rwilliam99
rwilliam99
Member

I’ve tried a few things but nothing has changed the behavior.  It seems like it is related to the tinyMCE plugin.  I posted a question on the support forum for the plugin and am awaiting a response.  It is probably something simple, but nothing I’ve tried thus far has resolved it.  For the time being, I’ve disabled the plugin.

MP Mr Papa
Mr Papa
Member

its entirely possible the plugin author thought tinymce would only be used in the admin and used an admin hook for loading it…  but the WordPress API fully supports using the tinymce editor on the front end…  if this is the case, it would be a simple task to change the hook it uses… 

but, of course, could be more complex… 😉

RW rwilliam99
rwilliam99
Member

There is an option in the plugin to “only load scripts on gallery pages”, however that does not appear to work correctly, as the script that throws the error is in the gallery directory – it does NOT load on the forum display page, but IS loading on the topic and thread display pages.  I don’t know enough about the internals of how the WordPress loading works, plus I know very little about PHP itself.

Still waiting on a response from the author on the issue.

MP Mr Papa
Mr Papa
Member

that would be odd… as all those forum pages you mention are the same wp page…  as far as most plugins would know, its just that one page…  might mean something else is doing the loading…  

are you displaying galleries in forum posts?

are you using any shortcodes in forum posts?  you  might try going to forum – options – content settings and disable shortcodes – or just allow the ones you want… 

longshot really… still need to figure out why that plugin is throwing the js errors…