new topic lock option...

Note: We are moving the topics of this forum and it will be deleted at some point

Publish your own request for comments/change or patches for the next version of phpBB. Discuss the contributions and proposals of others. Upcoming releases are 3.2/Rhea and 3.3.
User avatar
spaceace
Registered User
Posts: 11
Joined: Thu Dec 04, 2014 4:33 pm
Location: Ontario Canada
Contact:

new topic lock option...

Post by spaceace » Thu Dec 04, 2014 4:37 pm

when creating a new topic that for example you know will be a locked topic. you have to create the topic, then go into mod tools and lock it. my request is to have the option on the topic creation page to lock it as in my phpBB 3.0.X mod that was released on the phpBB.com site.

User avatar
Pony99CA
Registered User
Posts: 986
Joined: Sun Feb 08, 2009 2:35 am
Location: Hollister, CA
Contact:

Re: new topic lock option...

Post by Pony99CA » Fri Dec 05, 2014 1:50 am

Code that as an extension first, then see if people like it.

Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.

User avatar
spaceace
Registered User
Posts: 11
Joined: Thu Dec 04, 2014 4:33 pm
Location: Ontario Canada
Contact:

Re: new topic lock option...

Post by spaceace » Sun Dec 14, 2014 1:15 am

i just don't understand why it was never part of the core code in the first place.

you make a post that you already know will be locked, possibly even a sticky... you get done, click on submit, then you have to view the post and finally lock it. that's taking the long way to get the job done when you could have simply put a check in the lock topic box and click submit

User avatar
hanakin
Infrastructure Team
Infrastructure Team
Posts: 788
Joined: Sat Dec 25, 2010 9:02 pm
Contact:

Re: new topic lock option...

Post by hanakin » Sun Dec 14, 2014 1:11 pm

That makes no sense when you create a topic there is an option at the bottom to lock it before you click submit as long as you have the permissions

leschek
Registered User
Posts: 161
Joined: Tue Aug 28, 2012 1:30 pm

Re: new topic lock option...

Post by leschek » Sun Dec 14, 2014 3:15 pm

hanakin wrote:That makes no sense when you create a topic there is an option at the bottom to lock it before you click submit as long as you have the permissions
I can see the option to lock a topic when I edit it, but I don't see it when I create a topic.

User avatar
BioLogIn
Registered User
Posts: 28
Joined: Mon Dec 10, 2012 6:55 pm

Re: new topic lock option...

Post by BioLogIn » Sun Dec 14, 2014 6:10 pm

I just checked, and there is a menu to lock / sticky / etc. on creation of new topic in 3.0.12.

Are you guys talk about 3.1 here? If so, can't believe this feature was removed, it was handy to have...

User avatar
spaceace
Registered User
Posts: 11
Joined: Thu Dec 04, 2014 4:33 pm
Location: Ontario Canada
Contact:

Re: new topic lock option...

Post by spaceace » Sun Dec 14, 2014 9:13 pm

ok, to avoid any confusion. this is where the option to lock the new topic would go. i have manually modified the core files to achieve this and the code works fine with 3.1.2 as it also did with 3.0.12
lock_option.jpg
(126.19 KiB) Downloaded 6 times

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 1731
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth
Contact:

Re: new topic lock option...

Post by DavidIQ » Sun Jan 11, 2015 4:32 am

BioLogIn wrote:I just checked, and there is a menu to lock / sticky / etc. on creation of new topic in 3.0.12.

Are you guys talk about 3.1 here? If so, can't believe this feature was removed, it was handy to have...
Lock wasn't an option available out of the box in 3.0 when creating a new topic. Just checked three different 3.0 forums. You can still sticky-fy or make a new topic an (global) announcement on creation of course.
Image

User avatar
spaceace
Registered User
Posts: 11
Joined: Thu Dec 04, 2014 4:33 pm
Location: Ontario Canada
Contact:

Re: new topic lock option...

Post by spaceace » Sun Jan 11, 2015 4:02 pm

now, how exactly do i request the events to be added to the core files so i can create the extension? i'm new to this so could someone please explain it in a simple form as i have never done it before ;)

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 1731
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth
Contact:

Re: new topic lock option...

Post by DavidIQ » Sun Jan 11, 2015 8:56 pm

viewtopic.php?f=111&t=42685
Should have the information you're looking for.
Image

Post Reply