Forum Activity for @soaringeagle

soaringeagle
@soaringeagle
11/13/14 10:41:58PM
3,304 posts

advanced tip give your members style control of thier profiles!


Ning To Jamroom

just when i thought i had it all figured out im confused again

in the image code i set tyhe fieild up as profile_cover_image
i swear thats what i was using ..along with the size for strlen

but when i remove it so its the way i thought it should be..the way i swear i had it to begin with
it works on my profile but not the demo
and the z-index is applied wether checked or not


i think i might still need a hint
updated by @soaringeagle: 12/29/14 09:23:54AM
soaringeagle
@soaringeagle
11/13/14 10:24:04PM
3,304 posts

advanced tip give your members style control of thier profiles!


Ning To Jamroom

hmm micheal i thought i had that right but seems to be applying the zindex wether checked or not i think it needs to check the profile id maybe
?
updated by @soaringeagle: 12/29/14 09:23:54AM
soaringeagle
@soaringeagle
11/13/14 10:14:28PM
3,304 posts

advanced tip give your members style control of thier profiles!


Ning To Jamroom

haha yea well remembered the face just talked to the others alot more

you guys sure do work fast

the 4 of you ..with 2 of ya being away have done more in a week then nings done in 6 months with teams of engineers and millions of dollars in backing
updated by @soaringeagle: 12/29/14 09:23:54AM
soaringeagle
@soaringeagle
11/13/14 10:01:36PM
3,304 posts

my list of things ning migrators will mkiss


Ning To Jamroom

i think id like to develop our own chat our own way but i will look into the cometchat
though is that a seperate login or does it alow members to login to chat and the site as 1


and guys

i have begun the very begining of a design studio for profilkes
i mean i posted how easily it can be done and got a start on it
minor start on it
but
i bet i can have a fully functional version that should have easy to install instructions
so yiou can create your own yiur way
updated by @soaringeagle: 12/29/14 09:23:54AM
soaringeagle
@soaringeagle
11/13/14 09:38:53PM
3,304 posts

advanced tip give your members style control of thier profiles!


Ning To Jamroom

michael:
Great write-up @soaringeagle glad to hear your getting the hang of it. Thanks for providing this for everyone.

my pleasure and will love helping others adjust..srry i blanked onyour name there
been coding and importing and trying my damnedest to figure this all out with very lil sleep all week

i mean i wake up inspired working on it before i even turn on the coffeemaker

literaly when i have slept its open eyes turn on monitor reach for mouse and keyboard and probably work on it a good hour before remembering to eat or make coffee

i think tomorow ill be working with someone who will be helping me out so i think in a few days ill have figured out at least simple module creation
updated by @soaringeagle: 12/29/14 09:23:54AM
soaringeagle
@soaringeagle
11/13/14 09:21:24PM
3,304 posts

advanced tip give your members style control of thier profiles!


Ning To Jamroom

update
note the demo-noz profiles now got a new heading color
simply added the spectrum and a inline style statement if its set to use the chosen color

but brian douglas whoeever
whats thed option to reset it to default
thats the thing i cant seem to figure out
but

kos
strum
ken
all ya ningsters..islander srry almost forgot ya
u see the power potential dont ya?
build your own design studio

i think it can verify code ..or parameters i should say adhere to rules u set ie ifyour alowing settings for border-radius on like the profile image i think u maybe can verify that it contains either % em or px values?
im still playing with it but its like a kid in a candystore i got a new toy and figuring out what can be done with it

we really should be able to build our own fully functional profile design tools
that will not break responsiveness


oh and i just got a coder whos eager to help hes been a member fir ..well since the very begining almost



paul douglas brian ande..um forgetthe 4th..srry do u guys mind if we have a "tips" section
on creators that was1 of the best things about it was other creators sharing tips ..wether it was design tips for a feature or lil tricks and tips like these
updated by @soaringeagle: 12/29/14 09:23:54AM
soaringeagle
@soaringeagle
11/13/14 07:27:28PM
3,304 posts

advanced tip give your members style control of thier profiles!


Ning To Jamroom

this is a simple example but all the building blocks are there to alow your members to choose some basic styling options
what those options might be are up to you

i beleive you should even be able to use the spectrum module as a color picker to alow passing of color values to elements!
for ning users this is a build your own design studio potentially!

this simple example @douglas helped with the 1st peices of the puzzle and now its starting to click as to how things work, withg a lil trial and error i was able to do 2 things with very lil code

1 add the ability to put up a custom profile cover photo
and if desired move it behind a partialy transparent layer
as well as add a lil style to the cover photo container

ok on with the lesson
(and im grinning ear to ear now that things are starting to make sence)

step 1
in the profile creation, and profile modification forms open the form designer create the following fields
profile_cover_image
profile_z

give them any title description help text u think they need
make profile image a file field and z a checkbox
dont forget to check make active before saving
and assign the quotas you want to have access to them

now in your skin templates modify the profile_header.tpl

at top you will see

<div class="container">
this will be our cover photo container
so find that and edit as so

<div class="container profilecover {if isset($profile_z)}cover-z{/if}">

{if isset($profile_cover_image_size) && strlen($profile_cover_image_size) > 0}
{jrCore_module_function function="jrImage_display" module="jrProfile" type="profile_cover_image" item_id=$_profile_id size="xlarge" class="img_scale" alt=$profile_name title=$hover width=false height=false}
{/if}

now let me explain what im doing here ..and thank you @douglass for helping me wrap my brain around the 1st peices of the puzzle
1st
<div class="container profilecover {if isset($profile_z)}cover-z{/if}">
i'm adding a profilecover class so i can style the cover photo with rounded tops and a box shadow then if the checkbox is checked adds the class cover-z

