[ALPHA] [3.2] PG Social Network

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!
Ideas Centre
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)
alsthom
Registered User
Posts: 49
Joined: Fri Oct 05, 2012 5:19 pm

Re: [ALPHA] [3.2] PG Social Network

Post by alsthom » Tue Mar 05, 2019 7:43 pm

Very nice work!!!! I love it!!!

Is there a way to show only online users on the chat? Right now it shows everyone. And Becouse I work in my local pc it shows everyone as offline. I would like not to show offline users. There are too many!

Thanks

User avatar
PGreca
Registered User
Posts: 36
Joined: Mon Oct 29, 2018 12:36 pm
Location: Italy
Contact:

Re: [ALPHA] [3.2] PG Social Network

Post by PGreca » Fri Mar 08, 2019 12:46 pm

alsthom wrote:
Tue Mar 05, 2019 7:43 pm
Very nice work!!!! I love it!!!

Is there a way to show only online users on the chat? Right now it shows everyone. And Becouse I work in my local pc it shows everyone as offline. I would like not to show offline users. There are too many!

Thanks
I will add this option! Thanks for this suggestion 😁
LeCabochon wrote:
Tue Mar 05, 2019 8:44 am
Thanks Mr. Goldy

Both link for pages and administer pages are solved...

Just the profile link do not work for members....

Thanks for your help..... :D
What is the error returned?

User avatar
LeCabochon
Registered User
Posts: 3
Joined: Mon Mar 04, 2019 8:40 pm

Re: [ALPHA] [3.2] PG Social Network

Post by LeCabochon » Fri Mar 08, 2019 7:08 pm

Hi...pgreca

I have phpbb 3.2.5 with php 7.1

When a member click on edit profile in activity page this error appear...

Image


General Error
Module not accessible

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/includes/functions_module.php
LINE: 565
CALL: trigger_error()

FILE: [ROOT]/ucp.php
LINE: 400
CALL: p_master->load_active()

thanks you

User avatar
</Solidjeuh>
Registered User
Posts: 1618
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: [ALPHA] [3.2] PG Social Network

Post by </Solidjeuh> » Sun Mar 10, 2019 12:59 am

LeCabochon wrote:
Fri Mar 08, 2019 7:08 pm
When a member click on edit profile in activity page this error appear...
Don't use "[ALPHA] & [BETA] extensions on live forums :D
Register a free account & Play!!
~~~ https://www.solidjeuh.be ~~~
Have a secret? --> https://www.tellyoursecrets.eu

Ozo
Registered User
Posts: 329
Joined: Mon Dec 13, 2010 7:57 pm

Re: [ALPHA] [3.2] PG Social Network

Post by Ozo » Sun Mar 10, 2019 11:41 am

Will there be support for dark/black themes in the future?

User avatar
PGreca
Registered User
Posts: 36
Joined: Mon Oct 29, 2018 12:36 pm
Location: Italy
Contact:

Re: [ALPHA] [3.2] PG Social Network

Post by PGreca » Tue Mar 12, 2019 6:27 pm

LeCabochon wrote:
Fri Mar 08, 2019 7:08 pm
Hi...pgreca

I have phpbb 3.2.5 with php 7.1

When a member click on edit profile in activity page this error appear...

Image


General Error
Module not accessible

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/includes/functions_module.php
LINE: 565
CALL: trigger_error()

FILE: [ROOT]/ucp.php
LINE: 400
CALL: p_master->load_active()

thanks you
I m searching a solution!
Ozo wrote:
Sun Mar 10, 2019 11:41 am
Will there be support for dark/black themes in the future?
Added! ;)

SinusVonAlpha
Registered User
Posts: 17
Joined: Sat Nov 10, 2018 1:15 pm

Re: [ALPHA] [3.2] PG Social Network

Post by SinusVonAlpha » Thu Mar 14, 2019 10:45 am

PGreca wrote:
Mon Mar 04, 2019 1:27 am
SinusVonAlpha wrote:
Mon Mar 04, 2019 12:40 am
PGreca wrote:
Sun Mar 03, 2019 3:56 pm
From now you can change the privacy for each of your individual posts!
koraldon wrote:
Thu Feb 21, 2019 7:46 am
Any thoughts when will you mature the extension to beta / RC ?
Thanks
if no one notifies me of other bugs, I think I'll mature it on April 1st
Unfortunately I'll have to XD

Since the last 2 version of the extension (this and the previous one), an error appears again when I click on the username of a user (to get to their profiles). A similar error existed in the past, I posted in this thread, feel free to check it out again - You did successfully fix it, but now it's back.

Error code:

Code: Select all

