Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Topic toolset Not working - thesis theme conflict
Avatar
vitamin
Member
Free Members
sp_UserOfflineSmall Offline
Apr 15, 2013 - 6:41 pm

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

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 15, 2013 - 7:04 pm

think we chatted on twitter! ;)

your page has some validation issues...  http://validator.w3.org/check?.....e-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?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 15, 2013 - 7:23 pm

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...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 15, 2013 - 7:31 pm

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...

 

Avatar
vitamin
Member
Free Members
sp_UserOfflineSmall Offline
Apr 15, 2013 - 8:36 pm

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?

 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 15, 2013 - 9:17 pm

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/.....g-a-theme/

Avatar
vitamin
Member
Free Members
sp_UserOfflineSmall Offline
Apr 15, 2013 - 9:37 pm

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.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 15, 2013 - 9:42 pm

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

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 15, 2013 - 11:28 pm

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! ;)

Avatar
vitamin
Member
Free Members
sp_UserOfflineSmall Offline
Apr 15, 2013 - 11:33 pm

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

done!

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625