Page 1 of 1

Suggestions?

PostPosted: August 25th, 2011, 3:55 pm
by sgtcory
Is there a suggestion area for s2Member that I might have overlooked?

Simple suggestion and easy enough to implement :

Make the gravatar size a setting in the admin panel. Did this manually, but on every upgrade, need to change the hardcoding again. Realize that this can be achieved in other ways - but this is the best solution.

Great work Jason - making my client area really easy to manage!

Re: Suggestions?

PostPosted: August 26th, 2011, 9:55 pm
by Cristián Lávaque
Thanks for the suggestion, Cory! I'll forward it to Jason to consider. :)

What file/line are you editing? There may be a hook that you can use.

Re: Suggestions?

PostPosted: August 26th, 2011, 10:12 pm
by sgtcory
Editing approximately line #175 in the login.widget.include.php

I am successfully using the following hooks before and after to achieve other functions :

Code: Select all
ws_plugin__s2member_pro_login_widget_during_display_before
ws_plugin__s2member_pro_login_widget_during_display_after


I am sure I could do this in a similar manner by adding a function - just seemed like something to me , that many people would like to have control over without having to add a hook for it. IE - Just the set the variable to what it currently is if the admin setting is left empty.

Not a really big thing at all - just something small I thought of while building a custom area around s2Member - that would help sites differentiate their s2Members areas a bit more.

Thanks for the quick response Cristian!

Re: Suggestions?

PostPosted: August 27th, 2011, 1:22 am
by Cristián Lávaque
Got it. Thanks! :)