[ABD] Memberlist Avatar & Status [MAS]

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
User avatar
Dark❶
Registered User
Posts: 395
Joined: Mon Jan 15, 2018 1:22 pm
Location: D@rK V0id
Name: Dark❶ [dark1]
Contact:

[ABD] Memberlist Avatar & Status [MAS]

Post by Dark❶ »

Extension Name: Memberlist Avatar & Status [MAS]
Author: Dark❶

Extension Description:
This Extension Lets Admin to display User's Avatar & it's Online Status on Memberlist , The Team & also as a bonus on Viewonline(Except Online Status). ;)
So it works on basically all relevant Modes of memberlist.php , except User Profile, etc... :D

Extension Version: v2.2.2

Travis CI Build Status: Image

Requirements: phpBB 3.2.0 (or current 3.2 dev) or later

Features:
  1. Option to Display Only User Avatar.
  2. Option to set User Avatar size to be displayed.
  3. Option to Display Only User Online Status.
  4. Display User Avatar & Online Status in Member Page.
  5. Display User Avatar & Online Status in The Team Page.
  6. Option to Force show Avatar & Online Status in The Team Page.
  7. Display User Avatar Status in ViewOnline [Who is online] Page.
Screenshots:
  1. MemberList Page:
    Image
    -----
  2. The Team Page:
    Image
    -----
  3. ACP Settings Page:
    Image
    -----
  4. Pulse Status:
    Image
    -----
  5. Bonus ViewOnline Page:
    Image
Demo URL:
  1. phpBB v3.2.2 : phpbb2.dark1.epizy.com
  2. phpBB v3.1.12 : phpbb1.dark1.epizy.com
Demo Username: Not Required.
Demo Password: Not Required.

Installation:
  1. Download and unzip the Latest release.
  2. Copy the dark1/memberlistavatarstatus folder to /ext/dark1/memberlistavatarstatus.
  3. Navigate in the ACP to Customise -> Manage extensions.
  4. Look for MemberList Avatar & Status under the Disabled Extensions list, and click the Enable link.
  5. Set up and configure the MemberList Avatar & Status extension by navigating in the ACP to Extensions -> MemberList Avatar & Status [MAS] -> Settings.
  6. If required Purge the cache in ACP & also if required then in your Browser.
  7. D0Ne !!! EnJ0Y :D
Extension Download: phpBB-ext-dark1-memberlistavatarstatus-v2.3.0.zip
Note: If updating from 2.2.2 to 2.3.0 , then you will have to delete styles Directory from ext/dark1/memberlistavatarstatus , Since some unnecessary files are removed & may cause problems.

For phpBB v3.1 : phpBBv3.1-ext-dark1-memberlistavatarstatus-v2.3.0.zip
Note: This is for those who are still on 3.1.X , there is no official support for this as it's End of Life [EOL] state.
Travis CI Build Status for the same: Image


GitHub Repository: memberlistavatarstatus

GitHub Page: MemberList Avatar & Status [MAS]

My Gratitude:
Special Thanks to cipry15 for supporting me while doing this Extension for his forum. :D :D :D
Yea! it's live & working Awesome on his forum. :D

Kind Note to ALL:
I am new to phpBB Extension Development,
So if I made any kind of mistake then kindly let me know, :D
If you are an Expert then if possible kindly give a little explanation so I could correct it.
I am ready to do the correct , just need a little help from your side.
Bug Report's, Feedback's, etc are welcomed. :D

--------------
EnJoY :D
Best Regards. :)
Last edited by Dark❶ on Sat Jun 02, 2018 8:34 am, edited 5 times in total.
Dark❶ [dark1]
User avatar
Dark❶
Registered User
Posts: 395
Joined: Mon Jan 15, 2018 1:22 pm
Location: D@rK V0id
Name: Dark❶ [dark1]
Contact:

ChangeLog

Post by Dark❶ »

ChangeLog :

0.0.1 - 1.9.9 :
  • Initial testing & shy release.
  • Not released for public use. :oops:
  • Major Unknown changes. :P

2.0.0 - 2.2.2 :
  • Released for Public use.
  • Major & Minor Changes to comply to PHP & phpBB standards.
  • Fixed the avatar which was not coming in Center of the Block Div.

2.2.3 - 2.2.9 :
  • Major Jump in Version. :P ;)

2.3.0 :
  • Restructuring of Template's & core php code's.
  • Properly aligned avatar , username & status dot.
  • Removed unnecessary files & Cleaned all the files with extra spaces & tabs.
  • Minor Changes to comply to PHP standards.
  • Most Importantly , Removed the "hideous looking banner" of credit. :lol: :D
Last edited by Dark❶ on Sat Mar 31, 2018 8:30 pm, edited 6 times in total.
Dark❶ [dark1]
User avatar
Dark❶
Registered User
Posts: 395
Joined: Mon Jan 15, 2018 1:22 pm
Location: D@rK V0id
Name: Dark❶ [dark1]
Contact:

