Lurk all you'd like, but why not register and post some pics? Registering also makes it easier to find the good stuff. Need help?

Go Back   Digital Grin Photography Forum > Support > SmugMug Customization
Dgrinner
Password
Register FAQ Shooters Calendar Reviews Tutorials Gallery Books Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old Dec-19-2005, 11:22 AM   #1
flyingdutchie
Happy Snapper
 
flyingdutchie's Avatar
 
Join Date: Oct 2004
Location: Boston, MA 02111 (USA)
Posts: 1,272
How to put Smugmug Blog Alliance links in your own (photo)blog:

This post describes how to include the links from the Smugmug Blog Alliance (see other thread in this forum) into your own blog.

Each blog can be different and it depends how configurable it is. But, they basically follow the same scheme. Here is how you can do it.

1. Login into your blog and go where you maintain your setttings (admin pages) and find the page in which you can edit your 'sidebar'.
2. Add this PHP code section to your sidebar, at the spot where you want the list of blog-links to appear:
(this means your blog must have the ability to modify parts of its layout; you must be able
to add this <?php ?> somewhere. If not, you can not use this 'blog-roll'... sorry.).
Code:
<li>
<?php readfile ('http://blog.antonspaans.com/blounge.php'); ?>
</li>
 

(this code works for SSI (Server Side Includes) using PHP. If your host is running ASP or some other type of web-server, you may need to use different SSI code. E.g. <cfinclude> or <!-- include -->, etc., but the URL will stay the same)
3. The php-script above generates the title of the blog-alliance list (<h2>) and an unordered list (<ul>) of all the links (<li>).
4. If you need to, you can style the list using the following CSS selectors:
Code:
.blounge_title {
/* The title of the blounge list (Photographer's Blounge) */
}
For now, the title of the list is Photographer's Blounge. This may change, since there is still a poll going.

Note that this thread is only meant for instructions on how to insert this list into your own blog.

For requests to add your blog to the list, click on this link and leave a comment:
http://blog.antonspaans.com/?p=87

-- Anton.
(Update: Changed the script a little and this post, so that your page validates properly as XHTML)
(Update2: Use php instead of javascript. Google will now be able to find our blounge-links, since the list is generated at the server, not by the browser)
__________________
I can't grasp the notion of time.

When I hear the earth will melt into the sun,
in two billion years,
all I can think is:
    "Will that be on a Monday?"
==========================
http://www.streetsofboston.com
http://blog.antonspaans.com

Last edited by flyingdutchie; Jan-13-2006 at 10:54 AM.
flyingdutchie is offline   Reply With Quote
Old Dec-19-2005, 11:38 AM   #2
binghott
hottographer
 
binghott's Avatar
 
Join Date: Jan 2005
Location: great neck, ny
Posts: 1,073
that's exactly what i was looking for.
can you make my link say bloghott please in lowercase just like that if you can?
thanks!!!
__________________
binghott.com
binghott is offline   Reply With Quote
Old Dec-19-2005, 01:11 PM   #3
jennyc
Beginner grinner
 
Join Date: Dec 2005
Posts: 4
Awesome, thanks!

I just added the code. Is my blog on your list?

jen-nyc.blogspot.com
The Student Photographer

Thanks!

Quote:
Originally Posted by flyingdutchie
This post describes how to include the links from the Smugmug Blog Alliance (see other thread in this forum) into your own blog.

Each blog can be different and it depends how configurable it is. But, they basically follow the same scheme. Here is how you can do it.

1. Login into your blog and go where you maintain your setttings (admin pages) and find the page in which you can edit your 'sidebar'.
2. Add this script to your sidebar, at the spot where you want the list of blog-links to appear:
Code:
<script type="text/javascript" src="http://www.antonspaans.com/blounge.js"></script>
3. The javascript above generates one top <li> element. It contains the title of the blog-alliance list. Inside this <li> element there is an unordered list (<ul>) of all the links (<li>).
4. If you need to, you can style the list using the following CSS selectors:
Code:
#blounge {
/* the list-item containing the entire sub-list of blogs */
}
.blounge_title {
/* The title of the blounge list (Photographer's Blounge) */
}
#blounge ul li {
/* Each individual link in the list */
}
For now, the title of the list is Photographer's Blounge. This may change, since there is still a poll going.

Note that this thread is only meant for instructions on how to insert this list into your own blog. For other questions, requests to add your blog to the list, etc, go to this thread:
http://www.dgrin.com/showthread.php?t=23531

-- Anton.
__________________
Jennyc's Photos
jennyc is offline   Reply With Quote
Old Dec-19-2005, 01:17 PM   #4
flyingdutchie
Happy Snapper
 
