Venue Search
Login
Username

Password



Not a member yet?
Register here

If you have Facebook
Login with Facebook

Forgotten your password?
Request a new one here.
Affiliates
Your button here?
Contact
Spampoison
View Thread
Who is here? 1 guest(s)
 Print Thread
vBlog
quiki
Domi: You can see the error on my page: http://www.syklin...
The same thing happends to the community script as well
Edited by quiki on 01/19/12 12:18
 
Domi
Its probably me not haveing the correct parameters for some mysql version, i do not have time atm to check it since i dont have a later mysql version installed anywhere.

Just import these from phpmyadmin or similar, paste them in a mysql code window and run it, also change FUSION_PREFIX before to the fusion prefix you have defined in config.php

If it works, ill also give you tables for member pages.


Download source  Code

CREATE TABLE IF NOT EXISTS `FUSION_PREFIX_vblog` (
  `blog_id` mediumint(8) unsigned NOT NULL auto_increment,
  `blog_cid` mediumint(8) NOT NULL default '0',
  `blog_subject` varchar(100) NOT NULL default '',
  `blog_blog` text NOT NULL,
  `blog_blog2` text NOT NULL,
  `blog_breaks` char(1) NOT NULL default '0',
  `blog_name` mediumint(8) unsigned NOT NULL default '1',
  `blog_datestamp` int(10) unsigned NOT NULL default '0',
  `blog_start` int(10) unsigned NOT NULL default '0',
  `blog_end` int(10) unsigned NOT NULL default '0',
  `blog_visibility` tinyint(3) unsigned NOT NULL default '0',
  `blog_reads` mediumint(8) unsigned NOT NULL default '0',
  `blog_allow_comments` tinyint(1) unsigned NOT NULL default '1',
  `blog_year` smallint(4) NOT NULL default '0',
  `blog_month` smallint(2) NOT NULL default '0',
  `blog_day` smallint(2) NOT NULL default '0',
  `blog_image` varchar(60) NOT NULL default '',
  `blog_thumb` varchar(60) NOT NULL default '',
  `blog_thumb2` varchar(60) NOT NULL default '',
  `blog_ialign` varchar(10) NOT NULL default '',
  `blog_status` tinyint(1) NOT NULL default '0',
  PRIMARY KEY  (`blog_id`),
  KEY `blog_cid` (`blog_cid`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;


CREATE TABLE IF NOT EXISTS `FUSION_PREFIX_vblog_cats` (
  `cid` mediumint(8) unsigned NOT NULL auto_increment,
  `sid` mediumint(8) NOT NULL default '0',
  `title` varchar(45) NOT NULL default '',
  `access` tinyint(3) NOT NULL default '0',
  `image` varchar(45) NOT NULL default '0',
  `parentid` mediumint(8) NOT NULL default '0',
  `status` char(1) NOT NULL default '0',
  PRIMARY KEY  (`cid`),
  KEY `sid` (`sid`)
) TYPE=MyISAM AUTO_INCREMENT=1;


CREATE TABLE IF NOT EXISTS `FUSION_PREFIX_vblog_comments` (
  `comment_id` smallint(5) unsigned NOT NULL auto_increment,
  `comment_item_id` smallint(5) unsigned NOT NULL default '0',
  `comment_type` char(1) NOT NULL default '',
  `comment_name` varchar(50) NOT NULL default '',
  `comment_message` text NOT NULL,
  `comment_smileys` tinyint(1) unsigned NOT NULL default '1',
  `comment_datestamp` int(10) unsigned NOT NULL default '0',
  `comment_ip` varchar(20) NOT NULL default '0.0.0.0',
  `comment_approved` char(1) NOT NULL default '',
  PRIMARY KEY  (`comment_id`),
  KEY `comment_item_id` (`comment_item_id`)
) TYPE=MyISAM AUTO_INCREMENT=1;



CREATE TABLE IF NOT EXISTS `FUSION_PREFIX_vblog_settings` (
  `msgs` char(1) NOT NULL default '1',
  `mpwidth` varchar(10) NOT NULL default '1',
  `version` varchar(5) NOT NULL default '',
  `max_image_size` varchar(10) NOT NULL default '20480',
  `theme` char(1) NOT NULL default '0',
  `blog_thumb_w` varchar(10) NOT NULL default '',
  `blog_thumb_h` varchar(10) NOT NULL default '',
  `blog_thumb2_w` varchar(60) NOT NULL default '',
  `blog_thumb2_h` varchar(60) NOT NULL default '',
  `blog_max_w` varchar(10) NOT NULL default '',
  `blog_max_h` varchar(10) NOT NULL default '',
  `blog_nrtolist` varchar(10) NOT NULL default '',
  `blog_mode` char(1) NOT NULL default '',
  `blog_usr` varchar(10) NOT NULL default '',
  `target` varchar(10) NOT NULL default '',
  `folderlink` tinyint(1) NOT NULL default '0',
  `selection` tinyint(1) NOT NULL default '0',
  `cookies` tinyint(1) NOT NULL default '0',
  `bclines` tinyint(1) NOT NULL default '0',
  `icons` tinyint(1) NOT NULL default '0',
  `statustext` tinyint(1) NOT NULL default '0',
  `closesamelevel` tinyint(1) NOT NULL default '0',
  `inorder` tinyint(1) NOT NULL default '0',
  `blog_cats` tinyint(1) NOT NULL default '0',
  `blog_imgs` tinyint(1) NOT NULL default '0',
  `blog_attachments` tinyint(1) NOT NULL default '0',
  `blog_nocats` varchar(10) NOT NULL default '',
  `aapprovecmts` char(1) NOT NULL default ''
) TYPE=MyISAM;


INSERT INTO `FUSION_PREFIX_vblog_settings` (`msgs`, `mpwidth`, `version`, `max_image_size`, `theme`, `blog_thumb_w`, `blog_thumb_h`, `blog_thumb2_w`, `blog_thumb2_h`, `blog_max_w`, `blog_max_h`, `blog_nrtolist`, `blog_mode`, `blog_usr`, `target`, `folderlink`, `selection`, `cookies`, `bclines`, `icons`, `statustext`, `closesamelevel`, `inorder`, `blog_cats`, `blog_imgs`, `blog_attachments`, `blog_nocats`, `aapprovecmts`) VALUES
('1', '100%', '1.0', '2490000', '1', '150', '150', '300', '300', '2000', '2000', '6', '2', '1', '_self', 0, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, '15', '0');


 
http://www.venue.nu
quiki
Hi, after some stuggling i managed to create the tables.
Had to replace:
) TYPE=MyISAM AUTO_INCREMENT=1 ;
with
) ENGINE=MyISAM AUTO_INCREMENT=1 ;