Re: [3.2][RC] Memberlist Avatar & Status [MAS]

Post by Dark❶ »

Reserved for future Use :D
Dark❶ [dark1]
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: [3.2][RC] Memberlist Avatar & Status [MAS]

Post by david63 »

I trust that that hideous looking banner at the bottom is not going to be in the final version as it would certainly put me off using it.
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
Dark❶
Registered User
Posts: 395
Joined: Mon Jan 15, 2018 1:22 pm
Location: D@rK V0id
Name: Dark❶ [dark1]
Contact:

Re: [3.2][RC] Memberlist Avatar & Status [MAS]

Post by Dark❶ »

david63 wrote: Thu Mar 15, 2018 12:42 pm I trust that that hideous looking banner at the bottom is not going to be in the final version as it would certainly put me off using it.
Yea! I just wanted to put some small credit for my work.
Even I don't like it.

If somebody can help me with that would be helpful, I'll be very happy.

Btw any of your valued feedback on remaining parts?

Best regards. :D
Dark❶ [dark1]
User avatar
eunaumtenhoid
Registered User
Posts: 1007
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [3.2][RC] Memberlist Avatar & Status [MAS]

Post by eunaumtenhoid »

To be complete, it would be great to have the avatars on the forums, I know there is already an extension to this.
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes
User avatar
Dark❶
Registered User
Posts: 395
Joined: Mon Jan 15, 2018 1:22 pm
Location: D@rK V0id
Name: Dark❶ [dark1]
Contact:

Re: [3.2][RC] Memberlist Avatar & Status [MAS]

Post by Dark❶ »

eunaumtenhoid wrote: Thu Mar 15, 2018 1:16 pm To be complete, it would be great to have the avatars on the forums, I know there is already an extension to this.
But my friend ,
This is specifically in MemberList only,
I went a bit ahead made it in viewonline also.

& If there is extension for the same then it's better not to do that.

Best regards. :D
Dark❶ [dark1]
User avatar
Dark❶
Registered User
Posts: 395
Joined: Mon Jan 15, 2018 1:22 pm
Location: D@rK V0id
Name: Dark❶ [dark1]
Contact:

Re: [3.2][RC] Memberlist Avatar & Status [MAS]

Post by Dark❶ »

Dear friends,
I need help with respect to the credit banner at bottom.
Kindly choose and let me know which one is best,
OR if you have a better Idea then let me know, please!!!

&
david63 wrote: Thu Mar 15, 2018 12:42 pm I trust that that hideous looking banner at the bottom is not going to be in the final version as it would certainly put me off using it.
Kindly give your valued feedback on this.

Kindly choose the best of this:
It's on Light & Dark theme for comparison
1.
image
---------
2.
image
---------
3.
image
---------

Images are removed.

Thanking you. :)

Best regards. :D
Last edited by Dark❶ on Sat Mar 31, 2018 7:55 pm, edited 1 time in total.
Dark❶ [dark1]
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: [3.2][RC] Memberlist Avatar & Status [MAS]

Post by david63 »

Dark❶ wrote: Thu Mar 15, 2018 9:06 pm Kindly give your valued feedback on this.
Personally I cannot see any reason why you need it at all. I have never had a banner, or any form of credit, on any extension that I have written and I would never put one on a front facing page - users are not interested in who created what and most would not even know what it was giving credit for.

My feedback - forget about it.
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
Dark❶
Registered User
Posts: 395
Joined: Mon Jan 15, 2018 1:22 pm
Location: D@rK V0id
Name: Dark❶ [dark1]
Contact:

Re: [3.2][RC] Memberlist Avatar & Status [MAS]

Post by Dark❶ »

david63 wrote: Thu Mar 15, 2018 9:52 pm
Dark❶ wrote: Thu Mar 15, 2018 9:06 pm Kindly give your valued feedback on this.
Personally I cannot see any reason why you need it at all. I have never had a banner, or any form of credit, on any extension that I have written and I would never put one on a front facing page - users are not interested in who created what and most would not even know what it was giving credit for.

My feedback - forget about it.
That I can do.
Thanks my friend. :D

A kind request ,
can you give me feedback on Code related parts?
It will help me alot if any changes are needed before a making the next release.

Thanking you. :D

Best regards. :D
Dark❶ [dark1]
User avatar
Galandas
Registered User
Posts: 734
Joined: Thu Jul 23, 2009 4:11 pm
Location: Italy
Name: Rey
Contact:

Re: [3.2][RC] Memberlist Avatar & Status [MAS]

Post by Galandas »

david63 wrote: Thu Mar 15, 2018 9:52 pm
Dark❶ wrote: Thu Mar 15, 2018 9:06 pm Kindly give your valued feedback on this.
Personally I cannot see any reason why you need it at all. I have never had a banner, or any form of credit, on any extension that I have written and I would never put one on a front facing page - users are not interested in who created what and most would not even know what it was giving credit for.

