Request "last edited" feature

Looking for an Extension? Have an Extension request? Post your request here for help. (Note: This forum is community supported; while there is an Extensions Development Team, said team does not dedicate itself to handling requests in this forum)
Scam Warning
Post Reply
User avatar
RMcGirr83
Recognised Extension Developer
Posts: 20958
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Request "last edited" feature

Post by RMcGirr83 » Wed Nov 15, 2017 8:09 pm

In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

User avatar
david63
Jr. Extension Validator
Posts: 14946
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Request "last edited" feature

Post by david63 » Wed Nov 15, 2017 9:31 pm

accs-p wrote:
Wed Nov 15, 2017 9:12 pm
it's not supported in phpBB 3.2
Works just fine in 3.2.x
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
Tarantino
Registered User
Posts: 671
Joined: Sat Feb 18, 2012 1:51 pm
Contact:

Re: Request "last edited" feature

Post by Tarantino » Wed Nov 22, 2017 3:19 pm

But with the extension that was shared above, just moderators will be able to see the logs. No normal user will have that permission, so why does you want to show just moderator? Am i missing something?

User avatar
Tarantino
Registered User
Posts: 671
Joined: Sat Feb 18, 2012 1:51 pm
Contact:

Re: Request "last edited" feature

Post by Tarantino » Wed Nov 22, 2017 5:12 pm

Ahhh, I see now! That should be easy to do (with code edits). Via extension dunno if its that easy.

User avatar
Tarantino
Registered User
Posts: 671
Joined: Sat Feb 18, 2012 1:51 pm
Contact:

Re: Request "last edited" feature

Post by Tarantino » Wed Nov 22, 2017 5:39 pm

It must be on viewtopic.php ;) I'll take a look soon, when I got some free time.

User avatar
Tarantino
Registered User
Posts: 671
Joined: Sat Feb 18, 2012 1:51 pm
Contact:

Re: Request "last edited" feature

Post by Tarantino » Wed Nov 22, 2017 7:02 pm

That doesn't seem the best approach xD
It's better to use at least an if. If the user group of the user that edit the post is an moderator then display moderator else normal phpbb code.

You can do it. Believe in me that believes in you. XD

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 20958
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Request "last edited" feature

Post by RMcGirr83 » Wed Nov 22, 2017 7:09 pm

accs-p wrote:
Wed Nov 22, 2017 6:55 pm
This has been placed into the Ideas forum as a suggestion, along with the above code change.

viewtopic.php?f=436&t=2447161
The term moderator is a hardocded language term so your idea will never be realized the way you have it now.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

User avatar
Tarantino
Registered User
Posts: 671
Joined: Sat Feb 18, 2012 1:51 pm
Contact:

Re: Request "last edited" feature

Post by Tarantino » Wed Nov 22, 2017 7:31 pm

No, you're wrong. :lol: It can be administrator too. And for me the admin should see everything. If you put someone else except the poster the admin will not see who edited.

;)

User avatar
Tarantino
Registered User
Posts: 671
Joined: Sat Feb 18, 2012 1:51 pm
Contact:

Re: Request "last edited" feature

Post by Tarantino » Wed Nov 22, 2017 7:50 pm

Just check with this

if ($auth->acl_getf_global('m_')) {
Display here the moderator text
}
Else{
Original phpbb code
}

Sorry but I'm on my phone

Ps: this is nothing to do with post edit log. Forget it about it xD

Post Reply

Return to “Extension Requests”

Who is online

Users browsing this forum: nudels64 and 17 guests