General Error
SQL ERROR [ mysqli ]

Unknown column 'ph.album_id' in 'field list' [1054]

SQL

SELECT 'social' as type, ph.album_id, '' as gallery_name, ( SELECT photo_file FROM comm__pg_social_photos AS cov WHERE cov.user_id = ph.user_id AND ph.album_id = cov.album_id AND cov.photo_where = '0' ORDER BY cov.photo_time DESC LIMIT 0, 1 ) AS gallery_cover, ( SELECT COUNT(*) FROM comm__pg_social_photos AS contt WHERE contt.user_id = ph.user_id AND ph.album_id = contt.album_id AND contt.photo_where = '0' ) AS count_photo FROM comm__pg_social_photos AS ph WHERE ph.user_id = '1835' AND ph.photo_where = '0' AND ph.album_id != '0' GROUP BY album_id, gallery_cover, count_photo UNION SELECT 'user' as type, g.gallery_id, g.gallery_name, ( SELECT photo_file FROM comm__pg_social_photos AS cov WHERE cov.user_id = g.user_id AND g.gallery_id = cov.gallery_id AND cov.photo_where = '0' ORDER BY cov.photo_time DESC LIMIT 0, 1 ) AS gallery_cover, ( SELECT COUNT(*) FROM comm__pg_social_photos AS contt WHERE contt.user_id = g.user_id AND g.gallery_id = contt.gallery_id AND contt.photo_where = '0' ) AS count_photo FROM comm__pg_social_gallery as g WHERE g.user_id = '1835' GROUP BY gallery_id, gallery_cover, count_photo

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 993
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 193
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/ext/pgreca/pgsocial/social/social_photo.php
LINE: 125
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/ext/pgreca/pgsocial/event/listener.php
LINE: 350
CALL: pgreca\pgsocial\social\social_photo->get_gallery()

FILE: (not given by php)
LINE: (not given by php)
CALL: pgreca\pgsocial\event\listener->memberlist_view_profile()

FILE: [ROOT]/vendor/symfony/event-dispatcher/EventDispatcher.php
LINE: 184
CALL: call_user_func()

FILE: [ROOT]/vendor/symfony/event-dispatcher/EventDispatcher.php
LINE: 46
CALL: Symfony\Component\EventDispatcher\EventDispatcher->doDispatch()

FILE: [ROOT]/phpbb/event/dispatcher.php
LINE: 62
CALL: Symfony\Component\EventDispatcher\EventDispatcher->dispatch()

FILE: [ROOT]/phpbb/event/dispatcher.php
LINE: 46
CALL: phpbb\event\dispatcher->dispatch()

FILE: [ROOT]/memberlist.php
LINE: 685
CALL: phpbb\event\dispatcher->trigger_event()
And as always, much appreciated :)
Yes, at development stage you can do whatever you want with migrations (edit/delete/move/whatever).
I edited table used.
Disable ext, delete his data and enable
(I hope to be right xD)
Updated and cleared cache, etc. but didn't work :/

User avatar
PGreca
Registered User
Posts: 36
Joined: Mon Oct 29, 2018 12:36 pm
Location: Italy
Contact:

Re: [ALPHA] [3.2] PG Social Network

Post by PGreca » Tue Mar 19, 2019 4:58 pm

SinusVonAlpha wrote:
Thu Mar 14, 2019 10:45 am
PGreca wrote:
Mon Mar 04, 2019 1:27 am
SinusVonAlpha wrote:
Mon Mar 04, 2019 12:40 am
PGreca wrote:
Sun Mar 03, 2019 3:56 pm
From now you can change the privacy for each of your individual posts!
koraldon wrote:
Thu Feb 21, 2019 7:46 am
Any thoughts when will you mature the extension to beta / RC ?
Thanks
if no one notifies me of other bugs, I think I'll mature it on April 1st
Unfortunately I'll have to XD

Since the last 2 version of the extension (this and the previous one), an error appears again when I click on the username of a user (to get to their profiles). A similar error existed in the past, I posted in this thread, feel free to check it out again - You did successfully fix it, but now it's back.

Error code:

Code: Select all

General Error
SQL ERROR [ mysqli ]

Unknown column 'ph.album_id' in 'field list' [1054]

SQL

