keep unread flags

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.

Rating:

Excellent!
72
75%
Very Good
16
17%
Good
4
4%
Fair
0
No votes
Poor
4
4%
 
Total votes : 96

keep unread flags

Postby MOD Robot » Thu Jul 21, 2005 2:39 pm

Modification name: keep unread flags
Author: asinshesq
Modification description: This mod keeps the unread flags for a topic active until the topic is read. It also activates the new post feature for guests.
Modification version: 2.0.7
Tested on phpBB version: See below

Download file: keep_unread_version_2-0-7.zip
File size: 129338 Bytes

Modification overview page: View


Selected tags:
  1. category
    1. Add-Ons
  2. phpbb
    1. 2.0.22

Support for this modification needs to be asked within this topic. The phpBB Team is not responsible or required to give anyone support for this modification. By installing this MOD, you acknowledge that the phpBB Support Team or phpBB MODifications Team may not be able to provide support.

This MOD has only been tested by the phpBB MOD Team with the phpBB version listed in the topic. It may not work in any other versions of phpBB.
Last edited by MOD Robot on Tue Aug 07, 2007 8:54 am, edited 2 times in total.
(this is a non-active account manager for the phpBB MOD Team)
MOD Robot
MOD Queue Bot
MOD Queue Bot
 
Posts: 24703
Joined: Sat Aug 16, 2003 7:36 am

Postby TerraFrost » Mon Jul 25, 2005 4:11 pm

MOD Validated/Released

Notes:
A "substantial rewrite" of Ptirhiik's keep unread flags, this MOD modifies how unread / read threads are determined / distinguished.
User avatar
TerraFrost
Former Team Member
 
Posts: 5957
Joined: Sun Dec 26, 2004 3:40 am
Location: Austin, TX

Postby asinshesq » Mon Jul 25, 2005 4:23 pm

Thanks, TerraFrost!

This is a re-write of Ptirhiik's great keep unread mod (see http://www.phpbb.com/phpBB/viewtopic.php?t=158578 ). With Ptirhiik's express permission (and very helpful suggestions), Merlin Sythove has written a new and improved version of the keep unread mod.

Despite my username listing as author on the first post of this topic, Merlin did almost 100% of the work...all I did was to test the mod, offer a few suggestions, package it for validation and write a simple mod to the mod (which you can find in the contrib folder of the download) that makes the 'View unread posts' link more obvious when there are unread posts.

Here are the changes as quoted from the mod description:

## The following are new features as a result of Merlin's upgrade in May 2005:
##
## 1. The upgrade solves the bugs that sometimes gave a user an unread flag on
## his or her own posts, sometimes gave a user an unread flag on other posts that
## he or she had already read and sometimes caused a user to lose all unread flags.
##
## 2. The upgrade keeps unread flags beyond the current page of a topic until
## the user actually visits that page.
##
## 3. The upgrade gives the user a new yellow button on each post (right next
## to the quote button) that allows the user to mark the topic unread
## again from that post onwards (a sort of bookmark function).


Note that in the download you will find the basic mod as well as, in a 'contrib' folder, an upgrade mod that takes you from Ptirhiik's original version (1.0.0) to this one if you already have the old one installed plus a set of changed phpbb 2.0.17 files if your board is not modded and you prefer to simply install a new set of phpbb files that already have the mod installed.

Please make sure you read the author's notes, since they describe a number of tweaks and add-ons that you may want to consider using for your board.

Oh, and one more thing: this is a very long mod and you are almost 100% guaranteed to make mistakes if you try to install it by hand. Please save yourself a lot of time (and please save us support time) by installing with easymod!!
Last edited by asinshesq on Fri Aug 04, 2006 11:54 pm, edited 12 times in total.
asinshesq
QA Team
 
Posts: 6161
Joined: Sun Feb 22, 2004 9:34 pm
Location: NYC
Name: Alan

Postby VVVas » Wed Jul 27, 2005 11:10 am

Very-very-very best mod.
Many thanks.
I am sorry for my bad english. I do not know it. I am from Russian.
forum.VVVas.ru
User avatar
VVVas
Registered User
 
Posts: 22
Joined: Sun Jun 26, 2005 8:42 am
Location: RU - MSK

Postby mikeInside » Wed Jul 27, 2005 12:28 pm

Thanks heaps, this is perfect :)
mikeInside
Registered User
 
Posts: 12
Joined: Mon May 23, 2005 3:12 am

Postby »»EDDY«« » Wed Jul 27, 2005 4:29 pm

This is excellent update MOD:)
Make a Tiny URL in excellent domain heh.pl


cooling system & water cooling
User avatar
»»EDDY««
Registered User
 
Posts: 220
Joined: Mon Jun 02, 2003 10:14 am
Location: Poland/Slupsk