and then
{if isset($profile_cover_image_size) && strlen($profile_cover_image_size) > 0}
{jrCore_module_function function="jrImage_display" module="jrProfile" type="profile_cover_image" item_id=$_profile_id size="xlarge" class="img_scale" alt=$profile_name title=$hover width=false height=false}{/if}
1st it checks to see if you have uploaded a profile cover image and its bigger then 0
next line calls the image handler function that basically just builds an image tag
it says to look for an image in the jrprofile module
of type profile_cover_image (the name we gave the field within the profile module)item_id sets the profile number (1 being the creator) and size (required by the image handler even thiugh the docs say its optional)

now that code builds this code
<img class="img_scale" alt="Soaring Eagle" src="http://greentechnologyforums.com/profile/image/profile_cover_image/1/xlarge/_v=1414984633">
the -v=..not sure where that comes from my guess is a cache handler

but you can see how the bits and peices fit together adding directory entries into the path

so that will only display a cover photo if ones been uploaded instead of putting up a default

next 2 lil peices of css


.container.profilecover > img {
  -webkit-border-radius: 3em 3em 0 0 !important;-moz-border-radius: 3em 3em 0 0 !important;border-radius: 3em 3em 0 0 !important;
  -webkit-box-shadow: 0 0 0.3em 0.1em rgba(63,127,140,.7);-moz-box-shadow: 0 0 0.3em 0.1em rgba(63,127,140,.7);box-shadow: 0 0 0.3em 0.1em rgba(63,127,140,.7);
  margin: 1em;
  position: relative;
  width: -moz-available;
  
}
this styles the cover photo with border-radius and box-shadow on every cover photo
you can adapt this to alow users to turn on or off any of these options with a checkbox or radiobutton or probably set tyhe color and radius values

and
.cover-z img {z-index:-1;}
if they checked the z index checkbox


example of a profile with z index off
http://greentechnologyforums.com/demo-noz
and z index on
http://greentechnologyforums.com/soaring-eagle

theres a module called spectrum that alows you to pick a color from a full spectrum color picker the spectrum can be added to a form designer feild and alow members to change css values

imagine the possibilities

you can build your own design studio giving them the control you choose to give them
updated by @soaringeagle: 07/09/16 09:21:02AM
soaringeagle
@soaringeagle
11/13/14 04:38:38PM
3,304 posts

soaringeagles guide to styling jamrooms ning skin


Ning To Jamroom

after a couple days of frustration with styling im finaly getting the hang of it and the trick of its really finding the items (and yea i know nearly everythings an item) that you want to target in the templates and add class names or containing divs to get the control you desire.

a few important facts to remember

1 your skin is not the only templates you will need to add classes to, the skin and modules work together to build a page. 1 example is the ning discussion page and details, these templates are found in the ning discussions module
2 templates call other templates and modules and if you cant find what your looking for, like the comments on a forum post, chances are (and in this case is) theres an if for else type statement calling those comments, the likes, and everything else in that block
3 surrounding an if else type statement with a containing div alows you to target all items within that div you added
4 little lost? 2 quick ways to find yourself and the code your targetting 1 put .hereiam {background-color:red!important;} in your css then simply add heriam to any element and everything withinit turns bright red you can alternately add <h1>here i am</h1> and see a heading in the page (yes this is a guide for dummies)

on the front page i i targetted the headings and "items" to get this glazed "capped" look but that left all other items hanging out there with that flat chopped off top look

to fix this i had to edit a few templates adding classes then targetting all items within or in some cases all but the 1st item (.item:nth-child(n+2) targets all items after the 1st child)

on the forum lists page this was simple to do using the nth-child method and adding classes to the title area for padding

and all i did was add the border radius to all but the 1st "item"
i am not near done just wanted to share examples of how to get the control you want

heres the css ive used so far for forum tweaks

.ningdiscusscommentdetails .item,.discussfirstpost .item:nth-child(n+2),.ningdiscussblockcontent .item:nth-child(n+2) {-webkit-border-radius:2em;-moz-border-radius:2em;border-radius:2em;}
.title.discusstitleblock {
  padding: 1em 3em 0.3em 2em;
}

real simple
heres a discussuion detail page now to target the comments likes shares etc all i did was wrap a div around the if that brings in those items

   <div class="ningdiscusscommentdetails">
        {if !isset($item.discuss_forbidden)}
            {* bring in the item details *}
            {jrCore_item_detail_features module="jrNingDiscuss" item=$item}
        {/if}
        </div>

at 1st i felt like it was a real oversight to not have built in classes but now im starting to see how it makes sence to have a more "blank slate" aproach that lets you put them where you want them or to surround them with containing divs to target a group of items


just thought this would help some of you out who are trying to get used to the new system
- 59KB

updated by @soaringeagle: 01/13/15 10:55:06AM
soaringeagle
@soaringeagle
11/13/14 02:08:49PM
3,304 posts

media conversion step of import issues


Ning To Jamroom

thnx
updated by @soaringeagle: 12/29/14 09:23:54AM
soaringeagle
@soaringeagle
11/13/14 01:27:21PM
3,304 posts

media conversion step of import issues


Ning To Jamroom

found how to pause it but not reset it

but heres what i seee
Conversion Client conversion_download 1 3973 33,703 s

thats a hell of a latency
and couldnt more then 1 worker be working/
updated by @soaringeagle: 12/29/14 09:23:54AM
  309