Featured Members - JomSocial 2.4.2

Posted on 2012-04-12
Last Modified: 2012-05-07
There's a couple of thing I'd like to modify for featured members in JomSocial.

I'd like the featured members to remain featured forever. Currently they only remain featured via the featured limit in the component back end. So it might be better to have a plugin or module rather than modifying core files.

I'd like to overlay the avatar with a small image to indicate that they are featured. I'd love for this to integrate with other components such as Kunena but I'm not sure how difficult that would be.

I'd like to have a module to display x number of featured members similar to the way Top Members are displayed minus the karma points or the way they are displayed in when choosing view all members.

I'm not a coder. I can make sense of PHP somewhat, as in reading it. However, I don't know the rules to writing PHP. With that said, I may need a lot of help.
Question by:ricslady
  • 2
LVL 13

Accepted Solution

StormITSolutions earned 500 total points
ID: 37856735
I can help with a portion of this

"I'd like to have a module to display x number of featured members similar to the way Top Members are displayed minus the karma points or the way they are displayed in when choosing view all members. "

What you can do is take the top members or the latest members and look at the code and change the sql statement to point at the featured members rather than new or top members. TO remove the karma points, just remove the html that produces it, you can set the limit of members pulled within your sql statement

In regards to the unlimited featured members it wouldnt be much of a hack to edit that, just put it to some silly number or instead get it to reference a field in the database, then you could make a plugin as you say to pull said variable into the featured members features.

hope this helps.

As the things your asking for don't exist as far as I know, your options are try the above or pay a coder to do it as its quite a bit of work


Author Comment

ID: 37873253
Thank you Storm!

I'm sorry for my delay. I have been swamped lately. I will try your suggestions as soon as I can and get back to you with any questions, etc.

Author Comment

ID: 37938493
Storm, I've tried your suggestion but I think this is way over my head. Thanks for the help though.

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

First of all, we will need Jumi component or Sourcerer plugin for this to work. We need either of these because the main focus here is custom development outside of the standard modules or articles within Joomla. You can find Jumi's my …
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to dynamically set the form action using jQuery.

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now