SELECT 'social' as type, ph.album_id, '' as gallery_name, ( SELECT photo_file FROM comm__pg_social_photos AS cov WHERE cov.user_id = ph.user_id AND ph.album_id = cov.album_id AND cov.photo_where = '0' ORDER BY cov.photo_time DESC LIMIT 0, 1 ) AS gallery_cover, ( SELECT COUNT(*) FROM comm__pg_social_photos AS contt WHERE contt.user_id = ph.user_id AND ph.album_id = contt.album_id AND contt.photo_where = '0' ) AS count_photo FROM comm__pg_social_photos AS ph WHERE ph.user_id = '1835' AND ph.photo_where = '0' AND ph.album_id != '0' GROUP BY album_id, gallery_cover, count_photo UNION SELECT 'user' as type, g.gallery_id, g.gallery_name, ( SELECT photo_file FROM comm__pg_social_photos AS cov WHERE cov.user_id = g.user_id AND g.gallery_id = cov.gallery_id AND cov.photo_where = '0' ORDER BY cov.photo_time DESC LIMIT 0, 1 ) AS gallery_cover, ( SELECT COUNT(*) FROM comm__pg_social_photos AS contt WHERE contt.user_id = g.user_id AND g.gallery_id = contt.gallery_id AND contt.photo_where = '0' ) AS count_photo FROM comm__pg_social_gallery as g WHERE g.user_id = '1835' GROUP BY gallery_id, gallery_cover, count_photo

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 993
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 193
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/ext/pgreca/pgsocial/social/social_photo.php
LINE: 125
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/ext/pgreca/pgsocial/event/listener.php
LINE: 350
CALL: pgreca\pgsocial\social\social_photo->get_gallery()

FILE: (not given by php)
LINE: (not given by php)
CALL: pgreca\pgsocial\event\listener->memberlist_view_profile()

FILE: [ROOT]/vendor/symfony/event-dispatcher/EventDispatcher.php
LINE: 184
CALL: call_user_func()

FILE: [ROOT]/vendor/symfony/event-dispatcher/EventDispatcher.php
LINE: 46
CALL: Symfony\Component\EventDispatcher\EventDispatcher->doDispatch()

FILE: [ROOT]/phpbb/event/dispatcher.php
LINE: 62
CALL: Symfony\Component\EventDispatcher\EventDispatcher->dispatch()

FILE: [ROOT]/phpbb/event/dispatcher.php
LINE: 46
CALL: phpbb\event\dispatcher->dispatch()

FILE: [ROOT]/memberlist.php
LINE: 685
CALL: phpbb\event\dispatcher->trigger_event()
And as always, much appreciated :)
Yes, at development stage you can do whatever you want with migrations (edit/delete/move/whatever).
I edited table used.
Disable ext, delete his data and enable
(I hope to be right xD)
Updated and cleared cache, etc. but didn't work :/
You need update the extension..
Disable extension, delete his data and enable at final
Remember "delete his data" or the ext not will add new cell for album_id

User avatar
kinerity
Community Team Member
Community Team Member
Posts: 2259
Joined: Mon Sep 01, 2014 1:00 am
Location: sudo rm -rf /
Name: Kailey Truscott
Contact:

Re: [ALPHA] [3.2] PG Social Network

Post by kinerity » Tue Mar 19, 2019 11:36 pm

Although not against the rules, please stop full quoting posts. It makes the topic unreadable.
Kailey Truscott - Community Team

User avatar
donsenilo
Registered User
Posts: 303
Joined: Wed Oct 08, 2014 6:23 pm
Name: Markus
Contact:

Re: [ALPHA] [3.2] PG Social Network

Post by donsenilo » Mon Mar 25, 2019 11:46 am

