News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)

Started by Charles Hill, June 16, 2008, 03:33:34 PM

Previous topic - Next topic

Nibogo

#300
Really nice update , awesome job!!

EDIT: When i make the update i lose the access to the blog admin:

URL: http://www.mundo-se.com/blogadmin

No se pudo cargar la plantilla 'main'.          

What i can do??

Charles Hill



Charles Hill

#303
Quote from: NIBOGO on September 07, 2008, 07:43:38 PM
Works an error uninstallation of the last blog community mod.

I have another error , i have TP and the block of TP are in my blog , see it:

http://www.mundo-se.com/index.php?blog=48

I try to hide the panels in my TP setting but didnt work

Any idea?

I will add a setting to hide TP blocks on blog pages.  This will be available in 2.0.2 (which will be released within a couple days after I compile a bunch of changes).

edit--
In the mean time, you can "Don't show forum layers on blog pages" which will cause all blog pages to display without surrounding template layers.  Use the admin only option to hide the layers on ALL the blog pages (including blog index).

Nibogo

Quote from: Charles Hill on September 07, 2008, 08:12:47 PM
Quote from: NIBOGO on September 07, 2008, 07:43:38 PM
Works an error uninstallation of the last blog community mod.

I have another error , i have TP and the block of TP are in my blog , see it:

http://www.mundo-se.com/index.php?blog=48

I try to hide the panels in my TP setting but didnt work

Any idea?

I will add a setting to hide TP blocks on blog pages.  This will be available in 2.0.2 (which will be released within a couple days after I compile a bunch of changes).

Do you can put how i can hide the TP blocks in the current version??

Because i need to the fix that problem :)

Charles Hill

Quote
edit--
In the mean time, you can "Don't show forum layers on blog pages" which will cause all blog pages to display without surrounding template layers.  Use the admin only option to hide the layers on ALL the blog pages (including blog index).

Nibogo

Quote from: Charles Hill on September 07, 2008, 08:18:48 PM
Quote
edit--
In the mean time, you can "Don't show forum layers on blog pages" which will cause all blog pages to display without surrounding template layers.  Use the admin only option to hide the layers on ALL the blog pages (including blog index).

I dont like that option  :P :P

I will expect your next update  ;)

dannbass

Charles WOW!! what a beauty!! I've been away for a while and I got back to see this beauty of mod!! thanks for the work, it is really fine!!

runebergen



its out  :D :D :D i'm so excited... :D

unfortunately I got Simple Portal installed...

Is there a lot of problems recarding SP and Blogs?

And is it easy to fix?

Charles Hill

I am currently making things compatible.... Tiny Portal and Blog Community seem to get along ok... I have changed the first edit in the other.xml, so it should work when you have TP already installed.... I haven't looked at Simple Portal yet, but the reported problem is that SP has a function called getArticles().... so does Blog Community.  I'll just change getArticles() in Blog Community to getBlogArticles().  Hopefully that's the only issue.


Quote from: ♫ ♪♩♬♭♮ ♯ on September 07, 2008, 09:48:34 PM
Charles WOW!! what a beauty!! I've been away for a while and I got back to see this beauty of mod!! thanks for the work, it is really fine!!

Thank you for the kind words :)

fords8

#310
I think I found a issue with the blog 2.0.1. Or a conflict with a some other mod.

I tryed to install it and I get ./index.php test failed. So I went ahead and looked it up. I went to the parse editor and found this:

