A few questions re: the "follow me" skin

alt=
@juancha
7 years ago
18 posts
Hi there

Could anyone please advise me if the following is possible with the "follow me" theme and if so could you give me something of an idea on how to go about these tasks.

1)having a section on the right hand side of the timeline showing the avatars of members worth following......(I as the admin would designate who these members would be)

2) Similarly on the right hand side of the timeline showing the members that are online at that moment by way of displaying their avatars...preferably with a green dot appearing over their avatar Facebook style.

3) Is it possible to create a standalone page showing a grid of all the members currently that joined right from the begining...again just a grid of avatars is what I am looking for

Many thanks
updated by @juancha: 11/09/17 11:47:09AM
paul
@paul
7 years ago
4,326 posts
All these things are easily done -

Quote: 1)having a section on the right hand side of the timeline showing the avatars of members worth following......(I as the admin would designate who these members would be)
Add an 'admin only' checkbox to the profile update form using the Form Designer. Call it something like 'profile_recommended', then add a search (search="profile_recommended = on") to the jrCore_list smarty function to show these profiles in the appropriate template.

Quote: 2) Similarly on the right hand side of the timeline showing the members that are online at that moment by way of displaying their avatars...preferably with a green dot appearing over their avatar Facebook style.
I think this has been resolved in another thread to created?

Quote: 3) Is it possible to create a standalone page showing a grid of all the members currently that joined right from the begining...again just a grid of avatars is what I am looking for
Use the Site Builder to do this. Create the page, set its layout to be a single cell with 100% width then add a 'list' widget to that cell, selecting profiles and one of the grid templates.

Let us know if you have any further questions on this. Alternatively we could quote for doing this for you. Its pretty straightforward and would only take a couple of hours.


--
Paul Asher - JR Developer and System Import Specialist
TiG
TiG
@tig
7 years ago
184 posts
Question on design intent. Are we supposed to be able to change javascript files? For example, enhancing the functionality of Reply by changing the jrFollowMe_reply_to function.

If changing JS files is against jamroom design intent I would like to know that. If not, I would like advice on the proper procedure for effecting changes.

Thanks.


--
TiG

updated by @tig: 08/09/17 06:48:30PM
michael
@michael
7 years ago
7,714 posts
@tig, better to ask you're own questions in their own thread with the main question as the title.

The docs your after are here:

Docs: "Creating your own skin ( Clone from an Existing Skin)"
https://www.jamroom.net/the-jamroom-network/documentation/skin-design-guide/839/creating-your-own-skin-clone-from-an-existing-skin

If your goal is a few minor tweaks to the way things work, you don't need to clone the skin, just use the Template Editor to tweak the existing templates:

Docs: "Using the Template Editor"
https://www.jamroom.net/the-jamroom-network/documentation/jamroom-admin-handbook/3183/using-the-template-editor

But if you want to change more things, then clone the skin. That will replicate the current skin in the file system and you can make whatever changes you like from there.

The default skin will continue to get updates from the marketplace, but after cloning your skin is entirely yours. If you see an update come in that you want to port to your cloned skin, use:

Docs: "Using the Compare tool to keep cloned skins up to date"
https://www.jamroom.net/the-jamroom-network/documentation/jamroom-admin-handbook/2394/using-the-compare-tool-to-keep-cloned-skins-up-to-date

Or if you're using GIT ( or other version control software ) then you can compare from there.
TiG
TiG
@tig
7 years ago
184 posts
@michael

Thanks much for the response (and the protocol advice). I wanted to ensure I did not violate a principle by modifying javascript. It was clear to me that templates are fair game, but not so clear on the JS.

By the way, is there any place that you know of where one can find techy documentation on the javascript functions themselves? I have looked. I will be reviewing the links you sent.

Thanks.


--
TiG
michael
@michael
7 years ago
7,714 posts
Once you've cloned the skins its all yours and you can hack it up any way you like.

Another good thing to know about is how to take control of a modules template by copying its file to your skin and renaming it:

Docs: "Altering a Modules Template"
https://www.jamroom.net/the-jamroom-network/documentation/module-developer-guide/1051/altering-a-modules-template

The javascript is going to be whatever the skin designer decided was needed. For the most part, because things are expected to be customized, onclick="????" is used to be able to see that something is supposed to happen when that item is clicked on.

This helps track back to the js being called. I have trouble locating whats going on when its all abstracted out and $().on('click'....)'d . If you want to know anything and cant figure it out, ask in the forums and one of the skin developers will answer.
TiG
TiG
@tig
7 years ago
184 posts
@michael

Thanks again for the info. I will now try to use the forum properly.


--
TiG

Tags