socialgo
Aug 14th

A new face for Socialgo

By ezra vancil
Just a little sneak peak of the drawing table. We're working on a slimline, minimalist template series for the template store.  Ya PSG has been a little quiet lately... get ready to hear us roar ;) 

SG-copy.jpg
Jul 17th

Quick Test: removing sidebar

By ezra vancil
Hey I've been busy so this is just a reply to an email, I have not tested this in all browsers so will need to be tweaked for your particular site. Mabye someone that has done this can chime in. I also did not test "not logged in" but you would use the not logged in tag, which slips my mind at the moment to remedy this. 

screenwide.jpg

with just a quick test this works but no bug testing and also you will have to adjust the sizes of zone-e (must have LM turned on or you would use a different tag I think it's #main-content would replace #zone-e ) My code is redundant, to show you what is happening. The commas important. 

Here is the Jest:

This makes anything (sidebar) disappear:
#magazine div#sidebar, #magazine div#search-bar-background 
{
visibility: hidden;
}
Then you will have to adjust the containers of your page and navigation. Look at your page after this one, to see what is happening. 
#magazine div#main-content, #magazine div#container { 
width: 99%;
You can set zone-e to 99% too, but it will knok off your second collum I found this size to work on my page, but default SG column width is different. So increase or decrease this until it looks right and your second colum shows up. 
#magazine #zone-e {
width: 700px;
}
this will stretch the background of your navigation so it doesn't look funny, you don't have to do this. 
#magazine div#navigation-wrapper {
width: 100%;
}
hopes that helps, there may be some issues in different browsers which will take a tweak here and there. 
ezra
Jun 19th

FatBabys need love too

By ezra vancil
If you've purchased the Fatbaby template than you've noticed it's like nothing Socialgo Networks have seen. It's a fully liquid layout - meaning it stretches to fill any screen, and squishes down to a tiny 720px. Now with great power must come great responsibility so there are a few things to realize and practice on your fatbaby networks. First is the cool little function that resizes your pictures for you, so everything stays kosher when stretched out to the outer limits of 1200px. 


Picture Resize

The picture resize will take any image placed in your blog, profile (avatar) or group (avatar) and resize it accordingly with the size of someone's monitor. Here are a few guidelines to go buy. 

1. You want your blog pictures  to hit the average size of most monitors so that it is not stretched to a blurry mess. This would mean if you post a picture that's tiny 20px x 20px it's going to strech to 700px on a 1200px wide monitor. 

The remedy:  Hit the average sweet spot. The sweet spot falls between 500px and 600px. If you don't know all this mubo jumbo px stuff, than the rule of thumb is that the picture should be big enough to fill two thumbs on your screen. For tiny pictures. Just drop them on a white, or cool looking back ground that is larg enough to fit the blog. 

Universal Blog rules

Don't think because you have a Fatbaby your load is greater than others. Just look around at a handful of blogs. People that care about their blogs care about it's appearance. So, it is a common practice to size your images to fit the layout of your blog... in short, everyone should be doing this. 

User Driven Blogs

If your blog is open to the public you won't have so much control. But here is the cool thing about the public.. they almost always post pictures too big for the blog. I know this from having a user driven blog. They grab them off the net, or from their iphoto and the picture is usually sized to fit a avrage page (because it's off the net) or it's freak'n huge because the uploaded it from their camera. BUT, if you do have a problem, we will be posting how to remove this feature in your fatbaby group. 

 
Jun 16th

Template Groups

By ezra vancil
If you have bought a PSG Template from the SocialGo Template Store, please join the group that corresponds with your template. Right now there are some code snips for adding a logo to your PSG Template, and also ways to edit your template header by adding your own images. We will be adding new tutorials and code snips as time goes on and will alert the group members of the latest customizations. 
Jun 9th

Ezra Out of touch

By ezra vancil
I will be out of touch for atleast two more days. It you have a problem with a template from the template store please mail me from inside the store
Thank you, and those of you in the know, please help others on this site if you can.. would be greatly appreciated.
ez 
May 14th

Fat And Proud of it!

