Click to See Complete Forum and Search --> : Need a Blog


sharkey
06-02-2004, 08:49 AM
I have recently created a template for my blod at Elastic Node Blog (http://www.elasticnode.com) and need a blog for it. I have heard good reviews about ryan brill's xblog and wondered how easy it is to set up and how easy it would be to add to this site. The column on the right of the site headed blog would be where the archives would be etc. I downloaded xblog and was a slight bit confused in setting it up.

Also the banner at the top is my dummy banner probably not going to be the one being used when i launch the site properly.

Any help on setting it up would be highly appreciated.

LeeU
06-02-2004, 09:17 AM
I have not used it but I came across this one the other day: b2evolution (http://b2evolution.net/) It is supposed to be a Multi-lingual, multi-user multi-blog engine

(Google has it listed over 94,000 times.)

sharkey
06-02-2004, 09:21 AM
Kool thanks ill look into that but i think im gonna wait until ryan or jona who i believe has used xblog before to hopefully give me some tips.

Thanks again

------------------------------------------
EDIT: I dont have mysql avaiable and i believe xblog doesnt need it.

pyro
06-02-2004, 09:47 AM
Correct, xBlog Lite (http://www.infinitywebdesign.com/software/xbloglite/) does not require a MySQL database. What specific issues are you having with it?

sharkey
06-02-2004, 09:55 AM
Kool well the link at the top is my basic layout which i would like to add a blog to and well where do i go from there. In the xbloglite folder which php files and what do you take from there to upload to your server and how do you publish the news etc.

Sorry to be a pain just a tad really confused.

Thanks again.

pyro
06-02-2004, 10:00 AM
You'll have to edit the config.php file to point to your header and footer. Basically, all the code you want to appear before the blog goes in the header, and all the code you want after it goes in the footer.

sharkey
06-02-2004, 10:09 AM
Kool but the way i have set the site up is in a few includes one being the banner and nav, the second being the first left and right columns and third being the second left and right columns with only the content changing on every page. See the way i have these includes if you have them in any different order the right columns fall to the bottom.


Thanks again mate

pyro
06-02-2004, 10:13 AM
You'll have two options.
[list=1]
Create a master include file, according to the details I provided above
Modify xBlog Lite ;)
[/list=1]

sharkey
06-02-2004, 10:20 AM
Kool mate i think i will go with the first rather than the latter as i have basically no knowledge of php. Sorry for being a bit of a pain.

Cheers again.

sharkey
06-02-2004, 10:50 AM
Hey ryan im a step closer now i have put my header and footer php files in the xbloglite/inc/ folder which contains my divs. But now i have a new problem when i open up the admin bit there are tons of warnings such as

Warning: main(/usr/local/www/dataxbloglite/inc/header.php) [function.main]: failed to create stream: No such file or directory in /freeola/users/8/0/sr0286708/htdocs/xbloglite/index.php on line 3

Warning: main() [function.main]: Failed opening '/usr/local/www/dataxbloglite/inc/header.php' for inclusion (include_path='.:/usr/local/lib/php') in /freeola/users/8/0/sr0286708/htdocs/xbloglite/index.php on line 3

Warning: opendir(/usr/local/www/data/xbloglite/archives) [function.opendir]: failed to open dir: No such file or directory in /freeola/users/8/0/sr0286708/htdocs/xbloglite/index.php on line 5

Warning: readdir(): supplied argument is not a valid Directory resource in /freeola/users/8/0/sr0286708/htdocs/xbloglite/index.php on line 7

Warning: closedir(): supplied argument is not a valid Directory resource in /freeola/users/8/0/sr0286708/htdocs/xbloglite/index.php on line 14

and some similar for the footer.

Do you know why this is happening

Cheers

pyro
06-02-2004, 11:21 AM
It looks like the paths are incorrect. Make sure you have everything set up correctly in the config.php file.

sharkey
06-02-2004, 11:39 AM
Nope it looks like to my knowledge that i have done everything right apart from one thing i unsure of. I have my own index.php file the one i set up before i got the blog and xblog has its own which one do you use.

Thanks again

spufi
06-05-2004, 06:54 AM
Originally posted by pyro
Correct, xBlog Lite (http://www.infinitywebdesign.com/software/xbloglite/) does not require a MySQL database.

Personally that's pretty much the number one reason I wouldn't recommend using Ryan's blog. After a period of time his system will start to take up more space than a DB driven site. Eric Meyer stated this as an issue he had with his site and it's one of the reasons why he went to a DB driven site. Yes, for this poster using Ryan's blogging tool is more ideal. If you have MySQL, I know what I would use. :)

pyro
06-06-2004, 06:11 PM
The version of xBlog I use on my site was completely re-written. The lite version exists for those who may want to use it, but the new version does use a mySQL database...

Daniel T
06-06-2004, 09:45 PM
BTW Ryan, you never did get around to telling us how you manage to use 9 tables for xBlog. Could you just sum it up? Cuz I'm curious..

pyro
06-07-2004, 12:03 AM
Knock yourselves out... :p A few changes will probably be made, but this is the brunt of it.

# phpMyAdmin SQL Dump
# version 2.5.3
# http://www.phpmyadmin.net
#
# Host: localhost
# Generation Time: Jun 06, 2004 at 10:58 PM
# Server version: 4.0.15
# PHP Version: 4.3.3
#
# Database : `xblogpro`
#

# --------------------------------------------------------

#
# Table structure for table `banned`
#

CREATE TABLE `banned` (
`id` int(11) NOT NULL auto_increment,
`ip` varchar(20) NOT NULL default '',
PRIMARY KEY (`id`)
) TYPE=MyISAM;

# --------------------------------------------------------

#
# Table structure for table `categories`
#

CREATE TABLE `categories` (
`id` int(11) NOT NULL auto_increment,
`name` varchar(200) NOT NULL default '',
PRIMARY KEY (`id`)
) TYPE=MyISAM;

# --------------------------------------------------------

#
# Table structure for table `comments`
#

CREATE TABLE `comments` (
`id` int(11) NOT NULL auto_increment,
`entry_id` varchar(10) NOT NULL default '',
`name` varchar(100) NOT NULL default '',
`url` varchar(200) NOT NULL default '',
`email` varchar(150) NOT NULL default '',
`comment` text NOT NULL,
`time` varchar(50) NOT NULL default '',
`ip` varchar(20) NOT NULL default '',
`show_email` enum('true','false') NOT NULL default 'true',
PRIMARY KEY (`id`)
) TYPE=MyISAM;

# --------------------------------------------------------

#
# Table structure for table `config`
#

CREATE TABLE `config` (
`id` int(11) NOT NULL auto_increment,
`username` varchar(50) NOT NULL default '',
`password` varchar(50) NOT NULL default '',
`num_to_show` int(5) NOT NULL default '0',
`allow_formatting` enum('true','false') NOT NULL default 'true',
`send_notification` enum('true','false') NOT NULL default 'true',
`ping_blo.gs` enum('true','false') NOT NULL default 'false',
`create_rss` enum('true','false') NOT NULL default 'true',
`allow_comment_editing` enum('true','false') NOT NULL default 'true',
`comment_editing_time` int(5) NOT NULL default '0',
`blog_name` varchar(250) NOT NULL default '',
`blog_title` varchar(250) NOT NULL default '',
`blog_description` text NOT NULL,
`domain` varchar(200) NOT NULL default '',
`email` varchar(200) NOT NULL default '',
`days_open` int(5) NOT NULL default '0',
`show_names` enum('true','false') NOT NULL default 'false',
`use_cat` enum('true','false') NOT NULL default 'false',
`path_to_header` varchar(200) NOT NULL default '',
`path_to_footer` varchar(200) NOT NULL default '',
`path_to_blog` varchar(200) NOT NULL default '',
`path_to_archives` varchar(200) NOT NULL default '',
`path_to_categories` varchar(200) NOT NULL default '',
`path_to_authors` varchar(200) NOT NULL default '',
`path_to_images` varchar(200) NOT NULL default '',
`path_to_uploads` varchar(200) NOT NULL default '',
`path_to_rss` varchar(200) NOT NULL default '',
`path_to_admin` varchar(200) NOT NULL default '',
`timezone_offset` varchar(10) NOT NULL default '0',
`max_word_length` int(200) NOT NULL default '0',
`flood_limit` int(10) NOT NULL default '0',
PRIMARY KEY (`id`)
) TYPE=MyISAM;

# --------------------------------------------------------

#
# Table structure for table `entries`
#

CREATE TABLE `entries` (
`id` int(11) NOT NULL auto_increment,
`entry_id` varchar(10) NOT NULL default '',
`friendly_name` varchar(200) NOT NULL default '',
`title` varchar(200) NOT NULL default '',
`description` text NOT NULL,
`excerpt` text NOT NULL,
`entry` text NOT NULL,
`time` varchar(50) NOT NULL default '',
`num_comments` int(11) NOT NULL default '0',
`formatting` enum('true','false') NOT NULL default 'true',
`comments_open` enum('true','false') NOT NULL default 'true',
`cat_id` int(11) NOT NULL default '0',
`user_id` int(11) NOT NULL default '0',
PRIMARY KEY (`id`)
) TYPE=MyISAM;

# --------------------------------------------------------

#
# Table structure for table `notifications`
#

CREATE TABLE `notifications` (
`id` int(11) NOT NULL auto_increment,
`entry_id` varchar(50) NOT NULL default '',
`email` varchar(200) NOT NULL default '',
PRIMARY KEY (`id`)
) TYPE=MyISAM;

# --------------------------------------------------------

#
# Table structure for table `saved`
#

CREATE TABLE `saved` (
`id` int(11) NOT NULL auto_increment,
`friendly_name` varchar(200) NOT NULL default '',
`title` varchar(200) NOT NULL default '',
`description` text NOT NULL,
`excerpt` text NOT NULL,
`entry` text NOT NULL,
`time` varchar(50) NOT NULL default '',
`formatting` enum('true','false') NOT NULL default 'true',
`comments_open` enum('true','false') NOT NULL default 'true',
`cat_id` int(11) NOT NULL default '0',
`user_id` int(11) NOT NULL default '0',
PRIMARY KEY (`id`)
) TYPE=MyISAM;

# --------------------------------------------------------

#
# Table structure for table `users`
#

CREATE TABLE `users` (
`id` int(11) NOT NULL auto_increment,
`username` varchar(200) NOT NULL default '',
`password` varchar(50) NOT NULL default '',
`name` varchar(200) NOT NULL default '',
`about` text NOT NULL,
PRIMARY KEY (`id`)
) TYPE=MyISAM;

# --------------------------------------------------------

#
# Table structure for table `verified`
#

CREATE TABLE `verified` (
`id` int(11) NOT NULL auto_increment,
`email` varchar(200) NOT NULL default '',
`status` enum('true','false') NOT NULL default 'false',
PRIMARY KEY (`id`)
) TYPE=MyISAM;

sharkey
06-07-2004, 06:18 AM
Hey pyro im still having trouble setting it up any ideas

Cheers

kosmicdj
06-07-2004, 04:18 PM
i like www.pivot.net