[CDB] Prime Post Revisions

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
primehalo
Former Team Member
Posts: 2997
Joined: Fri May 06, 2005 5:58 pm
Location: Redding, CA

Re: [3.2][3.3][RC] Prime Post Revisions

Post by primehalo »

I just updated the version check file to check for v1.0.1-RC1 since that's what it is in composer.json.

No, this doesn't have user-forum-based permissions added. That's not something I want to add. I find the phpBB permissions fairly complicated and don't want to add to it with permissions that most people probably won't use. Are you sure using this didn't work:

Code: Select all

if ($action === 'view')
{
	return $this->auth->data['user_id'] != ANONYMOUS && !$this->auth->data['is_bot'];
}
That should allow all non-guest, non-bot users to view post histories. I see no reason why it wouldn't work.
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!
lol
I've Been Banned!
Posts: 56
Joined: Fri Apr 09, 2021 7:34 pm

Re: [3.2][3.3][RC] Prime Post Revisions

Post by lol »

yes now Re-Check version works good.
i tested this code with guest view and didn't work.
i just used your first code to display for everyone.
but if you have a time in the future please add user-forum-based permission. because for example when you edit a facebook post, every user can see the post histories, not only post's owner.
thanks
😂
User avatar
Dark❶
Registered User
Posts: 395
Joined: Mon Jan 15, 2018 1:22 pm
Location: D@rK V0id
Name: Dark❶ [dark1]

Re: [3.2][3.3][RC] Prime Post Revisions

Post by Dark❶ »

lol wrote: Wed Apr 21, 2021 10:05 pm yes now Re-Check version works good.
i tested this code with guest view and didn't work.
i just used your first code to display for everyone.
but if you have a time in the future please add user-forum-based permission. because for example when you edit a facebook post, every user can see the post histories, not only post's owner.
thanks
You can give registered user group that permission,
Which will apply for all users.

Best regards 👍
Dark❶ [dark1]
lol
I've Been Banned!
Posts: 56
Joined: Fri Apr 09, 2021 7:34 pm

Re: [3.2][3.3][RC] Prime Post Revisions

Post by lol »

Dark❶ wrote: Thu Apr 22, 2021 6:02 am
lol wrote: Wed Apr 21, 2021 10:05 pm yes now Re-Check version works good.
i tested this code with guest view and didn't work.
i just used your first code to display for everyone.
but if you have a time in the future please add user-forum-based permission. because for example when you edit a facebook post, every user can see the post histories, not only post's owner.
thanks
You can give registered user group that permission,
Which will apply for all users.

Best regards 👍
nope. that's not possible with current version. with this version there is only possible for post's owner and moderators.
there is no user-forum-based permission to give registered users that permission.
😂
User avatar
Dark❶
Registered User
Posts: 395
Joined: Mon Jan 15, 2018 1:22 pm
Location: D@rK V0id
Name: Dark❶ [dark1]

Re: [3.2][3.3][RC] Prime Post Revisions

Post by Dark❶ »

lol wrote: Thu Apr 22, 2021 6:11 am ...

nope. that's not possible with current version. with this version there is only possible for post's owner and moderators.
there is no user-forum-based permission to give registered users that permission.
You can also give all registered uses the moderation permission...

Read : Knowledge Base - phpBB3 Permissions < {Open in G-Chrome}
If that does not work, then try : Knowledge Base - phpBB3 Permissions < {Open in G-Chrome}

Best regards :+1:
Dark❶ [dark1]
lol
I've Been Banned!
Posts: 56
Joined: Fri Apr 09, 2021 7:34 pm

Re: [3.2][3.3][RC] Prime Post Revisions

Post by lol »

Dark❶ wrote: Thu Apr 22, 2021 7:29 am
lol wrote: Thu Apr 22, 2021 6:11 am ...

nope. that's not possible with current version. with this version there is only possible for post's owner and moderators.
there is no user-forum-based permission to give registered users that permission.
You can also give all registered uses the moderation permission...

Read : Knowledge Base - phpBB3 Permissions < {Open in G-Chrome}
If that does not work, then try : Knowledge Base - phpBB3 Permissions < {Open in G-Chrome}

Best regards :+1:
yes i know how to give the moderation permission for registered users. but that's not the proper way and even i cant do this because i display users group name on their profile.
😂
User avatar
Dark❶
Registered User
Posts: 395
Joined: Mon Jan 15, 2018 1:22 pm
Location: D@rK V0id
Name: Dark❶ [dark1]