flyingdutchie's Avatar
 
Join Date: Oct 2004
Location: Boston, MA 02111 (USA)
Posts: 1,272
Quote:
Originally Posted by jennyc
I just added the code. Is my blog on your list?

jen-nyc.blogspot.com
The Student Photographer

Thanks!
If not, i will add it now.

Update: Added!
Jenny, your images in your blog are broken. Maybe you're just working on it, but just to let you know... :)
__________________
I can't grasp the notion of time.

When I hear the earth will melt into the sun,
in two billion years,
all I can think is:
    "Will that be on a Monday?"
==========================
http://www.streetsofboston.com
http://blog.antonspaans.com
flyingdutchie is offline   Reply With Quote
Old Dec-19-2005, 01:24 PM   #5
Mike Lane
I � Unicode
 
Mike Lane's Avatar
 
Join Date: Feb 2005
Location: Dover, DE
Posts: 7,059
So Anton you're handling the link list now? If so that's great I really appreciate it.
__________________
Y'all don't want to hear me, you just want to dance.

http://photos.mikelanestudios.com/
Mike Lane is offline   Reply With Quote
Old Dec-19-2005, 01:37 PM   #6
flyingdutchie
Happy Snapper
 
flyingdutchie's Avatar
 
Join Date: Oct 2004
Location: Boston, MA 02111 (USA)
Posts: 1,272
My blog got SPAMmed. How to prevent this:

I got my first SPAM on my blog. Only one message, but it is a start. If you don't host your own WordPress.org blog, you can skip this post.

I decided to install a security-code on my comments-pages. This basically generates an image with some text in it. The commenter has to copy the text into a field before (s)he can continue. Machines have a (very) hard time reading text embedded in an image. Machine generated floods of spam can be prevented this way.

I installed SecureImage, which you can find here and it works for WordPress:
http://uberdork.supertwist.net/downl...reimage.tar.gz

First make sure that on your host-system the command 'convert' exists (/usr/bin/convert). This command is a tool from ImageMagick Studio that is needed by this plugin.

The above tar.gz file contains one file called secureimage.php. You have to put this into the wp-content/plugins directory. Then you go into your site-admin and activate the plugin (ignore any DROP TABLE error messages, if you get any).

For the image-text, it uses a default font called FreeSansBold.ttf. For me, the plugin did not work right out of the box, because the FreeSansBold font did not exist on my host. I had to copy and configure the font i wanted. This is what i did:
1. I ftp-ed the font comicbd.ttf (comic sans bold) from my Windows system into the directory wp-content/plugins of my blog-host.
2. I went into my blog's Site Admin and went to the 'Options --> SecureImage' page. You'll find a field there called 'Font (size min/max)'. The value of this field must be the full path to your font. In my case that would be "/usr/mnt/a/antonspaans.com/blog/wp-content/plugins/comicbd.ttf".
3. Hit the 'Update Options'.... and voila, it worked.

Note that the security code is not presented if you are logged in into your blog.
__________________
I can't grasp the notion of time.

When I hear the earth will melt into the sun,
in two billion years,
all I can think is:
    "Will that be on a Monday?"
==========================
http://www.streetsofboston.com
http://blog.antonspaans.com
flyingdutchie is offline   Reply With Quote
Old Dec-19-2005, 01:40 PM   #7
flyingdutchie
Happy Snapper
 
flyingdutchie's Avatar
 
Join Date: Oct 2004
Location: Boston, MA 02111 (USA)
Posts: 1,272
Quote:
Originally Posted by binghott
can you make my link say bloghott please in lowercase just like that if you can
Done. Just refresh your page.
__________________
I can't grasp the notion of time.

When I hear the earth will melt into the sun,
in two billion years,
all I can think is:
    "Will that be on a Monday?"
==========================
http://www.streetsofboston.com
http://blog.antonspaans.com
flyingdutchie is offline   Reply With Quote
Old Dec-19-2005, 01:41 PM   #8
flyingdutchie
Happy Snapper
 
flyingdutchie's Avatar
 
Join Date: Oct 2004
Location: Boston, MA 02111 (USA)
Posts: 1,272
Quote:
Originally Posted by Mike Lane
So Anton you're handling the link list now? If so that's great I really appreciate it.
I think i will handle this link list. I got the feeling you were quite busy.
__________________
I can't grasp the notion of time.

When I hear the earth will melt into the sun,
in two billion years,
all I can think is:
    "Will that be on a Monday?"
==========================
http://www.streetsofboston.com
http://blog.antonspaans.com
flyingdutchie is offline   Reply With Quote
Old Dec-19-2005, 03:27 PM   #9
flyingdutchie
Happy Snapper
 
flyingdutchie's Avatar
 
