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
Private Message plugin - CSS
Avatar
Ann
Member
Free Members
sp_UserOfflineSmall Offline
May 18, 2015 - 2:10 pm

Hi Guys,

 I've had a few members of my forum asking about changing the 'new message' indicator to show in red when a new PM has arrived. They say how well the 'subscribed & watching' indicators stand out when a new post has been made and would like the PM's to be the same. I've not managed to find the correct lines in the css scripts, could you please point me in the right direction so I can make the changes.

Thank You

Annwink

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 18, 2015 - 2:36 pm

Er... the PMs should perform in the same way. They do form a part of the 'autoupdate' mechanism. So - are your users absolutely sure they do not?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Ann
Member
Free Members
sp_UserOfflineSmall Offline
May 18, 2015 - 8:28 pm

Hi Yellow Swordfish, yes they are sure as am I, issue is the same with both mobile and desktop users. Using reboot theme and responsive mobile for WP

 SP plugin was installed a few years ago and only recently have the watch and subscribe plugins been added, updates are done as soon as they appear.
I use a basic member account to check out any changes (after clearing cache and cookies) and can confirm the problem exists. As I didn't install the SP plugin on this particular server I can't say whether the PM files have been modded in anyway.

I've not seen any errors in the log indicating that there is an issue with the PM plugin either.

I'll take a look at the the files from a fresh download of the PM plugin and download the ones from the server so I can compare them, I'm going to need lots of coffee for this eek

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 18, 2015 - 8:50 pm

which reboot overlay?  its a different theme and wont necessarily make the same bright red or blue numbers so...   but its css so you can change that behavior with a child theme or custom theme...

Avatar
Ann
Member
Free Members
sp_UserOfflineSmall Offline
May 18, 2015 - 10:00 pm

Hi Mr Papa, I'm fairly new to the SP structure but I finally found the css laugh

  I've just gone through the sp-pm.css and no mods have been made, all files were modified on 24-4-15 so it's recently updated.

#spMainContainer #spPmCount .spPmCountUnread {
    color: #ff0000;

They are using original overlays (no child) and also using renamed duplicates of originals while experimenting with the colours and gradients.

With the various overlays tested the colour of PmCountUnread is anything but red (excluding light-red overlay), all overlays are showing their default colour for inbox button text.

I'd download the tables and uninstall the plugin to re-install but the host is tight with SQL usage and has already stopped me using the 250 and 500 rows view after a week of cleaning up, I really don't need any more restrictions placed on access.

I've hit a brick wall with this one embarassed

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 18, 2015 - 10:14 pm

that is why I asked which overlay you were using...  the color is determined by the overlay...  in the overlay we use, its set to black (#000000)...  you had to have selected an overlay from the available ones... you can see which is in use on forum - themes - theme list...

do not uninstall.... would be a waste of time and not help at all... 🙂

sorry, what does "also using renamed duplicates of originals" mean?  how did you change the css?  are you using the css cache (forum - options - global settings)?  if so, did you clear it after making a change (forum - toolbox - housekeeping)?

are you sure the item in the inbox is actually unread? did you get the css from inspecting the count number in the browser?  that is, does the html markup actually have those ids/classes on the number?

Avatar
Ann
Member
Free Members
sp_UserOfflineSmall Offline
May 18, 2015 - 10:15 pm

buttonbar1.jpgImage Enlarger

Low quality jpeg for visual effect lol

Avatar
Ann
Member
Free Members
sp_UserOfflineSmall Offline
May 18, 2015 - 10:27 pm

Duplicates of the overlays i.e
/wp-content/sp-resources/forum-themes/reboot/styles/overlays

eg peach has been duplicated and renamed to peaches n cream with original still in situ, only the colours have been modifed - no structure has been altered or code removed/ added.

all caches have been cleaned etc etc

I have created 2 std user accounts recently too, basically so I can view in various browsers at the same time. Yes the Pms are there and yes they are genuine ( i've sent some to my test accounts so I can view the issue) I even cleared out all my browsers to make sure it isn't a localised issue.

Avatar
Ann
Member
Free Members
sp_UserOfflineSmall Offline
May 18, 2015 - 10:29 pm

PS using the theme switcher plugin so users can select their desired overlay

Avatar
Ann
Member
Free Members
sp_UserOfflineSmall Offline
May 18, 2015 - 10:55 pm

Just used inspect element in Firefox and IE this is what it has come up with. (using light-blue overlay)

#spMainContainer #spPmCount .spPmCountUnread {
    color: #3D578D;

reboot.php line 6511

<span id="spPmCount"><span class="spPmCountUnread">1</span></span>
the #1 doesn't show in F/Fox inspect

Where is it pulling that additional colour code from?
Same as colour for #spButton - It certainly isn't pulling it from the css for spPmCountUnread

BTW all changes made to overlay colours were changed locally and not in WP

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
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: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625