latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

PHP/shortcode for listing number of members

Home Forums Community Forum PHP/shortcode for listing number of members

This topic contains 1 reply, has 2 voices. Last updated by  Epix Media 4 years, 8 months ago.

Topic Author Topic
Posted: Saturday Apr 28th, 2012 at 8:44 pm #12175

I would like to let my visitors know the number of registered paying members. Is there a PHP code and shortcode that I can use to simply show that number?

The idea is also to show something like this:

You are member number  out of the XXXX paying members registered since April 30th 2012. <a href="URL of page with affiliate link and info">Click here</a> to use your affiliate link and make $XX commission (to be paid to your paypal) on each new member your link refers.

Thanks in advance!

  • This topic was modified 4 years, 8 months ago by  Nicolas Charbonnier.
  • This topic was modified 4 years, 8 months ago by  Nicolas Charbonnier.
  • This topic was modified 3 years, 4 months ago by  Nicolas Charbonnier.

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Tuesday May 1st, 2012 at 12:38 pm #12289
Epix Media
Username: epixmedia

Hi Nicolas, you’ll need to use some PHP, this page should explain how to do what you need: http://codex.wordpress.org/Function_Reference/count_users

Viewing 1 replies (of 1 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.