Code: Select all


    Aktivität 

    [phpBB Debug] PHP Warning: in file [ROOT]/ext/phpbb/ads/ad/manager.php on line 103: array_filter() expects parameter 1 to be array, boolean given
    [phpBB Debug] PHP Warning: in file [ROOT]/ext/phpbb/ads/event/main_listener.php on line 133: Invalid argument supplied for foreach()
    Benutzeravatar
    Markus
    vor 1 Minute
    Test !!!\n
    Benutzeravatar [phpBB Debug] PHP Warning: in file [ROOT]/ext/phpbb/ads/ad/manager.php on line 103: array_filter() expects parameter 1 to be array, boolean given
    [phpBB Debug] PHP Warning: in file [ROOT]/ext/phpbb/ads/event/main_listener.php on line 133: Invalid argument supplied for foreach()
    Benutzeravatar
    Markus
    vor 1 Minute
    Test !!!\n
    Benutzeravatar [phpBB Debug] PHP Warning: in file [ROOT]/ext/phpbb/ads/ad/manager.php on line 103: array_filter() expects parameter 1 to be array, boolean given
    [phpBB Debug] PHP Warning: in file [ROOT]/ext/phpbb/ads/event/main_listener.php on line 133: Invalid argument supplied for foreach()
    Benutzeravatar
    Markus
    vor 1 Minute
    Test !!!\n
    Benutzeravatar [phpBB Debug] PHP Warning: in file [ROOT]/ext/phpbb/ads/ad/manager.php on line 103: array_filter() expects parameter 1 to be array, boolean given
    [phpBB Debug] PHP Warning: in file [ROOT]/ext/phpbb/ads/event/main_listener.php on line 133: Invalid argument supplied for foreach()
    Benutzeravatar
    Markus
    vor 1 Minute
    Test !!!\n
    Benutzeravatar [phpBB Debug] PHP Warning: in file [ROOT]/ext/phpbb/ads/ad/manager.php on line 103: array_filter() expects parameter 1 to be array, boolean given
    [phpBB Debug] PHP Warning: in file [ROOT]/ext/phpbb/ads/event/main_listener.php on line 133: Invalid argument supplied for foreach()
    Benutzeravatar
    Markus
    vor 1 Minute
    Test !!!\n
    Benutzeravatar [phpBB Debug] PHP Warning: in file [ROOT]/ext/phpbb/ads/ad/manager.php on line 103: array_filter() expects parameter 1 to be array, boolean given
    [phpBB Debug] PHP Warning: in file [ROOT]/ext/phpbb/ads/event/main_listener.php on line 133: Invalid argument supplied for foreach()
    Benutzeravatar
    Markus
    vor 1 Minute
    Test !!!\n
    Benutzeravatar [phpBB Debug] PHP Warning: in file [ROOT]/ext/phpbb/ads/ad/manager.php on line 103: array_filter() expects parameter 1 to be array, boolean given
    [phpBB Debug] PHP Warning: in file [ROOT]/ext/phpbb/ads/event/main_listener.php on line 133: Invalid argument supplied for foreach()
    Benutzeravatar
    Markus
    vor 1 Minute
    Test !!!\n

Benutzeravatar [phpBB Debug] PHP Warning: in file [ROOT]/ext/phpbb/ads/ad/manager.php on line 103: array_filter() expects parameter 1 to be array, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/ext/phpbb/ads/event/ma

User avatar
canonknipser
Registered User
Posts: 1995
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: [ALPHA] [3.2] PG Social Network

Post by canonknipser » Mon Mar 25, 2019 11:53 am

you should read the error messages, the error is generated by a different extension:
donsenilo wrote:
Mon Mar 25, 2019 11:46 am
/phpbb/ads
Greetings, Frank
phpbb.de support team member
English is not my native language - no support via PM or mail
New arrival - Extensions and scripts for phpBB

User avatar
donsenilo
Registered User
Posts: 303
Joined: Wed Oct 08, 2014 6:23 pm
Name: Markus
Contact:

Re: [ALPHA] [3.2] PG Social Network

Post by donsenilo » Mon Mar 25, 2019 1:35 pm

canonknipser wrote:
Mon Mar 25, 2019 11:53 am
you should read the error messages, the error is generated by a different extension:
donsenilo wrote:
Mon Mar 25, 2019 11:46 am
/phpbb/ads
Yes ... sorry and thank you.
But who is responsible ?

User avatar
canonknipser
Registered User
Posts: 1995
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: [ALPHA] [3.2] PG Social Network

Post by canonknipser » Mon Mar 25, 2019 1:55 pm

donsenilo wrote:
Mon Mar 25, 2019 1:35 pm
who is responsible
-> https://www.phpbb.com/customise/db/exte ... ds/support
Greetings, Frank
phpbb.de support team member
English is not my native language - no support via PM or mail
New arrival - Extensions and scripts for phpBB

User avatar
donsenilo
Registered User
Posts: 303
Joined: Wed Oct 08, 2014 6:23 pm
Name: Markus
Contact:

Re: [ALPHA] [3.2] PG Social Network

Post by donsenilo » Mon Mar 25, 2019 1:59 pm

This ext does only work for me - not for other admins or members.
the rightside column does not show other admin or members. I can't find special rights in the acp.

UPDATE:
This seems to be a problem only with firefox.

UPDATE:
Scrolling does not work proberly and search too.
And on clicking on Site I get this error:
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 317: mysqli_free_result(): Couldn't fetch mysqli_result
And why is there always a "/n" at the end of every post ?

ivailo95
Registered User
Posts: 704
Joined: Tue Sep 05, 2017 8:00 am
Location: Bulgaria
Name: Ivailo
Contact:

Re: [ALPHA] [3.2] PG Social Network

Post by ivailo95 » Sun Apr 07, 2019 9:37 am

Cool extension !
I suggest to add disapprove option in admin panel where admin can approve or disapprove pages

Post Reply

Return to “Extensions in Development”