Also need to replace small letters with captial letters like FUSION_PREFIX_VBLOG

Thx for the code Domi, your the best Smile
Edited by quiki on 01/25/12 14:11
 
quiki
BTW, do you have the DB_MEMBERPP_BLOG_CATS table as well?
 
Domi
Its right there, in that list mate.
 
http://www.venue.nu
Pete_Hes
Hello,
I too am looking for a blog system that users can write, so multiuser mode would be ideal.

I have installed the infusion and created a blog test , however:-
1) the admin page ->settings when I click is a blank page
2) on my site/infusions/blog/index.php ..I get
3)You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 4

Please could you help
Many thanks
Pete
 
Pete_Hes
Note to self ....don't work when tired.
Thanks Domi, the table of setting worked from thread #5, settings appear and no errors Smile
Thanks
Pete
 
Domi
Tumbsup
 
http://www.venue.nu
29sd102
Hi

Great addon first of all, Many thanks for your work,

How can i change the comments box so guests can post,

cheers,

pat
 
www.29sd102.com
Ads
Posted on 05/25/13 03:07
Bot Agent

Posts: n^x
Joined: Always

IP: localhost  
Domi
Hello !
Thank you, it dosent have a builtin support for this option, i guess you could look at replaceing it with something like Disquss or FB comments if you want guest posts.
 
http://www.venue.nu
29sd102
FB comment would be perfect.

I will have a look into adding this,

Been looking at your profile options, What a great addon .,

have a nice evening,

Pat 102
 
www.29sd102.com
kfyrsting
Hi

This Blog seems like a great addon, much better than any other blog system I've tried before.

I seem to have a problem, getting to allow blog comments though.
"Approve comments" is "On", the settings on my testblog is "Allow comments" but still I get "Denied"

My site is http://www.fuglet...oggers.php

Thanks in advance Smile

EDIT: Problem solved Grin I installed your Member Pages and there the commenting works fine.
Edited by kfyrsting on 08/29/12 18:04
 
http://fugletossen.dk
Jump to Forum:
Venue uses cookies. Some may already have been set. Read more about our Cookies here.
Please click the button I Consent Cookies to hide this bar and accept our cookies. If you continue to use the site with no action taken, we'll assume that you consent our cookies anyway.
Cookiebar Panel fromVenue