By ezra vancil
Coming soon FATBABY! That's right a truly liquid Socialgo Template, and it's easy to customize, so that you can work your existing graphics into a liquid layout. In the first release there will be numerous color schemes to pick from. I'll continue adding designs and color schemes as time goes on. 

FatBABY Squished to 700px wide.

fatbabysmall.png

FatBABY stretched to 1290px wide. 
 
fatbbabybig.png 

And That's not ALL 

As with all PSG templates you will be assigned a special group where you will find plenty of ActionCODE add-ons like this FATbaby picture controller which allows you to upload any size picture (at a reasonable size) and it will automatically resize your picture depending on how big your FATbaby is stretched or squished, AND it puts a nifty little frame around all your pictures too. 

PICTURE CONTROLLER  700px

fatBpicsmall.png 

PICTURE CONTROLER 1290px

fatBpicbig.png 
May 14th

CSS 101: BACKGROUNDS

By ezra vancil
You can do allot with CSS color and layout options, but the real power is the ability to put a image background on just about any element of your page.  We've talked a little about this with banners and logos and will continue to talk about it because it is that important to your design.  For now we will just look at the background property and it's various values. Keep your PSG cheat sheet handy for a visual guide. 

Broken down backgrounds 
I will show you each property and then I'll show you the shorthand for incorporating all properties into one statement. 



Background color


To effect the background color of any block element is a simple as:
#header  {

background-color: #454545;

}


Background Image


You can put a image in the background of any element with "URL" just place the image URL inside of the "()". I sometimes will upload images onto my SocialGo Network, right click on them.. and tada! I have my Image URL.
#header  {

background-image: url(www.mysite.com/image.gif);

}


Background Repeat


The most powerful thing about the background image is that you can tell it to repeat vertically horizontally or both directions... or not to at all. Let's look at the three options.  You see the little green line bellow. Well it's small when by itself but if I repeat it horizontally, it makes the button you see bellow.

One small image:

green.png

Makes this when repeated (repeat-x):

mag.png

Repeat horizontal and vertical
#header  {

background-image: url(www.mysite.com/image.gif);
background-repeat: repeat;

}


Repeat horizontal
#header  {

background-image: url(www.mysite.com/image.gif);
background-repeat: repeat-x;

}


Repeat Vertical
#header  {

background-image: url(www.mysite.com/image.gif);
background-repeat: repeat-y;

}

Background Position

The background position property is great for lining things up. You can use it on X and Y and no-repeat, But, it's a little different with each of these values. For instance if we have a image that is repeating horizontally (repeat-x) we can tell it to move up or down, but when we tell it to move right or left, it will only change the starting place of where it repeats.

The many variations of position

You can position a background image by it's x and y values. we can do this with percent, or pixels or just telling it "center" or "right". We tell it both the X and the Y in the same CSS statement.

#header  {

background-image: url(www.mysite.com/image.gif);
background-position: center left;

}


Here are all the possibilities when using a pre-defined position. Remember you are stating BOTH the X and the Y in the same value (top left)

  • top left
  • top center
  • top right
  • center left
  • center center
  • center right
  • bottom left
  • bottom center
  • bottom right

 

Using percentage

You will want to use percentage when something may change size but you want the position of the image to stay relative to it's parent's position. You might use this when you have a arrow background in your nav, that needs to be in the same 52% position no matter how long your nav button is. Here is a picture to show you how I used it on SG's template.

nav1.png
nav2.png  

You see, the magazine button is wider than the home button, but the arrow stays right in the center no matter how wide the button is stretched. Here is the CSS i used.  

#header  {

background-image: url(www.mysite.com/image.gif);
background-position: 50% bottom;

}

Background Shorthand

Believe it or not, we can compress all of that junk above into one pretty CSS property. Study bellow and see how I've incorporated all properties in one.
#header  {

background: #dfdfdf url(www.mysite.com/image.gif) no-repeat %50 bottom;

}

With one slight of hand I've put a background color, Image, repeat state and position in that order. That's the way to do it.

May 12th

Hide Group Members and Author

By ezra vancil
THIS POST HAS BEEN UPDATED > I was asked this question which is related to our earlier blog on hiding birthdays. People will usually gauge how good a group is on the size of it's member base -- this is true online and in the real world, kind of like a new restaurant with no cars in front of it. So how do you get them to take a look inside your groups without judging them before they hit the door? You hide the membership! Here is how it's done -