Join Date: Oct 2004
Location: Boston, MA 02111 (USA)
Posts: 1,272
I updated the first post of this thread:
The script tag is surrounded by a <li> now. This will insure that your page is valid XHTML. Without the enclosing <li> tag, the list still works, but your page will likely be invalid XHTML. If you don't care about this, ignore this update
__________________
I can't grasp the notion of time.

When I hear the earth will melt into the sun,
in two billion years,
all I can think is:
    "Will that be on a Monday?"
==========================
http://www.streetsofboston.com
http://blog.antonspaans.com
flyingdutchie is offline   Reply With Quote
Old Dec-23-2005, 07:27 AM   #10
flyingdutchie
Happy Snapper
 
flyingdutchie's Avatar
 
Join Date: Oct 2004
Location: Boston, MA 02111 (USA)
Posts: 1,272
http://www.photoblogs.org/

Another way to get a bit more visibility of your site and blog is to register with http://www.photoblogs.org/

Register your blog at Photoblogs, create your account and add the Photoblogs.org icon to your own blog, look for the other blogs in our smugmug blog alliance at Photoblogs.org and mark them as one of your 'Favorites'.

Photoblogs.org seems to be rather popular and many people use it as a portal.
__________________
I can't grasp the notion of time.

When I hear the earth will melt into the sun,
in two billion years,
all I can think is:
    "Will that be on a Monday?"
==========================
http://www.streetsofboston.com
http://blog.antonspaans.com
flyingdutchie is offline   Reply With Quote
Old Dec-23-2005, 08:40 AM   #11
Mike Lane
I � Unicode
 
Mike Lane's Avatar
 
Join Date: Feb 2005
Location: Dover, DE
Posts: 7,059
Also everyone should definitely register with www.technorati.com. And if you have the time you should absolutely go over to www.blogexplosion.com and set up an account and work on getting traffic to your blog.
__________________
Y'all don't want to hear me, you just want to dance.

http://photos.mikelanestudios.com/
Mike Lane is offline   Reply With Quote
Old Dec-23-2005, 09:06 AM   #12
flyingdutchie
Happy Snapper
 
flyingdutchie's Avatar
 
Join Date: Oct 2004
Location: Boston, MA 02111 (USA)
Posts: 1,272
Quote:
Originally Posted by Mike Lane
Also everyone should definitely register with www.technorati.com. And if you have the time you should absolutely go over to www.blogexplosion.com and set up an account and work on getting traffic to your blog.
I tried blogexplosion.com, but when i try to add blog.antonspaans.com, it gives this message: "The blog have been blocked for the following reason:" and it gives no reason whatsoever, just this message.

Anyone knows why this would happen?
__________________
I can't grasp the notion of time.

When I hear the earth will melt into the sun,
in two billion years,
all I can think is:
    "Will that be on a Monday?"
==========================
http://www.streetsofboston.com
http://blog.antonspaans.com
flyingdutchie is offline   Reply With Quote
Old Dec-26-2005, 12:13 PM   #13
flyingdutchie
Happy Snapper
 
flyingdutchie's Avatar
 
Join Date: Oct 2004
Location: Boston, MA 02111 (USA)
Posts: 1,272
I updated the original post with this addition:
======================================
...
For requests to add your blog to the list, click on this link and leave a comment:
http://blog.antonspaans.com/?p=87
...
======================================
__________________
I can't grasp the notion of time.

When I hear the earth will melt into the sun,
in two billion years,
all I can think is:
    "Will that be on a Monday?"
==========================
http://www.streetsofboston.com
http://blog.antonspaans.com

Last edited by flyingdutchie; Dec-26-2005 at 12:36 PM.
flyingdutchie is offline   Reply With Quote
Old Dec-31-2005, 01:10 PM   #14
Raymondh
Big grins
 
Join Date: Dec 2005
Posts: 29
Need styling help

I just moved to my own host and loaded wordpress but can't get the Blounge list formated right www.pnwimages.com/blog is the site.

Can someone help?
__________________
www.pnwimages.com
www.crh3.com
Raymondh is offline   Reply With Quote
Old Dec-31-2005, 01:32 PM   #15
flyingdutchie
Happy Snapper
 
flyingdutchie's Avatar
 
Join Date: Oct 2004
Location: Boston, MA 02111 (USA)
Posts: 1,272
Quote:
Originally Posted by Raymondh
I just moved to my own host and loaded wordpress but can't get the Blounge list formated right www.pnwimages.com/blog is the site.

Can someone help?
1. Add this CSS element to properly size the font. E.g.:
.blounge_title {
font-size: 10px;
}


