Tuesday, April 14, 2009

Gravatars

Example | Download and Instructions

Sunday, March 15, 2009

Gallery Pagination for 9.0

Download the update for 9.0

If you want the pagination amount to be something other than what you set you main page to (meaning, if you set 10 posts to show on your main page then the gallery amount is the same as this), then edit line 63.

Monday, February 18, 2008

Gallery Pagination

Download per this request.

If you want the pagination amount to be something other than what you set you main page to (meaning, if you set 10 posts to show on your main page then the gallery amount is the same as this), then edit line 368.

Thursday, July 12, 2007

Comments Notification by Email

1. Put this line towards the top of your comments.asp page (on the line after <!--#include file="Connections/blog.asp" -->):
<!--#include file="inc_mailit.asp" -->

You can download the file here.

2. Put this on the line before the redirect line in comments.asp (around line 164):
MailIt "jmail.message", "smtp.host.com", "youremail@to.com", "fromemail@from.com", "New Comment Submitted", "Blog Url", "", a

More info:

Arguments:
============
Arguments that are optional or have defaults can be bypassed by using the
inherent VBScript constant vbNullString or the empty string placeholders "" in
place of a valid value.

ClsStr
String. Required. Should be one of the following class strings (use one
that's available on your server):
"jmail.smtpmail", "cdonts.newmail", "jmail.speedmailer", "jmail.message",
"macaspfreemail.aspfreemail", "activemessenger.message", "dynu.email",
"persits.mailsender".
Defaults to "Jmail.speedmailer" if the ClsStr argument is vbNullString or
empty string "".

Srv
String. Required (except when the "cdonts.newmail" argument is used for the
ClsStr argument). Mail Server IP Address or Host Name. Default value
is "mail.host name".

Too
String or Array. Required. Valid EMail address as string or multiple variant
email addresses in an array where each element of the array represents an
email address.

From
String. Required. Valid Email address.

Sbj
String. Optional. Subject text. Default is "No subject".

Body
String. Required. Body text.

File
String. Optional. Fully-qualified, absolute file path to a file to attach to
the email. The following class strings don't support the file
argument: "macaspfreemail.aspfreemail", "JMail.Speedmailer"

ErrDesc
String. Required. This argument passed is by reference and should be an empty
variable. The passed variable will be filled with an error message if MailIt
fails during the sending of email. You can test the variable to determine if
an error was encountered during processing.

syntax:
boolean = MailIt(ClsStr, Srv, Too, From, Sbj, Body, File, ErrDesc)

Via ASP Emporium

Wednesday, October 11, 2006

Podcasting made easy with bp blog

Here's a simple, step-by-step way to create a podcast for your blog. Here's an example.

  1. First, create a new category called something similar to "Podcast" via the admin page
  2. Note what the catID is for that newly created category (in the example it's 24)
  3. Download this zip file and make the required code changes and your pages (note: the asp pages are included as examples only)
  4. Upload the swf mp3 player file to your blog directory
  5. Create a subfolder in your blog directory called "podcast"
  6. Created your podcast post and after publishing it note the ID (in the example it's 205)
  7. Name your podcast MP3 file the same as the ID of your post (e.g., 205.mp3)
  8. Upload your MP3 file via FTP to the podcast folder (FTP is recommend b/c podcast MP3 files are usually large enough so that uploading via a web form isn't feasible).
  9. When your publish your RSS file via the admin page it will create a new xml file on your server called podcast.xml that you can use in your feeds.

There will be a delay by a few minutes between creating your post and uploading your MP3 file but hopefully that won't be a problem. Check and my Quick and Clean Podcasting article to learn how to create your own music podcast.

Saturday, June 24, 2006

Link code for Digg, Delicious, etc.

Try this code out. Example here.  It's built using Javascript.