[3.2][BETA] Archive Forum

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Suggested Hosts
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
martti
Registered User
Posts: 914
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

[3.2][BETA] Archive Forum

Post by martti »

Here the fruits of my work to be beta-tested mercilessly:

Extension Name: Archive Forum
Author: martti
Extension Description:

With this extension you define one forum as the "Archive" for obsolete topics.
In the "Archive forum" the original forum is shown below the title of each topic.
Two moderator actions are provided "Archive" and "Restore". They depend on the same permission as "Move"(topics).
Note that you still have to set yourself the appropriate permissions for the "Archive Forum" and give it a proper name (suggestion: "Archive"). Normal users should not be able to post in there.

Extension Version: 0.2.1
Requirements:
  • phpBB 3.2.1
  • PHP 7.1+
Extension Download: https://github.com/marttiphpbb/phpbb-ex ... master.zip The files are to be put into ext/marttiphpbb/archiveforum
Github repository: https://github.com/marttiphpbb/phpbb-ext-archiveforum
Languages: en
Templates: Prosilver
Screenshots:

A topic in the Archive:

Image

Archive viewforum

Image

Archive topic in MCP

Image

Archive forum MCP

Image

QUICKMOD:

Image

Confirm Archive:

Image

Confirm Restore from Archive

Image

ACP

Image
Last edited by martti on Sun Jul 21, 2019 8:27 pm, edited 3 times in total.
User avatar
jan_2017
Registered User
Posts: 161
Joined: Sun May 07, 2017 3:39 pm

Re: [3.2][BETA] Archive Forum

Post by jan_2017 »

Very Nice !!! :D
sakkiotto
Registered User
Posts: 236
Joined: Mon Jun 13, 2005 9:45 pm

Re: [3.2][BETA] Archive Forum

Post by sakkiotto »

nice work! ;)
User avatar
Raul [ThE KuKa]
Style Customisations
Style Customisations
Posts: 11148
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo

Re: [3.2][BETA] Archive Forum

Post by Raul [ThE KuKa] »

I like martti!!! :medal:
All unsolicited PMs will be ignored.
:warning: Knowledge Base | Documentation | Board rules | phpBB Styles Rules & Policies | Styles Queue Stats :warning:


If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate.
:flag_es: phpBB Spain - Online Since 2003 :heart:


User avatar
John Rambo
Registered User
Posts: 84
Joined: Tue Jun 18, 2013 8:46 pm

Re: [3.2][BETA] Archive Forum

Post by John Rambo »

Raul [ThE KuKa] wrote: Wed May 02, 2018 6:47 pm I like martti!!! :medal:
quote....
User avatar
nou nou
Registered User
Posts: 757
Joined: Sat Oct 29, 2016 8:08 pm

Re: [3.2][BETA] Archive Forum

Post by nou nou »

That looks very useful, subscribed! :)
User avatar
martti
Registered User
Posts: 914
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.2][BETA] Archive Forum

Post by martti »

Version 0.2.0 listens to an event of the Calendar Auto Archive extension
User avatar
nou nou
Registered User
Posts: 757
Joined: Sat Oct 29, 2016 8:08 pm

Re: [3.2][BETA] Archive Forum

Post by nou nou »

Very nice looking! I will test it as soon as I have time to dive into phpBB again (which is not right now but I've subscribed to the topic... ;))

Would it be possible to have a feature where users can flag a topic for archival?

Could be an additional reason in the core flagging functionality...
User avatar
martti
Registered User
Posts: 914
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.2][BETA] Archive Forum

Post by martti »

nou nou wrote: Mon Sep 24, 2018 7:21 pm Would it be possible to have a feature where users can flag a topic for archival?
For me that would be something to put in a separate extension. I like to keep extensions simple, focused on one thing. It could be a topic flagging extension; to flag whatever is configured. However, probably I'm not going to make such extension myself.
User avatar
nou nou
Registered User
Posts: 757
Joined: Sat Oct 29, 2016 8:08 pm

Re: [3.2][BETA] Archive Forum

Post by nou nou »

Fair enough.
Tarantino
Registered User
Posts: 876
Joined: Sat Feb 18, 2012 1:51 pm

Re: [3.2][BETA] Archive Forum

Post by Tarantino »

On the move page "Do you want to move the topic to the archive forum?"

If I've the debug enable I get this warning:

[phpBB Debug] PHP Notice: in file [ROOT]/ext/marttiphpbb/archiveforum/event/mcp_topic_listener.php on line 134: Undefined variable: forum_id

Kudos
User avatar
martti
Registered User
Posts: 914
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.2][BETA] Archive Forum

Post by martti »

Tarantino wrote: Sun Jul 21, 2019 6:12 pm On the move page "Do you want to move the topic to the archive forum?"

If I've the debug enable I get this warning:

[phpBB Debug] PHP Notice: in file [ROOT]/ext/marttiphpbb/archiveforum/event/mcp_topic_listener.php on line 134: Undefined variable: forum_id

Kudos
Thanks, it's indeed an unset variable. That line can be removed.

To be removed:

Code: Select all

			'f'				=> $forum_id,
Update. Fixed in version 0.2.1
User avatar
ac_roma
Registered User
Posts: 321
Joined: Thu Mar 08, 2007 2:48 pm
Location: egypt,alexandria

Re: [3.2][BETA] Archive Forum

Post by ac_roma »

great mod and useful ;)
Tarantino
Registered User
Posts: 876
Joined: Sat Feb 18, 2012 1:51 pm

Re: [3.2][BETA] Archive Forum

Post by Tarantino »

Thks for the fix martii. Btw would be great if you could make this to accept multiple locations.

For example. I would create a Trash Location and select the Trash forum.
Then I would create a Topic Remodelation and select the Remodelation forum.

Se we would have more then 1 button without the need to create a clone of this extension for this behavior.

OR as alternative we could only have 1 button but we would select that the Forum IDs 1,2,3 would send to Trash and the Forum IDs 4,5,6 would send to Remodelation. That way the same button depending on the forum we're at would automatically move to a different place.

One method or another would make this extension even better.

Dunno what do you think about this. Best Regards
User avatar
martti
Registered User
Posts: 914
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.2][BETA] Archive Forum

Post by martti »

Tarantino wrote: Fri Jul 26, 2019 1:28 pm Thks for the fix martii. Btw would be great if you could make this to accept multiple locations.

For example. I would create a Trash Location and select the Trash forum.
Then I would create a Topic Remodelation and select the Remodelation forum.

Se we would have more then 1 button without the need to create a clone of this extension for this behavior.

OR as alternative we could only have 1 button but we would select that the Forum IDs 1,2,3 would send to Trash and the Forum IDs 4,5,6 would send to Remodelation. That way the same button depending on the forum we're at would automatically move to a different place.

One method or another would make this extension even better.

Dunno what do you think about this. Best Regards
For my use case that is overcomplicated. I like also to keep extensions as simple as possible, keeping focus on one thing.

Return to “Extensions in Development”