[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!
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
PGreca
Registered User
Posts: 16
Joined: Mon Oct 29, 2018 12:36 pm
Location: Catania
Contact:

[ALPHA] [3.2] PG Social Network

Post by PGreca » Mon Oct 29, 2018 12:47 pm

Extension Name: PG Social Network
Author: PGreca

Extension Description: Transform your forum into a Social Network
Extension Version: 0.1.0-a7

Features:
  • New style graphic profile
  • Cover profile
  • Add status to your wall.
  • Youtube link embed on status.
  • Status for new cover or profile picture.
  • Upload picture.
  • Status for new post and new picture.
  • Picture popup.
  • Comment a status.
  • Like/unlike a status.
  • Your info gender.
  • Accept/decline friend request.
  • Search users.
  • Change profile cover.
  • Chat with members or friends.
  • Messages chat encrypt.
  • Sound for new messages chat (can disable).
  • Youtube link embed on messages.
  • AND MORE
Demo URL: https://pgreca.it
Demo Username: test
Demo Password: testpgreca

Extension Download: https://github.com/PGreca/pgsocial

Screenshots:
Image
Image
Last edited by PGreca on Fri Nov 02, 2018 12:49 am, edited 2 times in total.

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51427
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: [ALPHA] [3.2] PG Social Network

Post by Brf » Mon Oct 29, 2018 1:44 pm

Why is it displaying the username and password in the header? if anyone is looking over my shoulder, they would know my password!

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

Re: [ALPHA] [3.2] PG Social Network

Post by PGreca » Mon Oct 29, 2018 2:24 pm

Edited. Thanks!

User avatar
Toxyy
Registered User
Posts: 594
Joined: Mon Oct 24, 2016 3:22 pm
Location: Namek
Contact:

Re: [ALPHA] [3.2] PG Social Network

Post by Toxyy » Mon Oct 29, 2018 8:22 pm

This extension is intense. I couldn't explore it because of this error when I logged in:

https://image.ibb.co/gwHUYA/Screenshot- ... allery.jpg
I am a web developer/administrator, specializing in forums. If you have work you need done or are too lazy to do, pm me!

My extensions:
[3.2][BETA] Anonymous Posts || [3.2][RC] Show User Activity

User avatar
</Solidjeuh>
Registered User
Posts: 1144
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> » Mon Oct 29, 2018 11:04 pm

Looks pretty good! But be careful .. you have an account switch on the test account that goes to the admin account.
We offer fun HTML5 games for young and old.
Register a free account & enjoy all functions!
Save your score, challenge other members or play along with our tournaments.


~~~ https://www.solidjeuh.be ~~~

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

Re: [ALPHA] [3.2] PG Social Network

Post by david63 » Tue Oct 30, 2018 7:39 am

Not wishing to discourage you but can I make a few suggestions about your code before you get too far down the road - especially if you intend submitting this extension to the CDB.
  • Firstly I would suggest that you look at phpBB's coding guidelines as much of your code does not conform especially your non use of Unix line endings, but there are other coding issues (opening { for example must be on a new line)
  • There are many other errors which are highlighted if you run your GitHub repository through the EPV.
  • You need to break your language file into several files and only load the ones that are need at that time - you do not want to be loading all your ACP language on every page. Also I would suggest that you look at using plurals.
  • Many of your language variables are already in the core and whilst there is nothing wrong with re-defining them in your extension there is a possibility that core functionality could be affected if they are defined differently. It will depend on the order in which the files are loaded - the last will overwrite the first. By all means use your own but ensure that they are unique.
  • You cannot have an underscore in your namespace.
  • You cannot have globals in controllers.
  • You should consider using Twig syntax in your templates - you can use this tool to convert them.
  • You have some hard coded language in your template files.
  • I am not sure what the phpBB version checks are for in your listener file but as phpBB 3.1 is now unsupported there is no requirement for backward compatibility and version checking should be done via the ext.php when installing the extension.
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
PGreca
Registered User
Posts: 16
Joined: Mon Oct 29, 2018 12:36 pm
Location: Catania
Contact:

Re: [ALPHA] [3.2] PG Social Network

Post by PGreca » Fri Nov 02, 2018 12:46 am

david63 wrote:
Tue Oct 30, 2018 7:39 am
Not wishing to discourage you but can I make a few suggestions about your code before you get too far down the road - especially if you intend submitting this extension to the CDB.
Thank you! I'm new to phpbb and as a developer, so for me your help was very important. At the moment I do not care to send the ext to the CDB (it's to much soon with so many features to correct and add).
david63 wrote:
Tue Oct 30, 2018 7:39 am
Firstly I would suggest that you look at phpBB's coding guidelines as much of your code does not conform especially your non use of Unix line endings, but there are other coding issues (opening { for example must be on a new line)
Ok i correted opening { and now i use the Unix line endings. If i' ll see other bug i' ll fix they.
david63 wrote:
Tue Oct 30, 2018 7:39 am
There are many other errors which are highlighted if you run your GitHub repository through the EPV.
I correted many errors and soon i'll finish to correct other, but i don't understand how to correct Warning: Can't detect the file type for message.mp3, handling it as a binary file.. I' m using a file .mp3 for "notification sound on chat".
david63 wrote:
Tue Oct 30, 2018 7:39 am
[*]You need to break your language file into several files and only load the ones that are need at that time - you do not want to be loading all your ACP language on every page. Also I would suggest that you look at using plurals.
[*]Many of your language variables are already in the core and whilst there is nothing wrong with re-defining them in your extension there is a possibility that core functionality could be affected if they are defined differently. It will depend on the order in which the files are loaded - the last will overwrite the first. By all means use your own but ensure that they are unique.
I have divided the language file (main, acp, mcp, ucp, error migration), and set basic plurals, i hope to don't forget nothing.
david63 wrote:
Tue Oct 30, 2018 7:39 am
[*]You cannot have an underscore in your namespace.
I have renamed pg_social in to pgsocial
david63 wrote:
Tue Oct 30, 2018 7:39 am
[*]You cannot have globals in controllers.
Removed.
david63 wrote:
Tue Oct 30, 2018 7:39 am
[*]You should consider using Twig syntax in your templates - you can use this tool to convert them.
Changed.
david63 wrote:
Tue Oct 30, 2018 7:39 am
[*]You have some hard coded language in your template files.
Can you take me a example, so i can correct?
david63 wrote:
Tue Oct 30, 2018 7:39 am
[*]I am not sure what the phpBB version checks are for in your listener file but as phpBB 3.1 is now unsupported there is no requirement for backward compatibility and version checking should be done via the ext.php when installing the extension.[/list]
I hope to have correct this.

User avatar
</Solidjeuh>
Registered User
Posts: 1144
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> » Fri Nov 02, 2018 2:33 am

PGreca wrote:
Fri Nov 02, 2018 12:46 am
david63 wrote:
Tue Oct 30, 2018 7:39 am
[*]You have some hard coded language in your template files.
Can you take me a example, so i can correct?
I did not check all the files, but here are some examples:

https://github.com/PGreca/pgsocial/blob ... y.html#L88
https://github.com/PGreca/pgsocial/blob ... l.html#L34
https://github.com/PGreca/pgsocial/blob ... ge.html#L7
https://github.com/PGreca/pgsocial/blob ... e.html#L81
https://github.com/PGreca/pgsocial/blob ... e.html#L84
https://github.com/PGreca/pgsocial/blob ... s.html#L10
We offer fun HTML5 games for young and old.
Register a free account & enjoy all functions!
Save your score, challenge other members or play along with our tournaments.


~~~ https://www.solidjeuh.be ~~~

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

Re: [ALPHA] [3.2] PG Social Network

Post by david63 » Fri Nov 02, 2018 6:18 am

PGreca wrote:
Fri Nov 02, 2018 12:46 am
I correted many errors and soon i'll finish to correct other, but i don't understand how to correct Warning: Can't detect the file type for message.mp3, handling it as a binary file.. I' m using a file .mp3 for "notification sound on chat".
You can ignore that message
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
eunaumtenhoid
Registered User
Posts: 760
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [ALPHA] [3.2] PG Social Network

Post by eunaumtenhoid » Sat Nov 03, 2018 1:27 am

nice work congratulations
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes

NastyBoy
Registered User
Posts: 85
Joined: Wed May 31, 2017 7:03 pm
Location: Germany
Name: Tim
Contact:

Re: [ALPHA] [3.2] PG Social Network

Post by NastyBoy » Thu Nov 08, 2018 12:54 pm

Can you please tell me how to install the ext exactly because I tried to rewrite it in PG Social Network but the ext will not be activated

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

Re: [ALPHA] [3.2] PG Social Network

Post by PGreca » Fri Nov 09, 2018 6:39 pm

NastyBoy wrote:
Thu Nov 08, 2018 12:54 pm
Can you please tell me how to install the ext exactly because I tried to rewrite it in PG Social Network but the ext will not be activated
Put in ext/pgreca/pgsocial
After go in PCA - > PG Social and enable the first option if it is disable
If it return any errors, tell me.
eunaumtenhoid wrote:
Sat Nov 03, 2018 1:27 am
nice work congratulations
Thanks! :D

-------

Now i' m focused on optimize the code and her queries, and fix the last bugs.

After i wanna like find a mode for "interact" with other extensions. (Calendar Events for example and etc...) :)

