That does sound more organised and was probably far-fetched as David pointed out.
But its probably not big enough to be a stand-alone project, which is why I'm assuming its not on the ideas list.
[GSOC 2018] Revamp PM system to chat based
- akbarhashmi
- Registered User
- Posts: 13
- Joined: Tue Feb 13, 2018 11:56 am
Re: [GSOC 2018] Revamp PM system to chat based
that possibly and because I have not created a ticket for it so the whole team is not fully
- akbarhashmi
- Registered User
- Posts: 13
- Joined: Tue Feb 13, 2018 11:56 am
Re: [GSOC 2018] Revamp PM system to chat based
I have a few questions about the core structure.
Core backend changes for the PM interface are made here
=> /phpBB/includes/ucp/ucp_pm.php
$mode = “view” : Currently, this is the default case when viewing Private Messages module.
If a folder is specified ($folder_specified) and $action = 'view_folder', messages in that folder will be displayed.
Or if $action == 'view_message' then we retrieve messages for specific conversation ($message_id, $messsage_row)
Now here's a mockup of the proposed system,
Apart from the above mentioned, there are other functions such as get_pm_from(), get_user_information and new ones like quick_compose_pm(). (all of these have to be called concurrently of course)
Would it be best to move everything to a new file or call them from another function?
I also noticed $mode = "drafts" calls ucp_main() instead of its own ucp_pm_drafts() unlike the rest. So if I were to add something like "favourites" it would go there as well ?
Core backend changes for the PM interface are made here
=> /phpBB/includes/ucp/ucp_pm.php
$mode = “view” : Currently, this is the default case when viewing Private Messages module.
If a folder is specified ($folder_specified) and $action = 'view_folder', messages in that folder will be displayed.
Code: Select all
=> function view_folder ()
=> /phpBB/includes/ucp/ucp_pm_viewfolder.php
Code: Select all
=> function view_message ()
=> /phpBB/includes/ucp/ucp_pm_viewmessage.php
Apart from the above mentioned, there are other functions such as get_pm_from(), get_user_information and new ones like quick_compose_pm(). (all of these have to be called concurrently of course)
Would it be best to move everything to a new file or call them from another function?
I also noticed $mode = "drafts" calls ucp_main() instead of its own ucp_pm_drafts() unlike the rest. So if I were to add something like "favourites" it would go there as well ?
Re: [GSOC 2018] Revamp PM system to chat based
Wow, looks great! Will it be fully ajax, or with some live notifications?
- akbarhashmi
- Registered User
- Posts: 13
- Joined: Tue Feb 13, 2018 11:56 am
Re: [GSOC 2018] Revamp PM system to chat based
Im afraid not, this project is non-real time as mentioned
Re: [GSOC 2018] Revamp PM system to chat based
This will be awesome regardless of Ajax