inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Nov 19, 2016 16:33:41 GMT -8
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Nov 19, 2016 16:35:19 GMT -8
Opps... for to let you know that I did do the modification and still a no go:
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,849
January 2015
msg
|
Post by Lynx on Nov 19, 2016 16:42:11 GMT -8
That's putting the >> and << around the number for the number of messages. I just put a space in there and no change on my test forum. I see you have a Forums.net forum. If I recall correctly, do FDN forums require the full URL for different pages (I seem to recall this was something brought up with one of Todge's plugins awhile ago). If it does, then the culprit could be this line: var nbrMsgs = $("[href='/conversations']").find('.tip-number').html();
which uses the shorter method for pages and not the full URL.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,849
January 2015
msg
|
Post by Lynx on Nov 19, 2016 16:44:18 GMT -8
I've also just registered on your test site.
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Nov 19, 2016 16:46:59 GMT -8
Not sure on the FDN forums requiring the full URL for different pages.
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Nov 19, 2016 16:48:12 GMT -8
I've also just registered on your test site. Do you want me to send you a PM or visa versa to see what happens?
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,849
January 2015
msg
|
Post by Lynx on Nov 19, 2016 16:58:59 GMT -8
I sent myself a PM and I see the double instance. Working on it now.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,849
January 2015
msg
|
Post by Lynx on Nov 19, 2016 17:11:17 GMT -8
For some reason, it's adding a 2nd one. Looking at the element, I noticed the 2nd one has a font-size of 4 - which was something that was in there when I was converting my code. Here's a copy that has all defaults removed from the UI in the build. You may need to add test colors - as there will (or, should not be) any set and I didn't add in any catches for undefined's for the colors yet. I'd like to see if we can get rid of that duplicate first. PM Notification 101.pbp (2.29 KB)
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,849
January 2015
msg
|
Post by Lynx on Nov 19, 2016 17:14:41 GMT -8
The other thing that's bothering me, is that your page source is showing the one with the font-size of 4.
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Nov 19, 2016 18:29:16 GMT -8
Sorry for the lateness Lynx as I was working on one of my PC's with some issues. Just installed the 101 and I'll send you and one of my members a PM there to see what happens,
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Nov 19, 2016 18:35:39 GMT -8
Sorry to say Lynx as it's still showing two: Bed time for this ol' fellow and will check back here tomorrow morning. Cheers...
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Nov 20, 2016 4:28:00 GMT -8
Hello LynxJust now switched to the Wide Tester Theme and it works perfect showing only one NEW MESSAGE container: There must be something in the Dark Edges theme that is causing the double container affect. I'm going to do some checking of that theme to see if I can come up with the cause of this and let you know here.
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Nov 20, 2016 4:57:09 GMT -8
Well Lynx, you can rest at ease as it is not your plugin having issues, but that default theme (Dark Edges) of mine that has issues. Just installed 3 other themes and this plugin is working as should be. Going to delete that default theme as over the span of a few years, I have modified it way to many times and because of that, I'm going to remove it and replace with another. Great plugin my friend...
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Nov 20, 2016 8:06:38 GMT -8
Just a thought here and that is with this part of the code:
so that it will inherit the default forum text size?
Just to note, I added the letter u in the word plgin.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,849
January 2015
msg
|
Post by Lynx on Nov 20, 2016 8:10:14 GMT -8
Well Lynx, you can rest at ease as it is not your plugin having issues, but that default theme (Dark Edges) of mine that has issues. Just installed 3 other themes and this plugin is working as should be. Going to delete that default theme as over the span of a few years, I have modified it way to many times and because of that, I'm going to remove it and replace with another. Great plugin my friend... And here I am, with cup of coffee in hand, ready to take this thing on again. I'm very glad to hear that you got it sorted! I was thinking about asking if you had done any template modifications next, as Todge had told me that it might be hit and miss with updated templates: You can grab it from the standard template with this.. var PMS = $("[href='/conversations']").find('.tip-number').html(); But whether that would work with updated templates could be pretty hit and miss. So, I was warned that it might not work for everyone. It would be nice to know what change in the template caused your double instance though. Ah, well - I'm just happy it's working for you! Thank you for the compliment!
|
|