lukasamd / mybb-view_unread_posts Goto Github PK
View Code? Open in Web Editor NEWView Unread Posts Plugin for MyBB
License: GNU General Public License v3.0
View Unread Posts Plugin for MyBB
License: GNU General Public License v3.0
Hey lukasamd
Our Community want to use this Plugin together with the ProStats Plugin.
But they dont work correct together.
When we activate View unread posts, the Threads do not get marked as read in the Prostats Plugin.
I can not say you what exactly goes wrong, i am no developer but maybe you can fix this?
Our community would also like to donate something for a fix.
OK, this is really weird. When I post a reply -> it displays that I have a new unread message and my post written by me is marked as unread (unread indicator is displayed as well).
:(
(action=lastpost) doesn't provide to first unread post but to the last post on thread.
In settings change of links is allowed.
I decided do abanon development of my MyBB addons. There are many reasons, but the most important are:
Issues will be closed, repositories will be archived. Feel free to fork if you want to modify code and extend these mods.
The solution is to replace 'lastpost' with 'newpost' in the conditional on line 177 of inc/plugins/unreadPosts.php.
I deactivated the plugin the install the 1.6 update, and when I went to activate it I keep getting the following error:
MyBB has experienced an internal SQL error and cannot continue.
SQL Error:
1366 - Incorrect integer value: 'NULL' for column 'gid' at row 1
Query:
INSERT INTO mybb_settinggroups (`gid`,`name`,`title`,`description`,`disporder`,`isdefault`) VALUES ('NULL','unreadPosts','View Unread Posts','Settings for plugin \"View Unread Posts\"',105,'0')
Any ideas how to resolve this?
I'm running MyBB 1.8.10 on Ubuntu 16.04 and PHP7.
how can you update the browser tab with the same unread counter explained here
https://webdesign.tutsplus.com/tutorials/how-to-display-update-notifications-in-the-browser-tab--cms-23458
Or at the very least how can i obtain the integer to update document.title with???
I have uninstalled previous and installed latest View Unread Posts (1.11)
but still nothing visible on my screen
I am using Dark-Fire theme
Probably a template is missing?
help is appreciated
Here my forum : http://forum.pokemonpets.com
Bei den Dateien, die man hochladen soll, befindet sich die PHP-Datei "inc/functions_indicators.php", die zu den MYBB-Dateien gehört, überschrieben werden soll und dazu ganz eindeutig in einer älteren Version (MyBB 1.6) vorliegt.
Ich finde es generell ziemlich unglücklich, dass bei einem Plugin überhaupt eine Quell-Datei von MyBB überschrieben werden muss.
New option - do not mark moved thread/posts as unread
When you move (moderator) any post or the whole thread -> it is marked as unread. Quite uncomfortable for users when I move a lot of threads during the day.
Is possible to disable the counting for moved posts or even better threads, or separately? Or choose which forum wont be counted into unreads when I move threads here?
Version:
after installing as update from 1.11 to 1.14 I saw in my acp a note abaout a newer version and to update my VUP from 1.13 to 1.14 I looked for "13" in the unreadpost.php, and at line 52 I found it : 'version' => '1.13',
Error log:
Every minute (my vup refresh time) I get this line in my log:
clever-excel-forum.net anon-87-151-175-98.t-ipconnect.de - - [18/Dec/2020:00:43:20 +0100] "GET /xmlhttp.php?action=unreadPosts_getUnreads&fid0 HTTP/1.1" 200 193 "https://www.clever-excel-forum.net/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36 Edg/87.0.664.60"
PHP Version 7.3
MySQL Version 5.6.42
Mybb Version 1.8.24
Hi,
I hope you are familiar with GoMobile plugin. I've been using it for a long time now and recently I've noticed that the "last post button" (/showthread.php?tid=XXX&action=lastpost) or simply the link with lastpost action won't work properly. It either shows the wrong page or first page when I use the link in the GoMobile version of forum. This problem does not appear when using the normal desktop version.
It's 100% MyBB-View_Unread_posts issue - I've checked all plugins and switching this one off fixes the issue. I've tried reinstalling GoMobile plugin as I've modified mine, but it doesn't matter.
I'm using GoMobile 1.1 - https://github.com/jasonliehr/MyBB-GoMobile/archive/master.zip
Mybb 1.6.13 and MyBB-View_Unread_posts 2.11.
Please help me get this issue fixed. I believe this might be present in MyBB 1.8.X too.
I can give you access to my forum if you need it, but I hope it won't be necessary.
When i use additional moderator options i have a white page with Fatal error: Call to undefined function mark_thread_read() in /inc/plugins/unreadPosts.php on line 395
It is after update..
Again with a new version same issue as reported many times...
Sometimes the post is not marked as read, so the counter still displays that there are X posts unread. I have to visit posts again to make them read :(
In plugins (acp ) we can see Install & Activate when plugin is installed activated and work
function unreadPosts_is_installed()
{
global $mybb;
return (isset($mybb->settings['unreadPostsExceptions']));
}
after install this setting is empty and plugins area in acp show as again Install & Activate
this will work better
function unreadPosts_is_installed()
{
global $mybb, $db;
$query = $db->simple_select('settinggroups', '*', 'name=\'unreadPosts\'');
$group = $db->fetch_array($query);
if($group === null || empty($group))
return false;
return true;
}
Hi,
I installed the plugin and got it working. I noticed that if it lists 2 messages for example, I click on those 2 messages and read them, then click the view unread messages link again, the 2 messages are still there. They are not market as read, even though I read them. Unless I click the 'mark forum' read board at the time, they stay there. This does not appear to happen in the in-built read/not read marker. Is this expected? Is there a way around this? Thanks.
When the background ajax request finds that there are new unread posts, beside updating the counter in the page, it could also reflect this in the page's title. This way, the user can see that there are new posts even if he/she is not looking at the page, like with Twitter.
It would be best if this feature was turned on or off in the user's preferences (some people might want not to have this distraction), and/or globally in the ACP.
OK, v1.13 is much better than v1.12.
There are no more own posts marked as unread etc.
But, there is still one issue and I found the way how to reproduce it:
When you click on the icon "go to the first unread" or click on the thread subject -> unread posts are marked as read and the post counter is fine (in /search.php?action=unreads page).
However when you click on the "thread subject" in displayforum_thread -> posts are not marked as read (you can see the unread "text" in the top right corner of the post).
@lukasamd - I know, you wrote that v1.13 is the last one, so I created this issue for other users, I would like to see more updates but I understand completely that MyBB is only a hobby for you and it is quite time consuming :(
After updating the plugin showing old Version no as Version 1.11 in mybb ACP plugin. due to this mybb ACP showing plugin update is available
Plugin should show Version 1.12 in mybb ACP plugin
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.