[BETA] Copy New Topic

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!
Scam Warning
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
david63
Registered User
Posts: 16556
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

[BETA] Copy New Topic

Post by david63 » Fri Jan 29, 2016 3:48 pm

phpbb3-extension-copynewtopic

Description:
This extension copies a new topic from a specified forum to another forum.

Features:
  • Select "from" forum
  • Select "to" forum
  • The user's post count will not increase with the copied topic
Languages:
en

Status:
1.1.0-b2

Installation:
  • Download the latest release and unzip it.
  • Copy the entire contents from the unzipped folder to root/ext/
  • Navigate in the ACP to Customise -> Manage extensions.
  • Find Copy new topic under "Disabled Extensions" and click Enable.
Repository:
https://github.com/david63/copynewtopic

Note:
This extension does not set any forum permissions - that is for the user to do.
Last edited by david63 on Sat Jan 30, 2016 2:50 pm, edited 1 time in total.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

Bruninoit
Registered User
Posts: 499
Joined: Thu Jun 13, 2013 2:34 pm
Location: Florence (Italy)
Name: Bruno Andrew
Contact:

Re: [BETA] Copy New Topic

Post by Bruninoit » Fri Jan 29, 2016 4:03 pm

There isn't a native function for that?

User avatar
david63
Registered User
Posts: 16556
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [BETA] Copy New Topic

Post by david63 » Fri Jan 29, 2016 4:06 pm

Not to copy it automatically.

This extension will copy a post made in a specific forum to another forum once submit is hit.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
Raul [ThE KuKa]
Style Customisations
Style Customisations
Posts: 6526
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo
Contact:

Re: [BETA] Copy New Topic

Post by Raul [ThE KuKa] » Fri Jan 29, 2016 5:47 pm

I like David.
david63 wrote:.....
The user's post count will not increase with the copied topic
And of course, this point is important...

I will be alert for translation when this is complete, or whenever you feel.

Thanks David.
All unsolicited PMs will be ignored.
:warning: Knowledge Base | Documentation | Board rules | phpBB Styles Rules & Policies :warning:


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



User avatar
Elias
Registered User
Posts: 4625
Joined: Sat Feb 25, 2006 4:31 pm
Location: In the Water!
Name: Elias

Re: [BETA] Copy New Topic

Post by Elias » Sat Jan 30, 2016 3:43 am

Downloaded and tested on a new board:

I get the following phpBB Notice when setting the "copy new topic" settings in the ACP:

Code: Select all

[phpBB Debug] PHP Notice: in file [ROOT]/ext/david63/copynewtopic/controller/admin_controller.php on line 127: Undefined variable: from_forum
[phpBB Debug] PHP Notice: in file [ROOT]/ext/david63/copynewtopic/controller/admin_controller.php on line 128: Undefined variable: to_forum
Also the settings in the ACP aren't saving, keep going back to default.
Topics aren't being copied.

Is there forum permissions i need to set or is the only thing to set in the extensions tab?

Thanks
"Mystery creates wonder, and wonder is the basis of man's desire to understand." - Neil Armstrong
|Installing Extensions|Writing Extensions|Extension Validation Policy|

User avatar
david63
Registered User
Posts: 16556
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [BETA] Copy New Topic

Post by david63 » Sat Jan 30, 2016 2:51 pm

Updated to v1.1.0-b2

Disable/Upload new files/Enable

You now have to enable this in the ACP > Extensions

Bug fixes and improved error checking.
Last edited by david63 on Sat Jan 30, 2016 2:54 pm, edited 1 time in total.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
david63
Registered User
Posts: 16556
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [BETA] Copy New Topic

Post by david63 » Sat Jan 30, 2016 2:53 pm

Elias wrote:I get the following phpBB Notice when setting the "copy new topic" settings in the ACP:
Should be fixed (I hope!)
Elias wrote:Also the settings in the ACP aren't saving, keep going back to default.
That would be because of the above error
Elias wrote:Topics aren't being copied.
Because of the error above
Elias wrote:Is there forum permissions i need to set
No
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
Elias
Registered User
Posts: 4625
Joined: Sat Feb 25, 2006 4:31 pm
Location: In the Water!
Name: Elias

Re: [BETA] Copy New Topic

Post by Elias » Sun Jan 31, 2016 1:58 pm

Works perfectly! :D

Nice man!
"Mystery creates wonder, and wonder is the basis of man's desire to understand." - Neil Armstrong
|Installing Extensions|Writing Extensions|Extension Validation Policy|

Holger
Registered User
Posts: 1756
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: [BETA] Copy New Topic

Post by Holger » Tue Feb 02, 2016 10:57 am

Does the overall/board postcount increase?

User avatar
david63
Registered User
Posts: 16556
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [BETA] Copy New Topic

Post by david63 » Tue Feb 02, 2016 11:57 am

Holger wrote:Does the overall/board postcount increase?
Don't know :oops: - I will have to check

The question then is - should it or should it not?
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
Mauron
Registered User
Posts: 342
Joined: Wed Jul 16, 2014 11:25 am

Re: [BETA] Copy New Topic

Post by Mauron » Tue Feb 02, 2016 12:15 pm

I guess it should work according to the built-in topic copy.

Holger
Registered User
Posts: 1756
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: [BETA] Copy New Topic

Post by Holger » Tue Feb 02, 2016 12:37 pm

david63 wrote:
Holger wrote:Does the overall/board postcount increase?
Don't know :oops: - I will have to check

The question then is - should it or should it not?
I dont think it should!
Hm, this could be used to boost the postcount in order to make the site more attractive for advertisers.
The Ext could copy all new topics to a hidden forum.

User avatar
david63
Registered User
Posts: 16556
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [BETA] Copy New Topic

Post by david63 » Tue Feb 02, 2016 3:51 pm

Holger wrote:Does the overall/board postcount increase?
Not now it doesn't :)
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

Holger
Registered User
Posts: 1756
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: [BETA] Copy New Topic

Post by Holger » Tue Feb 02, 2016 3:52 pm

Cool!

User avatar
Elias
Registered User
Posts: 4625
Joined: Sat Feb 25, 2006 4:31 pm
Location: In the Water!
Name: Elias

Re: [BETA] Copy New Topic

Post by Elias » Tue Feb 02, 2016 9:59 pm

david63 wrote:The question then is - should it or should it not?
A nice ACP feature to toggle this would be nice!
"Mystery creates wonder, and wonder is the basis of man's desire to understand." - Neil Armstrong
|Installing Extensions|Writing Extensions|Extension Validation Policy|

Post Reply

Return to “Extensions in Development”