Re: [3.2][3.3][RC] Prime Post Revisions

Post by Dark❶ »

lol wrote: Thu Apr 22, 2021 9:04 am ...
yes i know how to give the moderation permission for registered users. but that's not the proper way and even i cant do this because i display users group name on their profile.
Well! this is the ONLY & PROPER way,
you can not expect 2 different permissions for same action/check,
it's quite useless & unwanted for this extension.

If that's the case,
edit the code yourself & use it,
since this code is open-source you can do that yourself,
for your personal use.

Happy coding...

Best regards :+1:
Dark❶ [dark1]
lol
I've Been Banned!
Posts: 56
Joined: Fri Apr 09, 2021 7:34 pm

Re: [3.2][3.3][RC] Prime Post Revisions

Post by lol »

Dark❶ wrote: Thu Apr 22, 2021 11:34 am
lol wrote: Thu Apr 22, 2021 9:04 am ...
yes i know how to give the moderation permission for registered users. but that's not the proper way and even i cant do this because i display users group name on their profile.
Well! this is the ONLY & PROPER way,
you can not expect 2 different permissions for same action/check,
it's quite useless & unwanted for this extension.

If that's the case,
edit the code yourself & use it,
since this code is open-source you can do that yourself,
for your personal use.

Happy coding...

Best regards :+1:
Okay thank you.
😂
rcarrie
Registered User
Posts: 8
Joined: Thu Jul 16, 2020 5:31 pm

Re: [3.2][3.3][RC] Prime Post Revisions

Post by rcarrie »

Is it possible to view a list of edited posts? Or get a notification after a user edit his post? Sometimes a user post an article and some days later he edit the post and add spam links. Currently moderators will not get any notification and don't know the spam added.:(
User avatar
Dark❶
Registered User
Posts: 395
Joined: Mon Jan 15, 2018 1:22 pm
Location: D@rK V0id
Name: Dark❶ [dark1]

Re: [3.2][3.3][RC] Prime Post Revisions

Post by Dark❶ »

rcarrie wrote: Tue Apr 27, 2021 6:43 am Is it possible to view a list of edited posts? Or get a notification after a user edit his post? Sometimes a user post an article and some days later he edit the post and add spam links. Currently moderators will not get any notification and don't know the spam added.:(
That's Anti-Spam measure , which is out of scope of this extension.

Best regards :+1:
Dark❶ [dark1]
Thunde
Registered User
Posts: 263
Joined: Fri Aug 28, 2020 2:30 pm

Re: [3.2][3.3][RC] Prime Post Revisions

Post by Thunde »

when I activate the extension it gives an error (I will leave the picture) does anyone know what it has?

Image

phpbb vers 3.3.4
User avatar
Dark❶
Registered User
Posts: 395
Joined: Mon Jan 15, 2018 1:22 pm
Location: D@rK V0id
Name: Dark❶ [dark1]

Re: [3.2][3.3][RC] Prime Post Revisions

Post by Dark❶ »

Thunde wrote: Sat Jul 03, 2021 9:07 am when I activate the extension it gives an error (I will leave the picture) does anyone know what it has?
...
phpbb vers 3.3.4
Did you purge the cache in ACP ???

best regards :+1:
Dark❶ [dark1]
User avatar
primehalo
Former Team Member
Posts: 2997
Joined: Fri May 06, 2005 5:58 pm
Location: Redding, CA

Re: [3.2][3.3][RC] Prime Post Revisions

Post by primehalo »

I might have messed something up during the last update, I'll check

Update: Yep, I messed up the install_acp_module.php
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!
User avatar
primehalo
Former Team Member
Posts: 2997
Joined: Fri May 06, 2005 5:58 pm
Location: Redding, CA

Re: [3.2][3.3][RC] Prime Post Revisions

Post by primehalo »

Fixed with version 1.0.3
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!
Thunde
Registered User
Posts: 263
Joined: Fri Aug 28, 2020 2:30 pm

Re: [3.2][3.3][RC] Prime Post Revisions

Post by Thunde »

primehalo wrote: Sat Jul 03, 2021 4:44 pm Fixed with version 1.0.3
thanks

Return to “Extensions in Development”