Invitations Counter

This component/theme doesn't work with the latest OSSN version.
German ~Z~ Man 2 months ago

Invitations Counter

(former Successfully Invited Members)

The idea behind this component is increasing some kind of a members_invited counter of an already existing member (the inviter) whenever the invited member has registered
(as requested by Balamurali

[ Download ]

Changes and progress

Version 1.0

  • is a first skeleton preparing the basic setup in ossn_com.php and a dummy method in the SuccessfullyInvitedMembers.php class file.

Version 2.0

  • will add the necessary code inside that method to create and update the members_invited records in the ossn_entities table.

Version 2.5

  • is displaying Mary Greg as inviter on every user page on the admin backend.

Version 3.0

  • comes with a new method to add the invited_by attribute to the invited member's user record,
  • and the successfully_invited_members_add_invited_by_field_to_admin_backend function has been completed to display the real name of the inviter instead of the formerly hardcoded Mary Greg.

Version 4.0

  • is replacing the former low-level handling of entities by a much smarter method.
  • besides that two new language files are introducing Ossn localization because it's a good practise to support all available Ossn core languages with your component.
  • error logging has been commented out now
  • the number of invitations have been added to the backend's user-edit page.

Version 5.0

  • has been renamed to Invitations Counter
  • will decrement the invitations count of the inviter when a member account gets deleted
  • will add a 'Inviter Ranking' page to the admin backend

enter image description here

Hungarian Tamás Varga Replied 3 weeks ago

Excellent work, congratulations!

in Balamurali Govindan Replied 3 weeks ago

Z-Man, couldn't download the file from your website. It still shows "cancel subscription". Could you please approve this. Thank You.

Hungarian Tamás Varga Replied 3 weeks ago

I was able to log in, but I can't find the file. How do I download?

Hungarian Tamás Varga Replied 3 weeks ago

I want to use the counter, I registered on your site, I can't log in yet. Is there a way to download the file only?

in Balamurali Govindan Replied 4 weeks ago

This is awesome Z-Man. NICE of you. Thank you Again.

I don't see the download option. Could you please enable that? Thank You!

German ~Z~ Man Replied 4 weeks ago

your request to decrement the counter when a member account gets deleted comes implemented with Version 5.0 now.
Besides that, I have renamed the component to something more meaningful and added a ranking page.

Indonesian Engr. Arsalan Shah Replied 4 weeks ago

@Z-men sorry you may not hear anymore form this crazy Mary Greg after insulting my friend in facebook and asking for 49$ component for free, and she wanted to sue me because some components appeared in her website that were part of package since years 😂😂😂 sad to kicking her out form community.

German ~Z~ Man Replied 4 weeks ago

similar to the callback

ossn_register_callback('user', 'created', '......');

this component is already using when an account has been created

you may use

 ossn_register_callback('user', 'delete', '......');

combined with a function to decrement the invitations counter of the inviter
when the account of the invited gets deleted

in Balamurali Govindan Replied 4 weeks ago

Great Component. One minor requirement.

If an account got created and deleted, the invitations count doesn't decrement.

Breton Elias Hilario dos Santos Replied 4 weeks ago

This will be very good if it works so we can remunerate whoever we invite to the network.


Developer: ~Z~
License GPL v2
Type: Site admin
Minimum Requirement:
Latest Version:
Last Updated
Repository Url View Repository