nou nou
Registered User
Posts: 216
Joined: Sat Oct 29, 2016 8:08 pm

Re: [ALPHA] [3.2] PG Social Network

Post by nou nou » Fri Nov 09, 2018 10:28 pm

Very impressive and promising work! I'm definitely keeping an eye on this.

Will you be extending the permissions for this extension? It would be nice if for example only people in a specific group can chat. Or people in another group have a "wall". So newly registered users have the default phpBB profile page, for example (or the pgsocial "style" without any additional functionality).

Same for the ability to add pictures, etc (to avoid potential diskspace issues) as well as other features. Overall having the ability to finetune the experience for different users and groups would be splendid, and for some admins/hosts a necessity.

What is the "Create a page" permission for, exactly?

And lastly something a little odd. Every time I click on a friend's profile, I get a "transferring data from adservice.google.ca" - is there Google Ad functionality embedded in this extension?

User avatar
eunaumtenhoid
Registered User
Posts: 760
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [ALPHA] [3.2] PG Social Network

Post by eunaumtenhoid » Sat Nov 10, 2018 4:30 am

Is it possible to implement a mention user system or compatible with a paul extension and add a hashtag system? add option to leave comment on profile? as the extension coment on profile or compatible with it?
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes

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

Re: [ALPHA] [3.2] PG Social Network

Post by SinusVonAlpha » Sat Nov 10, 2018 1:21 pm

Hey there! This extension surely takes profiles to a whole new level, but there is one major problem I am facing:

I successfully enabled it and the page activity page under /social is working fine, but when I click on profile names within the board I get the following error:

Image

Any idea on how to fix this?

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: eindgebruiker, hellohappy, ImagesGuru, Naguissa, Praggle and 29 guests