| 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? |
|
|||||||
| Register | FAQ | Shooters | Calendar | Reviews | Tutorials | Gallery | Books | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Happy Snapper
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>
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) */
}
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. |
|
|
|
|
|
#2 |
|
hottographer
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 |
|
|
|
|
|
#3 | |
|
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:
__________________
Jennyc's Photos |
|
|
|
|
|
|
#4 | |
|
Happy Snapper
Join Date: Oct 2004
Location: Boston, MA 02111 (USA)
Posts: 1,272
|
Quote:
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 |
|
|
|
|
|
|
#5 |
|
I � Unicode
Join Date: Feb 2005
Location: Dover, DE
Posts: 7,059
|
So Anton you're handling the link list now? If so that's great
__________________
Y'all don't want to hear me, you just want to dance. http://photos.mikelanestudios.com/ |
|
|
|
|
|
#6 |
|
Happy Snapper
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 |
|
|
|
|
|
#7 | |
|
Happy Snapper
Join Date: Oct 2004
Location: Boston, MA 02111 (USA)
Posts: 1,272
|
Quote:
__________________
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 |
|
|
|
|
|
|
#8 | |
|
Happy Snapper
Join Date: Oct 2004
Location: Boston, MA 02111 (USA)
Posts: 1,272
|
Quote:
__________________
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 |
|
|
|
|
|
|
#9 |
|
Happy Snapper
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 |
|
|
|
|
|
#10 |
|
Happy Snapper
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 |
|
|
|
|
|
#11 |
|
I � Unicode
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/ |
|
|
|
|
|
#12 | |
|
Happy Snapper
Join Date: Oct 2004
Location: Boston, MA 02111 (USA)
Posts: 1,272
|
Quote:
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 |
|
|
|
|
|
|
#13 |
|
Happy Snapper
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. |
|
|
|
|
|
#14 |
|
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? |
|
|
|
|
|
#15 | |
|
Happy Snapper
Join Date: Oct 2004
Location: Boston, MA 02111 (USA)
Posts: 1,272
|
Quote:
.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. |
|
|
|
|
|
|
#16 | |
|
Big grins
Join Date: Dec 2005
Posts: 29
|
Quote:
|
|
|
|
|
|
|
#17 | |
|
Happy Snapper
Join Date: Oct 2004
Location: Boston, MA 02111 (USA)
Posts: 1,272
|
Quote:
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 |
|
|
|
|
|
|
#18 |
|
Wedding Grins
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
|
|
|
|
|
|
#19 | |
|
Happy Snapper
Join Date: Oct 2004
Location: Boston, MA 02111 (USA)
Posts: 1,272
|
Quote:
-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. |
|
|
|
|
|
|
#20 |
|
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.
|
|
|
|
![]() |
| Tell The World! |
| Thread Tools | |
| Display Modes | |
|
|