Normal:
groupsall.png

You have two options you can hide the entire statement of who the owner is and how many members it has, or you can just hide the owners name and the members number. 

Hide the author and members statement:

groupshide.png

  For this we will use our trusty display none, but to make sure we don't effect other elements on other pages, we will let our CSS know it's only on the groups page:
     
#groups-list 
.search-listing 
.listing-questions li  
{
 display: none; }


Hide just member number and author name:

groupname.png 
 
To hide just the member number and author name we will use the "Strong" tag.
     
#groups-list 
.search-listing 
.listing-questions li strong  
{
 display: none; }


You will notice that this changes your layout a bit, and it should because when you hide something it takes it out of the line, the space that it once held is gone. So if you want to keep the formating just the same you can also just change the color of this text to the color of your background like so:
     
#groups-list 
.search-listing 
.listing-questions li  
{
 color: black!important;        }


You could just effect the member OR the author, but this would get into javascript which is a little to expansive for this post

May 4th

CSS 101: Block & Inline elements

By ezra vancil
Our last podcast looked at placing our logo in the header and creating a rollover effect. If you recall we had  to change the "header h1 a" into a block element. I said I would write a blog on block elements, and true to my word 67% of the time,  here we go. 

Play with Display
If your new to CSS, you've probably stayed away from the "Display" property. Well you might be missing out on a powerful tool. It only has to values, or three things it can do, so it's easy to remember . 
  1. display: inline;
  2. display: block;
  3. displa; none; 

All three of these values are extremely useful. Think of the display:none that we used in last weeks tip on hiding elements on a page, like the birthday element that so many ladies hate... display:none; You can even hide sorts of stuff you don't want on your page and is not yet an option in the layout manager.

Block and Inline are just as powerful. Lets say you want the background color of a DIV with a ad or image in it to automatically span the width of your text, so as not to worry about setting an exact pixel width. You would use the INLINE value to do this, because a DIV is a block element.

The difference between Block and Inline These are the most common elements that are blocks, and it's pretty easy to see this because they are usually designed visually as blocks.

 




A Block element starts on it's own line. Think of everything on your web page like the flowing of text a paragraph. Block elements are when you hit the enter key and go to a new line. So if you have say a Block element like a H1 under a inline element (think text) your block element will drop down like you hit the enter key.

Here are some inline elements:
 
 
 
 

The main difference between a block and a inline is hight and width, or those are at-least the most effective differences. A inline element's height and width, line hight, and top and bottom margins CAN NOT be changed. It will also span the width always of the image or text and can't be changed. It also begins on the same line.. so no enter key.

Useful Block

Blocks are very useful for image replacement. Like we put a image inside of a inline element the "a" element. If you don't turn that "a" element into a block, there is no adjusting it's hight or width, so more than likely, you will not see your full image. So simply put display: block; as a property, and your set, now you can fit the "a" around your image, and it will be linkable. I use this allot in SocialGo Design.

Useful Inline A good way to use the inline value is in setting a Block element, say a DIV, to be inline, giving it a background color, and allowing it to span the width of that inline element. See, a Inline element will just go and go until something stops it, so you can allow that background color to go the width of the text and you don't even have to specify a width. So that's about it. Inline is kind of useful, you will find places for it as you get deeper in CSS, but Block is very useful, and a must in many situations.
Apr 30th

Translate CSS tricks

By ezra vancil
We will be styling a google translate tool like I have done on little prayer box.  

If you just want all the code and don't want to read all this, just skip to the bottom and follow instructions about changing your URL.

translate.png

I'm seeing the google translate tool popping up every where on Socialgo Networks and I thought I'd offer up some CSS to style those puppies. 

Here is the full translation HTML code you will need for this exercise: translate code.  If you already have the code up ( take a look at mine to make sure it is the same google translate code) just ad a DIV that wraps all the code and give that div a ID of "translate": 

 
google code here

And if you want it to say "translate" insert this P element:


Translate to:

google code here
Note: the image resides on my server, so I can't promise it will always be there. you can replace it in the CSS coming up.

