how can we view influences on a profile????

Zachary Moonshine
Zachary Moonshine
@zachary-moonshine
10 years ago
831 posts
using ningja i cant see them ?
updated by @zachary-moonshine: 10/18/15 12:32:46PM
michael
@michael
10 years ago
7,822 posts
Put a {debug} in the template where you want to use them, see if they are there already.

"{debug}"
http://www.jamroom.net/the-jamroom-network/documentation/development/1477/debug

Look for something like profile_influences.
paul
@paul
10 years ago
4,335 posts
This is the code for influences from the Elastic skin -
        {if !jrCore_is_mobile_device() && isset($profile_influences) && strlen($profile_influences) > 0}
            <div class="block">
                <h3>{jrCore_lang skin=$_conf.jrCore_active_skin id="47" default="Influences"}</h3>
                <div class="block_content mt10">
                    <div style="padding-top:8px;">
                        <span class="highlight-txt bold">{$profile_influences}</span><br>
                    </div>
                </div>
            </div>
        {/if}

Maybe insert that somewhere in the Ningja profile_sidebar.tpl template?


--
Paul Asher - JR Developer and System Import Specialist
paul
@paul
10 years ago
4,335 posts
Actually, I've now added this to the Ningja skin and will get it released shortly.


--
Paul Asher - JR Developer and System Import Specialist
paul
@paul
10 years ago
4,335 posts
paul:
Actually, I've now added this to the Ningja skin and will get it released shortly.

Now in the marketplace


--
Paul Asher - JR Developer and System Import Specialist
Strumelia
Strumelia
@strumelia
10 years ago
3,605 posts
Can someone please explain what profile influences are to me?


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
douglas
@douglas
10 years ago
2,807 posts
This would be for an artist or band, their influences.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
Strumelia
Strumelia
@strumelia
10 years ago
3,605 posts
Oh!- lol.... i thought it was some software term that I should just ignore. too funny.

Hey this is something my members will like too, since they are all musicians! Gonna try to add it to my custom skin!- thanks! :D



--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015

updated by @strumelia: 08/19/15 07:35:10AM
paul
@paul
10 years ago
4,335 posts
Just install the 'Find New Music' module and it should all just happen ;-)


--
Paul Asher - JR Developer and System Import Specialist
Strumelia
Strumelia
@strumelia
10 years ago
3,605 posts
huh? not understanding what you mean exactly Paul...how would the member then express who influenced them in their personal growth as a musician?


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
paul
@paul
10 years ago
4,335 posts
The above module 'injects' an 'Influences' field into the Update Profile form. When filled in and saved, its content can be shown on the profile pages, and a search form placed on the index page, say (some skins do this automatically if the module is detected). Its actually geared to 'Find New Music' so if you searched for 'Grateful Dead' it would return all artists that think they sound like them!! But the module language strings could be changed so as to make it an 'influences' search and field.


--
Paul Asher - JR Developer and System Import Specialist
Strumelia
Strumelia
@strumelia
10 years ago
3,605 posts
Ok, but I don't need the search/'soundslike' aspect of that. Which of the above two approaches would you suggest Paul if all I want to do is add a place in a member's account settings where they themselves could fill in "Music/musicians I was inpsired by" box, save it, and have that then show in their profile page sidebar under say "My musical influences"?


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
paul
@paul
10 years ago
4,335 posts
Its probably best just to add a profile_influences field to the profile update form using the Form Designer, then, to the profile_sidebar.tpl template, add something like -

        {if isset($profile_influences) && strlen($profile_influences) > 0}
            <div class="block">
                <h3>Influences</h3>
                <div class="block_content mt10">
                    <div style="padding-top:8px;">
                        <span class="highlight-txt bold">{$profile_influences}</span><br>
                    </div>
                </div>
            </div>
        {/if}

hth


--
Paul Asher - JR Developer and System Import Specialist
Zachary Moonshine
Zachary Moonshine
@zachary-moonshine
10 years ago
831 posts
got it works great man
Zachary Moonshine
Zachary Moonshine
@zachary-moonshine
10 years ago
831 posts
thanks!
Zachary Moonshine
Zachary Moonshine
@zachary-moonshine
10 years ago
831 posts
of course now instead of it saying influences it says forum ?
Capture.PNG.png
Capture.PNG.png  •  62KB

paul
@paul
10 years ago
4,335 posts
I guess the language index is wrong for the skin you are using. Make sure the id in {jrCore_lang skin=$_conf.jrCore_active_skin id="49" default="Influences"} lines up with the 'Influences' id in the skin language file. Add it in if necessary then run the Integriry Check.
hth


--
Paul Asher - JR Developer and System Import Specialist
Strumelia
Strumelia
@strumelia
10 years ago
3,605 posts
Paul, wouldn't changing 'forum' to influences' in his skin language file then put the word 'influences' in other places where he might be wanting 'forum' to show? And I don't think we have the ability to actually ADD new entries to our Language files.
Perhaps instead just eliminate the reference to the language file altogether, would this work?:
             <div class="block">
                <h3>Influences</h3>
                <div class="block_content mt10"> 



--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
Strumelia
Strumelia
@strumelia
10 years ago
3,605 posts
edit: um, did you just change the code in your previous post to eliminate the lang file reference #49, at the same time I was posting...? Or am I losing my mind?? =8-o



--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015

updated by @strumelia: 09/16/15 07:48:28AM
Strumelia
Strumelia
@strumelia
10 years ago
3,605 posts
"Its probably best just to add a profile_influences field to the profile update form using the Form Designer"...

Paul, you may recall that the 'Form Design' function is my worst nemesis. It's like some vaporous ghost I can never locate. Would you kindly point me to exactly how/where the heck I can FIND this "profile update Form" in order to add the field? I can never find my way to the form design areas!!
I swear I'll write it down carefully this time! ;)


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015