My feedback - forget about it.
I agree with you, that banner and horrible.
the extension is beautiful but the banner with the credits removed is useless.
English is not my native language My CDB Contributions My RC extensions
User avatar
Dark❶
Registered User
Posts: 395
Joined: Mon Jan 15, 2018 1:22 pm
Location: D@rK V0id
Name: Dark❶ [dark1]
Contact:

Re: [3.2][RC] Memberlist Avatar & Status [MAS]

Post by Dark❶ »

Galandas wrote: Mon Mar 26, 2018 3:04 am
david63 wrote: Thu Mar 15, 2018 9:52 pm
Dark❶ wrote: Thu Mar 15, 2018 9:06 pm Kindly give your valued feedback on this.
Personally I cannot see any reason why you need it at all. I have never had a banner, or any form of credit, on any extension that I have written and I would never put one on a front facing page - users are not interested in who created what and most would not even know what it was giving credit for.

My feedback - forget about it.
I agree with you, that banner and horrible.
the extension is beautiful but the banner with the credits removed is useless.
Yes!! I agreed to that earlier & have already removed it from my side, & will be available on next release.
Thanks for appreciating this extension , that gives some confidence to me. :D

Currently I am having trouble with global $language in ACP module , I referred to this : tutorial_modules#module-class,
But get Err0r :

Code: Select all

Fatal error:  Uncaught Error: Call to a member function lang() on null in C:\XAMPP\htdocs\ext\dark1\memberlistavatarstatus\acp\main_module.php:27
Stack trace:
#0 C:\XAMPP\htdocs\includes\functions_module.php(676): dark1\memberlistavatarstatus\acp\main_module->main('\\dark1\\memberli...', 'settings')
#1 C:\XAMPP\htdocs\adm\index.php(82): p_master->load_active()
#2 {main}
  thrown in E:\A.Forum.XAMPP\htdocs\ext\dark1\memberlistavatarstatus\acp\main_module.php on line 27
& Here's the pseudo Code of the file with line number on left hand side :

Code: Select all

24:	global $config, $request, $template, $user, $phpbb_log, $phpbb_root_path, $language;
25:
26:	$this->tpl_name = 'acp_mas_body';
27:	$this->page_title = $language->lang('ACP_MAS_TITLE');
If somebody could help with this then I be highly grateful.

Thanking you. :D

Best regards. :)
Dark❶ [dark1]
User avatar
GanstaZ
Registered User
Posts: 1187
Joined: Wed Oct 11, 2017 10:29 pm
Location: GZOverse

Re: [3.2][RC] Memberlist Avatar & Status [MAS]

Post by GanstaZ »

At the moment you can't use language object like that in module class. You need to add to global $phpbb_container and use $phpbb_container->get('language');

Code: Select all

global $config, $request, $template, $user, $phpbb_log, $phpbb_root_path, $phpbb_container;

$this->page_title = $phpbb_container->get('language')->lang('ACP_MAS_TITLE');
Or set it as:

Code: Select all

global $config, $request, $template, $user, $phpbb_log, $phpbb_root_path, $phpbb_container;

$lang = $phpbb_container->get('language');

$this->page_title = $lang->lang('ACP_MAS_TITLE');
Usus est magister optimus! phpBB pre-Triton & latest php environment.
When answer lies in the question, question becomes redundant!
User avatar
Dark❶
Registered User
Posts: 395
Joined: Mon Jan 15, 2018 1:22 pm
Location: D@rK V0id
Name: Dark❶ [dark1]
Contact:

Re: [3.2][RC] Memberlist Avatar & Status [MAS]

Post by Dark❶ »

GanstaZ wrote: Mon Mar 26, 2018 5:27 pm At the moment you can't use language object like that in module class. You need to add to global $phpbb_container and use $phpbb_container->get('language');

Code: Select all

global $config, $request, $template, $user, $phpbb_log, $phpbb_root_path, $phpbb_container;

$this->page_title = $phpbb_container->get('language')->lang('ACP_MAS_TITLE');
Or set it as:

Code: Select all

global $config, $request, $template, $user, $phpbb_log, $phpbb_root_path, $phpbb_container;

$lang = $phpbb_container->get('language');

$this->page_title = $lang->lang('ACP_MAS_TITLE');
Ho!! that's the reason.
BUT wiki states differently , they need to update that.

I'll use the second option with $language as variable name.

Thanks my friend. :D
Dark❶ [dark1]
User avatar
</Solidjeuh>
Registered User
Posts: 1788
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: [3.2][RC] Memberlist Avatar & Status [MAS]

Post by </Solidjeuh> »

Add you credits in the footer.. looks better.
Just add an event:
overall_footer_copyright_append.html

Code: Select all

<a href="https://www.your.site.com" title="Memberlist Avatars & Status" onclick="window.open(this.href); return false">Memberlist Avatars & Status</a> by Dark1
Something like this ...
Locked

Return to “Abandoned Extensions”