Support Forum

Topic toolset Not working – thesis theme conflict

VI vitamin
vitamin
Member

Problem:

Topic level toolset not working.  The EditTool Icon is there however when selected, no menu is displayed.

This only happens at the Topic level…Post level works fine.

The cause seems to be my wp theme (I’m using Thesis).  When a different theme is selected, the toolset works fine.

What I’ve tried:

I’ve moved the Simple:Press javascript to the footer via Integration>>Page and Permalink>>Integration Options.

I’ve also tried disabling CSS/JS Combined Caching via Options>>Global Settings>>CSS/JS Combined Caching.

Neither worked.

Any help would be appreciated!  Thanks

Link to the forum in progress : Website

18 Answers

New Answer

MP Mr Papa
Mr Papa
Member

think we chatted on twitter! ;)

your page has some validation issues…  http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fnews.buydancepoles.com%2Fforum%2Flil-mynx-dance-poles%2F

some fairly serious, like insertion of second html tag…  second one inserted for/by facebook… not convinced that would cause your issue though, but should work through those 28 errors…

want to be clear where happening too…  you mention topic level and post level…  we refer to them as forum view and topic view… so assume you mean forum view here…  the list of topics…

I see no obvious js issue, but of course, I wont be shown the forum tools…  are you sure its not appearing?  or maybe just in wrong spot?  with the console in firefox/firebug open (or browser dev tools of your choice), when you hover over the topic, do you see some ajax responses going on? or errors?

MP Mr Papa
Mr Papa
Member

eh, that looks like a wild goose chase… no ajax there… sorry…

but it is just simple jquery to make the hidden element show…  so still wondering where its actually located…

MP Mr Papa
Mr Papa
Member

if you want to just make it fixed show up, go to your sp theme (and we always strongly recommend you make your own theme before editing ours to keep it upgrade proof) and the spForumView.php template file…

around line 155, lets change:

                                sp_TopicForumToolButton(”, ”, __sp(‘Open the forum toolset’));

to

                                sp_TopicForumToolButton(‘hide=0’, ”, __sp(‘Open the forum toolset’));

and see if it shows up… note, will not be in same location as the rollover appearance…

 

VI vitamin
vitamin
Member

Thanks Mr Papa…both for the Twitter conversation and now here!

I’ll take a look at html errors as you suggested and try to get those cleared up.

want to be clear where happening too…  you mention topic level and post level…  we refer to them as forum view and topic view… so assume you mean forum view here…  the list of topics…

Yep, its while in Forum View where this is occurring.

around line 155, lets change:

                                sp_TopicForumToolButton(”, ”, __sp(‘Open the forum toolset’));

to

                                sp_TopicForumToolButton(‘hide=0’, ”, __sp(‘Open the forum toolset’));

I couldn’t find anything like the above.   I am using :

/*
Simple:Press
TForum View Function Handler
$LastChangedDate: 2013-02-08 13:43:13 -0700 (Fri, 08 Feb 2013) $
$Rev: 9827 $
*/

The only code within the simple-press plugin mentioning “TopicForumToolButton” was in sp-forum-view-functions.php starting on line 2031

Maybe i’m missing something?

 

MP Mr Papa
Mr Papa
Member

yes… its in the sp theme… so wp-content/sp-resources/forum-themes/xxxx where xxx is the theme you are using…  then in the template files folder… file spForumView.php…

be sure to read:  http://codex.simple-press.com/codex/themes/theme-basics/creating-a-theme/

VI vitamin
vitamin
Member

I feel like a tard.  haha.  I just didn’t have all the plugin files locally.

I changed as you suggested and the tooltip indeed isn’t hidden but when selecting it, nothing happens.  🙁

You are welcome to login as an admin and have a look if you want.

MP Mr Papa
Mr Papa
Member

if you can PM me the credentials, I can take a look a bit later tonight…got about 5 things going now… ;)

MP Mr Papa
Mr Papa
Member

This is quite odd…  and mystifying…  those buttons just dont work and unsure why…  tried another sp theme and disabling caching, but still just doesnt act like a button… there should be an ajax request and the dialog open…  like on topic view…

dont really see any difference in things (ie js) loaded on forum view vs topic view…

any chance you can change that account to have wp admin too?  want to look at the wp theme settings and see whats there…  we have lots of folks using thesis if I remember correctly…

will try look a bit more tonight but might be AM before I get back to it… 

nothing like a good mystery! ;)

VI vitamin
vitamin
Member

any chance you can change that account to have wp admin too?

done!

VI vitamin
vitamin
Member

What’s really odd is that I can’t understand why there would be any difference between Forum View and Topic View however,while in Topic View, the toolset button works!   

I’ve gone into WP to see if there were any page specific settings (http://goo.gl/UIKSy you must be logged in) that maybe causal…nothing.  

Also, there are no additional scripts in the header Thesis>>Design Options and Thesis>>Site Options.

Lastly, I tried removing all custom functions I put in the theme…still no joy.

::cornfused::

MP Mr Papa
Mr Papa
Member

will try to look at it again this afternoon… have a couple meetings this morning… and forwarded the info on to Andy for him to take a look too…

MP Mr Papa
Mr Papa
Member

we both looked over the weekend and are mystified as to the issue…

the link and everything is identical to the forum tool on topic view…  I see no real differences in items loaded…  what was odd is the response of the button… it disappears for second when it normally wouldnt… its almost as if some other listener has attached something to it… but cannot find evidence of that…

out of curiosity, have you tried another browser?

and another odd test, but what if you change the page slug of the wp page to forums vice forum, just as a test… any difference?

VI vitamin
vitamin
Member

out of curiosity, have you tried another browser?

Yes.

and another odd test, but what if you change the page slug of the wp page to forums vice forum, just as a test… any difference?

Its getting a bit frustrating.  After changing the “wp page” slug, Simple-Press seems to hang on to the old slug. 

At this point, I’ve deleted all forums.