Postby Ptirhiik » Wed Jul 27, 2005 5:04 pm

:)
User avatar
Ptirhiik
Registered User
 
Posts: 7411
Joined: Mon Jan 06, 2003 10:36 pm

Postby acslater » Wed Jul 27, 2005 5:14 pm

i saw this in the instructions:

If you are running the split topic type mod, the topic calendar mod, the profile control panel or any other mod that installs a file called d 'functions_topic_list.php' in your includes/ directory, you need to install the mod_for_functions_topics_list after you have already installed this mod (that mod has not yet been written and may never be)


so this doesn't work with PCP, and probably never will?
acslater
Registered User
 
Posts: 28
Joined: Fri Oct 01, 2004 1:25 pm

Postby »»EDDY«« » Wed Jul 27, 2005 7:08 pm

I have one problem.
Previously I have in viewforum.php:
Code: Select all
      if( $unread_topics )
      {
         $view_topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&view=newest");
      }
      else
      {
         $view_topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id");
      }
//      $view_topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id");


What do I have to make this now to work?
Make a Tiny URL in excellent domain heh.pl


cooling system & water cooling
User avatar
»»EDDY««
Registered User
 
Posts: 220
Joined: Mon Jun 02, 2003 10:14 am
Location: Poland/Slupsk

Postby asinshesq » Wed Jul 27, 2005 7:10 pm

acslater wrote:i saw this in the instructions:

If you are running the split topic type mod, the topic calendar mod, the profile control panel or any other mod that installs a file called d 'functions_topic_list.php' in your includes/ directory, you need to install the mod_for_functions_topics_list after you have already installed this mod (that mod has not yet been written and may never be)


so this doesn't work with PCP, and probably never will?


Actually, see this post: http://www.phpbb.com/phpBB/viewtopic.ph ... 02#1683702

If you tryi it, let us know what happens.
asinshesq
QA Team
 
Posts: 6161
Joined: Sun Feb 22, 2004 9:34 pm
Location: NYC
Name: Alan

Postby Merlin Sythove » Sat Jul 30, 2005 12:27 pm

»»EDDY«« wrote:I have one problem...


Just back from holiday. Please explain what the problem is:
1. Where are those lines you quote
2. Are they from the original phpBB file
3. Why are you quoting them? Is Easymod giving you a problem there?
Merlin Sythove
Registered User
 
Posts: 2339
Joined: Tue Mar 16, 2004 7:42 am

Postby »»EDDY«« » Sat Jul 30, 2005 3:48 pm

I in version 1.0 in file viewforum.php exchanged this

Code: Select all
      $view_topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id");


to this
Code: Select all
      if( $unread_topics )
      {
         $view_topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&view=newest");
      }
      else
      {
         $view_topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id");
      }

but in version 2+ it does't work.
Make a Tiny URL in excellent domain heh.pl


cooling system & water cooling
User avatar
»»EDDY««
Registered User
 
Posts: 220
Joined: Mon Jun 02, 2003 10:14 am
Location: Poland/Slupsk

Postby Merlin Sythove » Sat Jul 30, 2005 10:29 pm

You have to "uninstall" version 1 - the mod also has instructions on how to do that and install the new version 2 at the same time, for those people who want to change from Ptirhiik's mod to mine in one go.
Merlin Sythove
Registered User
 
Posts: 2339
Joined: Tue Mar 16, 2004 7:42 am

Postby asinshesq » Sat Jul 30, 2005 10:54 pm

Merlin Sythove wrote:You have to "uninstall" version 1 - the mod also has instructions on how to do that and install the new version 2 at the same time, for those people who want to change from Ptirhiik's mod to mine in one go.


There is an upgrade script in the 'contrib' folder that you should be using instead of the basic mod if you have the original keep unread installed. You just have to follow instructions in that upgrade script (you don't need to formally 'uninstall' anything). And please use easymod to do this so you don't make inadvertent errors and then take up a lot of your time (and ours) chasing them down.
asinshesq
QA Team
 
Posts: 6161
Joined: Sun Feb 22, 2004 9:34 pm
Location: NYC
Name: Alan

Postby »»EDDY«« » Sun Jul 31, 2005 6:50 am

We did not it understand.
I have installed version 2, there now I want this small modification to work.
if( $unread_topics )
{
$view_topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&view=newest");
}
else
{
$view_topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id");
}
Make a Tiny URL in excellent domain heh.pl


cooling system & water cooling
User avatar
»»EDDY««
Registered User
 
Posts: 220
Joined: Mon Jun 02, 2003 10:14 am
Location: Poland/Slupsk

Next

Return to [2.0.x] MOD Database Releases

Who is online

Users browsing this forum: No registered users and 4 guests