| |
 |
|
| |
| INSTALLING UBLOG RELOAD |
|
CUSTOMIZING UBLOG RELOAD |
| |
|
|
|
|
|
| |
| |
| Installing Ublog Reload on your webspace ( Access Version ) |
| |
- Check that your web space is running on Windows NT4, 2000, 2003
operating system, with IIS 4+ and is ASP enabled.
- Check with your web hosting provider that you can use a DSN-less
connection to an Access database on your web space and that you
have sufficient permissions to write to this database.
- Unzip the zip file into your hard drive keeping the files and
images in the original directories.
- Open the file settings.asp, inside the include
directory, in a text editor like Notepad, locally on your own
machine, and change the lines 7-77 ( change the parts
shown in orange ) :
line 7 --> strDatabaseType = "Access"
[ type of database used ]
line 24 --> StrPathDb = "mdb-database/Ublogreload.mdb"
[ database path - make sure that this is a valid path
to the database ]
line 33 --> Cookie_Name = "UG"
[ it is the blog cookie name; this is useful if you run multiple
copies of Ublog Reload on the same site ]
line 37 --> Ublog_address = "http://www.yourdomain.com/blog/"
[ is your blog's URL: for example, 'http://www.yourdomain.com/'
- remember final slash ! ]
line 40 --> folder_upload = "public"
[ general upload directory - make sure that this directory
have sufficient permissions to write ]
line 44 --> StrPathShortImage = folder_upload
& "/images_upload/"
[ images upload directory - make sure that this folder
have sufficient permissions to write and remember
final slash ! ]
line 48 --> Dir_Image_Upload = "http://www.yourdomain.com/blog/public/images_upload/"
[ full address of the image upload folder - remember
final slash ! ]
line 52 --> StrPathShortFile = folder_upload
& "/files_upload/"
[ files upload directory - make sure that this folder
have sufficient permissions to write and remember
final slash ! ]
line 56 --> Dir_File_Upload = "http://www.yourdomain.com/blog/public/files_upload/"
[ full address of the files upload folder - remember final
slash ! ]
line 59 --> imageuploadext = "jpg,gif,bmp,png"
[ kind of image file allowed to upload ]
line 62 --> imageuploadsize = 50000
[ max size allowed for each uploaded images - 50000 = 50 Kb ]
line 65 --> fileuploadext = "zip,rar"
[ kind of file allowed to upload ]
line 68 --> fileuploadsize = 100000
[ max size allowed for each uploaded files - 100000 = 100 Kb ]
line 71 --> root_box_folder = folder_upload
& "/box" [ virtual
path of box folder - make sure that this folder have sufficient
permissions to write and don't insert final slash
- you cannot change this value too]
line 74 --> arrEditable = Array("html",
"htm", "asp",
"inc", "shtml",
"txt", "php",
"xml", "aspx",
"pl", "vb",
"cs", "js",
"vbs", "css")
[ kind of file editable in File management - you cannot
change this value too]
line 77 --> PagesPerBlock = 10
[ number of pages per block ]
Once you have finished amending the settings.asp
file, save the amended version.
- Upload the files and the directories images,
include and language through
FTP to your webspace, keeping the files and images in the original
directories.
- Upload the file Ublogreload.mdb , founded in
the folder mdb-database ( on your hard drive
), through FTP to your webspace inside the directory that you
have indicate as "database directory" ( line
24 in settings.asp file - in this example mdb-database
). Make sure that this folder have sufficient permissions to write
and that is not available from web.
- Upload the file counter.txt and the directories
box, files_upload and images_upload
, founded in the folder public ( on your hard
drive ), through FTP to your webspace inside the directory that
you have indicate as "general upload directory" (
line 40 in settings.asp file - in this example
public ).
- Run the file setup.asp , which you can find
into the main folder of Ublog Reload, in your browser (that is
go to the url http://www.yourdomain.com/setup.asp ). This file
will verify the settings.asp file values.
It is highly recommend for security purposes that you
delete this file from the Web Server once the installation is complete.
- Now you can use the Weblog.
|
 |
|
|
| Installing Ublog Reload on your webspace ( Ms Sql Version ) |
| |
- Check that your web space is running on Windows NT4, 2000, 2003
operating system, with IIS 4+ and is ASP enabled. You
will also need an MS SQL Server Database to run this version.
- Make sure that you have access to an Ms Sql Server Database.
- Create an empty database on the Ms Sql Server or use an existing
one.
- Unzip the zip file into your hard drive keeping the files and
images in the original directories.
- Open the file settings.asp, inside the include
directory, in a text editor like Notepad, locally on your own
machine, and change the lines 7-77 ( change the parts
shown in orange ) :
line 7 --> strDatabaseType = "SQLServer"
[ type of database used ]
line 11 --> MSSQLSVR = "my_mssql_server_name"
( Ms Sql Server Name )
line 14 --> MSSQLUID = "username"
( Ms Sql Server Username - for Ms Sql Server Authentication )
line 17 --> MSSQLPWD = "password"
( Ms Sql Server Password - for Ms Sql Server Authentication )
line 20 --> MSSQLDB = "Db_Name"
( Ms Sql server database name - the name of the empty database
you created on the MS SQL Server )
line 29 --> Table_Prefix = "ub_"
[ it is the database table name prefix ; this is useful if you
are running multiple weblogs from one database ]
line 33 --> Cookie_Name = "UG"
[ it is the blog cookie name; this is useful if you run multiple
copies of Ublog Reload on the same site ]
line 37 --> Ublog_address = "http://www.yourdomain.com/blog/"
[ is your blog's URL: for example, 'http://www.yourdomain.com/'
- remember final slash ! ]
line 40 --> folder_upload = "public"
[ general upload directory - make sure that this directory
have sufficient permissions to write ]
line 44 --> StrPathShortImage = folder_upload
& "/images_upload/"
[ images upload directory - make sure that this folder
have sufficient permissions to write and remember
final slash ! ]
line 48 --> Dir_Image_Upload = "http://www.yourdomain.com/blog/public/images_upload/"
[ full address of the image upload folder - remember
final slash ! ]
line 52 --> StrPathShortFile = folder_upload
& "/files_upload/"
[ files upload directory - make sure that this folder
have sufficient permissions to write and remember
final slash ! ]
line 56 --> Dir_File_Upload = "http://www.yourdomain.com/blog/public/files_upload/"
[ full address of the files upload folder - remember final
slash ! ]
line 59 --> imageuploadext = "jpg,gif,bmp,png"
[ kind of image file allowed to upload ]
line 62 --> imageuploadsize = 50000
[ max size allowed for each uploaded images - 50000 = 50 Kb ]
line 65 --> fileuploadext = "zip,rar"
[ kind of file allowed to upload ]
line 68 --> fileuploadsize = 100000
[ max size allowed for each uploaded files - 100000 = 100 Kb ]
line 71 --> root_box_folder = folder_upload
& "/box" [ virtual
path of box folder - make sure that this folder have sufficient
permissions to write and don't insert final slash
- you cannot change this value too]
line 74 --> arrEditable = Array("html",
"htm", "asp",
"inc", "shtml",
"txt", "php",
"xml", "aspx",
"pl", "vb",
"cs", "js",
"vbs", "css")
[ kind of file editable in File management - you cannot
change this value too]
line 77 --> PagesPerBlock = 10
[ number of pages per block ]
Once you have finished amending the settings.asp
file, save the amended version.
- Upload the files and the directories images,
include and language through
FTP to your webspace, keeping the files and images in the original
directories.
- Upload the file counter.txt and the directories
box, files_upload and images_upload
, founded in the folder public ( on your hard
drive ), through FTP to your webspace inside the directory that
you have indicate as "general upload directory" (
line 40 in settings.asp file - in this example
public ).
- Run the file setup.asp , which you can find
into the main folder of Ublog Reload, in your browser (that is
go to the url http://www.yourdomain.com/setup.asp ). This file
will verify the settings.asp file values, will
create all the tables and default values in the empty database
you created on the Ms Sql Server.
It is highly recommend for security purposes that you
delete this file from the Web Server once the installation is complete.
- The Ublog Reload database should now be created and you can
now use the Weblog.
|
 |
|
|
| Installing Ublog Reload on your webspace ( MySql Version ) |
| |
- Check that your web space is running on Windows NT4, 2000, 2003
operating system, with IIS 4+ and is ASP enabled. You
will also need an MySql Server Database to run this version.
- Make sure that you have access to an MySql Server Database.
- Create an empty database on the MySql Server or use an existing
one.
- Unzip the zip file into your hard drive keeping the files and
images in the original directories.
- Open the file setting.asp, inside the include
directory, in a text editor like Notepad, locally on
your own machine, and change the lines 8-75 ( change the
parts shown in orange ):
line 8 --> MySqlSVR = "xxx.xxx.xxx.xxx"
( MySql server IP address or Host Name )
line 11 --> MySqlPRT = 3306
( MySql server port - default 3306 - keep this value if you don't
know the meaning )
line 14 --> MySqlUID = "username"
( MySql server username )
line 17 --> MySqlPWD = "password"
( MySql server password )
line 20 --> MySqlDB = "Db_Name"
( MySql server database name - the name of the empty database
you created on the MySql Server )
line 23 --> MySqlOPT = 16386
( MyODBC optional value - keep this value if you don't know the
meaning)
line 27 --> Table_Prefix = "ub_"
[ it is the database table name prefix ; this is useful if you
are running multiple weblogs from one database ]
line 31 --> Cookie_Name = "UG"
[ it is the blog cookie name; this is useful if you run multiple
copies of Ublog Reload on the same site ]
line 35 --> Ublog_address = "http://www.yourdomain.com/blog/"
[ is your blog's URL: for example, 'http://www.yourdomain.com/'
- remember final slash ! ]
line 38 --> folder_upload = "public"
[ general upload directory - make sure that this directory
have sufficient permissions to write ]
line 42 --> StrPathShortImage = folder_upload
& "/images_upload/"
[ images upload directory - make sure that this folder
have sufficient permissions to write and remember
final slash ! ]
line 46 --> Dir_Image_Upload = "http://www.yourdomain.com/blog/public/images_upload/"
[ full address of the image upload folder - remember
final slash ! ]
line 50 --> StrPathShortFile = folder_upload
& "/files_upload/"
[ files upload directory - make sure that this folder
have sufficient permissions to write and remember
final slash ! ]
line 54 --> Dir_File_Upload = "http://www.yourdomain.com/blog/public/files_upload/"
[ full address of the files upload folder - remember final
slash ! ]
line 57 --> imageuploadext = "jpg,gif,bmp,png"
[ kind of image file allowed to upload ]
line 60 --> imageuploadsize = 50000
[ max size allowed for each uploaded images - 50000 = 50 Kb ]
line 63 --> fileuploadext = "zip,rar"
[ kind of file allowed to upload ]
line 66 --> fileuploadsize = 100000
[ max size allowed for each uploaded files - 100000 = 100 Kb ]
line 69 --> root_box_folder = folder_upload
& "/box" [ virtual
path of box folder - make sure that this folder have sufficient
permissions to write and don't insert final slash
- you cannot change this value too]
line 72 --> arrEditable = Array("html",
"htm", "asp",
"inc", "shtml",
"txt", "php",
"xml", "aspx",
"pl", "vb",
"cs", "js",
"vbs", "css")
[ kind of file editable in File management - you cannot
change this value too]
line 75 --> PagesPerBlock = 10
[ number of pages per block ]
Once you have finished amending the settings.asp
file, save the amended version.
- Upload the files and the directories images,
include and language through
FTP to your webspace, keeping the files and images in the original
directories.
- Upload the file counter.txt and the directories
box, files_upload and images_upload
, founded in the folder public ( on your hard
drive ), through FTP to your webspace inside the directory that
you have indicate as "general upload directory" (
line 38 in settings.asp file - in this example
public ).
- Run the file setup.asp , which you can find
into the main folder of Ublog Reload, in your browser (that is
go to the url http://www.yourdomain.com/setup.asp ) . This file
will create all the tables and default values in the empty database
you created on the MySql Server.
It is highly recommend for security
purposes that you delete this file from the Web Server once the
database is fully created.
- The Ublog Reload database should now be created and you can
now use the Weblog.
|
 |
|
|
| Administering Ublog Reload |
| |
- Once your Ublog Reload is up and running you can administer
and set up your weblog by logging in through the login page (
http://www.yourdomain.com/login.asp or clicking on the login link
in the top right corner of the blog ) with the default admin username
and password :
- Username: admin
- Password: admin
- In the admin section of Ublog Reload you can find the following
options :
- Edit/Delete Blog
- Categories Management
- Users Management ( change the default
admin username and password - highly recommend )
- Polls Management
- Bad Words Management
- Files Management
- Configure Ublog
- Box Management ( see below )
Through Box Management you can manage the default
boxes ( Home, Calendar, Archive, Category, Poll, Recent entries, Search
engine, Webcam, Bloggers and Counter ), changing their order and visibility
, and insert new boxes such as:
In a new box you can add formatted text, links, images, smilies (
HTML code is allowed ) to create your own unique looking weblog.
For the configuration of graphic layout please see also Modifying
Ublog Reload skin and Integrating Ublog Reload into
your web site . |
 |
|
|
| Modifying Ublog Reload skin |
| |
You can easily create your own unique looking weblog.
To do this simply go to the url http://www.yourdomain.com/config.asp
and change the background color, the span color, the span face and
the span size of the titles, text etc.
For more advanced options open the file css_common.inc,
inside the include directory, in an HTML editor,
locally on your own machine. This file contains the Cascading Style
Sheet (CSS) which controls the spans for the text and links etc..;
the CSS part looks like the following:
.tablemenu {
border-width : 1;
border-style : dashed;
border-color : <% = Ublog_color2 %>
}
Don't change the parts shown in orange between the tags
"<% ; %>".
Once you have finished altering the CSS file save the edited version
and test your blog to see if it looks like it should.
If you want to enter another CSS file ( for example your_style.css
), open locally on your machine the file metatag.asp,
inside the include directory, and put
, at the end of the code , this line:
<LINK href="your_styles.css" rel=stylesheet>
Once you have finished editing the metatag.asp file save it and
upload both the files ( your_styles.css and metatag.asp
) through FTP to your webspace ( always in the directory "include"
) and test the weblog in your browser to see if it looks and runs
correctly.
In the file metatag.asp you can also
put your additional "javascript code"!
|
 |
|
|
| Integrating Ublog Reload into
your web site |
| |
| You can also easily integrate the weblog into your web site
by editing two files in order to add ( for example ) your site logo
across the top, and any info in the footer of your site [ the following
needs to be done locally on your machine and then upload to your
web space through FTP].
- Make a back-up of the files, header.asp and
footer.asp, inside the include
directory.
- Open the file header.asp in an HTML editor,
locally on your machine, and add your own web site logo or any
other content you wish display at the top of each page of the
weblog.
- Once you have finished editing the header.asp file, save it,
upload to your web space, and test the weblog in your browser
to see if it looks and runs correctly.
- Open the file footer.asp in an HTML editor,
locally on your machine, and add any content that you would like
displayed at the bottom of each page of the weblog.
- Once you have finished editing the footer.asp file save the
edited version, upload to your web space, and test the weblog
in your browser to see if it looks and runs correctly.
- For more advanced layouts, such as a side bar navigation, you
need to open, locally on your machine, the menu.asp file,
inside the include directory, and add any link
or content that you would like to display under the logo of your
web site. Once you have finished editing the menu.asp file save
the edited version and upload to your web space
|
 |
|
|
| Writing your own language file
and installing it |
| |
| The default languages available with Ublog Reload package are
"english" ( edited by Richard Moore - FleetOne.com ), "italian", "danish" ( traslated by Michael Bohnstedt-Petersen ),
"dutch" ( traslated by Wilfred de Kok - NetCom X ), "spanish" and "catalan" ( traslated by Jose Luis Pardo Galvez ), "german" ( traslated by Martin Weiss - e-works ), "french" ( traslated by Karine Pham ), "swedish" ( traslated by Petra Liljecrantz, Backbone Consulting ).
If your language is not one of these you can easily translate the
weblog into your own language. To do this simply follow the instructions
below:
- Open the directory language , locally on your
machine, and make a copy of one of the files present in it.
- Rename this copy file with the name of your language ( i.e.:
chinese.inc )
- Open this file in a text editor like Notepad.
- In this file you will see a lots of lines that look like the
line below:
strLangSelectArchives = "Full archive"
- Translate the parts shown above in orange between the quotation
marks into your own language.
- Remember to change ( at the beginning of the code ) the CharSet
Code Page that looks like the line below:
strLangSelectCharset = "iso-8859-1"
Change the part shown above in orange between the quotation
marks; i.e., codepage gb2312 provides character
codes required in the Chinese language. The codepage allows the
system to provide the appropriate character code to an application
when a user presses a key on the keyboard.
- Once you have finished altering the file save and upload it
through FTP to your webspace (always in the directory "language").
To change the default language of your weblog, go to the url
http://www.yourdomain.com/config.asp and select the new language
file in the "language select menu".
|
 |
|
|
| Setting your own webcam |
| |
| In order to use Ublog Reload Webcam
you need a FTP account and a software ( FTP WebCam
Client - software for users that have a "hard"
web connection such as a cable modem ) that upload freshly captured
images to your website; Ublog Reload will display your images within
your web pages with an automatic refresh. Once you have closed your
Internet connection, an image showing off-line status ( webcamoffline.jpg
- inside the directory images ) replaces the last
uploaded image. To setup Ublog Reload Webcam simply follow the instructions
below:
- Download a FTP WebCam Client.
There are many programs available to support webcams. They all
vary in their functionality and reliability. See the following
list of the most popular webcam programs that are available:
Cam Commander |
4.5 Mb | Freeware | http://www.exxcalibur.com/camcom.asp
booruWebCam | 292
Kb | Freeware | http://www.booru.net/
ConquerCam | 1.8
Mb | Trial version | http://www.theill.com/conquercam/download.asp
Webcam 32 | 3.3
Mb | Trial version | http://www.webcam32.com/
CoffeeCup WebCam
| 2.9 Mb | Trial version | http://www.coffeecup.com/webcam/
ChillCam | 1.5 Mb
| Trial version | http://www.chillcam.com/index.asp?page=Download
Our guide refers to the Cam Commander.
- Once it has downloaded, you only need to double click the file
in order to install it into your computer. When the program has
finished installing click the newly created desktop icon to start
the program for the first time.
When Cam Commander runs it should automatically select your webcam
for you. You should now be presented with a screen similar to
this :
- You will now need to input some information into the programs
options. In the menu bar click the Site Setup
botton. You will now be presented with a dialogue box ( see the
image below ) in which you need to input your FTP details.
First you need to input your Hostname, this is the FTP
address of your host, in our case we have typed "ftp.yourdomain.com".
Next you need to enter the remote directory of
your web site in which the captured image will be uploaded ( in
our case images ).
Next you need to input your FTP username and password.
Finally enter the name of the destination image file
( in our case webcamlive.jpg ) and the time of
webcam refresh ( in our case 300 seconds ). See
image below:
Click OK to close this window.
- Now in the menu bar click the Capture botton.
- Your webcam should now be running and uploading a new picture
to your website every 300 seconds ( 5 minutes ). If you encounter
any errors just repeat these steps and correct any bad input settings.
( note: a preview mode is included for setup but can be disabled
to reduce the drain on your CPU ).
|
 |
|
|
| What is TrackBack? |
| |
Trackback, invented by the creators of Movable Type,
is a framework for peer-to-peer communication and notifications between web sites.
Using TrackBack, sites can communicate about related resources. For example, if Weblogger A wishes to notify Weblogger B that he has written something interesting/related/shocking,
A sends a TrackBack ping to B. To send a TrackBack ping the client ( Weblogger A ) makes a standard HTTP request to the server ( Weblogger B ),
and receives a response in a simple XML format.
Weblogger B can automatically list all sites that have referenced a particular post on his site,
allowing visitors to his site to read all related posts around the web, including Weblogger A's.
Ublog Reload allow to send TrackBack adding or amending a blog entry.
In Ublog Reload to send a TrackBack ping the user
should only insert an URL, in the field releted to the TrackBack;
a typical TrackBack Ping URL looks like http://www.yourdomain.com/blog/trackback.asp?blog_id=5 , where 5 is the TrackBack ID.
The parameters sended are:
- title
The title of the entry.
- excerpt
An excerpt of the entry. In the Ublog Reload implementation, if this string is longer than 255 characters,
it will be cropped to 252 characters, and ... will be added to the end.
- url
The permalink for the entry. Like any permalink, this should point as closely as possible to the actual entry on the HTML page,
as it will be used when linking to the entry in question.
- blog_name
The name of the blog in which the entry is posted.
In the Ublog Reload implementation, of the above parameters only url is required. If title is not provided, the value for url will be set as the title.
All the TrackBack sended are stored in the db.
The administrator can delete the TrackBack recieved.
Ublog Reload also implement embedded RDF releted to each blog entries for the Auto-Discovery of TrackBack Ping URLs.
|
 |
|
|

|
|
|