If you are using the google code I'm providing you will need to insert your URL where it says "yoursite.com." you can do this with a easy search and replace with most text editors. 

The CSS 
Here is the CSS you can add it to the head of your SG site in the custom HTML area. Make sure you put it between open and closing STYLE  tags. First the "translate" DIV we just added.  

Here we will set the position to fixed that way it does not scroll with the rest of the page:
#translate {
        position: fixed;        
}

We will also give it a enormous z-index, just because I don't know what z-indexes you are already using:
#translate {
        position: fixed;
        z-index: 2000;  
}


We will drop the width so to make our flags line up vertically:
#translate {
        position: fixed;
        z-index: 2000;
        width: 12px;    
}

Now we will add a image I made. It is a black PNG with the occupancy dropped to about 12%:
#translate {
        position: fixed;
        z-index: 2000;
        width: 12px;
background:  url(http://www.networklogic.net/widget/images/translatebg.png);
}

Here is the important part - the margin. As you can see on my little prayer box network, I wanted the translation tool to float just under my banner. You may want different and this "margin-top" is where you will adjust that:
#translate {
        position: fixed;
        z-index: 2000;
        width: 12px;
background:  url(http://www.networklogic.net/widget/images/translatebg.png);
        margin-top: 186px;
}


Next we will add a float... and I'll be honest, I don't know why I added this, it shouldn't matter. But we will add it for fun, you can mess with it:
#translate {
        position: fixed;
        z-index: 2000;
        width: 12px;
background:  url(http://www.networklogic.net/widget/images/translatebg.png);
        margin-top: 186px;
        float: right;   

}

Next I will just add some padding, take out the margin and then a small 1px border:
#translate {
        position: fixed;
        z-index: 2000;
        width: 12px;
background:  url(http://www.networklogic.net/widget/images/translatebg.png);
        margin-top: 186px;
        float: right;   
        
        border: 1px solid #666;
        padding: 10px;
        padding-left: 3px;
        margin-left: 0%;

}

Now I'm going to do my ocpancy roll over so the flags are slightly transparent.. You can add this if you want. First I set the opacity for the flags real low, then on the ":hover" state I bring it all the way up:
#translate a {
opacity: .2;

        
}

#translate a:hover {
opacity: 10;

        
}


Put it all together
Last I'm going to do a image replacement on the p tag. I've shown how to do this numerous times. You can look here for a start.

So here is the CSS in full. Just replace the image urls with your own if you want, and add it to your header area between style tags.
#translate {
        position: fixed;
        z-index: 2000;
        background:  url(http://www.networklogic.net/widget/images/translatebg.png);
        width: 12px;
                margin-top: 186px;
        border: 1px solid #666;
        padding: 10px;
        padding-left: 3px;
        margin-left: 0%;
        float: right;
        
        
}

#translate p {
        
        display: block;
        text-indent: -2000px;
        background: url(http://www.networklogic.net/widget/images/translate.png) no-repeat;
        height: 40px;
        margin-top: 0px;}

#translate a {
opacity: .2;

        
}

#translate a:hover {
opacity: 10;

}
Very Last add translate HTML code (with your URL replaced, or add the div and P tag as we talked about above) to your BODY area in the custom HTML section of your admin.

Remember you can adjust the Margin-Top on the #translate CSS  to move it up and down.

If you need a really easy fix and don't want to do all this then you can download this CSS and HTML txt file and dump it in to your body section. BUT! you will still have to replace all instances of "yoursite.com" with your URL.

    About us

    Pro socialgo was created and is sustained by a husband wife team. The hope behind the experiment is for SocialGo Owners to join together in a mutually profitable creative endeavor to see how far socialgo can really go. Pro socialgo has set many platforms in place to deliver premium-learning materials for creative minds that want to exploit all the riches of self-made social networks. Who knows what we can accomplish if we put all our heads together and strive for higher standards and knowledge of our craft. Ya, we're glowing eyed optimist, but hey... beats a kick in the.

  • Little Prayer box

    Check out Little prayerbox.com the site Ezra cut his teeth on. You’ll notice a few similarities, but there is nothing wrong with stealing from yourself is there? go There Now