Actually Dr Mike I think that what fotoro is saying is inside your site admin, when you click on the Supporter tab, it would be good if you could quickly find a list of blogs that are supporters or alternatively an easy method of identifying if a blog has been upgraded to supporter.
That way it would be faster to confirm who are supporters.
suewaters is right, that is exactly what I mean. It is not easy to find out which members are supporter and which are not. Not by means of programming PHP but just as an Administrator wanting to check if member A is supporter or not. Currently I have to find out logging into his / her admin panel (unless I am missing some hidden feature ;))
No fotoro you aren't missing any thing. At the moment if you want to see if a user is a supporter, as a site admin user, you need to log into their dashboard. Mostly I look to see if their storage space has been increased.
Depending on what payment method they have used will impact on how long the subscription takes to activate (can be almost instantaneous to a few days).
The reason why I knew is I'm Edublogs Community Facilitator and deal with the majority of users questions relating to their supporter status. I regularly get questions like "Why hasn’t my blog been upgraded to an Edublogs Supporter? I paid using PayPal!" To check their status I check their blog dashboard and if necessary our payment emails from PayPal (which is quick since they come into a gmail account).
6593 pointsLike some sort of WPMU DEV GodExceptionally helpfulLifetime member
Keeper of the Dark Chocolate
—
16th May 2009 (3 years ago)
#
I don;t have the support plugin handy (And it's very loud here at brueggers this morning. I'm leaving for the library in a second and will try this later on.) Does is_supporter() support being passed a blog_id number? If so, you should be able to hard code in a check next to the blog name bit within the table on the site admin -> blogs page. If not, it;s a bit more tricker. You'll have to write a new check like is_blog_supporter() and have it do a:
switch_to_blog(blog_id)
is_supporter check
if true display a mark to show that it is a supporter
switch back to original blog.
I'll check on this when I relocate. Again though, this would be a hard code but a fairly easy one. I thought about it when we first started this thread.
Mmmmm,, 99 cent chocolate cookies at brueggers. There went my bus fare for the day.
6593 pointsLike some sort of WPMU DEV GodExceptionally helpfulLifetime member
Keeper of the Dark Chocolate
—
16th May 2009 (3 years ago)
#
Hmmm, how long has the function supporter_list() been in the supporter-framework.php file? Adds in the avatar and everything. You can throw a lot at it (ie count, avatars, etc.) so you may want to take a look at it yourself. About 300 lines in.
is_supporter (also in the -framework.php file) will take a blog_id if you pass it to it.
What I would suggest is open up /wp-admin/wpmu-blogs.php and look for this line:
6593 pointsLike some sort of WPMU DEV GodExceptionally helpfulLifetime member
Keeper of the Dark Chocolate
—
16th May 2009 (3 years ago)
#
Just noticed that there's a filter there. Actually two. manage_blogs_custom_column and wpmublogsaction. They're both set up differently. Let me think about this for a second.
6593 pointsLike some sort of WPMU DEV GodExceptionally helpfulLifetime member
Keeper of the Dark Chocolate
—
17th May 2009 (3 years ago)
#
Andrew, you are, of course, free to add that into the subscriber plugin. the framework file would probably be a good bet. I really would like to remove that code and, no, you don;t have to give me credit for it.
I installed the supporter plugin a few hours ago, and the first thing after setup that I was trying to find was reporting. Obviously I didn't find it, which lead me to search forums and find this thread.
However, until I can get a developer to integrate my existing payment system, I have to manage subscribers manually. It would be really helpful if I could see how many days a person has remaining to their supporter subscription.
Maybe post the number of remaining days in place of: { echo "Supporter :)"; }
I tried hacking around with $counter, but I clearly have no idea what I'm doing...
6593 pointsLike some sort of WPMU DEV GodExceptionally helpfulLifetime member
Keeper of the Dark Chocolate
—
12th June 2009 (2 years ago)
#
I'll try to look at modifying the code this afternoon if I get library computer time. It's just a subtraction I would think and I know wp has convert to day function I believe.
Responses (20)
Keeper of the Dark Chocolate — 5th May 2009 (3 years ago) #
Check out the widget-supporter.php file included with the download. ;)
Supporter is based on blogs and considering that blogs can have multiple users, not sure how users would fit in there.
edit: Having said that, displaying supporters only maybe a good idea for an option on the Blog Widget plugin.
Support Guru — 6th May 2009 (3 years ago) #
Actually Dr Mike I think that what fotoro is saying is inside your site admin, when you click on the Supporter tab, it would be good if you could quickly find a list of blogs that are supporters or alternatively an easy method of identifying if a blog has been upgraded to supporter.
That way it would be faster to confirm who are supporters.
Thanks
Sue
Keeper of the Dark Chocolate — 6th May 2009 (3 years ago) #
Alright, who let Sue in? :)
I think we've discussed this previously. Can't remember what Andrew said about it.
SHould be able to copy and paste the widget code into a new admin page though. That would be a work around until Andrew came up with a solution.
Erstwhile founder — 6th May 2009 (3 years ago) #
Hi Guys,
I've put this on my list but it's really low priority at the moment. A few plugins have bugs that need to be squashed and those come first.
Thanks,
Andrew
Founder & CEO — 7th May 2009 (3 years ago) #
Sue is a new inductee into the world of WPMU - further increasing her already impressive set of super powers :)
And has done some really rather fancy work, which you'll get to see soon, and I think you'll rather like (I do!)
Just don't mention chocolate ;)
Member — 16th May 2009 (3 years ago) #
suewaters is right, that is exactly what I mean. It is not easy to find out which members are supporter and which are not. Not by means of programming PHP but just as an Administrator wanting to check if member A is supporter or not. Currently I have to find out logging into his / her admin panel (unless I am missing some hidden feature ;))
Support Guru — 16th May 2009 (3 years ago) #
No fotoro you aren't missing any thing. At the moment if you want to see if a user is a supporter, as a site admin user, you need to log into their dashboard. Mostly I look to see if their storage space has been increased.
Depending on what payment method they have used will impact on how long the subscription takes to activate (can be almost instantaneous to a few days).
The reason why I knew is I'm Edublogs Community Facilitator and deal with the majority of users questions relating to their supporter status. I regularly get questions like "Why hasn’t my blog been upgraded to an Edublogs Supporter? I paid using PayPal!" To check their status I check their blog dashboard and if necessary our payment emails from PayPal (which is quick since they come into a gmail account).
Did someone mention chocolate?
Thanks
Sue
Keeper of the Dark Chocolate — 16th May 2009 (3 years ago) #
I don;t have the support plugin handy (And it's very loud here at brueggers this morning. I'm leaving for the library in a second and will try this later on.) Does is_supporter() support being passed a blog_id number? If so, you should be able to hard code in a check next to the blog name bit within the table on the site admin -> blogs page. If not, it;s a bit more tricker. You'll have to write a new check like is_blog_supporter() and have it do a:
switch_to_blog(blog_id)
is_supporter check
if true display a mark to show that it is a supporter
switch back to original blog.
I'll check on this when I relocate. Again though, this would be a hard code but a fairly easy one. I thought about it when we first started this thread.
Mmmmm,, 99 cent chocolate cookies at brueggers. There went my bus fare for the day.
Keeper of the Dark Chocolate — 16th May 2009 (3 years ago) #
Hmmm, how long has the function supporter_list() been in the supporter-framework.php file? Adds in the avatar and everything. You can throw a lot at it (ie count, avatars, etc.) so you may want to take a look at it yourself. About 300 lines in.
is_supporter (also in the -framework.php file) will take a blog_id if you pass it to it.
What I would suggest is open up /wp-admin/wpmu-blogs.php and look for this line:
<a href="wpmu-blogs.php?action=editblog&id=<?php echo $blog['blog_id'] ?>" class="edit"><?php echo $blogname; ?></a>[I'm doing this as a two parter in case I mess up the code. Hold on.]
Keeper of the Dark Chocolate — 16th May 2009 (3 years ago) #
Try this before the closing 'a' tag:
<?php if(is_supporter( $blog['blog_id'] ) echo "*";) ?>Or some other symbol in there to recognize the supporter class.
I *think* that'll work.
Hope this helps,
-drmike
Keeper of the Dark Chocolate — 16th May 2009 (3 years ago) #
Just noticed that there's a filter there. Actually two. manage_blogs_custom_column and wpmublogsaction. They're both set up differently. Let me think about this for a second.
Keeper of the Dark Chocolate — 16th May 2009 (3 years ago) #
How's this:
Keeper of the Dark Chocolate — 17th May 2009 (3 years ago) #
Andrew, you are, of course, free to add that into the subscriber plugin. the framework file would probably be a good bet. I really would like to remove that code and, no, you don;t have to give me credit for it.
Erstwhile founder — 17th May 2009 (3 years ago) #
Thanks, I'll add that in when we update the Supporter plugin.
Thanks,
Andrew
Member — 10th June 2009 (2 years ago) #
Just curious if this has been added as of yet.
I installed the supporter plugin a few hours ago, and the first thing after setup that I was trying to find was reporting. Obviously I didn't find it, which lead me to search forums and find this thread.
Erstwhile founder — 10th June 2009 (2 years ago) #
Hiya,
I'm afraid this hasn't been added yet.
Thanks,
Andrew
Keeper of the Dark Chocolate — 11th June 2009 (2 years ago) #
Feel free to copy and paste the above. Just drop it into your mu-plugins subdirectory. Afraid you;re stuck with fixing the line breaks though.
Member — 12th June 2009 (2 years ago) #
This is sweet!
However, until I can get a developer to integrate my existing payment system, I have to manage subscribers manually. It would be really helpful if I could see how many days a person has remaining to their supporter subscription.
Maybe post the number of remaining days in place of: { echo "Supporter :)"; }
I tried hacking around with $counter, but I clearly have no idea what I'm doing...
Founder & CEO — 12th June 2009 (2 years ago) #
Hi Christofire,
A perfect post for the jobs section :)
http://premium.wpmudev.org/wpmu-jobs/new-project/
It's free for you to post asx many of those as you want... it'll definitely help you find a developer!
Keeper of the Dark Chocolate — 12th June 2009 (2 years ago) #
I'll try to look at modifying the code this afternoon if I get library computer time. It's just a subtraction I would think and I know wp has convert to day function I believe.
Become a member