phpBB2Refugees.com Logo
Not affiliated with or endorsed by the phpBB Group

Register •  Login 

Continue the legacy...

Welcome to all phpBB2 Refugees!Wave Smilie

This site is intended to continue support for the legacy 2.x line of the phpBB2 bulletin board package. If you are a fan of phpBB2, please, by all means register, post, and help us out by offering your suggestions. We are primarily a community and support network. Our secondary goal is to provide a phpBB2 MOD Author and Styles area.

[DEV] Mod Folder You Posts
1 members found this topic helpful

 
Search this topic... | Search MOD Development... | Search Box
Register or Login to Post    Index » MOD Development  Previous TopicPrint TopicNext Topic
Author Message
vlad77
Board Member



Joined: 31 May 2015

Posts: 93


flag
PostPosted: Thu Jul 11, 2019 7:28 am 
Post subject: Mod Folder You Posts

Title: Mod Folder You Posts
Author: vlad77
Description: This mod in the forums and in the search, the dot (point) marks the topics in which you posted messages.
Version: 1.0.1
Note: Another borrowing from phpBB3 icon_wink.gif



Mod_folder_you_posts.zip
 Description:
Version: 1.0.1
This mod in the forums and in the search, the dot (point) marks the topics in which you posted messages.

Download
 Filename:  Mod_folder_you_posts.zip
 Filesize:  17.89 KB
 Downloaded:  57 Time(s)

Back to top
lumpy burgertushie
Board Member



Joined: 19 Nov 2008

Posts: 237


flag
PostPosted: Sat Jul 13, 2019 3:04 pm 
Post subject: Re: Mod Folder You Posts

doesnt' phpbb 2 already do that? it does on this board and I thought it was a standard part of phpbb2

robert
Back to top
Vendethiel
Board Member



Joined: 26 Oct 2014

Posts: 163



PostPosted: Sat Jul 13, 2019 3:55 pm 
Post subject: Re: Mod Folder You Posts

No, not by default.
_________________
Developer on EzArena, the ADR premod.
Developer on Icy Phoenix, the phpBB hybrid cms.
Developer on IntegraMOD, the full-featured premod.
Help me archive premods on github! (fixed for recent PHPs).
Back to top
drathbun
Board Member



Joined: 24 Jul 2008

Posts: 689
Location: Texas


flag
PostPosted: Sun Jul 14, 2019 4:07 am 
Post subject: Re: Mod Folder You Posts

The feature used on this site (and my other phpBB2 boards) is definitely a MOD. I don't seem to have captured the steps / written it up as a MOD install file though. The list of MODs on this board is here:

http://www.phpbb2refugees.com/viewtopic.php?t=26

The feature you're talking about is called the Activity Indicator.

_________________
phpBBDoctor Blog
Back to top
vlad77
Board Member



Joined: 31 May 2015

Posts: 93


flag
PostPosted: Sun Jul 14, 2019 12:16 pm 
Post subject: Re: Mod Folder You Posts

Version: 1.0.1
Removed query cache cleanup topics when creating a new topic, because clear doesn't.
Added addon for clearing the cache through the admin area.

Update 1.0.0 to 1.0.1
Code:
open
includes/functions.php

find
   if($mode != '' && $mode != 'post_id' && $mode != 'reset_all' && $mode != 'newtopic' && $mode != 'reply' && $mode != 'delete' && $mode != 'remove')

replace with
   if($mode != '' && $mode != 'post_id' && $mode != 'reset_all' && $mode != 'reply' && $mode != 'delete' && $mode != 'remove')
Back to top
vlad77
Board Member



Joined: 31 May 2015

Posts: 93


flag
PostPosted: Sun Jul 14, 2019 12:24 pm 
Post subject: Re: Mod Folder You Posts

On this forum http://phpbb2refugees.com/ , the topics in which I left messages are not marked by a point.

Topics in which you wrote something are automatically marked with a dot (point).
I'm from Russia, maybe a bad translation in English

In attachment, what it looks like



1234.png
 Description:
 Filesize:  18.97 KB
 Viewed:  69 Time(s)

1234.png


Back to top
drathbun
Board Member



Joined: 24 Jul 2008

Posts: 689
Location: Texas


flag
PostPosted: Mon Jul 15, 2019 2:55 am 
Post subject: Re: Mod Folder You Posts

Here it's different; it puts the indicator of your posting activity next to the icon, not on top of it. In my case below it's a green arrow. The color is something you can customize in your profile.


activity-indicator.png
 Description:
Activity Indicator
 Filesize:  9.72 KB
 Viewed:  1424 Time(s)

activity-indicator.png



_________________
phpBBDoctor Blog
Back to top
ABDev
Board Member



Joined: 01 Jun 2009

Posts: 45


flag
PostPosted: Tue Jul 16, 2019 5:24 am 
Post subject: Re: Mod Folder You Posts

vlad77 wrote:
Update 1.0.0 to 1.0.1
Code:
open
includes/functions.php

find
   if($mode != '' && $mode != 'post_id' && $mode != 'reset_all' && $mode != 'newtopic' && $mode != 'reply' && $mode != 'delete' && $mode != 'remove')

replace with
   if($mode != '' && $mode != 'post_id' && $mode != 'reset_all' && $mode != 'reply' && $mode != 'delete' && $mode != 'remove')

You could use the in_array function, it would have been cleaner.

Code:
if !in_array($mode, array('', 'post_id', 'reset_all', 'reply', 'delete', 'remove'))
Back to top
Display posts from previous:   
Register or Login to Post    Index » MOD Development  Previous TopicPrint TopicNext Topic
Page 1 of 1 All times are GMT
 
Jump to:  

Index • About • FAQ • Rules • Privacy • Search •  Register •  Login 
Not affiliated with or endorsed by the phpBB Group
Powered by phpBB2 © phpBB Group
Generated in 0.0282 seconds using 18 queries. (SQL 0.0033 Parse 0.0024 Other 0.0226)
phpBB Customizations by the phpBBDoctor.com
Template Design by DeLFlo and MomentsOfLight.com Moments of Light Logo