Says to find:
elseif (empty($_REQUEST['action']))
{
// Action and board are both empty... BoardIndex!
if


And replace with:
elseif (empty($_REQUEST['action']))
{
// Blog is not empty... action is empty... Let's Blog!
if (!empty($_REQUEST['blog']) || !empty($_REQUEST['article']))
{
require_once($sourcedir . '/Blog.php');
return 'Blog';
}
// Action and board are both empty... BoardIndex!
elseif


But my code looks like this:
// If guest access is off, a guest can only do one of the very few following actions.
elseif (empty($modSettings['allow_guestAccess']) && $user_info['is_guest'] && (!isset($_REQUEST['action']) || !in_array($_REQUEST['action'], array('coppa', 'login', 'login2', 'register', 'register2', 'reminder', 'activate', 'smstats', 'help', '.xml', 'verificationcode'))))
{
require_once($sourcedir . '/Subs-Auth.php');
return 'KickGuest';
}
elseif (empty($_REQUEST['action']))
{
// first..if the action is set, but empty, don't go any further
if (isset($_REQUEST['action']) && $_REQUEST['action']=='')
{
require_once($sourcedir . '/BoardIndex.php');
return 'BoardIndex';


I have 1.1.6 and TP 1.0.5 installed. I downloaded the file from your site and not the one from the mod section here at SMF.

Charles Hill

Yes there is a minor issue with TP.  I believe I have solved the issue.

Find:
// first..if the action is set, but empty, don't go any further

Add before:
// Blog is not empty... action is empty... Let's Blog!
if (!empty($_REQUEST['blog']) || !empty($_REQUEST['article']))
{
require_once($sourcedir . '/Blog.php');
return 'Blog';
}


I will be making an upgrade package from 2.0.1 to 2.0.2 within a day or two... so you'll probably have to undo that manually when using the upgrade package.  Or you can just uninstall 2.0.1 and use the full install for 2.0.2 which will work fine with TP already installed.

TaintedX

#312
I have just installed this blog system today actually, and I fixed the other error that I was having both with the update of the database and the other one with the index.php now I have this one when viewing the blog.  Trying to make it also so this blog is only available to subscribers but already got that part figured out, just don't know what this error means or how to fix it.

Database Error
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 ' 289, 6, 370, 22, 19, 493, 50, 8)
LIMIT 1' at line 4
File: /home/renascom/public_html/forum/Sources/Blog.php
Line: 1434


Adding in another error that I found.. When I go to the "Admin" panel and then down to "Blog Control" area.. thsi is what shows up..

An Error Has Occurred!
Unable to load the 'main' template.

Charles Hill

#313
Ok on the first error.... That is related to the Friends Of window.... could you tell me a bit more?  Do you have any buddies on your buddy list?  Do they have blogs of their own if you do have buddies?

edit--- could you also please tell me any mods u have installed?

For the second error.... What url is that happening on?

chrissomebody

Charles - it's looking awesome so far,  can't wait for the next update! I REALLY like the new blog control panel, which includes the link to post a new article to your blog, the mybloglog/blog catalog links, and all of the other features. I think this is probably the best put together mod out there so far, and your hard work shows (even with the few kinks that it currently has). I can't wait until a more stable version comes out so I can get it up and running on my live site.
www.talkkid.com [nofollow]

Charles Hill

Glad you like it, chris.  :)

I am reworking some things... I figured out how to "clean" the blog pages of tiny portal blocks.  I will look at simple portal next.  I have added a setting in the admin only options which will allow you to hide all portal blocks on blog pages.  Your blog pages will be shown with the normal forum header and footer (just no TP or SP blocks).  I will attempt to create a conversion tool for felblog to Blog Community.  This is going to be difficult because felblog is just so.... difficult to work with...

Anyways... now for more philosophical changes ... I am placing several "plug-in slots" throughout the Blog.php and Blog.template.php files.  There will be admin-only options to disable/enable each plug-in slot.  What these slots will do is allow you to install / uninstall add-ons without altering either of the main two files (Blog.template.php or Blog.php).  You will install these add-ons via the SMF package manager.  Additionally, I have moved the prepareDefaultBlogSettings function to its own file (BlogSettings.php).  I did this because the arrays in this function are likely to be modified and customized by admins/webmasters.  This will make upgrading from one version to a newer version a lot less painful, because your changes should be kept intact.

Sudhakar Arjunan

#316
Hi Charles Hill.

I have so far used Felblog. Since i noticed that you have updated the smf blog.

I would like to change from felblog to smf blog.

Give me suggestions on it.

Now tried installing with 1.1.6 over felblog and got these three errors.

1.   Execute Modification   ./index.php   Test failed
14.   Execute Modification   ./Sources/Recent.php   Test failed
26.   Execute Modification   ./Themes/default/index.template.php   Test failed

Checked the index file and found that i have simple portal . So the default it points to simple portal.
Checked the recent and index template file. And found many codes to modify so i left it and standing in the mid to install or not.

Could you help me to continue further Charles Hill.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Charles Hill

I'm not sure what you are saying.  You are trying to install Blog Community?

djrem

Quote from: Charles Hill on September 09, 2008, 01:33:38 AM
Glad you like it, chris.  :)

I am reworking some things... I figured out how to "clean" the blog pages of tiny portal blocks.  I will look at simple portal next.  I have added a setting in the admin only options which will allow you to hide all portal blocks on blog pages.  Your blog pages will be shown with the normal forum header and footer (just no TP or SP blocks).  I will attempt to create a conversion tool for felblog to Blog Community.  This is going to be difficult because felblog is just so.... difficult to work with...

Anyways... now for more philosophical changes ... I am placing several "plug-in slots" throughout the Blog.php and Blog.template.php files.  There will be admin-only options to disable/enable each plug-in slot.  What these slots will do is allow you to install / uninstall add-ons without altering either of the main two files (Blog.template.php or Blog.php).  You will install these add-ons via the SMF package manager.  Additionally, I have moved the prepareDefaultBlogSettings function to its own file (BlogSettings.php).  I did this because the arrays in this function are likely to be modified and customized by admins/webmasters.  This will make upgrading from one version to a newer version a lot less painful, because your changes should be kept intact.

Many thanks for the above and beyond effort you are putting in to help out users of your modification.

ilikeitalot

Quote from: Charles Hill on September 09, 2008, 01:33:38 AMThis is going to be difficult because felblog is just so.... difficult to work with...

Amen!  I dropped felblog a few months ago because of that.  And also because, even with some improvements I made, it was just um... fugly.  And my users always had issues or questions with the editor, which was different than the forum editor.  And the developer was a... well nvm, a gentlemen wouldn't say such things about a lady lol.  Anyway, because of all that, I decided to convert all my felblog blogs into forum boards... then I made some changes so they looked more like blogs, wouldn't show up in the forum index, etc.  As I was finishing that up, I ran across Charles' cool mod... and it was a no-brainer to switch to it.

Whoops, I started this post just to mention that I don't need a felblog converter, but instead, it turned into a rant lol.  Anyways, it's great to have an awesome mod like this... especially from someone who's so talented, dedicated, friendly and responsive.  Thanks Charles.  I look forward to supporting your efforts by purchasing some of your add-ons or templates!

Advertisement: