Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Glitch with "This topic has subscriptions"
Avatar
cwwcwi0ecnuwijcowecwreiovuejwcko
Member
Free Members
sp_UserOfflineSmall Offline
Jan 6, 2013 - 4:27 pm

When I have enabled the "Subscriptions" plugin I get a weird view of "This topic has subscriptions" when replying on posts. See screen shot below.

screenshot.pngImage Enlarger

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 6, 2013 - 5:12 pm

What version of SP please?

andy-signature.png
YELLOW
SWORDFISH
Avatar
cwwcwi0ecnuwijcowecwreiovuejwcko
Member
Free Members
sp_UserOfflineSmall Offline
Jan 7, 2013 - 5:14 am

Latest of everything. Tried changing cssonly theme to default theme, but again the same problem.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 7, 2013 - 5:26 am

Apologies - I can actually replicate this... Looks like the subscriptions message strip did not get updated to take into account not using the new integrated editor toolbar option. It is fine with the toolbar option turned on.

Shouldn't be too hard to sort out. I will open a ticket now and look into it.

andy-signature.png
YELLOW
SWORDFISH
Avatar
cwwcwi0ecnuwijcowecwreiovuejwcko
Member
Free Members
sp_UserOfflineSmall Offline
Jan 7, 2013 - 6:06 am

Thanks, let me know when it's fixed :)

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 7, 2013 - 6:25 am

I can give you a code fix if you are up to make a small edit to a core code file

andy-signature.png
YELLOW
SWORDFISH
Avatar
cwwcwi0ecnuwijcowecwreiovuejwcko
Member
Free Members
sp_UserOfflineSmall Offline
Jan 7, 2013 - 6:43 am

No problem :)

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 7, 2013 - 7:15 am

Ok - the file is /simple-press/forum/content/forms/sp-form-components.php

The function you need to find is called sp_post_editor_smileys_options()

When you have the function scroll down to the end of it to locate this section of code:

if ($display['smileys'] || $display['options']) {
    $out.= $smileysBox.$optionsBox;
    $out.= '</div>';
}

and add the new line as shown below:

if ($display['smileys'] || $display['options']) {
    $out.= $smileysBox.$optionsBox;
    $out.= sp_InsertBreak('echo=0');
    $out.= '</div>';
}

and that should do the trick

andy-signature.png
YELLOW
SWORDFISH
Avatar
cwwcwi0ecnuwijcowecwreiovuejwcko
Member
Free Members
sp_UserOfflineSmall Offline
Jan 7, 2013 - 8:17 am

Adding the break indeed solved the problem :) Thanks!

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 7, 2013 - 9:03 am

You're welcome. Thanks for the report.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online: serzmxg
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
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: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625