#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Jun 19, 2021 4:11:41 GMT -8
Playing around with this plugin, and I can't seem to get it to display newly created threads. It will display new posts fine, but when I create a new thread to test it, it will not display the newly created thread. I have it in my Sidebar Redux left sidebar. No restricted boards. I've tested it checking each of the three boxes (All Updated Threads, Created Threads, All Posts). It will display recent posts, but will not display a newly created thread. Hi, I have just tested the plugin on my test forum and it appears to be working fine. Could you please leave a link to a board on your forum that is open to guests please so I can take a look and try to fathom out what's going on. Thank you.
|
|
Matte
New Member
Posts: 92
inherit
264111
0
Oct 21, 2024 20:35:25 GMT -8
Matte
92
April 2021
matte
|
Post by Matte on Jun 19, 2021 7:14:18 GMT -8
Could you please leave a link to a board on your forum that is open to guests please so I can take a look and try to fathom out what's going on. The forum I'm designing the unfinished theme for is active, so I can't apply the theme. I went ahead and created a testing board for myself and copied everything over exactly as it is on the original board. Tested the Recently Updated Threads Sidebar and got the same result as before. Posts will display, new threads will not. matte.boards.net/Thanks for taking a look.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Jun 19, 2021 17:09:05 GMT -8
Could you please leave a link to a board on your forum that is open to guests please so I can take a look and try to fathom out what's going on. The forum I'm designing the unfinished theme for is active, so I can't apply the theme. I went ahead and created a testing board for myself and copied everything over exactly as it is on the original board. Tested the Recently Updated Threads Sidebar and got the same result as before. Posts will display, new threads will not. matte.boards.net/Thanks for taking a look. Strange.. From what I can see it SHOULD work. Can you please try ticking 'All Updated Threads', 'Created Threads' AND 'All Posts', save the changes, then reload your forum and try again to see if it will save newly created threads.
|
|
Matte
New Member
Posts: 92
inherit
264111
0
Oct 21, 2024 20:35:25 GMT -8
Matte
92
April 2021
matte
|
Post by Matte on Jun 19, 2021 18:04:56 GMT -8
Can you please try ticking 'All Updated Threads', 'Created Threads' AND 'All Posts', save the changes, then reload your forum and try again to see if it will save newly created threads. Just tried this with no success. Got a new reply to display, but a new thread failed to show. EDIT: Did some more troubleshooting and found that the Tournament Brackets plugin is the issue, for whatever reason. Disabling that plugin allows new threads to display in the Recently Updated Threads Sidebar area as intended.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Jun 20, 2021 3:09:38 GMT -8
Can you please try ticking 'All Updated Threads', 'Created Threads' AND 'All Posts', save the changes, then reload your forum and try again to see if it will save newly created threads. Just tried this with no success. Got a new reply to display, but a new thread failed to show. EDIT: Did some more troubleshooting and found that the Tournament Brackets plugin is the issue, for whatever reason. Disabling that plugin allows new threads to display in the Recently Updated Threads Sidebar area as intended. Ahhh.. Thank you.. I think I know what the problem is. There are a couple of plugins that replace the submit button with their own version, and as the RUTs plugin looks for a mousedown event ON the submit button, it fails. Can you please try Version 0.4.4, that will hopefully fix the issue.
|
|
Matte
New Member
Posts: 92
inherit
264111
0
Oct 21, 2024 20:35:25 GMT -8
Matte
92
April 2021
matte
|
Post by Matte on Jun 20, 2021 7:45:57 GMT -8
Can you please try Version 0.4.4, that will hopefully fix the issue. The update looks to have fixed the issue. One additional thing that I just noticed, not sure if it's an old issue or not. I'm using a script to display exact time over approximate time in my global footer (example: Today at 9:20am instead of 2 hours ago), and it doesn't seem to play well with this plugin. The RUTS seems to be: - displaying the day along with the date (displaying today as Sun Jun 20 instead of just the Jun 20 that displays everywhere else on the board),
- ignoring the "Yesterday/Today" part of the code (displaying Sun Jun 20 2021 instead of Today),
- not displaying zeros in time (displaying 11:6 instead of 11:06), and
- leaving off the am/pm in favor of 24-hour time (displaying 22:22 instead of 10:22pm) (my board time is set to Month/Day/Year am/pm).
Without the time/date script in place, RUTS will display times as ProBoard defaults (examples: 34 minutes ago, 13 hours ago), so the script is affecting it, just not in the correct way. Not sure if this is a clash of some kind on RUTS behalf or if it's something different I'm overlooking, but wanted to point it out in case it was important to anyone in the future (I've actually decided not to use this plugin on my main board for now). The time/date code in question: /* Replace elapsed time with specific time */ $(function(){ for(var a=0, timeID=null; a < $.livequery.queries.length; a++){ if($.livequery.queries[a].selector == "abbr.time" && "function" == typeof $.livequery.queries[a].fn && $.livequery.queries[a].fn.toString().indexOf("a few seconds ago") != -1) { timeID = $.livequery.queries[a].id; $.livequery.stop(timeID); break; } } $('abbr.time').not('.shoutbox-post abbr.time').each(function () { var time = $(this).addClass('modified_time').removeClass('time'), raw_date = new Date(parseInt(time.data("timestamp"),10)); //this.className += " time" if($(this).hasClass('recent_time') && !/yesterday/i.test($(this).text())){ time = time.removeClass('recent_time'); var today = raw_date.getDate() == (new Date()).getDate()?"Today":"Yesterday", user_date = ['M d, yy', 'd M, yy'][proboards.data("time_style") || 0]; time.replaceWith( $(this).clone(true).addClass('recent_time') .html( '<span class="'+today+'">'+today+' </span>' + '<span class="at">at</span> <span class="at-time">' + (proboards.data('military_time') ? $.formatTime('HH:mm', raw_date) : $.formatTime('h:mmp', raw_date)) +'</span>' ) ); }else if(/yesterday/i.test($(this).text())){ time.replaceWith( $(this).clone(true) .html( '<span class="yesterday">Yesterday </span><span class="at">at </span><span class="at-time">' + $(this).text().split("at ")[1] +'</span>' ) ) }else{ if(time.text().indexOf(" at ")== -1) time.text($.datepicker.formatDate((proboards.data('time_style') ? 'd M yy' : 'M d, yy'), raw_date) + ' at ' + $.formatTime((proboards.data('military_time') ? 'HH:mm' : 'h:mmp'), raw_date)) time.replaceWith(function(){ for(var dt = time.text().split(" at")[0], a = dt.split(/,?\s+/), b=0, c = $('<span></span>'); b<a.length; b++){ if((d = a[b].match(/^(\d+)$/))){ if(d[1].length == 4) c.append('<span class="year">'+a[b]+' </span>').addClass("year_"+a[b]); else c.append('<span class="day">'+a[b]+' </span>').addClass("day_"+a[b]) }else{ c.append('<span class="month">'+a[b]+' </span>').addClass("month_"+a[b]) } } c.append('<span class="at">at </span>').append('<span class="at-time">' + time.text().split(" at ")[1] + '</span>') return time.clone(true).html('').append(c) }) }
}) $('abbr.modified_time').addClass('time'); var ac = arguments.callee if(!ac.func){ ac.func = function(){$.livequery.run(timeID); ac();} } if($.inArray(ac.func, proboards.events.afterSearch) == -1){ proboards.on("afterSearch", ac.func); } })
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Jun 20, 2021 9:02:16 GMT -8
Can you please try Version 0.4.4, that will hopefully fix the issue. The update looks to have fixed the issue. One additional thing that I just noticed, not sure if it's an old issue or not. I'm using a script to display exact time over approximate time in my global footer (example: Today at 9:20am instead of 2 hours ago), and it doesn't seem to play well with this plugin. The RUTS seems to be: - displaying the day along with the date (displaying today as Sun Jun 20 instead of just the Jun 20 that displays everywhere else on the board),
- ignoring the "Yesterday/Today" part of the code (displaying Sun Jun 20 2021 instead of Today),
- not displaying zeros in time (displaying 11:6 instead of 11:06), and
- leaving off the am/pm in favor of 24-hour time (displaying 22:22 instead of 10:22pm) (my board time is set to Month/Day/Year am/pm).
Without the time/date script in place, RUTS will display times as ProBoard defaults (examples: 34 minutes ago, 13 hours ago), so the script is affecting it, just not in the correct way. Not sure if this is a clash of some kind on RUTS behalf or if it's something different I'm overlooking, but wanted to point it out in case it was important to anyone in the future (I've actually decided not to use this plugin on my main board for now). The time/date code in question: /* Replace elapsed time with specific time */ $(function(){ for(var a=0, timeID=null; a < $.livequery.queries.length; a++){ if($.livequery.queries[a].selector == "abbr.time" && "function" == typeof $.livequery.queries[a].fn && $.livequery.queries[a].fn.toString().indexOf("a few seconds ago") != -1) {timeID = $.livequery.queries[a].id; $.livequery.stop(timeID); break; } } $('abbr.time').not('.shoutbox-post abbr.time').each(function () { var time = $(this).addClass('modified_time').removeClass('time'), raw_date = new Date(parseInt(time.data("timestamp"),10)); //this.className += " time" if($(this).hasClass('recent_time') && !/yesterday/i.test($(this).text())){ time = time.removeClass('recent_time'); var today = raw_date.getDate() == (new Date()).getDate()?"Today":"Yesterday", user_date = ['M d, yy', 'd M, yy'][proboards.data("time_style") || 0]; time.replaceWith( $(this).clone(true).addClass('recent_time') .html( '<span class="'+today+'">'+today+' </span>' + '<span class="at">at</span> <span class="at-time">' + (proboards.data('military_time') ? $.formatTime('HH:mm', raw_date) : $.formatTime('h:mmp', raw_date)) +'</span>' ) ); }else if(/yesterday/i.test($(this).text())){ time.replaceWith( $(this).clone(true) .html( '<span class="yesterday">Yesterday </span><span class="at">at </span><span class="at-time">' + $(this).text().split("at ")[1] +'</span>' ) ) }else{ if(time.text().indexOf(" at ")== -1) time.text($.datepicker.formatDate((proboards.data('time_style') ? 'd M yy' : 'M d, yy'), raw_date) + ' at ' + $.formatTime((proboards.data('military_time') ? 'HH:mm' : 'h:mmp'), raw_date)) time.replaceWith(function(){ for(var dt = time.text().split(" at")[0], a = dt.split(/,?\s+/), b=0, c = $('<span></span>'); b<a.length; b++){ if((d = a[b].match(/^(\d+)$/))){ if(d[1].length == 4) c.append('<span class="year">'+a[b]+' </span>').addClass("year_"+a[b]); else c.append('<span class="day">'+a[b]+' </span>').addClass("day_"+a[b]) }else{ c.append('<span class="month">'+a[b]+' </span>').addClass("month_"+a[b]) } } c.append('<span class="at">at </span>').append('<span class="at-time">' + time.text().split(" at ")[1] + '</span>') return time.clone(true).html('').append(c) }) }
}) $('abbr.modified_time').addClass('time'); var ac = arguments.callee if(!ac.func){ ac.func = function(){$.livequery.run(timeID); ac();} } if($.inArray(ac.func, proboards.events.afterSearch) == -1){ proboards.on("afterSearch", ac.func); } })
That's an interesting one, and no, I have not heard of this issue before now. As you can hopefully understand, this plugin was designed solely to work with PBs software, any changes to the code to work with other scripts/plugins is done solely to help others out so they can use this plugin with whichever other script is effecting it. But, as the plugin works with PBs normal time function, I may not find a solution to make it play happily with both, but I'll see what I can do.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Jun 20, 2021 9:27:45 GMT -8
Can you please try Version 0.4.4, that will hopefully fix the issue. The update looks to have fixed the issue. One additional thing that I just noticed, not sure if it's an old issue or not. I'm using a script to display exact time over approximate time in my global footer (example: Today at 9:20am instead of 2 hours ago), and it doesn't seem to play well with this plugin. The RUTS seems to be: - displaying the day along with the date (displaying today as Sun Jun 20 instead of just the Jun 20 that displays everywhere else on the board),
- ignoring the "Yesterday/Today" part of the code (displaying Sun Jun 20 2021 instead of Today),
- not displaying zeros in time (displaying 11:6 instead of 11:06), and
- leaving off the am/pm in favor of 24-hour time (displaying 22:22 instead of 10:22pm) (my board time is set to Month/Day/Year am/pm).
Without the time/date script in place, RUTS will display times as ProBoard defaults (examples: 34 minutes ago, 13 hours ago), so the script is affecting it, just not in the correct way. Not sure if this is a clash of some kind on RUTS behalf or if it's something different I'm overlooking, but wanted to point it out in case it was important to anyone in the future (I've actually decided not to use this plugin on my main board for now). OK, fixing the missing zeros is an easy fix.. Version 0.4.41 fixes that. Your other issues I'm still looking at..
|
|
inherit
264576
0
Aug 1, 2021 9:44:27 GMT -8
braynard
8
June 2021
braynard
|
Post by braynard on Jul 3, 2021 8:53:36 GMT -8
I love this plug-in and that you are still supporting it, thank you. I want to use the extra cell where I can highlight new members, like still in Rank 1 based on post count. Do you happen to know how I might achieve that, if it is even possible? Thank you in advance. Todge
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Jul 4, 2021 3:07:17 GMT -8
I love this plug-in and that you are still supporting it, thank you. I want to use the extra cell where I can highlight new members, like still in Rank 1 based on post count. Do you happen to know how I might achieve that, if it is even possible? Thank you in advance. TodgeThank you.. Displaying information in the Extra Cell is not an issue, but gathering the relevant information is. Plugins can only work with information that is currently on screen, so getting the post counts of all your members will take time.. It CAN be forced by flicking through your members list and letting the plugin gather the info that way, or in your case, you can just bring up the members in group 1. The next issue is keeping that information up to date. The info will have to be stored in a Super Forum Key, and keys can only be written to with a user action, so the info can be updated whenever a post is made by a relevant member, but the issue comes with cross talking. If more than one member is posting at the same time, the last member to post will wipe out the info written by the previous members, so it is possible that some members info will be incorrect at times. So, if you can live with some of the information being out of date at times, then a plugin can be created to do as you ask, if not, then I'm afraid it's not possible.
|
|
inherit
264576
0
Aug 1, 2021 9:44:27 GMT -8
braynard
8
June 2021
braynard
|
Post by braynard on Jul 4, 2021 4:19:16 GMT -8
That sounds like a lot of work, lol. Thank you for responding. Just trying to figure out what to do with that extra container
|
|
lp19
New Member
Posts: 77
inherit
264700
0
Apr 22, 2024 5:17:13 GMT -8
lp19
77
July 2021
lp19
|
Post by lp19 on Jul 11, 2021 1:03:12 GMT -8
hi Todge First of all. I love the plug in. It quickly became the most used on my website. Very handy, all my users use it constantly. Fantastic work. I have been reading a bit of the 109(!) pages of comments and help here but I must admit I did not read it all. So forgive me if my question has already been asked and answered before. A small percentage of my members use my site on their phone. We all know how very limited the "mobile version" is and I have switched this off. That does mean those members have to deal with the website on their 6" screen. When they want to quote in a reply this causes for some troubles in lay out. Pic below shows this. I have in the settings of your plug-in the width set to 300 px which is for a standard laptop pc screen very user friendly. This is then of course a fixed width. When this translates to the screen of a phone however this messes everything up. So my question is the following. How can I fix this? In different words. How can I make that sidebar not push away the entire reply box when on a small screen. Thanks in advance for your help.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Jul 11, 2021 9:59:19 GMT -8
hi Todge First of all. I love the plug in. It quickly became the most used on my website. Very handy, all my users use it constantly. Fantastic work. I have been reading a bit of the 109(!) pages of comments and help here but I must admit I did not read it all. So forgive me if my question has already been asked and answered before. A small percentage of my members use my site on their phone. We all know how very limited the "mobile version" is and I have switched this off. That does mean those members have to deal with the website on their 6" screen. When they want to quote in a reply this causes for some troubles in lay out. Pic below shows this. I have in the settings of your plug-in the width set to 300 px which is for a standard laptop pc screen very user friendly. This is then of course a fixed width. When this translates to the screen of a phone however this messes everything up. So my question is the following. How can I fix this? In different words. How can I make that sidebar not push away the entire reply box when on a small screen. Thanks in advance for your help. Please try version 0.4.42.. I have added an extra option in the settings where you can add an alternate cell ID to display the RUTs if on a mobile device.
|
|
lp19
New Member
Posts: 77
inherit
264700
0
Apr 22, 2024 5:17:13 GMT -8
lp19
77
July 2021
lp19
|
Post by lp19 on Jul 11, 2021 13:11:00 GMT -8
hi Todge First of all. I love the plug in. It quickly became the most used on my website. Very handy, all my users use it constantly. Fantastic work. I have been reading a bit of the 109(!) pages of comments and help here but I must admit I did not read it all. So forgive me if my question has already been asked and answered before. A small percentage of my members use my site on their phone. We all know how very limited the "mobile version" is and I have switched this off. That does mean those members have to deal with the website on their 6" screen. When they want to quote in a reply this causes for some troubles in lay out. Pic below shows this. I have in the settings of your plug-in the width set to 300 px which is for a standard laptop pc screen very user friendly. This is then of course a fixed width. When this translates to the screen of a phone however this messes everything up. So my question is the following. How can I fix this? In different words. How can I make that sidebar not push away the entire reply box when on a small screen. Thanks in advance for your help. Please try version 0.4.42.. I have added an extra option in the settings where you can add an alternate cell ID to display the RUTs if on a mobile device. Wow Thank you Todge! That immediatelly did the trick. The entire page now is reply box when on phone. Brilliant solution. Thanks so much! Can I just say I had been searching for the better part of a week to solve this what took you a few minutes. I'm proper impressed! Thanks again.
|
|
lp19
New Member
Posts: 77
inherit
264700
0
Apr 22, 2024 5:17:13 GMT -8
lp19
77
July 2021
lp19
|
Post by lp19 on Jul 11, 2021 22:30:30 GMT -8
Hi TodgeIt seems I was a bit to early to get super excited. The pic below is how my homepage now looks like on a mobile device As you can see it does write away the sidebar as I want it to do. I am missing a step on how to get my main boards to nicely fill up the screen again. I'm a bit stuck at the moment. :/ When I now go to quote or reply I get the following view.
|
|