2. Style the <li> element around the script. E.g.:
<li class="blounge_list">
<?php readfile ('http://blog.antonspaans.com/blounge.php'); ?>
</li>

and style it (especially to get rid of the list-style-type):
.blounge_list {
/* Add your custom style elements here */
list-style-type: none;
}
__________________
I can't grasp the notion of time.

When I hear the earth will melt into the sun,
in two billion years,
all I can think is:
    "Will that be on a Monday?"
==========================
http://www.streetsofboston.com
http://blog.antonspaans.com

Last edited by flyingdutchie; Jan-12-2006 at 12:21 PM.
flyingdutchie is offline   Reply With Quote
Old Dec-31-2005, 02:00 PM   #16
Raymondh
Big grins
 
Join Date: Dec 2005
Posts: 29
Quote:
Originally Posted by flyingdutchie
1. Add this CSS element to properly size the font. E.g.:
.blounge_title {
font-size: 10px;
}


2. Style the <li> element around the script. E.g.:
<li class="blounge_list">
<script type="text/javascript"
src="http://www.antonspaans.com/blounge.js"></script>
</li>

and style it (especially to get rid of the list-style-type):
.blounge_list {
/* Add your custom style elements here */
list-style-type: none;
}
That pretty much did it!!! For some reason I get a bullet on the top of the list but only when viewed with IE.
__________________
www.pnwimages.com
www.crh3.com
Raymondh is offline   Reply With Quote
Old Dec-31-2005, 02:14 PM   #17
flyingdutchie
Happy Snapper
 
flyingdutchie's Avatar
 
Join Date: Oct 2004
Location: Boston, MA 02111 (USA)
Posts: 1,272
Quote:
Originally Posted by Raymondh
That pretty much did it!!! For some reason I get a bullet on the top of the list but only when viewed with IE.
You can see the bullet in FireFox as well. It is just a little more to the left (make your browser really small (less wide) and you'll see it show up at some point).

But i don't see the link within the 'blounge_title' anymore... did you remove it through CSS? This link is there to allow people to sign up with the blounge if they want. It would be nice if it shows up.

Ah.. i see you hid it: visibility: none; and font-size: 0; ....
__________________
I can't grasp the notion of time.

When I hear the earth will melt into the sun,
in two billion years,
all I can think is:
    "Will that be on a Monday?"
==========================
http://www.streetsofboston.com
http://blog.antonspaans.com
flyingdutchie is offline   Reply With Quote
Old Jan-08-2006, 11:42 AM   #18
cwphotos
Wedding Grins
 
cwphotos's Avatar
 
Join Date: Sep 2005
Posts: 741
How can I add this to my blogspot.com photoblog. Can someone who uses them give me a heads up ?? Thanks.
__________________
++++My Gear++++

Canon 5D Mk.2/Grip || Canon 5D Backup
17-40 f/4 L || 70-200 f/2.8 L IS || 50mm f/1.2 L
Canon 580ex Mk. II x2 || Alien Bee AB1600
Wedding Photographer
www.cwphotos.net
cwphotos is offline   Reply With Quote
Old Jan-08-2006, 12:03 PM   #19
flyingdutchie
Happy Snapper
 
flyingdutchie's Avatar
 
Join Date: Oct 2004
Location: Boston, MA 02111 (USA)
Posts: 1,272
Quote:
Originally Posted by cwphotos
How can I add this to my blogspot.com photoblog. Can someone who uses them give me a heads up ?? Thanks.
-Login into your blogspot account.
-Change Settings
-Template: Edit Current.
-Find the text <!-- Begin #sidebar --> in the big editable field.
-Below that text, were you see fit, add:
<?php readfile ('http://blog.antonspaans.com/blounge.php'); ?>

And that's it (you have have to use CSS to style the list generated by this script; see my previous posts for that), and don't forget to 'Republish' your blog.. otherwise you won't see your changes :)

Update: I don't know if you can just insert <?php> tags in blogspot/blogger... still investigating this
__________________
I can't grasp the notion of time.

When I hear the earth will melt into the sun,
in two billion years,
all I can think is:
    "Will that be on a Monday?"
==========================
http://www.streetsofboston.com
http://blog.antonspaans.com

Last edited by flyingdutchie; Jan-12-2006 at 12:22 PM.
flyingdutchie is offline   Reply With Quote
Old Jan-08-2006, 07:02 PM   #20
Raymondh
Big grins
 
Join Date: Dec 2005
Posts: 29
Is anyone starting to see these backlinks showing up in search engines yet? You can check by entering @URL in most search engines.
__________________
www.pnwimages.com
www.crh3.com
Raymondh is offline   Reply With Quote
Reply

Tell The World!

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Times are GMT -8.   It's 09:26 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.