Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Charles Hill on June 16, 2008, 03:33:34 PM

Title: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Charles Hill on June 16, 2008, 03:33:34 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1209)


zCommunity 0.8.1 Beta
by Charles Hill


Description:
Powerful and flexible blog add-on for your Simple Machines forum.  Tons of options and features for one or an infinite number of blogs.  Use the Blogging Community mode to add a blogging community to your site or be selfish and just have your own blog.

Extreme flexibility because of the huge number of both admin-only options and individual blog settings.  You could have a community blog in which all your members can post articles.  You could have a blog in which only a select few members can post.  You could even have a wiki-style blog in which literally anybody can post/modify articles (even guests).  This is possible because you can add specific members to a blog's "Users Allowed to Post Articles" list or you can add entire member groups to a blog's "Groups Allowed to Post Articles" list.  And each blog's lists are their own.

Instructions:* READ BEFORE INSTALLING *
Uninstall previous versions of zCommunity before proceeding (this includes deleting the old zCommunity directory manually if you installed it manually).

note:  Make sure you uninstall any previous versions of Blog Community also.

Upload the zCommunity folder (from the compressed archive package that ends with __files) to your forum's main directory *BEFORE* installing the changes to your SMF Forum via the package manager installation package.

* IMPORTANT *  Please please please make sure you understand that this is an alpha version, and that you should backup your site's files and database prior to installation.

Compatibility:
SMF 1.1.x
SMF 2.0 RC1

Other:
- Cross-browser compatible (tested in: Firefox 3, IE7, Google Chrome, Opera 9.63)
- Fully XHTML compliant
- Search engine friendly... (dynamic meta data, dynamic sitemap.xml, and other search engine optimization)

Features:
Modes...
- Disabled
- Single Blog
- Single Blog (hidden)
- Blogging Community

Permissions System
- Separate permissions system from your forum
- Straight-forward, easy to understand permissions that you can give to your forum's member groups
- You can even choose to give some administrative permissions to member groups

Plug-Ins System
- Drop 'n Go plug-in system which allows for infinite extensibility of your zCommunity
- Installing a plug-in is as simple as dropping a single .php file into the zCommunity/Plugins folder on your server

Themes System
- Installing a theme is as simple as uploading a theme to the zCommunity/Themes folder on your server

Blogging Community mode...
- Users in member groups with the "Can create their own blog" permission can do exactly that
- Set maximum # of blogs each user can make
- Permissions to allow users to set access restrictions and posting restrictions for their blog(s)
- As an admin, you will be able to use any user's blog control panel

Single Blog mode...
- Just the admin can make/use a blog

Single Blog (hidden) mode...
- Same as above, except only the admin can see it

Side windows..
- A number of standard windows included: Categories, Most Recent, Archives, Tags, Who's Viewing, Most Commented, Recent Comments, Polls, etc.
- Add any number of custom windows (which support bbc)
- Reorder ALL side windows however you want (including custom windows)
- Left or right justify the side windows
- Enable/disable any of the windows
- Turn the side windows off completely if you want

Community Page...
- Only available for Blogging Community mode
- Has its own side windows and custom windows
- Has blocks in addition to the side windows (example: the blog index is a block)
- Other standard blocks: Community News (more to come)

Blog by Blog Settings...
- Each blog has its own unique settings
- Easily extensible (can add any number of new blog settings by modifying one array in the source files)

Blog Themes...
- Blog themes system which allows blog owners to make a blog use its own template / theme design
- Template files are easy to modify with moderate knowledge of CSS and HTML and at least a basic knowledge of PHP

Blog Preferences...
- Blog preferences are unique to each user
- Allows users to customize the way they use your blogging community
- Easily extensible (can add any number of new blog preferences by modifying one array in the source files)

Change Log:
0.7.0 Alpha - First release of zCommunity

0.7.1 Alpha - Minor bug fixes (and installation separated into two parts)

0.7.2 Alpha - Minor bug fix

0.7.3 Alpha - Several fixes and improvements
   Can now assign permissions for post-count-based member groups
   Administrator and Global Moderator member groups now listed permissions page as well
   SEO improvements (meta keywords/description options for community page and keywords option for blogs)
   A few other minor things
   
0.7.4 Alpha - Bugs fixes, improved forum integration, more stable + easier installation process

0.7.5 Alpha - Bug fixes

0.7.6 Alpha - Bug fixes

0.7.7 Alpha - Restructured templates, bug fixes

0.7.8 Alpha - Bug fixes, improved performance

0.7.9 Alpha - Bugs fixes

0.8.0 Beta -
   bug fixes
   template improvements
   additional maintenance functions / improvements to existing maintenance functions
   many other fixes and improvements
   
0.8.1 Beta -
   installation fix
   minor bug fixes

Notes:
Redistributing the code of zCommunity without express written permission is prohibited.  All rights are reserved by the developer.

Please visit Degrees of Zero (http://www.degreesofzero.com) for the latest news and updates related to zCommunity.

To see it in action: Dev Site (http://dev.degreesofzero.com) (test accounts are: test/test2/test3  password: test)

zCommunity © 2008-2009 Charles Hill
Title: Re: Blog
Post by: Sweetwater on June 18, 2008, 08:22:08 AM
Hi Charles,

Seems like a great MOD.  8)

Is there a link on a members profile to their BLOG??

Regards,

Sweetwater
Title: Re: Blog
Post by: ilikeitalot on June 18, 2008, 11:31:22 AM
Looks awesome.  It would be perfect if it could be used for more than one board.  Then members could have their own board/blog.  Hmm... wonder how much modifications would be required to make that happen.  Anyways, great job there!
Title: Re: Blog
Post by: Charles Hill on June 18, 2008, 01:12:22 PM
Actually, it wouldn't require much modification at all.  I will work on another blog mode that will allow for multiple blogs.

Quote from: Sweetwater on June 18, 2008, 08:22:08 AM
Hi Charles,

Seems like a great MOD.  8)

Is there a link on a members profile to their BLOG??

Regards,

Sweetwater

Right now this mod only supports one blog for your entire forum.  When I finish adding the extra blog mode for multiple blogs, I'll be sure to add a link in member profiles to their blog (if they have one).
Title: Re: Blog
Post by: Nibogo on June 19, 2008, 07:16:57 PM
Thank you , great mod !!!
Title: Re: Blog
Post by: cr34t1v3 on June 19, 2008, 09:43:05 PM
mod is working fine.
sorry for asking this simple question, but i can't find it.
where can i see the board ID?
Title: Re: Blog
Post by: cr34t1v3 on June 19, 2008, 11:03:05 PM
found!
admin -> board -> mouse over 'modify' button
Title: Re: Blog
Post by: cr34t1v3 on June 19, 2008, 11:15:22 PM
One more thing...
If i create new topic, the blog categories shows.

But, if i already have post in my board, how can i categorize them? because i didn't see the 'blog category' when i edit them
And if i created a new post and place the topic in a certain blog category, i can't edit it and move it to another category.
am I missing something?
Title: Re: Blog
Post by: Charles Hill on June 20, 2008, 12:50:58 AM
Quote from: cr34t1v3 on June 19, 2008, 11:15:22 PM
One more thing...
If i create new topic, the blog categories shows.

But, if i already have post in my board, how can i categorize them? because i didn't see the 'blog category' when i edit them
And if i created a new post and place the topic in a certain blog category, i can't edit it and move it to another category.
am I missing something?

Sorry about that.  I had intended for you to be able to change the blog category of topics in the modify post page.  I have fixed it, and updated the mod package.
Title: Re: Blog
Post by: cr34t1v3 on June 20, 2008, 01:04:30 AM
i've installed the mod.
so, what should i do now? uninstall it and re-install it?
i prefer manual edit, if its ok for you, please give info what & where should i modify.
Title: Re: Blog
Post by: Charles Hill on June 20, 2008, 01:08:06 AM
All that was required was a small change to the blog mod code in Post.php (and I moved it).  So if you look in the blog.xml file for the changes made to Post.php, that's all you need.
Title: Re: Blog
Post by: cr34t1v3 on June 20, 2008, 01:28:16 AM
i've moved the script, but still not working, blog category not showing on edit.
i noticed i more thing, if i created a topic and assigned a blog category for that topic, and then i edit it, the blog category don't show up and after i saved it, the topic become uncategorized.
Title: Re: Blog
Post by: Charles Hill on June 20, 2008, 01:43:38 AM
Are you sure you applied the changes correctly?  It is working perfectly for me.
Title: Re: Blog
Post by: cr34t1v3 on June 20, 2008, 02:00:52 AM
i'm pretty sure about that...change the post.php only, isn't it?
Title: Re: Blog
Post by: Charles Hill on June 20, 2008, 03:21:51 AM
Ya just post.php
Title: Re: Blog
Post by: Charles Hill on June 20, 2008, 04:44:57 AM
Are you sure you are trying to post in the board that you designated as your blog board?  Are you sure the blog is enabled?

Make sure you put the code for the blog mod (inside Post.php) in the right place.  The location of this code is important.
Title: Re: Blog
Post by: cr34t1v3 on June 20, 2008, 04:56:49 AM
yes, i'm sure.
i tried to create new topic, the blog category menu is exist and the topic showed in the blog.
i attached all of the modified files, if you don't mind, please check it
i've double checked everything, i'm pretty sure that i don't skip a thing.
thank you
Title: Re: Blog
Post by: ilikeitalot on June 20, 2008, 11:32:07 AM
Quote from: Charles Hill on June 18, 2008, 01:12:22 PM
Actually, it wouldn't require much modification at all.  I will work on another blog mode that will allow for multiple blogs.

No pressure here (lol) but do you have any idea when you might get this feature added?  I've been working on my own mutli-user blog customization where each blog owner is the moderator of their own board, but it's lacking many of the features that yours has.  If you were gonna have this done sometime soon, I'd much rather use yours.  Just a rough ETA would be great.  Thanks dude!
Title: Re: Blog
Post by: Charles Hill on June 20, 2008, 02:06:16 PM
Quote from: ilikeitalot on June 20, 2008, 11:32:07 AM
Quote from: Charles Hill on June 18, 2008, 01:12:22 PM
Actually, it wouldn't require much modification at all.  I will work on another blog mode that will allow for multiple blogs.

No pressure here (lol) but do you have any idea when you might get this feature added?  I've been working on my own mutli-user blog customization where each blog owner is the moderator of their own board, but it's lacking many of the features that yours has.  If you were gonna have this done sometime soon, I'd much rather use yours.  Just a rough ETA would be great.  Thanks dude!

I am going to be developing this functionality for my own site anyways, so it'll most likely be about a week or so.

@ cr34t1v3:
I will look at those files you attached, and let you know where the issues are.
Title: Re: Blog
Post by: Charles Hill on June 20, 2008, 02:16:16 PM
I've attached your Post.php that I fixed.  Sorry I forgot one little thing in the blog.xml file.  I'll update the package on the customization site now also.
Title: Re: Blog
Post by: ilikeitalot on June 20, 2008, 03:58:57 PM
Quote from: Charles Hill on June 20, 2008, 02:06:16 PM
Quote from: ilikeitalot on June 20, 2008, 11:32:07 AM
Quote from: Charles Hill on June 18, 2008, 01:12:22 PM
Actually, it wouldn't require much modification at all.  I will work on another blog mode that will allow for multiple blogs.

No pressure here (lol) but do you have any idea when you might get this feature added?  I've been working on my own mutli-user blog customization where each blog owner is the moderator of their own board, but it's lacking many of the features that yours has.  If you were gonna have this done sometime soon, I'd much rather use yours.  Just a rough ETA would be great.  Thanks dude!

I am going to be developing this functionality for my own site anyways, so it'll most likely be about a week or so.


Fantastic!  I'll be on the lookout for it.  :)
Title: Re: Blog
Post by: cr34t1v3 on June 20, 2008, 06:23:52 PM
Quote from: Charles Hill on June 20, 2008, 02:16:16 PM
I've attached your Post.php that I fixed.  Sorry I forgot one little thing in the blog.xml file.  I'll update the package on the customization site now also.

Great jobs...thanks a lot....great mod, great support  ;D
Look forward for the next development  :D
Title: Re: Blog
Post by: denzil69 on June 22, 2008, 09:29:26 AM
I am having a totally vacant day...
I cannot find an option where i can post anything to the blog?

I can see catagories and set them, all installed fine, its in the header bar, ive assigned it to a board, but how please, do i post to it?

you can stop laughing now... i feel like stevie wonder when he has a crap jumper day  :P
Title: Re: Blog
Post by: denzil69 on June 22, 2008, 12:31:10 PM
okays..... weve found the blog drop down list on the ordinary post to board routine.
is there anyway that the blog board can be made to look like a blog rather than the normal regular board layout (default setting)?

to the website visitor, it doesnt look like a blog, unless they click on "blog" in the header bar

one more important question...
instead of showing the user name, it shows the log in name!
can this be changed at all do we know?

this same problem occured with the site map mod but was resolved.

ta for the help
Title: Re: Blog
Post by: Charles Hill on June 22, 2008, 04:42:08 PM
You mean show the user's display name rather than their login name?

Also... To make the board in the display view look like a blog would require a lot of changes to display.template.php.  I don't know if that'd be worth it.  What I am going to be doing for the next version is make blog boards not show up on the board index.  Additionally, I am working on another blog mode that would allow every user to make a blog and set the settings and manage their blog categories via their profile.
Title: Re: Blog
Post by: Peyj on June 22, 2008, 06:54:03 PM
May I ask how this mod differs from SMFBlog that already is on this site?
Title: Re: Blog
Post by: Charles Hill on June 22, 2008, 07:51:41 PM
I've never used SMFBlog... But I can tell you that this mod does pretty much everything most blog software does and more.  I am almost done with the new multiple blogs mode.
Title: Re: Blog
Post by: Charles Hill on June 23, 2008, 03:31:53 AM
I am pretty much done with all the changes... You can check it out here:
http://dev.degreesofzero.com/index.php

username: test
password: test

Please let me know what you think of it so far :)
Title: Re: Blog
Post by: ilikeitalot on June 23, 2008, 09:29:22 AM
Awesome.  That was quick.  A couple of things I wonder if you could add:


These are all little things... overall, it looks great.  When you get the mod packaged up, I'll give it a thorough test.

Edit: One more thing, on the blog index, can you display the blog (board) description below each blog name?  That would be cool.
Title: Re: Blog
Post by: Charles Hill on June 23, 2008, 12:09:36 PM
Thanks for all the good suggestions.  I did already have some of the things you suggested, though you can't really tell:
- Already display avatars to the left of blog names on the blog index.
- Already display blog description on blog index below blog name.

I will definitely add the other things you suggested.

edit-
I'll add permissions for posting replies to each blog board so that all regular members of your forum can post comments.
Title: Re: Blog
Post by: Ni©holąś™ on June 23, 2008, 12:24:24 PM
great mod , congratulations. You can improve more.Again congratulations :D
Title: Re: Blog
Post by: ruckstande on June 23, 2008, 06:31:57 PM
I'm trying to edit the index.template on my custom mod but it isn't working out. Some of the things I'm supposed to change don't exist like[ban]
Title: Re: Blog
Post by: ascetic666 on June 23, 2008, 10:17:35 PM
hello, this is my first post and my first week using SMF on a production site.  :D
I'm excited to see this mod and I'm intend to use it.
I haven't try it yet but from the demo you've just shown above, it does look really promising and really useful.
so SMF users won't have to bother integrating their sites with wordpress or other blogging platform for a simple blog.

however there is one thing that keeps me a bit annoyed :(
the comment/reply view of the blog post.
does it mean all the comments will always be seen on the frontpage?
is there a link to "Read More" or something that is more like a common blog?  :)

there is also one more request if you don't mind.
I'm currently using "Ultimate Profile" mod, could you perhaps integrate your mod so that it has a link to users' blog?
or maybe a "Recent Blog Posts" link?

regards
wonderful work
Title: Re: Blog
Post by: Charles Hill on June 23, 2008, 11:32:27 PM
You can choose to disable comments on your blog's display page.  And you can set how long comments can be.  The read more link currently takes you to the display page in that board and it displays the entire topic with all posts just like any other topic would be displayed in your forum.

There are currently multiple links in user's profiles that take you to their blog page.  If you want something more, you'll have to be specific so that I know exactly what you want.
Title: Re: Blog
Post by: steve in houston on June 24, 2008, 09:33:22 PM
thanks for the mod.

i installed and integrated with no problems.
Title: Re: Blog
Post by: erlend_sh on June 25, 2008, 07:05:38 AM
I've been on the lookout for just the mod like this one Charles!

Quote from: Charles Hill on June 22, 2008, 07:51:41 PM
I've never used SMFBlog (...)
SMFblog (http://custom.simplemachines.org/mods/index.php?mod=793) is "A (very) simple SMF blogging system" made by Daniel15 some time ago, and the two of you seem to have been using very similar methods, except yours is further developed. Daniel also seem to have dropped all support at the moment, so your blog mod is my best bet for sure right now and an outstanding one at that :)
I was about to ask if you could please please update this mod to work with the 2.0 version of SMF (and that request would of course include your nice drafts-mod as well, hehe), but it seems you have an error that should be sorted out first.

On my first fresh install using WAMP, I got an error after I'd just installed this mod then went to try and post somewhere. The first time I just ignored it and kept on going until I got the mod working, but I did a new fresh install to see if I could reproduce the bug, and i could:
QuoteYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' , , 1, 4, 4,
0, 0, 0, 0)' at line 3
File: C:wampwwwsmf_test1SourcesSubs-Post.php
Line: 1579
Also, that ' , , 1, 4, 4,0, 0, 0, 0)' increases by one every time the error ocurrs (though it started at 4), like on my 6th attempt it would say ' , , 1, 10, 10,0, 0, 0, 0)' (I also don't get where the starter-'(' is at...).
Upon replying to an existing topic, it worked.

Again note: This happened by first installing the mod, applying no additional settings whatsoever but just going straight to whichever board around and attempt to make a new thread. I then went to blog settings and changed Enable Blog => Disable Blog (I thought 'Disable' was the pre-set on my first install, but I don't quite remember...), but the same error ocurred. I then switched to hidden mode, and to my surprise, it now worked! However, I doubt changing to hidden mode was what actually did it... Now, the "Blog" tab was finally showing up in the navigation, though there were no categories of course as I had not added any. Now I could also switch to "Enable Blog" and it would still work. When I switched back to "Disable Blog" however, that is when the bug ocurred again!

Okay, maybe I've been doing some things I didn't know I was doing as well (In all likelyness it did initially say 'Disable Blog'), but it seems the "Disable Blog" is what brakes the threadposting on the forum. Please fix this, then see if you could be so kind as to update this lovely mod to be compatible with 2.0 :)

Oh, and one last thing bothered me about this mod, though I'm guessing there's nothing you can do about it: After I write a reply to a blogpost (in the blog-interface), depending on my "return-settings" I'm either returned to the board index, or to the topic (in forum-view) that I replied to, and any sign of having just written in a blog is just gone :( Is there any way to change this redirect when I'm writing in the blog? so that when replying to a blogpost, you'll remain inside the blog interface, and that good ol' blogger-feeling remains!
Title: Re: Blog
Post by: Charles Hill on June 25, 2008, 07:28:07 AM
The posting error with Subs-Post.php occurs only when you have the blog installed and disabled.  I have fixed it for v1.08.  I will be adding the redirects back to the blog after you post comments (replies) and new topics in that blog for 1.08 also.

As for making this mod compatible with 2.0... I am holding off on making mods for 2.0 until its final release.
Title: Re: Blog
Post by: erlend_sh on June 25, 2008, 07:33:10 AM
Quote from: Charles Hill on June 25, 2008, 07:28:07 AM
The posting error with Subs-Post.php occurs only when you have the blog installed and disabled.  I have fixed it for v1.08.  I will be adding the redirects back to the blog after you post comments (replies) and new topics in that blog for 1.08 also.
Fantastic! :D

Quote from: Charles HillAs for making this mod compatible with 2.0... I am holding off on making mods for 2.0 until its final release.
Understandable :)
Title: Re: Blog
Post by: Sweetwater on June 25, 2008, 07:36:20 AM
Hi Charles,

Have you progressed the ability for member to create their own blogs & link from their profile?

Regards,

Sweetwater
Title: Re: Blog
Post by: Charles Hill on June 25, 2008, 08:00:14 AM
Yes.  Check out my development site: http://dev.degreesofzero.com/index.php

username: test3
password: test

Go to Profile and look for Blog Settings on the left menu area of the profile.  Play around with it a bit and let me know what  ya think :)
Title: Re: Blog
Post by: Sweetwater on June 25, 2008, 08:10:16 AM
Hi Charles,

I'm not seeing any login ability or link from your developement site... Am I missing something obvious??

Regards,

Sweetwater

Quote from: Charles Hill on June 25, 2008, 08:00:14 AM
Yes.  Check out my development site: http://dev.degreesofzero.com/index.php

username: test3
password: test

Go to Profile and look for Blog Settings on the left menu area of the profile.  Play around with it a bit and let me know what  ya think :)
Title: Re: Blog
Post by: Charles Hill on June 25, 2008, 08:12:18 AM
http://dev.degreesofzero.com/index.php

You need the index.php at the end there.  The dev site has v1.08 of my blog mod installed and 3 separate testing accounts already.. Just login using test, test2, or test3 and go to profile to check it out.
Title: Re: Blog
Post by: Sweetwater on June 25, 2008, 08:24:07 AM
Looks great charles. When are you releasing this version?

Sweetwater
Title: Re: Blog
Post by: Charles Hill on June 25, 2008, 10:37:29 AM
Most likely within a week.  I'm going to be adding some extra functionality here and there and testing it fully.
Title: Re: Blog
Post by: ilikeitalot on June 25, 2008, 11:37:31 AM
This is coming along very nicely.  Great job Charles!  One more feature request:

Can you add a link to "Blog Settings" on the blog page (only if the blog owner is viewing it, of course)?  You could put it at the top, just to the left of the "Post New Topic" link.  That would make it much more obvious to get to the settings... so they can easily add categories, etc.

And a question:  How will an admin be able to make a blog for a member?  Just curioius.

Thanks for all the great work.
Title: Re: Blog
Post by: Charles Hill on June 25, 2008, 11:18:14 PM
Admins don't make blogs for users.  Users initialize their own blog via a simple click of a mouse in their profile... On the blog settings page.  If they user doesn't already have a blog this is displayed: "You have not initialized your blog yet.  Click here to initialize it."

Once they click the link their blog is instantaneously set up with default settings and they can modify their categories and blog settings at will.  I'll add that link to the blog settings page like you suggested.
Title: Re: Blog
Post by: chrisb on June 27, 2008, 05:41:13 PM
We have installed the mod on a brand new forum, then went into features and options and we are unable to find the blog mod appearing in the forum at all,

Is there anywhere else it should appear as we are unable to activate the blog mod on the test forum.
Title: Re: Blog
Post by: Charles Hill on June 28, 2008, 04:44:39 PM
If you are using a custom theme you're going to have to make the modifications to your theme's template files manually.

You will also need to modify your template's language files manually.  Check the blog.xml file for the changes made to the default template and language files, and make the corresponding changes on your theme's template and language files.
Title: Re: Blog
Post by: chrisb on June 28, 2008, 06:59:43 PM
We have installed this on a brand new forum with the default mod and this is not working still, is there a reason why this might happen
Title: Re: Blog
Post by: musicman8oh8 on June 28, 2008, 10:43:13 PM
I've installed the latest Blog mod on this site as of 28 Jun 08 with no apparent issues but when trying to post all I get is "There are no topics in this category." and I haven't a clue as to what the problem is, I'm using the default SMF theme as this is a test site. So where am I to add/edit topics. Thanx in advance!
Title: Re: Blog
Post by: ilikeitalot on June 29, 2008, 08:07:40 PM
Another feature request... Could you add a setting where members could specify if guests (or members) can view their blog.  I know that some of my users would want their blogs to be for members only.
Title: Re: Blog
Post by: Charles Hill on June 29, 2008, 11:18:40 PM
Quote from: musicman8oh8 on June 28, 2008, 10:43:13 PM
I've installed the latest Blog mod on this site as of 28 Jun 08 with no apparent issues but when trying to post all I get is "There are no topics in this category." and I haven't a clue as to what the problem is, I'm using the default SMF theme as this is a test site. So where am I to add/edit topics. Thanx in advance!

I am unsure as to what would be causing such an error.  You could just wait for 1.08.   I will be testing everything very thoroughly.

Quote from: ilikeitalot on June 29, 2008, 08:07:40 PM
Another feature request... Could you add a setting where members could specify if guests (or members) can view their blog.  I know that some of my users would want their blogs to be for members only.
Scratch what I said about making a setting for the admin about allowing blog owners to restrict access.  I am going to make another permission to do this.  It'll allow admins to have a lot more discretion as to which of their users can do this.


edit--

Here is a taste of what you can expect from version 1.08 of this blog mod.........

- Multiple blogs mode, when enabled, will allow all users of your forum who have the write_blog permission to make their own blog.  Blog owners will automatically be given moderating ability for their blog (their blog board only).  All blogs appear on the Blog Index page.  Users can set all the blog related settings and create, edit, move, delete blog categories of their own via their profile page.

- Added settings for admin only:
   > Hide blog boards on board index
   > Target category for new blog boards (which category you'd like all new blog boards to be created in)
   
- New Permissions:
   > write_blog ... users with this permission can make their own blogs
   > multiple_blogs ... users with this permission can make multiple blogs (must have write_blog permission)
   > blog_restrict_access ... users with this permission can restrict access to their blog(s) based on member groups
   
New blog settings:
- Enable/disable Links window
- Enable/disable Friends Of window
- Set side windows to appear on left OR right

New blog tools:
- Links window allows users to show a list of links in a side window that will appear on every page of their blog
- Friends Of window allows users to shows links to blogs of other users

I am also planning on creating a few different blog themes that blog owners will be able to select from, but I don't think I'll get it done for v1.08.
Title: Re: Blog
Post by: ssufian on June 30, 2008, 04:00:37 AM
Sorry... I'm totally new here...

totally new in SMF forum and also this Blog mod...

I've installed this mod and enable it in hidden mod then how to post inside this blog?

what is the 'Blog Board ID' how to get the 'ID'?
Title: Re: Blog
Post by: ilikeitalot on June 30, 2008, 10:34:10 AM
Quoteblog_restrict_access ... users with this permission can restrict access to their blog(s) based on member groups

Can you make it where members can only see/choose from membergroups they are in (plus Guests)?  I wouldn't really want them to see all the defined membergroups.  It would also be good to exclude post-based groups.
Title: Re: Blog
Post by: Charles Hill on June 30, 2008, 06:26:06 PM
Quote from: ssufian on June 30, 2008, 04:00:37 AM
Sorry... I'm totally new here...

totally new in SMF forum and also this Blog mod...

I've installed this mod and enable it in hidden mod then how to post inside this blog?

what is the 'Blog Board ID' how to get the 'ID'?
Your blog is just a board you designate as your blog.  Once you've designated a board as your blog, you can post there just like any other board.
Title: Re: Blog
Post by: flapper on July 01, 2008, 05:16:44 PM
Quote from: Charles Hill on June 25, 2008, 10:37:29 AM
Most likely within a week.  I'm going to be adding some extra functionality here and there and testing it fully.

Any news on release date, my members are crying out for there own blog's :)
Title: Re: Blog
Post by: Charles Hill on July 01, 2008, 06:41:02 PM
Sorry things have been really crazy for me the last week.. Been moving into a new place and have had all kinds of network/cable problems.  It'll probably be 10 days or so before 1.08 is ready.
Title: Re: Blog
Post by: cr34t1v3 on July 03, 2008, 06:49:58 AM
Hi Charles, it's me again.
I noticed some error during posting a calendar event.
When I click 'post event' in calendar below message appear:
'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 'ORDER BY t.categoryID
LIMIT 1' at line 5
File: /home/forumanu/public_html/Sources/Post.php
Line: 196 '

And it's pointing to the blog mod below:

189      // let's get the blog category that this topic is currently in
190     $request = db_query("
191         SELECT bc.categoryID, bc.name
192         FROM {$db_prefix}blog_categories as bc
193            LEFT JOIN {$db_prefix}topics as t ON (bc.categoryID = t.categoryID)
194         WHERE t.ID_TOPIC = $context[current_topic]
195         ORDER BY t.categoryID
196         LIMIT 1", __FILE__, __LINE__);
197
198      if (mysql_num_rows($request) > 0) {
199        $row = mysql_fetch_assoc($request);
200        $context['current_blog_cat'] = array(
201           'id' => $row['categoryID'],
202           'name' => $row['name'],
203        );
204     }
205      mysql_free_result($request);
206      if (isset($row))
207         unset($row);


Any idea?
Title: Re: Blog
Post by: Charles Hill on July 03, 2008, 02:59:46 PM
I haven't worked with the calendar portion of SMF at all.  I'm assuming that there is no such context variable as $context['current_topic'] when posting a calendar event.  Try adding single quotes around $context[current_topic] and see if that makes the error go away.
Title: Re: Blog
Post by: cr34t1v3 on July 03, 2008, 11:19:17 PM
Tried to add single quote like this: $context['current_topic'], still not working.
btw, I see there is a message few line above: '// !!! These won't work if you're posting an event!'
Is this mean that I can't post even in calendar?
Title: Re: Blog
Post by: Johno69 on July 04, 2008, 01:07:17 AM
Hi,

I'm very keen for the member blogs... looking forward to it.

Thanks.
Title: Re: Blog
Post by: Charles Hill on July 04, 2008, 02:22:59 PM
That comment is by SMF about something else that has nothing to do with my blog mod.  You added the single quotes in the wrong place.  It should be '$context[current_topic]'
Title: Re: Blog
Post by: JoshieDaMan on July 05, 2008, 03:07:38 AM
Fatal error: Cannot redeclare modifyblogsettings() (previously declared in /home/site/public_html/Sources/ModSettings.php:521) in /home/site/public_html/Sources/ModSettings.php on line 610

It automatically added in sources/modsettings.php as I looked into it. How to fix this?
Title: Re: Blog
Post by: Charles Hill on July 05, 2008, 03:24:12 AM
@JoshieDaMan...
That means that you have more than one instance of the function declaration in ModSettings.php.  Simply remove one of the instances of function modifyblogsettings() (and all the stuff in the brackets for that function declaration) from your Sources/ModSettings.php file.
Title: Re: Blog
Post by: Johno69 on July 05, 2008, 03:57:16 AM
Hi Charles,

Any idea on the release of the version you are testing?

I'm excited at the prospect of member blogs.
Title: Re: Blog
Post by: Charles Hill on July 05, 2008, 04:11:05 AM
It's really coming along now.  Most of the stuff left to do is minor, except for the overhaul of the blog admin area.  I'm going to get rid of Features and Options >> Blog Settings and replace Blog Categories on the left admin menu with Blog Control Panel.  You can test it outa while I'm working on it at http://dev.degreesofzero.com/index.php (username: test   password: test)
Title: Re: Blog
Post by: erlend_sh on July 05, 2008, 07:19:09 AM
Quote from: Charles Hill on July 05, 2008, 04:11:05 AM
It's really coming along now.  Most of the stuff left to do is minor, except for the overhaul of the blog admin area.  I'm going to get rid of Features and Options >> Blog Settings and replace Blog Categories on the left admin menu with Blog Control Panel. (...)
That'll be a whole lot better, great change! Man I'm so looking forward to see SMF 2.0 go stable...
Title: Re: Blog
Post by: cr34t1v3 on July 06, 2008, 10:49:03 AM
Quote from: Charles Hill on July 04, 2008, 02:22:59 PM
That comment is by SMF about something else that has nothing to do with my blog mod.  You added the single quotes in the wrong place.  It should be '$context[current_topic]'
it's working.
thanks.
Title: Re: Blog
Post by: Charles Hill on July 07, 2008, 01:35:42 PM
Happy to announce that v1.08 has been released :)

Change made:
*new* Blog Mode (multiple blogs)
*new* Permissions: write_blog, multiple_blogs, blog_restrict_access, delete_own_blogs
*new* Blog Index (when in multiple blogs mode) ... Lists all blogs on your site
*new* Blog Control Panel ... Located in Profile and Admin area (admins only)
*new* Convert existing non-blog boards to blogs (for admin-only)... Located in Admin >> Blog Control Panel
*new* Global Blog Settings ... hide blogs on board index, maximum # of blogs per user, category for new blog boards... Located in Admin >> Blog Control Panel
*new* Links window
*new* Friends Of window
*improved* All actions made from a blog take you back to that blog (remove, delete, modify, post new)
*fixed* minor bugs
*removed* Features and Options >> Blog Settings
Title: Re: Blog
Post by: jossanaijr on July 07, 2008, 05:03:51 PM
WOW!
Thinking to install one blog in my forum... ;)
Title: Re: Blog
Post by: Johno69 on July 08, 2008, 01:06:58 AM
Quote from: Charles Hill on July 07, 2008, 01:35:42 PM
Happy to announce that v1.08 has been released :)
1.09 already?

I might wait a couple more days to see if there's any more small bugs.
Title: Re: Blog
Post by: Charles Hill on July 08, 2008, 01:32:37 AM
Reasonable I suppose.  I am using it on my main site already.  No problems.
Title: Re: Blog
Post by: fords8 on July 08, 2008, 02:55:55 AM
When I go to make a blog with my test account, it says: You are not allowed to administrate this forum. when trying to make a blog. I setup the permissions right.
Title: Re: Blog
Post by: Charles Hill on July 08, 2008, 02:57:00 AM
Only admins can access the blog control panel in the admin area.  Non-admins must use the one in their Profile.
Title: Re: Blog
Post by: fords8 on July 08, 2008, 02:59:46 AM
Quote from: Charles Hill on July 08, 2008, 02:57:00 AM
Only admins can access the blog control panel in the admin area.  Non-admins must use the one in their Profile.

Yup I know. The profile is where I am trying to make the new blog.
Title: Re: Blog
Post by: Tony Reid on July 08, 2008, 03:05:25 AM
Another great mod.

Will you be upgrading it for SMF 2?
Title: Re: Blog
Post by: Charles Hill on July 08, 2008, 03:17:29 AM
Ok I figured out what the problem was.  I'll add the fix to v1.10.

@Tony
Yes once 2.0 goes final.

Additional notes:
I've decided that for add-ons and extra features I'll be making additional mod packages just for the soul purpose of using in conjunction with this mod.

All changes made to this mod package will be minor bug fixes.

edit---
If you have 1.09 installed already... all you have to change is Profile.template.php (just replace the old template_blogControlPanel function with the new one).
Title: Re: Blog
Post by: legen91 on July 08, 2008, 03:31:04 AM
Hey I got my blog working and all but they are these 3 forums on my homepage and i dont know how to get them off. They say Phoen1x blog.  I started th4e site today but can you help me please.

http://lf.metroconnections.net/index.php

You see what i am talking about
Title: Re: Blog
Post by: legen91 on July 08, 2008, 03:36:34 AM
Hey I got my blog working and all but they are these 3 forums on my homepage and i dont know how to get them off. They say Phoen1x blog.  I started th4e site today but can you help me please.

http://lf.metroconnections.net/index.php

You see what i am talking about
Title: Re: Blog
Post by: Charles Hill on July 08, 2008, 03:43:58 AM
Quote from: legen91 on July 08, 2008, 03:36:34 AM
Hey I got my blog working and all but they are these 3 forums on my homepage and i dont know how to get them off. They say Phoen1x blog.  I started th4e site today but can you help me please.

http://lf.metroconnections.net/index.php

You see what i am talking about

Did you create those blogs via the blog control panel?  Also do u have hide blogs on board index checked in the admin-only blog options window of your blog control panel?
Title: Re: Blog
Post by: legen91 on July 08, 2008, 03:47:32 AM
i did but then deleted and reinstalled it because it wasnt working now i have it working and that wont leave
Title: Re: Blog
Post by: legen91 on July 08, 2008, 03:51:52 AM
Never mind issue resolved
Title: Re: Blog
Post by: Joel-san on July 08, 2008, 11:20:37 AM
Nice mod. I would like add it to my page but it's still too buggy. I'm using SMF 1.1.5 with the default theme. So far I have run into the following bugs (version 1.10).

1. I can't remove any posts or boards after installing Blog mod.
Fatal error: Call to undefined function getCurrentCategory() in .../RemoveTopic.php on line 317

2. The link to the last post in blog index is broken. It returns the user back to the forum index. Currently the url is like this: index.php?blog=xx;entry=xxx. You need to add action=blog for it to work correctly. Also it would make more sense if the last post would be the last blog entry made by the blog owner, not the last comment made by some reader.  It would be nice to see the name of the owner of the blog in the blog index.

3. Comments don't show up. Didn't show up in 1.08 either when I tried it.

4. What's the purpose of the "remove this" bar? It's just annoying.

EDIT:

5. When in single blog mode I cannot add new entrys from the blog index. I have to navigate to the blog board from the forum index and add a new entry (topic) from there. Navigating gets a bit hard when the blog board is hidden. Hehe...
Title: Re: Blog
Post by: computel on July 08, 2008, 12:20:14 PM
I installed it and gave my members permission but they can't create a blog. They can read ones I do and cmment but not create their own. how do I fix this.

Thanks
Title: Re: Blog
Post by: Charles Hill on July 08, 2008, 01:36:20 PM
@Joel-san...
1. fixed for v1.11
2. fixed for v1.11
3. I tested again on my blank forum and I wasn't having any problems with comments.  Are you sure you have "Display comments on main blog page" checked?
4. There was supposed to be a link above that saying "Resume reading where you left off" and it takes you to where the Read more link cut off the topic. on the blog page.  I fixed this for v1.11
5.  fixed for v1.11

Quote from: computel on July 08, 2008, 12:20:14 PM
I installed it and gave my members permission but they can't create a blog. They can read ones I do and cmment but not create their own. how do I fix this.

Thanks
Did you install v1.10?  v1.08 and v1.09 had this problem.
Title: Re: Blog
Post by: fords8 on July 08, 2008, 02:07:29 PM
v1.10 does fix the members can't create a blog issue. I just tested it out. Charles, very nice job! Looking forward to more updates on this.
Title: Re: Blog
Post by: Joel-san on July 08, 2008, 02:58:01 PM
Thanks for the updates! I'll try to find out why comments aren't showing up.
Title: Re: Blog
Post by: computel on July 08, 2008, 03:07:10 PM
Fixed it. It was the version.

Thanks

Quote from: Charles Hill on July 08, 2008, 01:36:20 PM
@Joel-san...
1. fixed for v1.11
2. fixed for v1.11
3. I tested again on my blank forum and I wasn't having any problems with comments.  Are you sure you have "Display comments on main blog page" checked?
4. There was supposed to be a link above that saying "Resume reading where you left off" and it takes you to where the Read more link cut off the topic. on the blog page.  I fixed this for v1.11
5.  fixed for v1.11

Quote from: computel on July 08, 2008, 12:20:14 PM
I installed it and gave my members permission but they can't create a blog. They can read ones I do and cmment but not create their own. how do I fix this.

Thanks
Did you install v1.10?  v1.08 and v1.09 had this problem.
Title: Re: Blog
Post by: computel on July 08, 2008, 03:35:53 PM
Ok I got the blog working with 1.11 but noticed it shows comments but where do you see these comments? and the box is checked to display them on the main page. I also noticed if you set the non-admin blogs to 0 or a number it still only allows the non-admin to initilize only on blog.

I guess the user could create categories and that would break it up.

Thanks

Title: Re: Blog
Post by: Hoochie Coochie Man on July 08, 2008, 04:30:58 PM
Hi @Charles Hill
Thank you very much for this great mod.
Here is Turkish language strings

// blog txt variables
// Çeviri by Hoochie Coochie Man
$txt['blog'] = 'Blog';
$txt['blogs'] = 'bloglar';
$txt['Blogs'] = 'Bloglar';
$txt['showBlogs'] = 'Blogları Göster';
$txt['blog_category'] = 'Blog Kategorisi';
$txt['blog_settings'] = 'Blog Ayarları';
$txt['blogControlPanel'] = 'Blog Kontrol Paneli';
$txt['blog_links'] = 'Linkler';
$txt['permissiongroup_blog'] = 'Blog';
$txt['permissionname_write_blog'] = 'Kendi bloğunu yapabilir';
$txt['permissionname_multiple_blogs'] = 'Birçok blog yapabilir';
$txt['permissionname_delete_own_blogs'] = 'Kendi bloglarını silebilir';
$txt['permissionname_blog_restrict_access'] = 'Blogunu/Bloglarını üye gruplarına göre sınırlandırabilir';
$txt['no_blogs'] = 'Hiç blog yok';
$txt['blog_index'] = 'Blog dizini';
$txt['view_blog_of_user'] = 'Bu üyenin Bloğuna bak.';
$txt['view_blogs_of_user'] = 'Bu üyenin Bloglarına bak.';
$txt['goToBlog'] = 'Bloğa git';
$txt['blog_removethis'] = 'Bunu sil';
$txt['go_to_cutoff'] = 'Kaldığın yerden okumaya devam et...';
$txt['only_blog_owner'] = 'Yalnızca blog sahibi yeni konu açabilir';


Title: Re: Blog
Post by: Joel-san on July 08, 2008, 04:42:45 PM
For me too it shows correctly the number of the comments but it doesn't actually show the comments. So far I have been able track the problem to Blog.template.php line 112.

if (!empty($modSettings['display_comments_blog'])) {

if (!empty($context[$post['id']]['comments'])) {

foreach ($context[$post['id']]['comments'] as $comment) {


$modSettings['display_comments_blog'] is always empty because display_comments_blog is stored in $context['blog_settings'] variable. Then comes the next problem: $context['post id xxx']['comments'] is always empty too. It would also seem no matter if I check or uncheck display comments checkbox $context['blog_settings']['display_comments_blog'] is always 1. However the value is changed in smf_blog_settings table so the error is definitely in some function that reads from the database. Maybe the table name is hard coded in that function. My table prefix is smf2_.

EDIT: Regarding the issue of $context['blog_settings']['display_comments_blog'] always being 1 I opened Blog.php and looked at the Blog function. I quickly found the reason in line 108.

'display_comments_blog' => !empty($temp['display_comments_blog']) ? $temp['display_comments_blog'] : 1,

No wonder it ends up being 1 every time. Change the line to this and it works.

'display_comments_blog' => !empty($temp['display_comments_blog']) ? $temp['display_comments_blog'] : 0,

While fixing that you should also fix enableRecentEntries and enableArchives.

num_recent_entries, max_topics_on_blog, max_length_topics, max_comments_per_topic and max_length_comments aren't going to work when setting 0 for no limit because 0 is treated as empty. Isset would be more approriate in this case.
Title: Re: Blog
Post by: Charles Hill on July 08, 2008, 06:55:55 PM
Thanks for all the help :)  I'll get the mod package updated with v1.11 later this evening and all these issues with be resolved.
Title: Re: Blog
Post by: Joel-san on July 08, 2008, 07:24:27 PM
Okay. Finally comments are appearing. Here are all the fixes I made.

Blog.template.php
line 112
Original ----------------------------------------
if (!empty($modSettings['display_comments_blog'])) {

New ----------------------------------------
if (!empty($context['blog_settings']['display_comments_blog'])) {


Blog.php
line 106–114
Original ----------------------------------------
'max_topics_on_blog' => !empty($temp['max_topics_on_blog']) ? $temp['max_topics_on_blog'] : 5,
'max_length_topics' => !empty($temp['max_length_topics']) ? $temp['max_length_topics'] : 2400,
'display_comments_blog' => !empty($temp['display_comments_blog']) ? $temp['display_comments_blog'] : 1,
'max_comments_per_topic' => !empty($temp['max_comments_per_topic']) ? $temp['max_comments_per_topic'] : 3,
'max_length_comments' => !empty($temp['max_length_comments']) ? $temp['max_length_comments'] : 500,
'enableRecentEntries' => !empty($temp['enableRecentEntries']) ? $temp['enableRecentEntries'] : 1,
'enableCategoryList' => !empty($temp['enableCategoryList']) ? $temp['enableCategoryList'] : 0,
'enableArchives' => !empty($temp['enableArchives']) ? $temp['enableArchives'] : 1,
'num_recent_entries' => !empty($temp['num_recent_entries']) ? $temp['num_recent_entries'] : 7,

New ----------------------------------------
'max_topics_on_blog' => isset($temp['max_topics_on_blog']) ? $temp['max_topics_on_blog'] : 5,
'max_length_topics' => isset($temp['max_length_topics']) ? $temp['max_length_topics'] : 2400,
'display_comments_blog' => !empty($temp['display_comments_blog']) ? $temp['display_comments_blog'] : 0,
'max_comments_per_topic' => isset($temp['max_comments_per_topic']) ? $temp['max_comments_per_topic'] : 3,
'max_length_comments' => isset($temp['max_length_comments']) ? $temp['max_length_comments'] : 500,
'enableRecentEntries' => !empty($temp['enableRecentEntries']) ? $temp['enableRecentEntries'] : 0,
'enableCategoryList' => !empty($temp['enableCategoryList']) ? $temp['enableCategoryList'] : 0,
'enableArchives' => !empty($temp['enableArchives']) ? $temp['enableArchives'] : 0,
'num_recent_entries' => isset($temp['num_recent_entries']) ? $temp['num_recent_entries'] : 7,

--------------------------------------------------------------------------------
line 751
Original ----------------------------------------
AND NOT ID_MSG = $exclude_message

New ----------------------------------------
AND ID_MSG != $exclude_message

--------------------------------------------------------------------------------
line 762
Original ----------------------------------------
AND NOT m.ID_MSG = $exclude_message

New ----------------------------------------
AND m.ID_MSG != $exclude_message


As I said comments are now showing up but there's still one issue to be solved. When you disable the comments from showing in the main blog page that actually disables them everywhere. You will not see the comments even if you view a single entry by clicking Read More. You need to set display_comments_blog to 1 and max_comments_per_topic and max_length_comments to 0 (no limit) as we are not in the main blog page but viewing a single entry.
Title: Re: Blog
Post by: Charles Hill on July 09, 2008, 12:04:21 AM
Thanks for the help, Joel-san.  I really appreciate it.  I fixed everything and tested it all on my dev site.  I am adding a link tree now just for the blog pages to help make navigation easier.  Once I am done with that I'll package it all up and test it on my default blank forum.  Thank you all for your patience.
Title: Re: Blog
Post by: Charles Hill on July 09, 2008, 01:37:51 AM
Just updated it to v1.11.  Hope there are no more problems ;D

About other languages:
I'll make additional zip files with translations available as soon as I get the time to compile them.

About additional functionality and/or add-on requests:
I'll make add-ons for the Blog Mod available in separate mod packages within the Blog Readme topic on my site and in the Blog Mod page on the Simple Machines mod site.
Title: Re: Blog
Post by: serge2 on July 09, 2008, 05:55:33 AM
I have this in my forum error log after installed 1.11:

8: Undefined index: extra_links
File: \Themes\default\languages\Stats.english.php



Thanks for the mod.
Title: Re: Blog
Post by: Joel-san on July 09, 2008, 07:21:26 AM
Well I'm sorry to say but comments aren't still not showing up. Here are what I did to fix it.

Code (Blog.php) Select
line 788
Original ----------------------------------------
AND NOT ID_MSG = $exclude_message

New ----------------------------------------
AND ID_MSG != $exclude_message

--------------------------------------------------------------------------------
line 799
Original ----------------------------------------
AND NOT ID_MSG = $exclude_message

New ----------------------------------------
AND ID_MSG != $exclude_message


As you can see these are the same fixes I posted earlier. Maybe you missed these accidentally.

When viewing a single entry comments were limited if max_length_comments was set to something. Fortunately it wasn't hard to fix that. Otherwise it was working great.

Code (Blog.php) Select
line 807
Original ----------------------------------------
if (isset($comment_length) && is_numeric($comment_length)) {

New ----------------------------------------
if (isset($comment_length) && is_numeric($comment_length) && empty($context['viewing_single_entry'])) {


I like the blog navigation tree. Could the forum navigation tree be replaced by the blog navigation tree when posting a new entry or a comment? After posting an entry or a comment the browser should show a single entry or return to then blog index depending on the "return to this topic" found in additional options. Currently it always returns back to the blog index.
Title: Re: Blog
Post by: Charles Hill on July 09, 2008, 10:16:12 AM
I fixed the comments issue in v1.11, Joel....

From getComments...
$rows = mysql_num_rows(db_query("
SELECT ID_MSG
FROM {$db_prefix}messages
WHERE ID_TOPIC = $topic
AND NOT ID_MSG = $exclude_message
ORDER BY posterTime DESC " . ((!empty($limit_comments) && empty($context['viewing_single_entry'])) ? "
LIMIT $limit_comments" : ''), __FILE__, __LINE__));


This makes it apply the limitation on how many comments to show only when seeing a topic and its comments on a blog's main page.

From Blog.template.php:
if (!empty($context['blog_settings']['display_comments_blog']) || !empty($context['viewing_single_entry'])) {

if (!empty($context[$post['id']]['comments'])) {

foreach ($context[$post['id']]['comments'] as $comment) {

This means that comments will be displayed if comments are enabled on a blog's main page OR if you are viewing a single entry.

QuoteI like the blog navigation tree. Could the forum navigation tree be replaced by the blog navigation tree when posting a new entry or a comment? After posting an entry or a comment the browser should show a single entry or return to then blog index depending on the "return to this topic" found in additional options. Currently it always returns back to the blog index.
Glad you like it :)  And I'll figure out a way to replace the forum's link tree with the blog link tree when posting and replying in blog boards.

edit----
Check the following changes made to Post.php and Post.template.php to make sure you are getting redirected properly after posting:
<file name="$themedir/Post.template.php">

<operation>

<search position="after"><![CDATA[<input type="submit" name="post"]]></search>

<add><![CDATA[', !empty($context['blogBoard']) ? '<input type="hidden" name="isblog" value="'. $context['blogBoard'] .'" />' : '', '
]]></add>

</operation>
</file>

<file name="$sourcedir/Post.php">

<operation>

<search position="after"><![CDATA[if (!empty($_POST['announce_topic']))]]></search>

<add><![CDATA[if (!empty($_POST['isblog']))
redirectexit('action=blog;blog='. $_POST['isblog']);

]]></add>

</operation>
</file>
Title: Re: Blog
Post by: Charles Hill on July 09, 2008, 10:32:32 AM
Quote from: serge2 on July 09, 2008, 05:55:33 AM
I have this in my forum error log after installed 1.11:

8: Undefined index: extra_links
File: \Themes\default\languages\Stats.english.php



Thanks for the mod.

in Blog.template.php......

FIND:
$context['extra_links']

REPLACE WITH:
', !empty($context['extra_links']) ? $context['extra_links'] : '', '

:)
Title: Re: Blog
Post by: Joel-san on July 09, 2008, 12:49:54 PM
Quote from: Charles Hill on July 09, 2008, 10:16:12 AMI fixed the comments issue in v1.11, Joel....
I noticed you applied all the other fixes but you didn't change the MySQL query. AND NOT ID_MSG = $exclude_message isn't working for me. It needs to be changed to AND ID_MSG != $exclude_message for the query to work.

Quote from: Charles Hill on July 09, 2008, 10:16:12 AMFrom getComments...
$rows = mysql_num_rows(db_query("
SELECT ID_MSG
FROM {$db_prefix}messages
WHERE ID_TOPIC = $topic
AND NOT ID_MSG = $exclude_message
ORDER BY posterTime DESC " . ((!empty($limit_comments) && empty($context['viewing_single_entry'])) ? "
LIMIT $limit_comments" : ''), __FILE__, __LINE__));


This makes it apply the limitation on how many comments to show only when seeing a topic and its comments on a blog's main page.
I guess I wasn't clear enough. All the comments are shown fine but character limiting on comments is still taking effect when viewing a single entry. Adding && empty($context['viewing_single_entry']) into the if clause before substr  takes care of it.

Quote from: Charles Hill on July 09, 2008, 10:16:12 AMedit----
Check the following changes made to Post.php and Post.template.php to make sure you are getting redirected properly after posting:
I'll check it out.
Title: Re: Blog
Post by: Joel-san on July 09, 2008, 04:11:46 PM
Quote from: Charles Hill on July 09, 2008, 10:16:12 AMedit----
Check the following changes made to Post.php and Post.template.php to make sure you are getting redirected properly after posting:
This is what I had in mind.

<file name="$sourcedir/Post.php">

      <operation>
     
<search position="after"><![CDATA[if (!empty($_POST['announce_topic']))]]></search>

<add><![CDATA[if (!empty($_POST['isblog'])) {
if(isset($_REQUEST['msg']) && !empty($_REQUEST['goback'])) {
redirectexit('action=blog;blog='. $_POST['isblog'] .';entry='. $topic .'#msg'. $_REQUEST['msg'], $context['browser']['is_ie']);
}
elseif(!empty($_REQUEST['goback'])) {
redirectexit('action=blog;blog='. $_POST['isblog'] .';entry='. $topic . '#last', $context['browser']['is_ie']);
}
else {
redirectexit('action=blog;blog='. $_POST['isblog']);
}
}
     
   ]]></add>

      </operation>
</file>


And...

Code (Blog.template.php) Select
line 53
Original ----------------------------------------
foreach ($context['posts'] as $post) {

echo '
<table border="0" cellspacing="1" cellpadding="4" class="bordercolor" width="100%">

New ----------------------------------------
foreach ($context['posts'] as $post) {

echo '
<a name="msg', $post['message_id'], '"></a>', !empty($context['viewing_single_entry']) && empty($context[$post['id']]['comments']) ? '<a name="last"></a>' : '';
echo '
<table border="0" cellspacing="1" cellpadding="4" class="bordercolor" width="100%">


--------------------------------------------------------------------------------
line 111
Original ----------------------------------------
foreach ($context[$post['id']]['comments'] as $comment) {

echo '
<table border="0" width="100%" cellspacing="1" cellpadding="4" class="bordercolor">

New ----------------------------------------
foreach ($context[$post['id']]['comments'] as $key => $comment) {

echo '
<a name="msg', $comment['message_id'], '"></a>', !empty($context['viewing_single_entry']) && $key + 1 == count($context[$post['id']]['comments']) ? '<a name="last"></a>' : '';
echo '
<table border="0" width="100%" cellspacing="1" cellpadding="4" class="bordercolor">


Now the browser will return back to the entry if "return back to topic" checkbox is checked in additional options. It will also use anchors to scroll to correct height. When you add an new entry or a new comment it will be anchored with "last". When modifying an entry or a comment message id will be used instead for anchoring.


Next we want to return back to the entry if a comment was deleted when viewing a single entry.

<file name="$sourcedir/RemoveTopic.php">

<operation>

<search position="replace"><![CDATA[// We want to redirect back to recent action.
if (isset($_REQUEST['recent']))
redirectexit('action=recent');
elseif ($full_topic)
redirectexit('board=' . $board . '.0');
else
redirectexit('topic=' . $topic . '.' . $_REQUEST['start']);]]></search>

<add><![CDATA[ // if this delete message request came from the blog page... redirect back to there
if (!empty($_REQUEST['blog'])) {
if(!empty($_REQUEST['entry'])) {
redirectexit('action=blog;blog='. $_REQUEST['blog'] .';entry='. $_REQUEST['entry']);
}
else {
redirectexit('action=blog;blog='. $_REQUEST['blog']);
}
}

else {
// We want to redirect back to recent action.
if (isset($_REQUEST['recent']))
redirectexit('action=recent');
elseif ($full_topic)
redirectexit('board=' . $board . '.0');
else
redirectexit('topic=' . $topic . '.' . $_REQUEST['start']);
}]]></add>

</operation>


And...

Code (Blog.template.php) Select
line 137
Original ----------------------------------------
// if they are allowed to delete the message, show a button for it
if ($comment['can_remove'])
echo '
<a href="', $scripturl, '?action=deletemsg;blog='. $context['blog_settings']['board_id'] .';topic=', $post['id'], '.0;msg=', $comment['message_id'], ';sesc=', $context['session_id'], '" onclick="return confirm(\'', $txt[154], '\');">', $delete_button, '</a>';

New ----------------------------------------
// if they are allowed to delete the message, show a button for it
if ($comment['can_remove']) {
if(!empty($context['viewing_single_entry'])) {
echo '
<a href="', $scripturl, '?action=deletemsg;blog='. $context['blog_settings']['board_id'] .';entry=', $post['id'], ';msg=', $comment['message_id'], ';sesc=', $context['session_id'], '" onclick="return confirm(\'', $txt[154], '\');">', $delete_button, '</a>';
}
else {
echo '
<a href="', $scripturl, '?action=deletemsg;blog='. $context['blog_settings']['board_id'] .';topic=', $post['id'], '.0;msg=', $comment['message_id'], ';sesc=', $context['session_id'], '" onclick="return confirm(\'', $txt[154], '\');">', $delete_button, '</a>';

}
}
Title: Re: Blog
Post by: computel on July 09, 2008, 04:24:04 PM
is there a fix for the comments not sure what I have to do or what changes are correct? Is there a new version?

Thanks
Title: Re: Blog
Post by: Joel-san on July 09, 2008, 04:38:00 PM
Quote from: computel on July 09, 2008, 04:24:04 PMis there a fix for the comments not sure what I have to do or what changes are correct? Is there a new version?

Thanks
If messages are not appearing and you're using 1.11 try patching Blog.php (found in Sources directory) with this.

Code (Blog.php) Select
line 788
Original ----------------------------------------
         AND NOT ID_MSG = $exclude_message

New ----------------------------------------
         AND ID_MSG != $exclude_message

--------------------------------------------------------------------------------
line 799
Original ----------------------------------------
         AND NOT ID_MSG = $exclude_message

New ----------------------------------------
         AND ID_MSG != $exclude_message
Title: Re: Blog
Post by: computel on July 09, 2008, 04:44:38 PM
I'm using the latest on and I hide the message from the main index. When you click on blog it shows the blogs and says 7 comments but no comments are showing up.
Title: Re: Blog
Post by: I Scream Cow on July 09, 2008, 05:41:26 PM
Not sure if you're familiar with the USER CP mod...but is there a certain way to put something in there so the member's blog CP can be in there instead of their old one?
Title: Re: Blog
Post by: cleanfiles on July 09, 2008, 05:58:19 PM
Hey guys,
I have 1.10 installed and I am having problems with the comments not showing, I see the issues have been sorted out in 1.11, but I was wondering what's the best way upgrade to the new package.
Should I uninstall the old version then install the new version, or is it easier to make the changes manually?
I have members with blogs already and I dont want them to have to start again.
Thanks.
Title: Re: Blog
Post by: computel on July 09, 2008, 06:24:16 PM
Issues seem to still exist in 1.11 as I unistalled my 1.10 and installed 1.11 and I still can't see the comments.



Quote from: cleanfiles on July 09, 2008, 05:58:19 PM
Hey guys,
I have 1.10 installed and I am having problems with the comments not showing, I see the issues have been sorted out in 1.11, but I was wondering what's the best way upgrade to the new package.
Should I uninstall the old version then install the new version, or is it easier to make the changes manually?
I have members with blogs already and I dont want them to have to start again.
Thanks.
Title: Re: Blog
Post by: fords8 on July 09, 2008, 07:16:49 PM
I wanted to let everyone know that the blog 1.11 is running great on one of my sites. I don't have any issues with comments.
Title: Re: Blog
Post by: Charles Hill on July 09, 2008, 08:17:58 PM
Yes I've tested the comments thoroughly on a blank forum.  No problems what so ever with v1.11 of this mod.  If you had a previous version (1.08 through 1.10) installed, and you uninstall then install 1.11 you will lose ZERO data.  Everything in your database tables will remain unchanged.  There were several things fixed from 1.10 to 1.11 so I think it'd be better to uninstall and install the newer version.
Title: Re: Blog
Post by: Charles Hill on July 09, 2008, 08:23:47 PM
Quote from: I Scream Cow on July 09, 2008, 05:41:26 PM
Not sure if you're familiar with the USER CP mod...but is there a certain way to put something in there so the member's blog CP can be in there instead of their old one?

No I am not familiar with that mod, but i suspect it modifies a ton of the Profile files in SMF.  I will look at it when I have time and see if I can write a tutorial on manually editing your profile files when User Profile Control Panel mod is installed.

edit----

There don't seem to be any bugs that are causing usability issues, so the next version will probably be the last version of the blog mod.  Minor improvements will be made taking into account suggestions you all have made (examples: blog link tree on Post pages when posting to a blog, redirect to entry page instead of blog page when posting new topics and replies).

Thought... would it be easier if I made patches instead of redoing the entire blog mod package?  That way you all wouldn't have to manually edit the entire install again.
Title: Re: Blog
Post by: cleanfiles on July 09, 2008, 10:01:20 PM
Quote from: Charles Hill on July 09, 2008, 08:23:47 PM
Thought... would it be easier if I made patches instead of redoing the entire blog mod package?  That way you all wouldn't have to manually edit the entire install again.
Sounds like a good idea to me. I am going to uninstall 1.10 and install 1.11 so fingers crossed.

Edit:
Installed 1.11 and all my bugs are gone, the improvements are spot on too. Awesome job m8, well done.
This is one of the most usefully mods I have installed.  :D   
Title: Re: Blog
Post by: computel on July 10, 2008, 04:43:11 PM
Uninstalled it and I still don't see the comments. Check out www.canadianracingonline.com/smf it says 12 comments but they don't show up but when you see them listed from the unread since last visit you see the comments but not when you click on blog from the menu bar.

Please help

Thanks


Quote from: Charles Hill on July 09, 2008, 08:17:58 PM
Yes I've tested the comments thoroughly on a blank forum.  No problems what so ever with v1.11 of this mod.  If you had a previous version (1.08 through 1.10) installed, and you uninstall then install 1.11 you will lose ZERO data.  Everything in your database tables will remain unchanged.  There were several things fixed from 1.10 to 1.11 so I think it'd be better to uninstall and install the newer version.
Title: Re: Blog
Post by: Charles Hill on July 10, 2008, 04:54:16 PM
Could you attach your Blog.php file please?
Title: Re: Blog
Post by: computel on July 10, 2008, 06:07:06 PM
Here is the blog.php attached.


Thanks
Title: Re: Blog
Post by: Charles Hill on July 10, 2008, 06:33:59 PM
There doesn't seem to be any problems with that Blog.php file.  Are you sure you have Display comments on main blog page checked?  Remember that each blog has its own settings.
Title: Re: Blog
Post by: computel on July 10, 2008, 08:13:09 PM
It is checked I checked it.

If you like I can make you a admin account and you can look at it.

It shows up in the forums if I don't hide the post on the index but not in the blog.

Thanks

Quote from: Charles Hill on July 10, 2008, 06:33:59 PM
There doesn't seem to be any problems with that Blog.php file.  Are you sure you have Display comments on main blog page checked?  Remember that each blog has its own settings.
Title: Re: Blog
Post by: Charles Hill on July 10, 2008, 11:02:33 PM
Could you make me an account that has all the blog permissions?  I don't need admin to check this.
Title: Re: Blog
Post by: computel on July 11, 2008, 03:46:14 AM
Here is a copy of the Blog.template.php you requested.

Thanks
Title: Re: Blog
Post by: Charles Hill on July 11, 2008, 04:46:02 AM
Are you getting any errors in your forum's error log?
Title: Re: Blog
Post by: Joel-san on July 11, 2008, 04:58:23 AM
I would still suggest that computel isn't seeing the comments because of the AND NOT in the MySQL querys in getComments function.
Title: Re: Blog
Post by: Charles Hill on July 11, 2008, 05:12:18 AM
That has nothing to do with it.  It's working perfectly on one of my blank forums.  He has a lot of mods installed.  I will still try to help him figure it out though.

Also, if you all would like to see what new stuff I'm up to...
http://dev.degreesofzero.com/Blog.php?blog=69

If you notice that page only displays the blog, and not any of the other stuff from the forum.  This is an added setting in the blog control panel.  The plan is to allow users to choose from several different custom blog themes (like word press and other blogging software).  How I did this was take Blog.php from the sources folder and modify it heavily, and I loaded SSI.php at the top.  It uses the member, security, permissions, etc systems from SMF.

The possibilities of this are limitless.  I am consulting with a graphics design person about him creating some blog templates for me.  Let me know what you all think :)
Title: Re: Blog
Post by: Joel-san on July 11, 2008, 05:21:30 AM
Quote from: Charles Hill on July 11, 2008, 05:12:18 AM
That has nothing to do with it.  It's working perfectly on one of my blank forums.  He has a lot of mods installed.  I will still try to help him figure it out though.
It may have. I have two servers. One is running MySQL 4.1 and the other 5.0. Your queries work perfectly in 5.0 but fail to work in 4.1. It would seem that 4.1 doesn't recognize NOT.

Quote from: Charles Hill on July 11, 2008, 05:12:18 AMAlso, if you all would like to see what new stuff I'm up to...
http://dev.degreesofzero.com/Blog.php?blog=69

If you notice that page only displays the blog, and not any of the other stuff from the forum.  This is an added setting in the blog control panel.  The plan is to allow users to choose from several different custom blog themes (like word press and other blogging software).  How I did this was take Blog.php from the sources folder and modify it heavily, and I loaded SSI.php at the top.  It uses the member, security, permissions, etc systems from SMF.

The possibilities of this are limitless.  I am consulting with a graphics design person about him creating some blog templates for me.  Let me know what you all think :)
Interesting idea. Welcome addition. It would fit perfectly for my site.
Title: Re: Blog
Post by: computel on July 11, 2008, 09:29:34 AM
how do I fix this?

Quote from: Joel-san on July 11, 2008, 04:58:23 AM
I would still suggest that computel isn't seeing the comments because of the AND NOT in the MySQL querys in getComments function.
Title: Re: Blog
Post by: computel on July 11, 2008, 09:34:37 AM
I turned on the error log and I saw this

http://www.canadianracingonline.com/smf/index.php?action=blog;blog=106 
8: Undefined index: extra_links
File: /home/canadian/public_html/smf/Themes/default/languages/Stats.english.php (eval?)
Line: 16


Quote from: Charles Hill on July 11, 2008, 04:46:02 AM
Are you getting any errors in your forum's error log?
Title: Re: Blog
Post by: Charles Hill on July 11, 2008, 10:12:02 AM
Alright let's try it with != instead of AND NOT :)

@computel...

Find both instances of the following (in getComments in Blog.php)
AND NOT ID_MSG = $exclude_message

Replace both instances with the following:
AND ID_MSG != $exclude_message

Title: Re: Blog
Post by: computel on July 11, 2008, 12:21:03 PM
There was only on instance in the blog.php and it didn't do a thing when it was changed.

Thanks

Quote from: Charles Hill on July 11, 2008, 10:12:02 AM
Alright let's try it with != instead of AND NOT :)

@computel...

Find both instances of the following (in getComments in Blog.php)
AND NOT ID_MSG = $exclude_message

Replace both instances with the following:
AND ID_MSG != $exclude_message


Title: Re: Blog
Post by: Charles Hill on July 11, 2008, 01:27:39 PM
Errr sorry

They are very similar.  Find:
AND NOT m.ID_MSG = $exclude_message

and replace it with:
AND m.ID_MSG != $exclude_message
Title: Re: Blog
Post by: computel on July 11, 2008, 04:55:34 PM
That did the trick thank you.



Quote from: Charles Hill on July 11, 2008, 01:27:39 PM
Errr sorry

They are very similar.  Find:
AND NOT m.ID_MSG = $exclude_message

and replace it with:
AND m.ID_MSG != $exclude_message
Title: Re: Blog
Post by: computel on July 11, 2008, 09:00:58 PM
Comments are working now but I notice this in the error log

I turned on the error log and I saw this

http://www.canadianracingonline.com/smf/index.php?action=blog;blog=106 
8: Undefined index: extra_links
File: /home/canadian/public_html/smf/Themes/default/languages/Stats.english.php (eval?)
Line: 16

what does this mean and how do I fix that.

Thanks
Title: Re: Blog
Post by: Charles Hill on July 12, 2008, 02:04:17 AM
In Blog.template.php there is a context variable....
$context['extra_links']

replace this with
!empty($context['extra_links']) ? $context['extra_links'] : ''
Title: Re: Blog
Post by: computel on July 12, 2008, 08:22:12 AM
That messes up the template. the blog goes really small right beside the right hand archives.

Thanks


Quote from: Charles Hill on July 12, 2008, 02:04:17 AM
In Blog.template.php there is a context variable....
$context['extra_links']

replace this with
!empty($context['extra_links']) ? $context['extra_links'] : ''
Title: Re: Blog
Post by: ilikeitalot on July 12, 2008, 10:18:16 PM
Thanks for all the great work Charles.  I just installed and tested v1.11 and it works great.  One thing I was wondering though... I had asked this before, but it's not showing avatars beside each blog on the blog index page.  It would be nice if it did that.  Would add a little more color to the listing.

Edit:  Sorry, just one more request.  Could you make the "who's online" page show people who are viewing a blog or the blog index?  Right now it just shows "Unknown Action".

Edit: Hmm nvm, I have yet another request lol.  Here's a list of all of em:


BTW, I agree about releasing new blog features as a separate package.  I've heavily customized mine already, so uninstalling and reinstalling would not be much fun.
Title: Re: Blog
Post by: Charles Hill on July 13, 2008, 07:24:13 PM
Quote from: computel on July 12, 2008, 08:22:12 AM
That messes up the template. the blog goes really small right beside the right hand archives.

Thanks

Sorry about that.. the periods were messing it up... find the following:
. $context['extra_links'] .

Replace with the following:
, !empty($context['extra_links']) ? $context['extra_links'] : '',

@ilikeitalot
Thanks for all the great suggestions.  I will add them in for the v1.12 :)   And I'll make a patch version for 1.11 to 1.12 to make it easier for those who have it installed already.
Title: Re: Blog
Post by: computel on July 13, 2008, 07:42:22 PM
Thanks that did the trick.

Quote from: Charles Hill on July 13, 2008, 07:24:13 PM
Quote from: computel on July 12, 2008, 08:22:12 AM
That messes up the template. the blog goes really small right beside the right hand archives.

Thanks

Sorry about that.. the periods were messing it up... find the following:
. $context['extra_links'] .

Replace with the following:
, !empty($context['extra_links']) ? $context['extra_links'] : '',

@ilikeitalot
Thanks for all the great suggestions.  I will add them in for the v1.12 :)   And I'll make a patch version for 1.11 to 1.12 to make it easier for those who have it installed already.
Title: Re: Blog
Post by: cleanfiles on July 14, 2008, 03:38:03 AM
@ilikeitalot, in your Who.english.php   add this string

$txt['whoall_blog'] = 'Viewing <a href="'.$scripturl.'?action=blog">The Blogs</a>.';

This will display where members are when members are viewing the blog pages.
Title: Re: Blog
Post by: Charles Hill on July 14, 2008, 06:44:03 PM
Quote from: cleanfiles on July 14, 2008, 03:38:03 AM
@ilikeitalot, in your Who.english.php   add this string

$txt['whoall_blog'] = 'Viewing <a href="'.$scripturl.'?action=blog">The Blogs</a>.';

This will display where members are when members are viewing the blog pages.

I think ilikeitalot was looking for something more specific.  I worked on this a bit today and I got the Who.php modifications 90% done.  Only thing is... if a blog is pseudo-independent (http://dev.degreesofzero.com/Blog.php?blog=69) from the rest of the forum, you will only be able to see if a user is viewing a blog, not what they are viewing in that blog.  I'll work on it some more, though.  I added blog views below number of topics and comments on the blog index, also.  I think I'll add another optional window on the side bar of blogs to display that blog's statistics.

I'm going to have people with graphic design skills make some templates for the pseudo-independent blogs.  These templates will look as good or better than the templates available with other blog software.  The default blog template will be free with the software.  Additional templates will be available for purchase from my site as soon as they become available and have been thoroughly tested.  I haven't settled on any details yet.
Title: Re: Blog
Post by: cleanfiles on July 14, 2008, 09:58:34 PM
I cant wait till you get it all done, i will be starting a new smf site soon (waiting for the new smf and a couple of other bits and pieces). The blog will be one of the main features of the site its awesome.
Title: Re: Blog
Post by: ybn1197 on July 15, 2008, 09:21:32 AM
Quote from: chrisb on June 27, 2008, 05:41:13 PM
We have installed the mod on a brand new forum, then went into features and options and we are unable to find the blog mod appearing in the forum at all,

Is there anywhere else it should appear as we are unable to activate the blog mod on the test forum.
Was this ever resolved? I'm having the same problem. I installed it into a vanilla test environment (no other mods, default template) but I don't see the Blog Control panel in the menu. I double checked the database and I see the settings in the smf_settings table but I can't access anything.
Title: Re: Blog
Post by: kizley on July 15, 2008, 12:40:11 PM
I have installed Blog mod,i can see the tag of blog ,but when i click that tag there comes nothing except blank space,no option where to start ,where to write etc etc.
Title: Re: Blog
Post by: Charles Hill on July 15, 2008, 01:12:09 PM
Quote from: ybn1197 on July 15, 2008, 09:21:32 AM
Quote from: chrisb on June 27, 2008, 05:41:13 PM
We have installed the mod on a brand new forum, then went into features and options and we are unable to find the blog mod appearing in the forum at all,

Is there anywhere else it should appear as we are unable to activate the blog mod on the test forum.
Was this ever resolved? I'm having the same problem. I installed it into a vanilla test environment (no other mods, default template) but I don't see the Blog Control panel in the menu. I double checked the database and I see the settings in the smf_settings table but I can't access anything.
Make sure the txt strings were added properly to your forum's language files.  Look at the install.xml file that came with the package and compare the changes made to your language files.

Quote from: kizley on July 15, 2008, 12:40:11 PM
I have installed Blog mod,i can see the tag of blog ,but when i click that tag there comes nothing except blank space,no option where to start ,where to write etc etc.

Go to your admin area.  Then go to Blog Control Panel (Configuration >> Blog Control Panel).  From here you can set the necessary settings and set up your blog or blogs.
Title: Re: Blog: Community
Post by: ybn1197 on July 15, 2008, 03:19:41 PM
Quote from: Charles Hill on July 15, 2008, 01:12:09 PM
Quote from: ybn1197 on July 15, 2008, 09:21:32 AM
Quote from: chrisb on June 27, 2008, 05:41:13 PM
We have installed the mod on a brand new forum, then went into features and options and we are unable to find the blog mod appearing in the forum at all,

Is there anywhere else it should appear as we are unable to activate the blog mod on the test forum.
Was this ever resolved? I'm having the same problem. I installed it into a vanilla test environment (no other mods, default template) but I don't see the Blog Control panel in the menu. I double checked the database and I see the settings in the smf_settings table but I can't access anything.
Make sure the txt strings were added properly to your forum's language files.  Look at the install.xml file that came with the package and compare the changes made to your language files.
Thats what it was. I was installing the package through the admin control panel and it was reporting the package installed properly but the link wasn't showing. Turns out, the language files were right protected and not being changed.
Title: Re: Blog: Community
Post by: tom155 on July 15, 2008, 05:36:14 PM
Great mod works good but I wanted to know like most mods you have to uninstall older version to install new version in doing so will the blogs be lost if I uninstall or do I have to manually move the blog boards in Admin CP then make them blog boarsds again with updated blog mod?

Quote from: Charles Hill on June 16, 2008, 03:33:34 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1209)

Name: Blog: Community
Version: 1.11
Author: charlesh
Email: [email protected]

- - - - - - - - - - - - - - - - - - - - - - - - - - -

Description:

Powerful and flexible blog add-on for your Simple Machines forum.  Tons of options and features for one or an infinite number of blogs.  Use the multiple blogs mode to turn your forum into a blogging community or be selfish and just have your own blog.

- - - - - - - - - - - - - - - - - - - - - - - - - - -

Features:

Modes...
- Disabled, Enabled (standard), Enabled (hidden), Enabled (multiple blogs)

Multiple Blogs Mode...
- All users you give the write_blog permission to can make their own blog
- All users you give both the write_blog and multiple_blogs permissions can make more than one blog
- Set maximum # of blogs each user can make

Categories...
- Enable / disable the Categories window on the right side of the blog
- Create any number of categories
- Reorder those categories however you want
- Edit category names
- Delete categories

Archives...
- Enable / disable the Archives window on the right side of the blog
- It displays all the month/year combinations that have at least one topic in them (excluding the first month with topics in it or just the current month)

Links...
- Enable / disable the Links window on the right side of the blog
- Create any number of links
- Reorder those links however you want
- Edit links names
- Delete links

Friends Of...
- Enable / disable the Friends Of window on the right side of the blog
- Displays a list of the blogs owned by users on your buddy list

Various settings...
- Blog name
- Blog description
- Justify side windows (right or left)
- show comments on blog page
- max # of topics to display on the main blog page
- max # of comments to display per topic
- max length of topics
- max length of comments

- - - - - - - - - - - - - - - - - - - - - - - - - - -

Files Modified:

index.php
Sources/BoardIndex.php
Sources/ManagePermissions.php
Sources/Post.php
Sources/Profile.php
Sources/RemoveTopic.php
Sources/Subs.php
Sources/Subs-Boards.php
Sources/Subs-Post.php
Themes/index.template.php
Themes/ManageBoards.template.php
Themes/Post.template.php
Themes/Profile.template.php
Themes/style.css
Themes/languages/index.english.php


Database changes via add_settings.php

- - - - - - - - - - - - - - - - - - - - - - - - - - -

Instructions:

Uninstall any old version of this mod before installing a new version.

Upload the zip file via the package manager (Admin -> Packages -> Download Packages) then apply the mod.

- - - - - - - - - - - - - - - - - - - - - - - - - - -

Custom Themes:

If you are using a theme other than the default theme, install the mod through the package manager then follow the install.xml file to figure out what changes you must make to your theme's .template.php files.

- - - - - - - - - - - - - - - - - - - - - - - - - - -

Version Info:

1.05-
Bug fixes

1.06-
Fixed issue where you couldn't change the blog category of topics in the modify post page

1.07-
Really fixed that blog category select issue this time

1.08-
*new* Blog Mode (multiple blogs)
*new* Permissions: write_blog, multiple_blogs, blog_restrict_access, delete_own_blogs
*new* Blog Index (when in multiple blogs mode) ... Lists all blogs on your site
*new* Blog Control Panel ... Located in Profile and Admin area (admins only)
*new* Convert existing non-blog boards to blogs (for admin-only)... Located in Admin >> Blog Control Panel
*new* Global Blog Settings ... hide blogs on board index, maximum # of blogs per user, category for new blog boards... Located in Admin >> Blog Control Panel
*new* Links window
*new* Friends Of window
*improved* All actions made from a blog take you back to that blog (remove, delete, modify, post new)
*fixed* minor bugs
*removed* Features and Options >> Blog Settings

1.09-
*fixed* When "Friends Of" was enabled and the blog owner's buddy list was empty, there was a mysql error on the blog page
*fixed* Post actions in a blog board redirect you back to the blog page for that blog
*fixed* blog_restrict_access form in Blog Control Panel

1.10-
*fixed* non-admins were unable to create blog boards via their blog control panel (just have to replace the old template_blogControlPanel function if you had v1.09 installed)

1.11-
*improved* blog link tree added in place of Back to Blog Index link to make navigation easier
*fixed* several small bugs

- - - - - - - - - - - - - - - - - - - - - - - - - - -

Notes:

Please post comments, suggestions, bugs at http://degreesofzero.com/index.php?board=6.0 or http://www.simplemachines.org/community/index.php?topic=244848.0

See this mod in action at:
http://www.degreesofzero.com

This Blog Mod was developed by Charles Hill (http://degreesofzero.com/index.php?action=profile;u=1) for use in conjunction with Simple Machines Forum (http://www.simplemachines.org).

Redistributing the code of the Blog Mod without express written permission is prohibited.  All rights are reserved by the developer.

Check out Degrees of Zero (http://degreesofzero.com) for the latest developments with this and other projects.


- - - - - - - - - - - - - - - - - - - - - - - - - - -
Title: Re: Blog: Community
Post by: Charles Hill on July 15, 2008, 06:49:31 PM
None of the data already in your database will be altered when you uninstall/install this mod.
Title: Re: Blog: Community
Post by: Sweetwater on July 15, 2008, 08:35:45 PM
Hi Charles,

I just loaded the newer version & it works fine. The extra features requested earlier in the string are great. Will post any other suggestions as they come to mind.

Thanks for a great mod.

Sweetwater
Title: Re: Blog: Community
Post by: Charles Hill on July 15, 2008, 10:51:20 PM
Quote from: ghostfreakHey there,

Would you be able to create a blog mod that would allow a user to start their own (say within their profile) without having to turn the whole board into a blog?

Thanks,
Chris.

First off... please don't pm me for support.

I will answer your question, because I'm nice like that... however, all future unsolicited, support-related private messages will be ignored.  If you have a question or questions related to this mod please post them in a topic devoted to support for this mod (like this topic or the Blog board on degreesofzero.com).

Now for your answer...

When you enable the blog mod in multiple blogs mode, all users who have the write_blog permission can make their own blog via their blog control panel (Profile > Modify Profile > Blog Control Panel).  When they create a new blog they are actually creating a new board.  As an admin, you have access to some extra admin-only options that let you convert existing non-blog boards to blogs (Admin > Configuration > Blog Control Panel).


edit---

@Sweetwater
Glad you like the mod :)  have you had a chance to check out the latest things I've done on my dev site?
Title: Re: Blog: Community
Post by: kizley on July 16, 2008, 07:36:46 AM
Quote from: Charles Hill on July 15, 2008, 01:12:09 PM
[
Quote from: kizley on July 15, 2008, 12:40:11 PM
I have installed Blog mod,i can see the tag of blog ,but when i click that tag there comes nothing except blank space,no option where to start ,where to write etc etc.

Go to your admin area.  Then go to Blog Control Panel (Configuration >> Blog Control Panel).  From here you can set the necessary settings and set up your blog or blogs.
[/quote]


Thanks,i did the same,but at Admin panel> features and layout>blog categories.
i can only view blog category not setting .I have checked everything there is nothing to start with :sad:
Title: Re: Blog: Community
Post by: damnitmike on July 16, 2008, 08:48:56 AM
I think many are anxious about this mod Charles...I've been holding off installing it, because your making so many improvements to it... I can wait....

I might suggest checking out the Blog Mod for PHPBB for more ideas........I noticed you were working on possible templates....I know that mod uses javascripting to allow its blog owner to change the color theme with a click and a choice of 4 colors........

I have it set up on a dead site, if you wish to check it out....

Very nice mod.....I know your proud of it!

Nice work!



Title: Re: Blog: Community
Post by: Charles Hill on July 16, 2008, 10:28:14 AM
@kizley
Sounds like you are using an old version of the mod.  Try v1.11

@damnitmike
v1.11 has no known issues at all.  I will be making a patch mod package that will update v1.11 to 1.12 when I release v1.12.  Beyond v1.12 I will be releasing add-ons which will be very specialized additions to the blog software.  The way I am handling blog templates is not with javascript (as some people have javascript disabled in their browsers).  Everything is done with php.  Users will first have to check "Make blog appear on its own page" and then select which blog theme they would like their blog to use in their blog control panel.  Each of their blogs can use a different blog theme (or they can use the same if they want to be boring ;))
Title: Re: Blog: Community
Post by: damnitmike on July 16, 2008, 02:39:53 PM
QuoteBeyond v1.12 I will be releasing add-ons

Add-ons.....very cool. I am guessing things like, your own Shoutbox? The ability to add Widgets perhaps? Calenders?

I am guessing....I really have no idea....

But it doesn't matter, I am certain your going to do it up right!

Thanks again, and nice job!

Title: Re: Blog: Community
Post by: digit on July 17, 2008, 08:22:48 AM
Ok, I am having some serious issues.

1. I don't see anywhere where you can set who can view blogs.  When someone creates a new blog, only regular members, global moderators, and admins can view it.  My Charter Members, who are the only ones I am allowing to create blogs, can not view any others!  So, I am having to manually edit who has access each time a new blog is created. 

2.  By default, after manually granting access to view the blogs, any user can create new topics in any blog!   I have it set not to show blogs on the forum homepage, but the new entries still appear in the recent results, so people can still see the boards, and still have access to New Topic links! It seems to me to grant the owner of the blog the ability to post new topics, while restricting that ability to everyone else, you would have to create a new membergroup... <-- not true - I tested it - only blog owners can post new topics - even when viewing the board. (phew!)

Thanks in advance.

p.s., what is the "Friends Of" feature, and how do I use it?


Title: Re: Blog: Community
Post by: Charles Hill on July 17, 2008, 12:49:30 PM
@digit...
Please do not pm me for support

1.  There is a permission blog_restrict_access that allows users to set who can view their blog(s) (by membergroup).  There is no global setting for the default member groups that can view any/all blogs.  I will add this option to the admin blog control panel for the next version.
Title: Re: Blog: Community
Post by: digit on July 17, 2008, 01:04:49 PM
Thanks - looking forward to it - sorry about the flurry of pm's  :P
Title: Re: Blog: Community
Post by: Garry1953 on July 17, 2008, 07:31:28 PM
I just installed it...
Works fine.
Thanks
Title: Re: Blog: Community
Post by: digit on July 18, 2008, 01:12:16 AM
I'd like to know what the Friends feature is all about.

I don't see anyway to add friends, and it doesn't display buddies.
Title: Re: Blog: Community
Post by: Charles Hill on July 18, 2008, 01:17:55 AM
Oh yes, sorry.  The friends window displays a list of links to the blogs of your buddies.  If you have no buddies or if none of your buddies has a blog, then nothing will be displayed.

I guess  I should add some little question mark links that open up info windows to help explain stuff like that in your blog control panel.
Title: Re: Blog: Community
Post by: digit on July 18, 2008, 01:36:11 AM
Ok, that feature is not working here on my end.  I just tested it.

Created new account, created blog, added that new user to my buddy list, as that user, added me to his buddy list, enabled the friends window, but nothing appeared under the friends header.

Also, sn't there a way to make new blogs visible to ALL membergroups by default?  It's a pain granting access to blogs to my Charter Member each time a new blog is created.

Thanks.
Title: Re: Blog: Community
Post by: Charles Hill on July 18, 2008, 02:02:51 AM
That buddy must ALSO have a blog.

Yes it is possible to allow the admin to set the default member group permissions for new blogs.  I'm adding that to the next version.  You can see the next version while I work on it at http://dev.degreesofzero.com/index.php  (username: test  password: test)
Title: Re: Blog: Community
Post by: digit on July 18, 2008, 02:21:18 AM
Quote from: Charles Hill on July 18, 2008, 02:02:51 AM
That buddy must ALSO have a blog.

I did that as well in my test.   :(
Title: Re: Blog: Community
Post by: Charles Hill on July 18, 2008, 02:33:23 AM
If you look in the first blog listed on my dev site's blog index, you will notice the Friends window on the left.  You must have a buddy that has at least one blog for it to show anything.
Title: Re: Blog: Community
Post by: digit on July 18, 2008, 02:55:12 AM
ok, well, I might have other issues.

1. I just created a new account... 

2. then with that new user account, I created a new blog.

3. I posted a new message. (added me to the buddy list, went into admin account, added that new user to my buddy list - still no friend in my list)

4. I went back into the profile and there was no "Go to blog" link.

5.  So, I clicked on "initialize blog" again. (even though in the admin area I have the blog limit set to 1).

6.  Went through the same process...  created blog, posted new message,  etc.)

7. Looked in blog list and there were TWO blogs for the new user.  THIS time, in the 2nd blog, I, the admin, appeared in the friends window, but the new user was not in my window.

I noticed someone else created two blogs yesteRday too.

Sigh.

If you feel like testing it on my system, let me know.



Title: Re: Blog: Community
Post by: wizzie on July 18, 2008, 07:17:18 AM
Hi guys
I've installed version 1.11 on smf 1.5 everything looks ok, but when I go to a profile all I get is this

Fatal error: Cannot redeclare blogcontrolpanel() (previously declared in /home/valecouk/public_html/forums/Sources/Profile.php:3082) in /home/valecouk/public_html/forums/Sources/Profile.php on line 4017

Also there are two blog entries in the menu bar at the top

any ideas

Thanks
graham
Title: Re: Blog: Community
Post by: Charles Hill on July 18, 2008, 09:57:16 AM
Quote from: wizzie on July 18, 2008, 07:17:18 AM
Hi guys
I've installed version 1.11 on smf 1.5 everything looks ok, but when I go to a profile all I get is this

Fatal error: Cannot redeclare blogcontrolpanel() (previously declared in /home/valecouk/public_html/forums/Sources/Profile.php:3082) in /home/valecouk/public_html/forums/Sources/Profile.php on line 4017

Also there are two blog entries in the menu bar at the top

any ideas

Thanks
graham

That means there are two instances of the function declaration for blogControlPanel($memID)

Open Sources/Profile.php and delete one of the instances.  I dont know what you are referring to when you say "there are two blog entries in the menu bar at the top"
Title: Re: Blog: Community
Post by: wizzie on July 18, 2008, 11:16:19 AM
Hi
Sorry to be a pest, but which code should I remove?

Thanks
Graham
Title: Re: Blog: Community
Post by: Charles Hill on July 18, 2008, 01:58:38 PM
One entire instance of the function declaration blogControlPanel in Sources/Profile.php
Title: Re: Blog: Community
Post by: wizzie on July 19, 2008, 08:19:19 AM
Hi
I've looked at profile.php, but could you please tell me what code to look for?

the two blog entries are in the menu bar with home, search, profile etc

many thanks
Graham
Title: Re: Blog: Community
Post by: rgarrison on July 19, 2008, 12:44:13 PM
Quote from: Charles Hill on July 08, 2008, 03:17:29 AM
Yes once 2.0 goes final.

I look forward to seeing this mod for 2.0  if you need a production 2.0 board to test on let me know.
Title: Re: Blog: Community
Post by: Charles Hill on July 19, 2008, 01:24:23 PM
Quote from: wizzie on July 19, 2008, 08:19:19 AM
Hi
I've looked at profile.php, but could you please tell me what code to look for?

the two blog entries are in the menu bar with home, search, profile etc

many thanks
Graham
Sounds like you installed the mod twice.  You need to find:
function blogControlPanel($memID)

make sure you delete everything within its brackets too
Title: Re: Blog: Community
Post by: theglobe on July 19, 2008, 05:43:31 PM
OK, how do you create blogs for individual nonadmin members?
Title: Re: Blog: Community
Post by: Charles Hill on July 19, 2008, 05:55:02 PM
Quote from: theglobe on July 19, 2008, 05:43:31 PM
OK, how do you create blogs for individual nonadmin members?
Enable blog in multiple blogs mode (Admin > Blog Control Panel > Main)
Give the write_blog permission to the member group(s) you want to be able to create their own blogs.

They will now be able to make their own blogs via their Profile > Blog Control Panel
Title: Re: Blog: Community
Post by: Kimmie on July 21, 2008, 01:26:43 AM
does anyone have this installed and fully functioning so I could see it in action before I install it? 
Title: Re: Blog: Community
Post by: Charles Hill on July 21, 2008, 02:10:42 AM
http://degreesofzero.com  ;)   That's using a beta of 1.12 though.

http://maia-alta.snowweb.info  is someone's site that has 1.11 installed
Title: Re: Blog: Community
Post by: digit on July 21, 2008, 03:39:50 AM
this release is buuuuugy!

from one of my users....... today....... (note my earlier post....)

"I created a Blog called "BeachBumm's Hunt Blog" and made an entry.  The next day I attempted to access it to add a new topic.  In the control panel it said I have not initialized my blog yet.  I should have known better, but not knowing what to do, I clicked it and I now have 2 blogs.  I posted a new topic to my new blog called "BeachBumm's Blog".  I have tried several times to access my first blog but can't.  What is even more weird than this is . . . . people were able to make comments on my first blog with no problems, but nobody can comment on my new blog.  Obviously, I would like to keep my original blog.  Can you please let me know what my options are?  I can't have 2 blogs and my current one, nobody can leave comments."

this, with multiple blogs on, and the limit set to 1.
Title: Re: Blog: Community
Post by: Charles Hill on July 21, 2008, 04:11:37 AM
I just tested it with no problems.  Are you sure you installed it properly?


edit-
I just ran through the possible sources of such a bug for you.... Look at your ManageBoards.template.php and ManageBoards.php.  Make sure whatever was done to those files by the install.xml file in the Blog mod package was done properly.
Title: Re: Blog: Community
Post by: LosCatmanos on July 21, 2008, 11:10:59 AM
Hi there!

I am installing this mod right now, but I encounter a problem :( I install it manualy, and in the file ./Sources/RemoveTopic.php I can't find the code which I must replace:
// We want to redirect back to recent action.
if (isset($_REQUEST['recent']))
      redirectexit('action=recent');
elseif ($full_topic)
      redirectexit('board=' . $board . '.0');
else
      redirectexit('topic=' . $topic . '.' . $_REQUEST['start']);


Can anyone help me, please?

The version of my SMF is 1.1.4, I know that this mod is for version 1.1.5, but all files could be modify in right way. This is the last step.
Title: Re: Blog: Community
Post by: Charles Hill on July 21, 2008, 11:48:36 AM
@LosCatmanos
That code can be found at the end of the function DeleteMessage() in Sources/RemoveTopic.php
Title: Re: Blog: Community
Post by: LosCatmanos on July 21, 2008, 12:20:52 PM
So this is the code:

function DeleteMessage()

{

global $ID_MEMBER, $db_prefix, $topic, $board, $modSettings;



checkSession('get');



$_REQUEST['msg'] = (int) $_REQUEST['msg'];



$request = db_query("

SELECT t.ID_MEMBER_STARTED, m.ID_MEMBER, m.subject, m.posterTime

FROM ({$db_prefix}topics AS t, {$db_prefix}messages AS m)

WHERE t.ID_TOPIC = $topic

AND m.ID_TOPIC = $topic

AND m.ID_MSG = $_REQUEST[msg]

LIMIT 1", __FILE__, __LINE__);

list ($starter, $poster, $subject, $post_time) = mysql_fetch_row($request);

mysql_free_result($request);



if ($poster == $ID_MEMBER)

{

if (!allowedTo('delete_own'))

{

if ($starter == $ID_MEMBER && !allowedTo('delete_any'))

isAllowedTo('delete_replies');

elseif (!allowedTo('delete_any'))

isAllowedTo('delete_own');

}

elseif (!allowedTo('delete_any') && ($starter != $ID_MEMBER || !allowedTo('delete_replies')) && !empty($modSettings['edit_disable_time']) && $post_time + $modSettings['edit_disable_time'] * 60 < time())

fatal_lang_error('modify_post_time_passed', false);

}

elseif ($starter == $ID_MEMBER && !allowedTo('delete_any'))

isAllowedTo('delete_replies');

else

isAllowedTo('delete_any');



// If the full topic was removed go back to the board.

$full_topic = removeMessage($_REQUEST['msg']);



if (allowedTo('delete_any') && (!allowedTo('delete_own') || $poster != $ID_MEMBER))

logAction('delete', array('topic' => $topic, 'subject' => $subject, 'member' => $starter));



if ($full_topic)

redirectexit('board=' . $board . '.0');

else

redirectexit('topic=' . $topic . '.' . $_REQUEST['start']);

}


Please, could you tell me, how should I edit it?


And the second query, this code:
redirectexit('board=' . $board . '.0');
is in the file twice. Should I modify both?
Title: Re: Blog: Community
Post by: Charles Hill on July 21, 2008, 01:17:25 PM
find the following:
if ($full_topic)

      redirectexit('board=' . $board . '.0');

   else

      redirectexit('topic=' . $topic . '.' . $_REQUEST['start']);


replace with the following:
// if this delete message request came from the blog page... redirect back to there
if (!empty($_REQUEST['blog']))
redirectexit('action=blog;blog='. $_REQUEST['blog'] .';entry='. $topic);
else {
if ($full_topic)
redirectexit('board=' . $board . '.0');
else
redirectexit('topic=' . $topic . '.' . $_REQUEST['start']);
}
Title: Re: Blog: Community
Post by: MoreBloodWine on July 21, 2008, 05:50:10 PM
Great mod but a couple of things...  testing on default theme 1.1.5

1. Is there a way to have a community blog where anyone can post to it. This way you dont need individual userblogs.

2. When you start a new blog theres the Blog Category option, if you dont have categories enabled can you add a permission that hides the Blog Category option.

3. As seen in the other pic thats a TP recent topic side bar, could you add support for that like the forum where it hides the recent blogs / posts made ?

That should be it for now, but the main thing is the community blog. For those that want a blog which anyone on their forum can post to assuming they have the permission. This way you dont need individual user blogs. I hope all this makes sense but if I can think of anything else I'll be sure to post.

Edit:

Unchecking (Enable list of most Recent Entries) doesnt do anything, the box is still there with the recent posts. The one thing that does work with the recent box is this (Maximum number of recent entries to show).
Title: Re: Blog: Community
Post by: AlphaHot1 on July 21, 2008, 07:22:48 PM
I have a couple of issues (probabily installation related... I've messed up a bit ;)).

Only admin can create blog, users have no blog control panel in their profile.
I've created an admin blog, and if I try to reply from a regular user, I get the following errors...


mr.Y   Today at 00:52:15 
http://italianlair.com/test/index.php?pretty;board=sunbeam\'s-blog-3;topic=asd-1040.0&amp;action=post;num_replies=0 
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 '' at line 4
File: /xxx/italianlair.com/home/html/test/Sources/Post.php
Line: 269

mr.Y   Today at 00:52:15 
http://italianlair.com/test/index.php?pretty;board=sunbeam\'s-blog-3;topic=asd-1040.0&amp;action=post;num_replies=0 
8: Undefined variable: boardID
File: /xxx/italianlair.com/home/html/test/Sources/Post.php
Line: 226


Obviously something went wrong here, I attach my post.php just in case.

...

and a filter for pretty URLs would be great!

Thanks for your work :)
Title: Re: Blog: Community
Post by: Joel-san on July 22, 2008, 04:51:59 PM
Can you give some ETA on when you will get the SSI thing out of the oven?
Title: Re: Blog: Community
Post by: Charles Hill on July 22, 2008, 05:01:56 PM
That'll come in the next version.  Next version won't be out for at least a couple weeks, because I want to have my store up and running with a few add-ons / custom SSI blog themes available.
Title: Re: Blog: Community
Post by: bizref on July 23, 2008, 05:25:43 PM
Hi -- I've installed the mod and set up a test blog that shows up in my Admin panel in blog format (so cool!) and also on my Forum board as the correct blog title and location, but when I click on it to enter the blog, the topics show up in the Forum format instead of in the blog format, as it appears in the Admin panel.  Thoughts?

I haven't customized anything about my forum's theme other than the colors and the css for the header of the site ... www.allaboutdarien.com/forum
Title: Re: Blog: Community
Post by: Charles Hill on July 23, 2008, 08:11:27 PM
In v1.12, you won't be able to view blog boards in normal board format.  In v1.11, you have to access a blog board via the blog page (index.php?action=blog;blog=BLOGID)

Your blog's blog page is... http://www.allaboutdarien.com/forum/index.php?action=blog;blog=80
Title: Re: Blog: Community
Post by: MoreBloodWine on July 23, 2008, 08:42:19 PM
I'd stil llike to see a community blog, somethign everyone can post to instead of letting everyone have their own blog. That and a "fix" for hiding blog posts from the recent block on tiny portal.
Title: Re: Blog: Community
Post by: Charles Hill on July 23, 2008, 09:42:15 PM
I'll take a look at tiny portal eventually to make the two more compatible.

I think I said somewhere already that I will be adding the ability to set posting rights for each blog much like viewing rights.  You'll be able to restrict posting rights based on member group.
Title: Re: Blog: Community
Post by: LosCatmanos on July 24, 2008, 09:10:49 AM
Charles Hill: Thank you very much!

But, I have two problems:

If I want post new topic to my blog (I run multiple blogs - I want one for every user), it does this error:
Chyba databáze
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 'ORDER BY t.categoryID
LIMIT 1' at line 5
File: /var/www/www.maxiforum.cz/htdocs/Sources/Post.php
Line: 249


And I find out, that users can't base new blogs. I think they should have "Control Panel" (i translate it like "Administrace Blogu") in their profile. But there's nothink. Do you think there's problem with permissions? I can't find permissions to user to posting blog.

    (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg74.imageshack.us%2Fimg74%2F7121%2Floscatmanosnq4.th.png&hash=2c17b4aa2a98e27ec363839e68cd1ac83696de8f) (http://img74.imageshack.us/my.php?image=loscatmanosnq4.png) (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg296.imageshack.us%2Fimg296%2F9631%2Ftestuserrt1.th.png&hash=1bdaf41f089587c79206ef99958ba9e27d181428) (http://img296.imageshack.us/my.php?image=testuserrt1.png)


Thank you!


//Edit: ok, the first problem is ok now :)
This SQL query:
$request = db_query("
SELECT bc.categoryID, bc.name
FROM {$db_prefix}blog_categories as bc
LEFT JOIN {$db_prefix}topics as t ON (bc.categoryID = t.categoryID)
WHERE t.ID_TOPIC = $context[current_topic]
ORDER BY t.categoryID
LIMIT 1", __FILE__, __LINE__);

I edit to this:
WHERE t.ID_TOPIC = '$context[current_topic]'
And now, I can add new posts :)


//EDIT: Sorry, the second problem was my mistake. Now, it works!

Thank you for blogs!
Title: Re: Blog: Community
Post by: erlend_sh on July 24, 2008, 07:38:59 PM
Quote from: Charles Hill on July 23, 2008, 09:42:15 PM
I'll take a look at tiny portal eventually to make the two more compatible.
(...)
Take a look at SimplePortal (http://www.simplemachines.org/community/index.php?topic=227599.0) as well will ya? Pretty please? :)
Title: Re: Blog: Community
Post by: digit on July 24, 2008, 08:33:39 PM
Quote from: Charles Hill on July 21, 2008, 04:11:37 AM
I just tested it with no problems.  Are you sure you installed it properly?


edit-
I just ran through the possible sources of such a bug for you.... Look at your ManageBoards.template.php and ManageBoards.php.  Make sure whatever was done to those files by the install.xml file in the Blog mod package was done properly.

I manually installed this - and I just now double checked everything, line by line.

I see no errors - again.  Everything is installed as per the install.xml file.

I wonder if I have a conflict with another mod. :(  SIGH.

Title: Re: Blog: Community
Post by: fords8 on July 26, 2008, 02:53:54 AM
I have TP 1.0.5 and the Blog 1.1.1 installed on a test site. I won't be installing Blog 1.1.4 on there since I will be taking it down soon. They do work together but I think I had to install the blog before TP. The other way around, you get errors. I have TP as my home page. Blog is just a link in the menu. This is on the default theme too.

I posted a few blog without a problem. I added TP blocks without a problem. I did get errors when trying to uninstall either one. But I have other mods installed on it also.

I would say more tests are in order before running it on a live site.
Title: Re: Blog: Community
Post by: digit on July 26, 2008, 03:08:12 AM
Quote from: Charles Hill on July 21, 2008, 04:11:37 AM
I just tested it with no problems.  Are you sure you installed it properly?


edit-
I just ran through the possible sources of such a bug for you.... Look at your ManageBoards.template.php and ManageBoards.php.  Make sure whatever was done to those files by the install.xml file in the Blog mod package was done properly.

attached are both files.


Title: Re: Blog: Community
Post by: gemigene on July 26, 2008, 07:12:32 PM
I installed it and had error messages on my first post so I uninstalled the mod but still left with the Blog Control Panel in the admin interface, any way to get rid of that? BTW, the uninstall routine doesn't seen to work for me, I guess I'll have to do a proper uninstall via the package parser.

If I would have known...

Thanks,
Gene
Title: Re: Blog: Community
Post by: Charles Hill on July 27, 2008, 01:23:08 AM
When you have a lot of other mods installed, you should expect to have difficulties when installing a complex mod.
Title: Re: Blog: Community
Post by: bizref on July 29, 2008, 10:04:32 AM
Gosh, you know ... I think maybe mine's not installed correctly. 

-- It doesn't look or act like a blog when I click on the blog title from the board index, it acts like a message board and shows my "blog posts" in message board format

-- When I posted a 'new topic' from inside the blog admin panel, it again looked and felt and posted as a message board post instead of a blog

So, I'm thinking maybe something's not right about my installation...?  I don't know the first thing about coding so be gentle with me :-)

See: www.allaboutdarien.com/forum >Welcome > AllAboutAdmin's Test Blog2

***
You pointed out to me that my blog URL is: http://www.allaboutdarien.com/forum/index.php?action=blog;blog=80
How do I connect that URL with my Forum Index page and/or the Blog Title that shows up in the Forum Index?

Many thanks for your patience!!
Title: Re: Blog: Community
Post by: bizref on July 29, 2008, 10:07:50 AM
(sorry i need to add this to my prior post) ....

I just posted a new topic on my blog at the URL
http://www.allaboutdarien.com/forum/index.php?action=blog;blog=80

and when I hit submit, it returned me to the message board format again ...

don't get me wrong, everything I submit and/or enter shows up, it just seems like it keeps showing up as a message board instead of a blog ...?
Title: Re: Blog: Community
Post by: Charles Hill on July 29, 2008, 01:52:46 PM
You access your blog via the Blog or Blogs link in your forum's navigation menu (Home, Blog, Search, Members, etc).  If you aren't redirected to your blog page after posting, then you didn't install something correctly to the Post.php or Subs-Post.php files.  Double check the modifications made to these files by looking at the install.xml file that came with the blog mod package.
Title: Re: Blog: Community
Post by: cubetgio on July 30, 2008, 11:54:28 AM
should be evident but how to delete a blog and/or categorie ?

thanks!
Title: Re: Blog: Community
Post by: Charles Hill on July 30, 2008, 01:51:54 PM
You can delete a blog either from the blog control panel (delete link next to each blog or in the normal manage boards admin area.  Categories... do you mean blog categories?  To delete those you use the "Delete" link next to a blog category in the blog categories window on the main page of the blog control panel.
Title: Re: Blog: Community
Post by: cubetgio on July 31, 2008, 03:28:07 AM
thanks Charles !

I'm so stupid not to have seen the last column with the delete link.

I'have to say that was hided by the fact that the display was out of my screen :P

Have a nice day.
Title: Re: Blog: Community
Post by: runebergen on August 02, 2008, 07:19:23 PM

This mod sounds just like a dream to me.. just what I've been looking for.

I only have one question..

The blogs (boards) and blog posts (topics), will they ALSO show on the forum as regular forum boards and topics for all to see?
( i dont want that ..  ;) )


Title: Re: Blog: Community
Post by: Charles Hill on August 02, 2008, 10:00:36 PM
The next version is going to be a large step forward from v1.11.  I'm going to eliminate the ability to view blog boards like normal boards.  Even the links to these blog boards from the board index will take you to their blog page instead of the normal board view.

It'll still be a week or two until the next version.  I promise it'll be worth the wait.
Title: Re: Blog: Community
Post by: runebergen on August 03, 2008, 09:43:15 AM


Sounds perfect  :D :D

Thanks for making this mod, its gold
Title: Re: Blog: Community
Post by: isaias1 on August 06, 2008, 05:53:00 PM
I've installed this mod on two different machines with the same result. The blog control panel only shows for the admin.

This question was posted several times already, but I don't see an answer. What do I need to do for the control panel be visible for regular users. I already inspected all the files an it appears that all the modifications are there.

Both installs were clean with default theme. SMF 1.1.5 with Blog 1.11 mod.
The admin user has no issues. Control panel is there, and can create/delete/modify blogs and categories.
Title: Re: Blog: Community
Post by: Charles Hill on August 06, 2008, 10:57:08 PM
The ordinary user's blog control panel is accessible via their Profile.  You have to enable the blog mod in multiple blogs mode for them to be able to use it AND they have to have the write_blog permission.
Title: Re: Blog: Community
Post by: Nibogo on August 10, 2008, 07:49:27 PM
You can do something for smf 2.0?
Title: Re: Blog: Community
Post by: Charles Hill on August 10, 2008, 08:44:54 PM
I will start looking at what it would take to convert this mod to smf 2.0 compatible.  I don't think it'd be too difficult.   Version 1.12 of this mod for SMF 1.1.x is almost done by the way :)
Title: Re: Blog: Community
Post by: runebergen on August 10, 2008, 08:46:30 PM


Sounds great  ;D  looking forward to the new version ;)
Title: Re: Blog: Community
Post by: [unplugged] on August 10, 2008, 10:32:40 PM
Very nice looking mod. I am looking forward to the release of the SMF 2.0 compatible version.
Title: Re: Blog: Community
Post by: m3po on August 10, 2008, 11:23:22 PM
Installed the mod with much success and got it working.  One question/possible problem I'm experience is with the Blog Index.  I read in one of the first posts in the thread that the ability to display avatars in the board index was built in.  When I go to view my board index I do not see my members avatars.  Is there a setting else where I need to make sure is enabled before seeing the avatars?
Title: Re: Blog: Community
Post by: Charles Hill on August 10, 2008, 11:28:16 PM
Quote from: m3po on August 10, 2008, 11:23:22 PM
Installed the mod with much success and got it working.  One question/possible problem I'm experience is with the Blog Index.  I read in one of the first posts in the thread that the ability to display avatars in the board index was built in.  When I go to view my board index I do not see my members avatars.  Is there a setting else where I need to make sure is enabled before seeing the avatars?

Yes you will have to enable "Display avatars on blog index" in your Admin > Blog Control Panel
Title: Re: Blog: Community
Post by: m3po on August 10, 2008, 11:46:26 PM
Quote from: Charles Hill on August 10, 2008, 11:28:16 PM
Quote from: m3po on August 10, 2008, 11:23:22 PM
Installed the mod with much success and got it working.  One question/possible problem I'm experience is with the Blog Index.  I read in one of the first posts in the thread that the ability to display avatars in the board index was built in.  When I go to view my board index I do not see my members avatars.  Is there a setting else where I need to make sure is enabled before seeing the avatars?

Yes you will have to enable "Display avatars on blog index" in your Admin > Blog Control Panel

I looked for this option in the Admin > Blog Control Panel section and did not see it.  I'm using standard english-utf8, so I don't think thats the problem in not seeing the option...any ideas?
Title: Re: Blog: Community
Post by: Charles Hill on August 11, 2008, 12:09:11 AM
Are you viewing the Main tab of the admin blog control panel?
Title: Re: Blog: Community
Post by: m3po on August 11, 2008, 12:13:23 AM
I am.

link to screenshot (http://i171.photobucket.com/albums/u315/m3po12/cp.jpg)

Title: Re: Blog: Community
Post by: Charles Hill on August 11, 2008, 05:58:01 PM
Hmmmmm I've been working with v1.12 for so long.  Can't even remember if 1.11 has avatars on the blog index or not.  It might not.  Sorry :(

Good news, though.  v1.12 should be ready within a week.  :)
Title: Re: Blog: Community
Post by: chrissomebody on August 11, 2008, 06:21:21 PM
Quote from: Charles Hill on August 11, 2008, 05:58:01 PM
Hmmmmm I've been working with v1.12 for so long.  Can't even remember if 1.11 has avatars on the blog index or not.  It might not.  Sorry :(

Good news, though.  v1.12 should be ready within a week.  :)

1.11 does not have avatars. I am anxiously awaiting 1.12
Title: Re: Blog: Community
Post by: runebergen on August 11, 2008, 08:44:23 PM
Quote from: chrissomebody on August 11, 2008, 06:04:16 PM


you can see a copy of my site at:

http://www.talkkid.com/neighborhood


@Charles Hill

You said that the blogs would be seen as regular forum boards, and that for next version it would not...  And reason I wait ;)

But looking at the example in the quote above, I can see no forum board that is representing the blog...

Did I misunderstand something?  :D probably.. lol
Title: Re: Blog: Community
Post by: chrissomebody on August 11, 2008, 11:40:34 PM
runebergen - if you go to admin/blog control panel, there is an option to check to hide blog boards on the board index. click that and hit save. this should hide your blogs in the forum
Title: Re: Blog: Community
Post by: DSollick on August 12, 2008, 06:26:33 AM
When I try to install this on 1.1.4, it tells me that it's not compatible with my version of SMF or is corrupt [I downloaded it twice and tried it twice, so I doubt it's corruption that's causing it.], so I tried installing it manually which ended with pathetic results [Going to the blog page resulted in errors, and the configuration panel contained no text, etc.], so there goes two hours :P

Anyway, is there any particular reason it's failing or should I get a special package for 1.1.4?
Title: Re: Blog: Community
Post by: runebergen on August 12, 2008, 10:52:33 AM
Quote from: Charles Hill on August 02, 2008, 10:00:36 PM
The next version is going to be a large step forward from v1.11.  I'm going to eliminate the ability to view blog boards like normal boards.  Even the links to these blog boards from the board index will take you to their blog page instead of the normal board view.

It'll still be a week or two until the next version.  I promise it'll be worth the wait.

Quote from: chrissomebody on August 11, 2008, 11:40:34 PM
runebergen - if you go to admin/blog control panel, there is an option to check to hide blog boards on the board index. click that and hit save. this should hide your blogs in the forum


Hum, thats all I want to have. The blogs not seen as regular boards..   Should I wait for 1.2?

Its the last mod for my site to end up perfect, just like I want it ;)

Got a few from Sinan on board, and this will be the final one to complete a fully functional community site:)

Blog, Ultimate Profile, Simple Portal, Gallery, etc...  :)


Title: Re: Blog: Community
Post by: netridge on August 12, 2008, 01:14:54 PM
How do do you enable this mod for the admin only?
Title: Re: Blog: Community
Post by: Charles Hill on August 12, 2008, 02:11:11 PM
Standard mode allows only the admin to make a blog.

---edit:

If anyone here has graphic design skills or knows someone who is very good with graphic design, please contact me via email.  I am in desperate need of custom blog templates for this mod.  I am building a paypal supportable store on my site that I will use to sell these custom templates, so we will come to some deal that will make us both happy :)
Title: Re: Blog: Community
Post by: trackermo on August 13, 2008, 11:36:54 AM
Hi... I am trying to install this mod... I don't find it on the package manager, so I am trying to upload it myself... but, I have a few questions...

I have downloaded the zip file and have tried to use the "upload-browse" option in the package manager.  But:

Do I upload the zip file?
I keep getting an error if I try to upload the zip file (HTTP 406 Not Acceptable message)

If not the zip file, then which files (I have unzipped it offline)... that is, what should the directory structure be?  Should it mimic the offline structure? 

Please let me know...

Thanks,

Mo
Title: Re: Blog: Community
Post by: Charles Hill on August 13, 2008, 01:19:48 PM
Once you've downloaded the mod as a zip archive, you need to upload it via the package manager.  Then you can install it.  If you are getting a corrupted error, you may have to repackage the files within the archive in a new archive.  There is no special file structure.
Title: Re: Blog: Community
Post by: trackermo on August 13, 2008, 02:21:15 PM
Hmmm... okay, that didn't work...

So I went ahead and just uploaded the files within the WebEPanel... main forum directory... because it wouldn't upload the zip file, nor any of the actual files otherwise.  Now they're uploaded... and I clicked on the add_settings.php... so it's in the database... but it doesn't show up in the admin panel (as it says it will), nor in the member's area...

Any ideas?
Title: Re: Blog: Community
Post by: DSollick on August 13, 2008, 07:09:09 PM
Even though this package states that it works for 1.1.5, the package_info.xml file restricts the package from installing on anything lower than 1.1.5 [Simply editing the numbers there let me get past the 'This package is corrupted or not compatible with your version of SMF, blah blah blah' for SMF 1.1.4].  Might wanna change that >_>

After getting past that, I get the following test failure:
7.   Execute Modification   ./Sources/RemoveTopic.php   Test failed

Is this something I should be concerned with?
Title: Re: Blog: Community
Post by: Charles Hill on August 13, 2008, 07:46:49 PM
Anything you get an error on install, you will want to look at the file(s) you are getting errors on and attempt to coincide your files with what the xml install file is trying to change.  You may have to look at an un-altered version of the file(s) from your version of SMF (or the SMF version the xml install is designed to work with).
Title: Re: Blog: Community
Post by: DSollick on August 13, 2008, 08:19:21 PM
Upon installing, I get the following error when trying to view the blog page:

An Error Has Occurred!
You are not allowed to view this blog

As an administrator, I doubt this should be happening ;)  Any idea on what I should do?

EDIT:  Okay, I went on as a normal user and can see the blog board.  Upon attempting to post on the blog board as an Admin, I received the following error:

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 'ORDER BY t.categoryID
LIMIT 1' at line 5
File: /home/content/F/i/r/FirebirdWorks/html/forum/Sources/Post.php
Line: 253
Title: Re: Blog: Community
Post by: JimM on August 13, 2008, 09:45:46 PM
Great mod Charles.  Installed flawlessly on my 1.1.5 board.  My members had been asking for something like this.

But I am having the same problem that other had with the comments not showing even though the setting is correct.  Do I need to do the edits that you posted earlier to fix that?
Title: Re: Blog: Community
Post by: trackermo on August 14, 2008, 12:52:38 AM
Okay, JimM, give-- how did you do it? 

I have 1.1.5, too, and nothing seems to work... I re-installed the script (1.1.5) and now I cannot even link over to the mods area...

Title: Re: Blog: Community
Post by: Charles Hill on August 14, 2008, 01:16:54 AM
@ Everyone attempting to install this mod:
v1.12 is going to be released within a week.  It simplifies/stream-lines a lot of aspects of this mod as well as adds a ton of new functionality.  I suggest waiting until v1.12 is released before installing this mod.
Title: Re: Blog: Community
Post by: JimM on August 14, 2008, 08:58:23 AM
@trackermo
I use the default theme and just installed with the Package Manager.  Everything tested successful and installed fine.  I am still having a problem with the comments not showing and getting an error in the log "8: Undefined index:  extra_links".

@Charles
Thanks, I'll uninstall and wait for v1.12.
Title: Re: Blog: Community
Post by: trackermo on August 14, 2008, 09:26:47 AM
@JimM
Thanks for the info... hmmm.  For some reason I'm having trouble with the Package Manager.  It won't load within the SMF admin area-- even when I copy the URL and create a new link.  (sigh)  That's probably why I'm running into trouble (see above).

@Charles
No pressure, but yes, I'll wait for the v1.12, too.  Maybe that will solve my headaches.

Mo
Title: Re: Blog: Community
Post by: TheDisturbedOne on August 14, 2008, 09:58:58 AM
what is the theme edit for index.template?
I can't open xml on my mac :(
Title: Re: Blog: Community
Post by: DSollick on August 14, 2008, 10:39:46 AM
Quote from: willielwgg on August 14, 2008, 09:58:58 AM
what is the theme edit for index.template?
I can't open xml on my mac :(

XML is just a form of text-file.  Try opening it in a text editor or load the source in a browser.
Title: Re: Blog: Community
Post by: TheDisturbedOne on August 14, 2008, 12:25:58 PM
Ehhh I think ill delete it and wait for the new one/.
Title: Re: Blog: Community
Post by: trackermo on August 14, 2008, 02:38:34 PM
Well, never one to leave well enough alone...

I went outside the system, uploaded the zip file in my WebEPanel into the packages directory then had no trouble installing it after that... it works great now! 

Thanks!

Mo
Title: Re: Blog: Community
Post by: C.Jack on August 14, 2008, 11:38:45 PM
Hi, Charles.
Thanks for an outstanding Mod. If it's possible to do, I'll upgrade when you release the next version , but for now, I'm getting two errors that I'd like your advise on... if or when you have time.
--------------
http://raptor-poker.com/forum/index.php?action=blog;blog=33 
8: Undefined index: extra_links
File: /home/therapto/public_html/raptorpoker/forum/Themes/default/Blog.template.php
Line: 16
--------------
http://raptor-poker.com/forum/index.php?action=blog;blog=30 
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 ' 14, 17, 9, 11, 18, 10, 24, 7, 25, 21, 6, 5, 1, 22, 8, 29, 27)
LIMIT 1' at line 4
File: /home/therapto/public_html/raptorpoker/forum/Sources/Blog.php
Line: 627
--------------

Thanks in advance for any help from anyone. I'm not very savy at these sorts of things.
Title: Re: Blog: Community
Post by: Charles Hill on August 15, 2008, 01:05:50 AM
@CaptJack
The extra_links undefined error is referring to $context['extra_links'] in the Blog.template.php file.  It's not a major error.  If you'd like to stop the error from ever occurring you could put if (!empty($context['extra_links'])) {  } around the part of the template that has $context['extra_links'] in it.

-- edit --
Can you give me the 20 or so lines around line 627 in Blog.php please?


And I'm glad you like the mod.  I think you'll be blown away by v1.12 :)
Title: Re: Blog: Community
Post by: C.Jack on August 15, 2008, 02:33:21 AM
Thanks for your help. My community is small, and our site new, but your blog mod is the highlight of the forum. I just wanted to make sure everything was ok with it, and that I didn't mess something up. I would hate to cause someone to lose work that they've done.

Here's the bit of code you asked for. If you need the entire file, let me know.

if (!empty($blog_settings['enableLinksWindow'])) {

$title['links'] = $txt['blog_links'];
$contents['links'] = array();

$request = db_query("
SELECT linkName, title, url
FROM {$db_prefix}blog_links
WHERE boardID = $blog_board_id
AND memberID = $blog_owner", __FILE__, __LINE__);

if (mysql_num_rows($request) > 0) {

while ($row = mysql_fetch_assoc($request))
$contents['links'][] = array(
'link' => '<a href="'. $row['url'] .'" title="'. $row['title'] .'">'. $row['linkName'] .'</a>',
);

}
mysql_free_result($request);

}

if (!empty($blog_settings['enableFriendsOfWindow'])) {

$contents['friends'] = array();

$request = db_query("
SELECT mem.realName, mem.buddy_list
FROM {$db_prefix}boards AS b
LEFT JOIN {$db_prefix}members AS mem ON (mem.ID_MEMBER = b.blog_owner)
WHERE b.ID_BOARD = $blog_board_id
LIMIT 1", __FILE__, __LINE__);

if (mysql_num_rows($request) > 0) {

$row = mysql_fetch_assoc($request);
if (!empty($row['buddy_list'])) {
$buddy_list = explode(',', $row['buddy_list']);
$title['friends'] = $txt['friends_of'] . ' ' . $row['realName'];

$friends = db_query("
SELECT mem.realName, b.ID_BOARD, b.name AS boardName
FROM {$db_prefix}members AS mem
LEFT JOIN {$db_prefix}boards AS b ON (b.blog_owner = mem.ID_MEMBER)
WHERE ID_MEMBER IN (" . implode(', ', $buddy_list) . ")
LIMIT 1", __FILE__, __LINE__);

if (mysql_num_rows($friends) > 0) {

while ($friend = mysql_fetch_assoc($friends))
$contents['friends'][] = array(
'link' => '<a href="'. $scripturl .'?action=blog;blog='. $friend['ID_BOARD'] .'" title="blog owner: '. $friend['realName'] .'">'. $friend['boardName'] .'</a>',
);

}
mysql_free_result($friends);
}
}
mysql_free_result($request);
}

// now to produce the windows
if (!empty($contents['recent']))
template_sideWindow($title['recent'], $contents['recent']);

if (!empty($contents['categories']))
template_sideWindow($title['categories'], $contents['categories']);

if (!empty($contents['archives']))
template_sideWindow($title['archives'], $contents['archives']);

if (!empty($contents['links']))
template_sideWindow($title['links'], $contents['links']);

if (!empty($contents['friends']))
template_sideWindow($title['friends'], $contents['friends']);

}
Title: Re: Blog: Community
Post by: TheDisturbedOne on August 15, 2008, 08:23:54 AM
Will I have to uninstall the old mod when the new one comes out?  Or will there be an update script?
Also for some reason, only I can view my blog.  I checked the permissions, but I didn't make the theme edits because I can't open the install file even when i try to open it in word.
Title: Re: Blog: Community
Post by: Charles Hill on August 15, 2008, 01:05:39 PM
Quote from: willielwgg on August 15, 2008, 08:23:54 AM
Will I have to uninstall the old mod when the new one comes out?  Or will there be an update script?
Also for some reason, only I can view my blog.  I checked the permissions, but I didn't make the theme edits because I can't open the install file even when i try to open it in word.

v1.12 will have way too many changes for me to make an update script.

You shouldn't use word or other similar programs to edit programming scripts.  You might try notepad2 (http://www.flos-freeware.ch/notepad2.html)
Title: Re: Blog: Community
Post by: vetola on August 16, 2008, 04:18:28 AM
Is is possible to use subdomains with blogs? So that every created blog has blogX.domain.com url? This would be very cool.
Title: Re: Blog: Community
Post by: X-Zero on August 16, 2008, 11:33:01 AM
Can you put automatically the Spanish traduction from Soloxd and I've found a very bad bug ... The blog posts count and in your blog you are moderator and if you enter like a normal section to your blog you can move the topic, etc ..
Title: Re: Blog: Community
Post by: Charles Hill on August 16, 2008, 03:35:19 PM
Quote from: X-Zero on August 16, 2008, 11:33:01 AM
Can you put automatically the Spanish traduction from Soloxd and I've found a very bad bug ... The blog posts count and in your blog you are moderator and if you enter like a normal section to your blog you can move the topic, etc ..

That's not a bug... blog owners are moderators for their own blogs.


Quote from: vetola on August 16, 2008, 04:18:28 AM
Is is possible to use subdomains with blogs? So that every created blog has blogX.domain.com url? This would be very cool.
Currently I have managed to allow users to make their blogs pseudo independent... meaning they appear completely outside the rest of the site (with their own unique templates).  I will look into sub-domain support as well.
Title: Re: Blog: Community
Post by: trackermo on August 18, 2008, 07:45:23 PM
Quote from: Charles Hill on August 15, 2008, 01:05:39 PM
Quote from: willielwgg on August 15, 2008, 08:23:54 AM
Will I have to uninstall the old mod when the new one comes out?  Or will there be an update script?
Also for some reason, only I can view my blog.  I checked the permissions, but I didn't make the theme edits because I can't open the install file even when i try to open it in word.

v1.12 will have way too many changes for me to make an update script.

You shouldn't use word or other similar programs to edit programming scripts.  You might try notepad2 (http://www.flos-freeware.ch/notepad2.html)

Hoo-boy... (not about using notepad; about the update)... when did you say this will be coming out?  Soon, I hope...  :D

Title: Re: Blog: Community
Post by: C.Jack on August 18, 2008, 11:53:49 PM
When the new version is released will we be able to transfer our existing blogs over, or should I go ahead and close our blog section?
Title: Re: Blog: Community
Post by: Charles Hill on August 19, 2008, 12:38:00 AM
You don't have to worry about compatibility.  If you are using an earlier version of this mod, your blogs and all the info you've got in them (including their settings) will all transfer over seamlessly.

The next version (2.0 beta) will be available soon.  I am releasing it as a beta because I want to test it very thoroughly before I call it a final.
Title: Re: Blog: Community
Post by: C.Jack on August 19, 2008, 01:52:05 AM
Thanks! That's great to know.  8)

Title: Re: Blog: Community
Post by: runebergen on August 19, 2008, 12:11:49 PM
Quote from: Charles Hill on August 19, 2008, 12:38:00 AM


The next version (2.0 beta) will be available soon.  I am releasing it as a beta because I want to test it very thoroughly before I call it a final.

Does it mean 1.4 is not comming, and next release is 2.0 beta? :)
Title: Re: Blog: Community
Post by: Charles Hill on August 19, 2008, 02:34:30 PM
Quote from: runebergen on August 19, 2008, 12:11:49 PM
Quote from: Charles Hill on August 19, 2008, 12:38:00 AM


The next version (2.0 beta) will be available soon.  I am releasing it as a beta because I want to test it very thoroughly before I call it a final.
Does it mean 1.4 is not comming, and next release is 2.0 beta? :)

Blog: Community's currently available version is 1.11.  The next version is going to be 2.0 (as a beta).  It will be compatible with SMF 1.1.x for now.  Once it gets near final, I'll create an alpha version compatible with SMF 2.0.
Title: Re: Blog: Community
Post by: runebergen on August 19, 2008, 04:26:05 PM
Quote from: Charles Hill on August 14, 2008, 01:16:54 AM
@ Everyone attempting to install this mod:
v1.12 is going to be released within a week. I suggest waiting until v1.12 is released before installing this mod.

Sorry I meant 1.12 .. :) 
Title: Re: Blog: Community
Post by: [unplugged] on August 19, 2008, 07:11:40 PM
Quote from: Charles Hill on August 19, 2008, 12:38:00 AM
The next version (2.0 beta) will be available soon.

Looking forward to it.
Title: Re: Blog: Community
Post by: samames on August 24, 2008, 03:34:06 PM
Hiya, this mod software is really great. Have used it before, though on my board i'm getting the following 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 'ORDER BY ID_FIRST_MSG DESC
LIMIT 7' at line 4
File: /home/liveflg/public_html/fuel/Sources/Blog.php
Line: 485

It's for a website which has to be released very soon [few days], so help asap would be really appreciated :) thanks all.
Sam
Title: Re: Blog: Community
Post by: Charles Hill on August 24, 2008, 04:01:31 PM
I suggest you hold off until version 2.0 of this software is released.  See it on my live site: http://degreesofzero.com.  If you think v1.11 was great..... just wait :)
Title: Re: Blog: Community
Post by: Charles Hill on August 24, 2008, 04:04:41 PM
Quote from: vetola on August 16, 2008, 04:18:28 AM
Is is possible to use subdomains with blogs? So that every created blog has blogX.domain.com url? This would be very cool.

Yes.  The author of the Pretty URLs mod is helping me make their mod compatible with Blog Community.

Quote from: X-Zero on August 16, 2008, 11:33:01 AM
Can you put automatically the Spanish traduction from Soloxd and I've found a very bad bug ... The blog posts count and in your blog you are moderator and if you enter like a normal section to your blog you can move the topic, etc ..

This issue has been fixed for version 2.0
Title: Re: Blog: Community
Post by: samames on August 24, 2008, 04:07:52 PM
coolness lol. Is it  hard to fix the error iv got then??
Title: Re: Blog: Community
Post by: Charles Hill on August 24, 2008, 04:55:52 PM
No it isn't difficult.  If you really want me to have a look at the code of v1.11 to get you a solution I can do that.
Title: Re: Blog: Community
Post by: samames on August 24, 2008, 05:33:59 PM
well - if the problem will be irrelevant in 2.0 then dont worry lol. but because it was a mysql syntax error, i assumed it wouldn't be?
What do you reckon?
Title: Re: Blog: Community
Post by: runebergen on August 24, 2008, 07:11:26 PM
Quote from: Charles Hill on August 24, 2008, 04:01:31 PM
I suggest you hold off until version 2.0 of this software is released.  See it on my live site: http://degreesofzero.com.  If you think v1.11 was great..... just wait :)

Looks very good and promising :) looking forwards to the release ... amazing
Title: Re: Blog: Community
Post by: samames on August 25, 2008, 03:34:07 PM
will i still face this issue when i install 2.0?? [see previous posts by me for explanation of issue]
Title: Re: Blog: Community
Post by: Webrunner on August 25, 2008, 03:54:12 PM
Hi,
This mod looks great.
Is it compatible with the SimpleBlog Mod?
Or can i somehow convert the data to your mod?
Title: Re: Blog: Community
Post by: Charles Hill on August 25, 2008, 07:21:18 PM
Quote from: samames on August 25, 2008, 03:34:07 PM
will i still face this issue when i install 2.0?? [see previous posts by me for explanation of issue]
There should be no mysql errors or other errors in 2.0.  Of course it will be going through a beta test phase to be sure :)

Quote from: Webrunner on August 25, 2008, 03:54:12 PM
Hi,
This mod looks great.
Is it compatible with the SimpleBlog Mod?
Or can i somehow convert the data to your mod?

This mod uses SMF's boards, topics, and messages tables.  If your data is stored in those tables, then it's simply a matter of using the admin-only convert board to blog function in your blog control panel.
Title: Re: Blog: Community
Post by: Webrunner on August 26, 2008, 02:24:18 PM
No, blogposts in a seperate table and the comments too :(
Title: Re: Blog: Community
Post by: Charles Hill on August 26, 2008, 04:32:48 PM
I'll have a look at SimpleBlog... and while I'm at it I'll look at FelBlog as well.  I know that uses its own table also.  I'll try to come up with some conversion kits :)

Or I might be able to just add more conversion functions for admin use only.
Title: Re: Blog: Community
Post by: Webrunner on August 26, 2008, 04:56:19 PM
Wow, that would be great!

Another question: Dies storing blogposts as forum messages also mean that they are displayed in f.i. serach results? And in what way?
Title: Re: Blog: Community
Post by: Charles Hill on August 26, 2008, 05:56:15 PM
Yes I am working on adding flags to all areas of Simple machines forum that will omit blog articles/comments from search results, recent posts, etc.
Title: Re: Blog: Community
Post by: samames on August 26, 2008, 06:31:31 PM
Thanks Charles, you're really helpful - definitely what I would describe as a commited SMF developer. Can't wait for the release!
Cheers,
Sam. :)
Title: Re: Blog: Community
Post by: mediabob on August 29, 2008, 10:03:26 PM
Hi Charles, this is an awesome mod, I have a question though, would it be possible to add a blog icon to the post information of a person that has a blog? You know over on the side of the post where you avatar and such is, maybe below the email, messenger icons and such.

Would it be a lot of trouble to add that, I think it would be an awesome addition and since it creates a link in the profile I assume you already have them linked somehow?

Thanks in advance!
Title: Re: Blog: Community
Post by: Charles Hill on August 30, 2008, 12:13:40 AM
Yes that is possible.  Wouldn't even have to add any queries to make it happen.  I'll look at it tonight.  I have been reluctant to make a lot of unnecessary edits to SMF's core files (especially templates).
Title: Re: Blog: Community
Post by: C.Jack on August 30, 2008, 01:31:27 AM
I agree with mediabob.... That would be a nice addition.
Title: Re: Blog: Community
Post by: mediabob on August 30, 2008, 11:45:07 AM
Yeah, I can see why you would be reluctant to want to modify to many template files, I would be happy if you just tell me how to do it and I can add it in on my own if you don't want to "officially" add it  8)

Oh yeah, maybe you can help me with something else to . . .

I want to display on my homepage the 10 most recent blog entries. I got it to display the entries fine, that was pretty easy, but I would like to link that to the actual blog so they see the entry title, click it, and are taken to the blog so they can read it. When I attempted it clicking the link took me to the entry, but it was in a forum post view instead of the blog, what would be the best way to link it to the blog entry?

Sorry if i am annoying  :-X
Title: Re: Blog: Community
Post by: Kindred on August 30, 2008, 11:59:57 AM
wow...   this is actually the first time I saw this thread/mod.

I'm using a Blog theme for projects over on my site.... but it's getting annoying to keep adding a new child board, etc each time a user wants a blog...  This looks nearly perfect.

Questions:   
- When do you (or do you at all) plan to support this mod in smf 2.0?
- Is there the ability to have multiple authors post to the same blog (i.e. we have a group that are blogging the same project. I'd like the 5 of them to post to the same blog.)
- how does one determine if it is a blog post versus a forum post? (Is there a tag in one of the smf tables?)

If the 3rd question has an affirmative answer, once you get this running for 2.0, I'll write an SSI function for you so this can be added to people's external sites, CMSes, etc....
Title: Re: Blog: Community
Post by: Charles Hill on August 30, 2008, 03:38:12 PM
Thanks for the kind words, kindred :)

1.  Yes I do plan to support it for 2.0.  I've already made some minor adjustments to make it easier to do so later on.  I was planning on doing that once I was ready to release the 1.1.x version as a final.

2.  Yes.  Multiple people have expressed an interest in allowing multiple authors to a single blog.  You can add individual authors or you can add entire groups as authors.  All authors must still have posting permissions for that board (if local) or global posting permissions.  Messing with a single blog's posting restrictions will not affect the overall site's permissions at all.  I figured that would just get messy and confusing.

3.  There is a flag in the boards table that tells you a board is a blog (the column blog_board).  Messages/topics tables don't have flags to explicitly tell you they are in blog boards.

I have been wanting to develop an SSI function or two for this.  If you wanted to do that, that would be awesome :)
Title: Re: Blog: Community
Post by: Webrunner on August 31, 2008, 02:08:48 AM
a few more questions:
- do blogs show up in a person's profile?
- are there personal blog statistics available
- I am offering personal blogs only for all payed users. Is that possiblke with this mod?
Title: Re: Blog: Community
Post by: Charles Hill on August 31, 2008, 05:04:52 AM
1. Yes
2. What kinds of statistics?
3. Yes there are several different permissions just for blogs.  You can allow/disallow the feature entirely and allow/disallow specific features within the blog feature.
Title: Re: Blog: Community
Post by: SA™ on September 01, 2008, 07:04:49 AM
ok call me thick how the hell do you set it so members can make blogs i set the pernissions and multiple blogs but i dont see noware when logged in as test user to add blogs
Title: Re: Blog: Community
Post by: SA™ on September 01, 2008, 07:24:12 AM
never mind figard it out lol should of known profile heeh
Title: Re: Blog: Community
Post by: djrem on September 01, 2008, 11:30:22 AM
Really looking forward to Version 2 :)
Title: Re: Blog: Community
Post by: runebergen on September 01, 2008, 05:07:20 PM

Quote from: Charles Hill on August 11, 2008, 05:58:01 PM

Good news, though.  v1.12 should be ready within a week.  :)

Looking forwards to that too, checking the site every day :D

Charles, since its gone way over a week, is it allowed to ask an estimate at when 1.12 will come ? ;)

Title: Re: Blog: Community
Post by: Charles Hill on September 01, 2008, 06:41:39 PM
I wanted to clean up a lot of the code, because I will be planning to make add-on packages and patches from here on out.  Also I've been getting Degrees of Zero itself ready for the release.  Trust me, you won't be disappointed :)
Title: Re: Blog: Community
Post by: runebergen on September 01, 2008, 07:52:33 PM

i know :D by no chance I'll get disapointed, your mod is already awesome ;)

Just curious and you know... kids the days before xmas.. we get impatient.. lol :D hehe
Title: Re: Blog: Community
Post by: StarChildxox on September 01, 2008, 11:09:15 PM
Ks I have a question?  We set up our blog for all members,  four people have
blogs, robbie and I included.  We tried it out, it worked really well, everyone
liked it...  Then just now I went back to add another new topic and got this
reply?   " Only the blog owner can post new topics "  I don't get it?   I've
created six new topics,  no problem, have them in the correct categories,
yet this time when I try I continually get that message...

             Only the blog owner can post new topics

    So I asked robbie to see if he could still add new topics to his, he tried
and got the same message?   

   Oh and when my moderator tried to post a reply to one of the topics
she got this?    Plus she gets that when she even tries to create her own
blog? 

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
Line: 269

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.5, while your database is at version 1.1.4. The above error might possibly go away if you execute the latest version of upgrade.php.


                                              O:) 
                                       hotchildxox
                                             xx
Title: Re: Blog: Community
Post by: Charles Hill on September 01, 2008, 11:31:06 PM
I apologize for the difficulties you are experiencing, hotchildxox.  The issues you are experiencing are known issues with v1.11.  Good news for you, though.  Version 2.0.1 beta is going to be released within a few days.

What I can do for you right now is fix your Subs-Post.php and Post.php files.  If you could email both of those to me, I will perform the necessary fixes.  :)
Title: Re: Blog: Community
Post by: StarChildxox on September 02, 2008, 12:47:28 PM
Thanks Charles,
I am sending it to you via this post in attachments.  I really appreciate it!


                                                O:)
                                        hotchildxox
                                               xx

                           and thank-you again!
Title: Re: Blog: Community
Post by: Charles Hill on September 02, 2008, 02:56:54 PM
Did you by chance use SMF's manage boards to edit these blogs or even just save them via the manage boards page?  I'm thinking that might be the root of this problem that people have had with 1.11.
Title: Re: Blog: Community
Post by: StarChildxox on September 02, 2008, 03:57:56 PM
The only thing I can think of?  Is that my moderator had no option to blog in
her profile so I went to admin and started hers for her in admin blog control?
Would that have caused the problem ? Should I just delete her blog? 

                                                                  O:)
                                                             hotchildxox
                                                                    xx
Title: Re: Blog: Community
Post by: Charles Hill on September 02, 2008, 04:37:23 PM
If you have access to the database, could you check in the boards table and make sure that blog/board has that user's ID # in the blog_owner column?
Title: Re: Blog: Community
Post by: robbie93 on September 02, 2008, 05:03:17 PM
hi charles :D

I have just checked in the boards table and it has the number 1 in the blog_owner colunm

8)
Title: Re: Blog: Community
Post by: Charles Hill on September 02, 2008, 05:49:35 PM
I assume the admin's user ID is 1 then... Ok ya... Since you created this user's blog for them, your ID was input as the owner instead of their ID.  This is a problem :)

To fix the problem you can simply overwrite the 1 in that column for that blog/board with the real / intended owner's ID.

This is a non-issue in 2.0.1 because I've restructured the entire mod so that everything is very clear.  Admins will be able to edit any/all blog control panels without any issues.
Title: Re: Blog: Community
Post by: robbie93 on September 02, 2008, 06:17:29 PM
shall we wait for the new version to come out then :D
Title: Re: Blog: Community
Post by: Charles Hill on September 02, 2008, 06:51:38 PM
I'm guessing I should bite the bullet and make an upgrade package for 1.11 to 2.0.1 ........ sigh
Title: Re: Blog: Community
Post by: ilikeitalot on September 03, 2008, 02:10:47 AM
I would respectfully disagree with that decision.  Even though I'm using v1.11 and waiting for the new version, I wouldn't want you to waste time creating an upgrade package.  That would surely be a huge amount of work.  I'd much rather you get the new version out quickly instead lol.  With such major changes, I think people should be ok with uninstalling and reinstalling.  Just my opinion though.  I'm really looking forward to v2!!!  Thanks!
Title: Re: Blog: Community
Post by: chrissomebody on September 04, 2008, 05:39:21 AM
I can't wait for the new version of this mod to come out...it is already a great product, and I am sure you are making the new one a lot better!

One question...do you plan to provide the option to make your first post on the same page where you create your blog in the blog control panel? I believe this would make the entire blog creation process soo much more straightforward and much less confusing.
Title: Re: Blog: Community
Post by: Charles Hill on September 04, 2008, 06:01:10 AM
I will attempt to cram a couple extra links (maybe tab links) .... Write Article.... which will take you directly to a post page for that blog.... and Go to Blog which will take you directly to the main blog page for that blog.

Yes this blogging community mod will be ridiculous..... I keep coming up with new awesome things to add..... so it might be a little longer...
Title: Re: Blog: Community
Post by: chrissomebody on September 04, 2008, 06:38:34 AM
Quote from: Charles Hill on September 04, 2008, 06:01:10 AM
Yes this blogging community mod will be ridiculous..... I keep coming up with new awesome things to add..... so it might be a little longer...

Dude, the suspense is agonizing. Like someone else said, I feel like a kid on Christmas eve. I am sure it will definitely be worth the wait.
Title: Error: You are not allowed to view this blog
Post by: midas on September 06, 2008, 05:02:42 PM
Think this is the right place to post.

I'm using SMF 1.1.5 (installed about a week ago) with blog_smf11X.

Whenever I try to access Blogs via the tab in the menu bar I get the error: "You are not allowed to view this blog."  I get the same error when I login under the regular member test account I've set up aswellas when I view the site as a guest.  The blog package did work at one point because I created a test blog when I first installed the package.

To try to remedy the error, I've uninstalled, removed all references to the blogging package from subs.php, index.template.php and deleted blogs.php (might have done something else too but I'd been awake a long time when I did this) then reinstalled the package.  Using cpanel, I checked the SQL database for errors (although not manually because I don't know how to).

I can access the blog admin panel and view blogs when a direct link to a blog is clicked (i.e the error occurs when I click the blog tab in the menu bar across the top of a web page).

Please can someone suggest a fix.
Title: Re: Blog: Community
Post by: Charles Hill on September 07, 2008, 04:49:09 AM
Alright.  2.0.1 Beta is now available.  Please do not try to install on any production sites just yet.  Thanks :)

If you find any bugs or problems please post them at degreesofzero.com in the support (http://degreesofzero.com/index.php/board,6.0.html) or suggestions (http://degreesofzero.com/index.php/board,33.0.html) boards for Blog Community.  Thanks.
Title: Re: Blog: Community
Post by: SA™ on September 07, 2008, 05:12:08 AM
Quote from: Charles Hill on September 07, 2008, 04:49:09 AM
Alright.  2.0.1 Beta is now available.  Please do not try to install on any production sites just yet.  Thanks :)

If you find any bugs or problems please post them at degreesofzero.com in the support (http://degreesofzero.com/index.php/board,6.0.html) or suggestions (http://degreesofzero.com/index.php/board,33.0.html) boards for Blog Community.  Thanks.

installed fine no errors howevew i think it conflicks with simple portal

blog contral panel i get this

Fatal error: Cannot redeclare getarticles() (previously declared in C:\wdm2005\htdocs\dev\Sources\SPortal.php:163) in C:\wdm2005\htdocs\dev\Sources\Blog.php on line 1645


also when trying to convert a board i get this

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
File: C:\wdm2005\htdocs\dev\Sources\Blog.php
Line: 4405


Title: Re: Blog: Community
Post by: Charles Hill on September 07, 2008, 05:14:32 AM
Ok.  First thing tomorrow I have a mission.... Make this work with Simple Portal and Tiny Portal.  So anyone with either of those things installed, please give me detailed info on all errors.  Thank you.
Title: Re: Blog: Community
Post by: SA™ on September 07, 2008, 05:17:32 AM
ok if i find anything else ill post here  :D

looks great on my test site cant wait to get it working  ;)
Title: Re: Blog: Community
Post by: djrem on September 07, 2008, 11:09:35 AM
i have this when making the first edit on the index.php page:


elseif (empty($_REQUEST['action']))
{
// Action and board are both empty... maybe the portal page?
if (empty($board) && empty($topic) && $settings['TPortal_front_type']!='boardindex')
{
require_once($sourcedir . '/TPortal.php');
return 'TPortal';
}
if (empty($board) && empty($topic) && $settings['TPortal_front_type']=='boardindex' && (isset($_GET['cat']) || isset($_GET['page'])))
{
require_once($sourcedir . '/TPortal.php');
return 'TPortal';
}
// Action and board are still both empty...and no portal startpage - BoardIndex!
elseif (empty($board) && empty($topic) && $settings['TPortal_front_type']=='boardindex')
{
require_once($sourcedir . '/BoardIndex.php');
return 'BoardIndex';


I have left this edit as it is at the moment.

Other fail was on locktopic.php but that is because i have the "Post reason for Lock" mod

EDIT: Nothing appears (My limited knowledge is telling me its because of the index.php edit im missing.

I have attached my index.php to help solve this for other TINYPORTAL users :)

I edit using Notepad++

EDIT 2:
using no changes what so ever to index.php, im now getting it working with a direct link:
http://voguefm.co.uk/forum/index.php?action=blogs


However, i can not view individuals blogs or any articles.

I just get my index page :S



Cheers Charles
Title: Re: Blog: Community
Post by: Nibogo on September 07, 2008, 06:38:20 PM
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??
Title: Re: Blog: Community
Post by: Charles Hill on September 07, 2008, 07:36:25 PM
Try http://www.mundo-se.com/index.php?action=blogControlPanel
Title: Re: Blog: Community
Post by: Nibogo on September 07, 2008, 07:43:38 PM
Quote from: Charles Hill on September 07, 2008, 07:36:25 PM
Try http://www.mundo-se.com/index.php?action=blogControlPanel

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?
Title: Re: Blog: Community
Post by: 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).

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).
Title: Re: Blog: Community
Post by: Nibogo on September 07, 2008, 08:14:22 PM
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 (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 :)
Title: Re: Blog: Community
Post by: 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).
Title: Re: Blog: Community
Post by: Nibogo on September 07, 2008, 08:23:22 PM
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  ;)
Title: Re: Blog: Community
Post by: dannbass 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!!
Title: Re: Blog: Community
Post by: runebergen on September 07, 2008, 10:01:27 PM


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?
Title: Re: Blog: Community
Post by: Charles Hill on September 07, 2008, 10:14:10 PM
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 :)
Title: Re: Blog: Community
Post by: fords8 on September 08, 2008, 12:37:44 AM
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.
Title: Re: Blog: Community
Post by: Charles Hill on September 08, 2008, 01:49:04 AM
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.
Title: Re: Blog: Community
Post by: TaintedX on September 08, 2008, 01:32:49 PM
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.
Title: Re: Blog: Community
Post by: Charles Hill on September 08, 2008, 08:04:59 PM
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?
Title: Re: Blog: Community
Post by: chrissomebody on September 08, 2008, 09:56:24 PM
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.
Title: Re: Blog: Community
Post by: 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.
Title: Re: Blog: Community
Post by: Sudhakar Arjunan on September 09, 2008, 02:45:01 AM
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.
Title: Re: Blog: Community
Post by: Charles Hill on September 09, 2008, 03:03:33 AM
I'm not sure what you are saying.  You are trying to install Blog Community?
Title: Re: Blog: Community
Post by: djrem on September 09, 2008, 07:11:20 AM
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.
Title: Re: Blog: Community
Post by: ilikeitalot on September 09, 2008, 10:28:26 AM
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!
Title: Re: Blog: Community
Post by: ilikeitalot on September 09, 2008, 10:38:52 AM
Oh... do you think you'll have v2.0.2 out by Friday?  I'd rather wait for it btw, so I can get the TP fixes.  My site is live, but a few glitches would be perfectly ok.  I have TP, lots of mods and everything is heavily customized, so I'm sure getting the old BC uninstalled, then the new BC installed and configured might take a good bit of my weekend.

Hmm "BC"... am I the first to use that acronym?  And can we use that?  Rather than "Blog: Community"?  Or maybe "B:C"?
Title: Re: Blog: Community
Post by: Charles Hill on September 09, 2008, 11:00:09 AM
Actually someone else used it in an IM conversation with me and I liked it.  So I've been using it a bit.  It is a lot easier :)  I am getting rid of the : in between btw.

As for 2.0.2, ya it should be out by Thursday or Friday.  I've been creating the upgrade/install packages for it as I've been making changes.  So it should be a lot easier for me to get that ready.  Here's the change log from 2.0.1 to 2.0.2 (so far):


*fixed* Install error in /index.php for users with TinyPortal already installed
*fixed* Undefined index: scripturl error in Who.php
*new* Admin option to hide all portal blocks on blog pages (tiny portal AND simple portal)
*new* Blog Index side windows (two optional windows: Global Tags and Most Recent)
*new* Added more "share" options (and now you can pick and choose which options to use for each blog)
*new* Two new side windows for blogs: Most Commented and Recent Comments
*new* Added plug-in "slots" for future add-ons/plug-ins.  One slot is below the "share" and "options" in the width="60" column next to the article's body text.  The other is below the "options" in the width="60" column next to the comment's body text.  This will make it a lot easier to install/uninstall add-ons/plug-ins for these two areas.  Plug-ins/Add-ons that could go here: Moods, Article Ratings, etc.  One more slot in the loadBlogIndexSideWindows function and another in the main loadSideWindows function.
*changed* prepareDefaultBlogSettings function moved to its own file: BlogSettings.php (this will make upgrading a lot easier and cleaner for future versions)
*changed* removed text censoring for editing/adding custom windows, links, and categories (everything should be censored before it is displayed anywhere except the blog control panel, though)
*changed* created a function just for tag font sizes (tag windows).  Should more accurately resize tags based on how many articles in which a specific tag is used as well as how many total instances of tags there are.
*changed* added admin options for guest CAPTCHA posting verification (can now disable entirely or disable for non-blog boards only)

edit--
*fixed* renamed getArticles to getBlogArticles so that there won't be a conflict with Simple Portal
Title: Re: Blog Community
Post by: runebergen on September 09, 2008, 05:00:32 PM

AWESOME :D :D :D

my community going to be in LOVE this weekend, with blogs comming ;)

Thank you soooooooooo much for doing this mod
Title: Re: Blog Community
Post by: shadow82x on September 09, 2008, 06:05:50 PM
Hello is it possible to upgrade this mod to 2.0? Very impressive!
Title: Re: Blog Community
Post by: fshagan on September 10, 2008, 02:28:41 AM
Charles, I'm getting an error on modifying "index.php"; I have the SimplePortal mod (http://custom.simplemachines.org/mods/index.php?mod=1104)  installed. 

I can uninstall it and get the Blog Community mod to install, and it works fine.  SimplePortal then will not install because of the changes to the "index.php" file (it also chokes on the default theme's "index.template.php" file.)

Love the Blog Community mod, so its staying!  But wanted to let you know that it isn't compatible with SimplePortal.
Title: Re: Blog: Community
Post by: TaintedX on September 10, 2008, 07:55:34 AM
Quote from: Charles Hill on September 08, 2008, 08:04:59 PM
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?

Sorry took a couple days.  Anyway's yes had buddies on the buddies list and amazingly when I went through and simply removed a few files and such it stopped happening and now it runs perfectly.  Hm let me see if that second error is still happening in the admin panel.. Yes the admin panel-blog control gives this error
Quote
An Error Has Occurred!
Unable to load the 'main' template.
Which really i suppose isn't to horrible a deal we still found a way to use it :D  And now that theres a 2.0 version out.. thats for the 2. beta version yes?
Title: Re: Blog Community
Post by: Sudhakar Arjunan on September 10, 2008, 08:17:07 AM
Quote from: asudhakar on September 09, 2008, 02:45:01 AM
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.

I have mentioned that,

I have felblog in my smf.

Could i able to upgrade the felblog contents in to smfblogs .

I tried installing , got three errors as mentioned above.

Mods conflict in installing is simple portal.

Any updates. And will wait till thursday or friday for the updated version Charles.
Title: Re: Blog Community
Post by: Charles Hill on September 10, 2008, 08:38:10 AM
I am going to look at Simple Portal today.  Yesterday I got Tiny Portal completely compatible (including being able to hide portal blocks on blog pages only).

@asudhukar...  I dont think it's worth my time to try to make BC compatible with felblog already being installed.... why don't you uninstall it?  It should be enough that I am going to make a conversion tool for importing felblog data to the smf tables...

@TaintedX.... I am confused.  You are using 2.0.1 beta or 1.11?
Title: Re: Blog Community
Post by: TaintedX on September 10, 2008, 08:54:34 AM
1.1.6 actually did the upgrade the other day yes sir.  no was asking if the newest release as perhaps i was reading it wrong still far to early for my brain to comprehend to much, but yes anyways was asking if that was for the beta.
Title: Re: Blog Community
Post by: Charles Hill on September 10, 2008, 09:02:49 AM
Quote@TaintedX.... I am confused.  You are using 2.0.1 beta or 1.11?

I was asking what version of this blog mod you were using?

Currently this mod is only available for SMF 1.1.x
Title: Re: Blog Community
Post by: Sudhakar Arjunan on September 10, 2008, 09:23:13 AM
Quote from: Charles Hill on September 10, 2008, 08:38:10 AM

@asudhakar...  I dont think it's worth my time to try to make BC compatible with felblog already being installed.... why don't you uninstall it?  It should be enough that I am going to make a conversion tool for importing felblog data to the smf tables...


Yes am ready to uninstall Felblog, if you help me to import the felblog contents to smfblogs.
And thanks for your interest towards working on simple portal today.

Additional Request,  Felblog editor is so cool to work on both html and design. Will that be compactable with Smfblog.
Title: Re: Blog Community
Post by: TaintedX on September 10, 2008, 10:25:19 AM
Quote from: Charles Hill on September 10, 2008, 09:02:49 AM
Quote@TaintedX.... I am confused.  You are using 2.0.1 beta or 1.11?

I was asking what version of this blog mod you were using?

Currently this mod is only available for SMF 1.1.x

oops i do apologize for that.  See what happens prior to my coffee intake! 

Blog Community (for 1.1.5)      2.0.1

apparently its 2.0.1
Title: Re: Blog Community
Post by: djrem on September 11, 2008, 04:18:00 AM
Quote from: TaintedX on September 10, 2008, 10:25:19 AM
Quote from: Charles Hill on September 10, 2008, 09:02:49 AM
Quote@TaintedX.... I am confused.  You are using 2.0.1 beta or 1.11?

I was asking what version of this blog mod you were using?

Currently this mod is only available for SMF 1.1.x

oops i do apologize for that.  See what happens prior to my coffee intake! 

Blog Community (for 1.1.5)      2.0.1

apparently its 2.0.1

It is version 2.0.1

The changes made by Charles are significant for the modification to be branded so.

Just because the modification is version 2.0.1 doesnt mean its designed for a BETA release of SMF.

I dont want to be brash or rude but by simply reading, this would have been clear.

Keep up the good work Mr Hill
Title: Re: Blog Community
Post by: qubbah on September 11, 2008, 10:57:33 AM
when try to intall it, i have a problem in ./index.php.
what must i add manually change?
Title: Re: Blog Community
Post by: djrem on September 11, 2008, 11:02:11 AM
Quote from: qubbah on September 11, 2008, 10:57:33 AM
when try to intall it, i have a problem in ./index.php.
what must i add manually change?

What list of mods do you have installed on your site?
Title: Re: Blog Community
Post by: Charles Hill on September 11, 2008, 11:30:17 AM
If you have Simple Portal or TinyPortal installed, there will be a problem with the first edit in index.php (when installing Blog Community 2.0.1 Beta)... 2.0.2 Beta has fixed the compatibility issues with Simple Portal and Tiny Portal (I will be releasing this version later today).
Title: Re: Blog Community
Post by: qubbah on September 11, 2008, 11:35:00 AM
YES... TQ... FIXED NOW..

another thing is..

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

what must i do?
Title: Re: Blog Community
Post by: Charles Hill on September 11, 2008, 11:36:06 AM
I need a bit more information than that.
Title: Re: Blog Community
Post by: qubbah on September 11, 2008, 11:42:02 AM
im trying this

Use the form below to convert existing non-blog boards to blogs

and i choose my board. But that msg appeared...
Title: Re: Blog Community
Post by: Charles Hill on September 11, 2008, 11:46:14 AM
Could you give me the entire mysql error?
Title: Re: Blog Community
Post by: qubbah on September 11, 2008, 11:52:30 AM
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
File: /home/myforum/public_html/forum/Sources/Blog.php
Line: 4405
Title: Re: Blog Community
Post by: qubbah on September 11, 2008, 12:33:29 PM
One more.. is there any block code to put in tp block..

Like : the latest blog or latest article in block.
tq

very nice blog...
Title: Re: Blog Community
Post by: Charles Hill on September 11, 2008, 06:26:04 PM
Ah ok I found the problem....

Need to change the $blog in the following query to $board...
// let's get all the topics of which we need to refresh the month and year
$request = db_query("
SELECT m.posterTime, t.ID_TOPIC
FROM {$db_prefix}topics AS t
LEFT JOIN {$db_prefix}messages AS m ON (m.ID_MSG = t.ID_FIRST_MSG)
WHERE t.ID_BOARD = $blog", __FILE__, __LINE__);


That is located in the initBlog($memID) function in Sources/Blog.php


edit----
I have not tried to figure out how to add a block for Simple Portal... I'm sure I will eventually make an add-on package that will add several simple portal blocks related to blog community, but I am not going to be making add-ons just yet.  Blog Community 2.0.1 beta has had relatively few bugs considering how insane it is.... Hopefully the changes I have made for 2.0.2 Beta will work great and I can get moving on making some templates and add-ons :)
Title: Re: Blog Community
Post by: Nibogo on September 11, 2008, 08:50:42 PM
Charles Hill this mod will be updated to SMF 2.0??

Thanks

PD: Waiting the Blog v2.0.2 :)
Title: Re: Blog Community
Post by: Charles Hill on September 11, 2008, 09:23:57 PM
Quote from: NIBOGO on September 11, 2008, 08:50:42 PM
Charles Hill this mod will be updated to SMF 2.0??

Thanks

PD: Waiting the Blog v2.0.2 :)

Not until I am fairly sure that I am done adding major things to the main files.  I don't want to make a version compatible with SMF 2.0 and then have to change a lot with that version as well as the SMF 1.1.x version.
Title: Re: Blog Community
Post by: midas on September 12, 2008, 12:36:13 AM
I had errors with blog_smf11x.

I've un- and re-installed it but I still get permission errors.  If I uninstall it again then remove the SQL entries blog_categories/links/entries (nothing to keep in the blogs...yet), will it create problems with smf?  Will I be able to re-install the blog package (or upgrade to the new one) more easily?

The last question is, should I remove entries in my php files that refer to the blog file?  So far I've removed entries from index.template.php and subs.php.
Title: Re: Blog Community
Post by: Charles Hill on September 12, 2008, 01:05:25 AM
All the data in your database tables will be unaffected by installing the new version.  You will want to remove all the bits of Blog Community 1.11 or earlier from your files.
Title: Re: Blog Community
Post by: midas on September 12, 2008, 01:21:49 AM
For my instance, I'm not worried about the blog data in my database.  I'm concerned that by deleting the database's references to the blog package then I might render my forum unusable!  (I have backed up my database though).

Are these the only files to hold references to the blog:

index.php
Sources/BoardIndex.php
Sources/ManagePermissions.php
Sources/Post.php
Sources/Profile.php
Sources/RemoveTopic.php
Sources/Subs.php
Sources/Subs-Boards.php
Sources/Subs-Post.php
Themes/index.template.php
Themes/ManageBoards.template.php
Themes/Post.template.php
Themes/Profile.template.php
Themes/style.css
Themes/languages/index.english.php ?

Title: Re: Blog Community
Post by: Charles Hill on September 12, 2008, 01:23:23 AM
You're asking about version 1.11?
Title: Re: Blog Community
Post by: FreeSporePrints on September 12, 2008, 01:24:51 AM
Hello Charles,
sorry for my stupid question but i don't understand a thing:

Does this mod modify the entire community and will make the forum a blog or what?

I run 2 different no profit communities (www.FreeSporePrints.org and www.FreeSeedsRing.org) and i believe your mod can interest a lot, because users can have a personal diary about your experiments and so on..

Thanks.
F.
Title: Re: Blog Community
Post by: Charles Hill on September 12, 2008, 01:25:52 AM
This is an add-on.  It is separate from the forum.  Sorry about that.  I suppose that isn't as clear as it could be :)
Title: Re: Blog Community
Post by: midas on September 12, 2008, 01:30:40 AM
Quote from: Charles Hill on September 12, 2008, 01:23:23 AM
You're asking about version 1.11?

I think you were asking me.  Yes, I'm asking about 1.11.
Title: Re: Blog Community
Post by: Charles Hill on September 12, 2008, 01:35:12 AM
version 1.11 modified the following SMF source files:
index.php
Sources/BoardIndex.php
Sources/ManagePermissions.php
Sources/Post.php
Sources/ManageBoards.php
Sources/Profile.php
Sources/RemoveTopic.php
Sources/Subs-Boards.php
Sources/Subs-Post.php
Sources/Subs.php

other files modified:
index.template.php
ManageBoards.template.php
Post.template.php
Profile.template.php
style.css
index.english.php
index.english-utf8.php

I've attached the install.xml from v1.11 so that you have a reference for what you should take out.
Title: Re: Blog Community
Post by: qubbah on September 12, 2008, 02:58:15 AM
tq for answer..

the new thing is... can i make the blog go to the childbord? not to parent board?
Title: Re: Blog Community
Post by: Sudhakar Arjunan on September 12, 2008, 10:18:56 AM
Quote from: Charles Hill on September 11, 2008, 11:30:17 AM
If you have Simple Portal or TinyPortal installed, there will be a problem with the first edit in index.php (when installing Blog Community 2.0.1 Beta)... 2.0.2 Beta has fixed the compatibility issues with Simple Portal and Tiny Portal (I will be releasing this version later today).

Ok Charles, thank you for the beta .
Since i have simple portal i could not install 2.0.1

Waiting for it , thank you Charles Hill.
Title: Re: Blog Community
Post by: midas on September 12, 2008, 10:56:42 AM
Charles, thank you very much.  Couldn't reply this morning (had been awake nearly 24 hours so had to sleep).

If anything goes wrong, I'm sure you know I'll post back here.

Thank you.

Update: so far, so good.  Deleted php references and the SQL references to the blog.  Fingers X.  When they the new version is out of beta, I'll give it a go.
Title: Re: Blog Community
Post by: Maska on September 12, 2008, 12:10:56 PM
Quote from: qubbah on September 11, 2008, 11:52:30 AM
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
File: /home/myforum/public_html/forum/Sources/Blog.php
Line: 4405

Quote from: Charles Hill on September 11, 2008, 06:26:04 PM
Ah ok I found the problem....

Need to change the $blog in the following query to $board...
// let's get all the topics of which we need to refresh the month and year
$request = db_query("
SELECT m.posterTime, t.ID_TOPIC
FROM {$db_prefix}topics AS t
LEFT JOIN {$db_prefix}messages AS m ON (m.ID_MSG = t.ID_FIRST_MSG)
WHERE t.ID_BOARD = $blog", __FILE__, __LINE__);


That is located in the initBlog($memID) function in Sources/Blog.php


Hi:

My site was the same mistake, but was cleared with your indications.

But now, when i´m going to see blog, error:

"There is no blog with that ID"

I convert a board to blog.

Title: Re: Blog Community
Post by: qubbah on September 12, 2008, 12:16:49 PM
is the user can edit their article after submit? There is no icon for edit.

Title: Re: Blog Community
Post by: Charles Hill on September 12, 2008, 12:21:48 PM
All the options are in a drop down menu on the article... Make sure your site's permissions are set properly.  Admins can do anything.

QuoteBut now, when i´m going to see blog, error:

"There is no blog with that ID"

I convert a board to blog.

You're getting that message when converting a board to a blog?
Title: Re: Blog Community
Post by: Maska on September 12, 2008, 12:27:09 PM
Quote from: Charles Hill on September 12, 2008, 12:21:48 PM
You're getting that message when converting a board to a blog?

No. I convert a board into blog but when I acces board into blog mode, i getting this message:

"There is no blog with that ID"

The URL is http://www.fororecre.com/foro/index.php?blog=46.0

Title: Re: Blog Community
Post by: qubbah on September 12, 2008, 01:01:09 PM
Quote from: qubbah on September 12, 2008, 02:58:15 AM
tq for answer..

the new thing is... can i make the blog go to the childbord? not to parent board?

Sir.. how about this...
i dont want  the blog board showing in the forum board... it because if my user setup the blog, its make soo many board there..
Title: Re: Blog Community
Post by: Charles Hill on September 12, 2008, 01:05:04 PM
In the blog control panel.. in the Admin-only blog options sub menu... "Hide blog boards on the board index"
Title: Re: Blog Community
Post by: runebergen on September 12, 2008, 02:25:20 PM


is it compatible with Simple Portal yet?  O:)

Tried looking for the change log, about it
Title: Re: Blog Community
Post by: Charles Hill on September 12, 2008, 02:54:25 PM
Yes 2.0.2 Beta is compatible with Simple Portal and Tiny Portal.  I will be releasing the install and upgrade packages for this new version later today.
Title: Re: Blog Community
Post by: Charles Hill on September 12, 2008, 10:07:11 PM
Just updated to 2.0.2 Beta

*fixed* pngfix.js now included
*fixed* Install error in /index.php for users with TinyPortal or Simple Portal already installed
*fixed* Undefined index: scripturl error in Who.php
*fixed* Renamed getArticles function to getBlogArticles to make Blog Community compatible with Simple Portal
*fixed* Mysql error when converting boards to blogs
*new* Admin option to hide all portal blocks on blog pages (tiny portal AND simple portal)
*new* Blog Index side windows (two optional windows: Global Tags and Most Recent)
*new* Added more "share" options (and now you can pick and choose which options to use for each blog)
*new* Three new side windows for blogs: Most Commented, Recent Comments, and Polls
*new* Added plug-in "slots" for future add-ons/plug-ins.  One slot is below the "share" and "options" in the width="60" column next to the article's body text.  The other is below the "options" in the width="60" column next to the comment's body text.  This will make it a lot easier to install/uninstall add-ons/plug-ins for these two areas.  Plug-ins/Add-ons that could go here: Moods, Article Ratings, etc.  Five other plug-in slots in various locations in the other blog sources files.
*new* Plug-ins submenu in Main area of blog control panel (for admin only)
*changed* prepareDefaultBlogSettings function moved to its own file: BlogSettings.php (this will make upgrading a lot easier and cleaner for future versions)
*changed* removed text censoring for editing/adding custom windows, links, and categories (everything should be censored before it is displayed anywhere except the blog control panel, though)
*changed* created a function just for tag font sizes (tag windows).  Should more accurately resize tags based on how many articles in which a specific tag is used as well as how many total instances of tags there are.
*changed* added admin options for guest CAPTCHA posting verification (can now disable entirely or disable for non-blog boards only)
*changed* got rid of unnecessary redirect changes in several SMF sources file... Display and MessageIndex handle most blog page redirects anyways
Title: Re: Blog Community
Post by: mediabob on September 12, 2008, 10:26:43 PM
Can I upgrade to this from 1.11 or should I uninstall 1.11 and install fresh?
Title: Re: Blog Community
Post by: Nibogo on September 12, 2008, 10:28:01 PM
NICE!!!!

I love it , thanks
Title: Re: Blog Community
Post by: Charles Hill on September 12, 2008, 10:51:06 PM
Quote from: mediabob on September 12, 2008, 10:26:43 PM
Can I upgrade to this from 1.11 or should I uninstall 1.11 and install fresh?
Have to uninstall 1.11
Title: Re: Blog Community
Post by: mediabob on September 12, 2008, 11:34:51 PM
Got it working, looks great, it shows how much work you put in to this blog, this is easily one of the most awesome mods I have ever seen.

Also another cool side note, on my Tint Portal main page I had a block (experimental) on the main page that pulled all the recent blogs by checking for the most recent posts in the forum designated for blogs. Before with 1.11 it would link to the blog, but when you clicked the link that way it took you to the standard forum view, now it takes it straight to the blog just like it should, so I don't know what you did different there but I like it :)
Title: Re: Blog Community
Post by: Sudhakar Arjunan on September 13, 2008, 02:19:28 AM
Hi Charles Thank you for v2.0.2 Beta. Cool Update.

I am going to install now with my simple portal version.

Could i know , when you will be converting the felblog datas to smfblog.
Title: Re: Blog Community
Post by: Furqon on September 13, 2008, 01:34:23 PM
Hello,

Is there any metode to disable all blog post to recent topic (Main Forum) ?

Thanks
Title: Re: Blog Community
Post by: Charles Hill on September 13, 2008, 02:04:03 PM
In your blog control panel..... Main ... Admin-Only Blog Options...

Don't count articles and comments in forum topic/post totals

Hide blog boards on the board index

Hide all articles and comments from your forum's recent posts (Be sure to Recount all forum totals and statistics after changing this setting)
Title: Re: Blog Community
Post by: Furqon on September 13, 2008, 02:14:46 PM
Quote from: Charles Hill on September 13, 2008, 02:04:03 PM
In your blog control panel..... Main ... Admin-Only Blog Options...

Don't count articles and comments in forum topic/post totals

Hide blog boards on the board index

Hide all articles and comments from your forum's recent posts (Be sure to Recount all forum totals and statistics after changing this setting)

Hello,

I already tried your instruction, but the post still appears on recent topic (Main Forum)
Title: Re: Blog Community
Post by: Charles Hill on September 13, 2008, 02:27:00 PM
You're using what mod?  Tiny portal?  If that's tiny portal, you can hide the portal blocks on all blog pages with "Hide portal blocks on all blog pages"

I haven't made any portal specific add-ons for Blog Community yet.
Title: Re: Blog Community
Post by: jkrlvgn on September 13, 2008, 02:32:21 PM
....so you're using portal system, which pulls the recent posts in a different way.  remember that it's important to document what you're actually referring to when posting an issue.  If you look in the recent posts from the SMF part, it won't be there.

This might be something that you want to talk to the people at the portal system about, since it's part of their system of how they pull it up.  This mod was made for SMF, and the additions to the mod to make it work with TP and Simple Portal don't modify those mods at all.
Title: Re: Blog Community
Post by: Furqon on September 13, 2008, 02:46:54 PM
oww .. ok then .. thanks a lot for your reply .. :)
Title: Re: Blog Community
Post by: djrem on September 13, 2008, 03:44:04 PM
Charles Hill for gold!

Many thanks buddy for such an awesome update

will be fully live on our site soon

www.voguefm.co.uk
Title: Re: Blog Community
Post by: qubbah on September 13, 2008, 04:54:22 PM
anybody can make block code snippet for tp for the latest image in mgallery?
Title: Re: Blog Community
Post by: mediabob on September 13, 2008, 06:23:52 PM
@ Furgon, the standard TP recent post block will pull all recent forums posts, since the blog uses modified forum posts it will still pull those as well, you will have to code your own recent post block that excludes the forums that you use for blogs. I use this in a PHP block


global $context, $scripturl;
$bullet = '<img src="'.$settings['images_url'].'/TPdivider.gif" alt="" border="0" style="margin:0 2px 0 0;" />';
// 10 is the number of posts to return, 2,3 are the boards that I want to exclude (blog boards)
$result=ssi_recentTopics(10,array(2,3),'return');
foreach($result as $my){
  echo "$bullet";
  echo '<span class="smalltext">'.$my['link'];
  // is this topic new? (assume they are logged in)
if (!$my['new'] && $context['user']['is_logged'])
echo '
<a href="', $scripturl, '?topic=', $my['topic'], '.from', $my['newtime'], '#new"><img src="', $settings['images_url'], '/', $context['user']['language'], '/new.gif" alt="', $txt[302], '" border="0" /></a>';
echo '<br>';
}
echo '</span>';
Title: Re: Blog Community
Post by: trackermo on September 13, 2008, 06:26:25 PM
Hi!

Well, I finally got a chance to install the new version and I have a few questions. 

Is there any way possible to put the blog index in the Main Menu Bar (i.e., home | Help | Search | Profile | ...) such as you have in the degreesofzero site?  How would I do that?

Thanks for the mod-- it looks great otherwise.

Mo
Title: Re: Blog Community
Post by: mediabob on September 13, 2008, 07:10:52 PM
It does put a blog button in the menu bar, but only on the default theme. If you are using a custom theme you will have to make that edit yourself
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 13, 2008, 07:20:46 PM
if you check your defaulot theme, (the core default) the button should be there already.. take the index.template.php file, file the blogs button and then compare the buttons from the default to the ones on your custom theme and try to work it in..

or you could read the docs on how to add a button! ;)

2 hands up for the blog.. thank you very much!!  :P
Title: Re: Blog Community
Post by: mediabob on September 13, 2008, 07:36:32 PM
There are actually two edits to make, you have to add it to the button array and add in the button code. Unzip the blog archive on your local machine and open install.xml and find the edits made to index.template.php and make those edits to index.template.php in your current theme.
Title: Re: Blog Community
Post by: Charles Hill on September 13, 2008, 08:12:11 PM
Thanks, mediabob and SmokeyBlue for help answering some questions :)

@ qubbah... As I said I will be making an add-on designed to enhance your Tiny Portal / Simple Portal with custom blocks to incorporate your Blog Community.  I just have a lot of other things I have to do right now.  Once I get to making add-ons, you all will have lots of new stuff to play with :)
Title: Re: Blog Community
Post by: Charles Hill on September 13, 2008, 09:53:55 PM
Issue with 2.0.2 Beta discovered.... When you do have blogs and a user is unable to view any of those blogs... there is a mysql error when they view your blog index.


Here's how to fix the problem:

In Sources/Blog.php

Find:
// ok let's get a list of blogs then
else


replace with:
// ok let's get a list of blogs then... if there are any that this user can view
elseif (!empty($context['visible_blogs']))



find:
// load blog index side windows
if (!empty($modSettings['blog_index_side_bar']))
loadBlogIndexSideWindows();


replace with:
// there are no blogs this user can view....
else
{
$context['blog']['blogError'] = $txt['no_blogs'];
}
// load blog index side windows
if (!empty($modSettings['blog_index_side_bar']) && !empty($context['visible_blogs']))
loadBlogIndexSideWindows();



And in Blog.english.php (or whatever Blog language file(s) you are using):

add at the end:
$txt['no_blogs'] = 'There are no blogs to view.';
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 13, 2008, 10:23:25 PM
no biggie Charles.. sorry i didnt have my files out when i posted, but glad its fixed now..

sweet mod.. thanks again, you made someone very happy that i am working with.. keep up the good stuff!! ;)
Title: Re: Blog Community
Post by: jimbo007 on September 14, 2008, 12:32:23 AM
This mod doesn't seem to work with my forum, I'm using 1.1.6, and when I went to "create" a new mod, i'm told it doesn't exist. On the boards in my forum I have a load of new boards at the top. I can't delete or remove these, and I've even uninstalled the mod with no luck. See here: www.simulation123.com Also google ads have appeared when I have them specified not to appear... Please help as this is a live site...
Title: Re: Blog Community
Post by: Charles Hill on September 14, 2008, 12:49:34 AM
I need more information to help you........

What errors occurred when you tried to install the first time?  What version did you try to use?  What other mods did you have installed?  What do you mean you can't delete the boards in your forum?  What errors are you getting and where?

Note... my mod has absolutely nothing to do with Google ads....
Title: Re: Blog Community
Post by: jimbo007 on September 14, 2008, 01:10:20 AM
Ok firstly...

There are a number of boards after appearing at the top of my forum, when I clicked on "create" for admin it gave me a message that the board didn't exist but it was created. These don't show up in my board administration (they aren't there, just showing up on the front, boards with no topics in them). I've reinstalled the mod, and it seems to be working fine now, however these boards are still here.

For some unknown reason a google ad section has appeared with them, I'm not saying that your mod has anything to do with google ads, I'm just saying it might have affected the other mod's display settings when displaying these boards.

I'm not even too bothered about google ads appearing there, I'd just like to get rid of these extra boards. If it means deleting them from the database using sql then it's fine, I just don't know anything about them.

I'm using the latest version of the mod, I had the other blog mod installed previously but uninstalled it first.

Other mods?

QuoteMod Name   Version   
1.   SMF Sitemap    1.2.2     [ Uninstall ] [ List Files ] [ Delete ]
2.   SMF 1.0.12 / 1.1.4 / 2.0 b1.1 Update    1.0     [ List Files ] [ Delete ]
3.   Auto Embed Video/Audio Clips    3.1.2     [ Uninstall ] [ List Files ] [ Delete ]
4.   SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update    1.0     [ List Files ] [ Delete ]
5.   Images On Board    1.1     [ Uninstall ] [ List Files ] [ Delete ]
6.   RSS Feed Icon    1.1     [ Uninstall ] [ List Files ] [ Delete ]
7.   RSS Feed Poster    1.1     [ Uninstall ] [ List Files ] [ Delete ]
8.   MessagePreviewOnHover    1.7   [ List Files ] [ Delete ]
9.   SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update    1.0     [ List Files ] [ Delete ]
10.   Integrate Lightbox    1.6     [ Uninstall ] [ List Files ] [ Delete ]
11.   SMF 1.0.14 / 1.1.6 Update    1.0     [ Uninstall ] [ List Files ] [ Delete ]
12.   Admin Notepad    1.0     [ Uninstall ] [ List Files ] [ Delete ]
13.   Ad Managment    2.3     [ Uninstall ] [ List Files ] [ Delete ]
14.   Blog Community (for 1.1.x)    2.0.2     [ Uninstall ] [ List Files ] [ Delete ]
15.   Ad Managment    1.0.2d   [ List Files ] [ Delete ]
16.   Sarcasmics smiley set    1.1     [ Uninstall ] [ List Files ] [ Delete ]
17.   PageEar (Pagepeel)    1.1     [ Uninstall ] [ List Files ] [ Delete ]

Thanks for the quick reply by the way, this really is a great mod if I can sort this small problem out!

J.
Title: Re: Blog Community
Post by: robbie93 on September 14, 2008, 01:19:11 AM
hi charles

we have this error when you click on the blog button

Database Error
Please try again. If you come back to this error screen, report the error to an administrator. 

and in error log


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 ')
ORDER BY b.blogViews DESC
LIMIT 0, 20' at line 7
File: /home/****/public_html/Sources/Blog.php
Line: 724

any ideas? :o
Title: Re: Blog Community
Post by: Charles Hill on September 14, 2008, 01:23:09 AM
I have absolutely no idea why boards would be appearing on your board index and not anywhere in your admin areas....  You might consider attempting to clean up your forum's source files by comparing them to the clean source files from SMF 1.1.6....

Before you spend hours doing that.... Try running all the maintenance functions for SMF...  Then look at your boards table in your database.  See if you can find rows that have the ID_BOARD that match the mystery boards at the top of your forum.

Also... you are aware that you can hide your blog boards on your board index with an admin-only option in the blog control panel?



edit...

@robbie93..  That is the issue I posted a fix for here (http://www.simplemachines.org/community/index.php?topic=244848.msg1706511#msg1706511)
Title: Re: Blog Community
Post by: jimbo007 on September 14, 2008, 01:37:01 AM
I updated to 1.1.6 this evening right before installing this mod... and I ran the maintenance functions, and backed up my forum data..
I'll have a go at looking at my database..
These boards were created when I clicked on "create" blog for both administrator and another user.. The notification I got back was that "this board does not exist" or something to that affect.. The amount of boards correlates to the amount of times i clicked create, a few times for the administrator and a couple of times in another member's profile... I got one blog working at the time by converting a board...

When you create a new blog in this way, I'm assuming it automates the process of creating a new board, hiding it and converting it to a blog? Do you know where in the database to look when a new board is created in this way? The boards are called "Admin's Blog" etc.. I'll have a look for ID_BOARD like you said...

Hiding the boards does not work unfortunately :(

Thanks again for the quick replies
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 14, 2008, 01:55:53 AM
Charles, one quick question, not sure if this has been asked or??

what about pinging?? lol... do you think that could be a function in the future?? would be nice if they could, but im not sure how it would be all set up.. im sure you could look thru word press, but ???  :P O:)
Title: Re: Blog Community
Post by: Charles Hill on September 14, 2008, 01:58:37 AM
@SmokyBlue ... Pinging what?

@jimbo007... your boards table....
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 14, 2008, 02:07:03 AM
lol to get the blogs to ping.. servers i think?? for announcing that there is a new post or blog up.. but then i am not sure  that it could do that, but maybe?? then again.. with it b eing a forum mod, im not sure Charles, but i was curious..  ;)
Title: Re: Blog Community
Post by: Charles Hill on September 14, 2008, 02:10:22 AM
I am still not sure what you're asking for?  You want to have a place to show when a new blog is created or when a new post for a blog is made?  Where would u want these things to be displayed?

There's an off chance you're talking about making an API to somehow connect ALL blogging communities that use this software?
Title: Re: Blog Community
Post by: jimbo007 on September 14, 2008, 02:12:15 AM
No need to go as far as the database, maybe I should have listened to you instead of firing back a post  ::) :-[

Find and repair any errors worked, thanks!

It did throw up this error though, can't for the life of me see what's wrong with that SQL syntax...!!


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 'WHERE blog_board != 1' at line 4
File: /home/rentaroo/public_html/simulation123.com/Sources/Subs.php
Line: 427

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.6, while your database is at version 1.1.2. The above error might possibly go away if you execute the latest version of upgrade.php.
Title: Re: Blog Community
Post by: Charles Hill on September 14, 2008, 02:14:08 AM
@ jimbo007... please give me the full code of the database query at line 427.  I will spot the problem for you.
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 14, 2008, 02:30:43 AM
Quote from: Charles Hill on September 14, 2008, 02:10:22 AM
I am still not sure what you're asking for?  You want to have a place to show when a new blog is created or when a new post for a blog is made?  Where would u want these things to be displayed?

There's an off chance you're talking about making an API to somehow connect ALL blogging communities that use this software?

something like that Charles.. or a connection between 2 or more "communities" while improving on the seo, kinda like what word press does..

as far as a display, that too could be usefull.. not sure where you would place it either right now.. as there are now 3 portals with the use of blocks.. lota ifs ;) but im sure this is going to be a great mod..  :)
Title: Re: Blog Community
Post by: Charles Hill on September 14, 2008, 02:36:40 AM
Well if I could perfect some kind of API system that would connect all the communities that use this software... that would certainly make this a step above any other mods... and would definitely make this a great alternative to word press' community software.

I've been spending the better part of the last 7 hours rebuilding the store front on Degrees of Zero..... really want to get this thing done so I can start making add-ons and templates... Once I get the store front done and get a few add-ons and templates made I will get crackin' on examining the viability of an API to connect all the blog communities.
Title: Re: Blog Community
Post by: robbie93 on September 14, 2008, 11:53:31 AM
hi charles,

I tried to edit the blog.php like you said but for some reason the file wont let you save edits in cpanel,  so,  I tried uninstalling the mod and reinstalling,  and noticed this.

1.  Execute Modification  ./index.php  Test successful
2. Execute Modification ./Sources/BoardIndex.php Test successful
3. Execute Modification ./Sources/Display.php Test successful
4. Execute Modification ./Sources/Load.php Test successful
5. Execute Modification ./Sources/ManageBoards.php Test successful
6. Execute Modification ./Sources/ManagePermissions.php Test successful
7. Execute Modification ./Sources/MessageIndex.php Test successful
8. Execute Modification ./Sources/Post.php Test successful
9. Execute Modification ./Sources/Profile.php Test successful
10. Execute Modification ./Sources/QueryString.php Test successful
11. Execute Modification ./Sources/Recent.php Test successful
12. Execute Modification ./Sources/RemoveTopic.php Test successful
13. Execute Modification ./Sources/SplitTopics.php Test successful
14. Execute Modification ./Sources/Subs-Boards.php Test successful
15. Execute Modification ./Sources/Subs-Post.php Test successful
16. Execute Modification ./Sources/Subs.php Test successful
17. Execute Modification ./Sources/Who.php Test successful
18. Execute Modification ./Themes/default/languages/index.english-utf8.php Test successful
19. Execute Modification ./Themes/default/languages/index.english.php Test successful
20. Execute Modification ./Themes/default/languages/index.english_british-utf8.php Test successful
21. Execute Modification ./Themes/default/languages/index.english_british.php Skipping file
22. Execute Modification ./Themes/default/index.template.php Test successful
23. Execute Modification ./Themes/default/ManageBoards.template.php Test successful
24. Execute Modification ./Themes/default/Post.template.php Test successful
25. Execute Modification ./Themes/default/Profile.template.php Test successful
26. Execute Modification ./Themes/default/SendTopic.template.php Test successful
27. Execute Modification ./Themes/default/SplitTopics.template.php Test successful
28. Execute Modification ./Themes/default/style.css Test successful
29. Execute Modification ./Themes/default/TPBlockLayout.template.php Skipping file
30. Execute Code add_settings.php
31. Extract File ./Sources/Blog.php
32. Extract File ./Sources/BlogPlugins.php
33. Extract File ./Sources/BlogSettings.php
34. Extract File ./Themes/default/Blog.template.php
35. Extract File ./Themes/default/pngfix.js
36. Extract File ./Themes/default/languages/Blog.english.php
37. Extract File ./Themes/default/languages/Blog.english-utf8.php
38. Extract File ./Themes/default/languages/Blog.english_british.php
39. Extract File ./Themes/default/languages/Blog.english_british-utf8.php
40. Extract File ./Themes/default/images/mysteryperson.jpg
41. Extract File ./Themes/default/images/defaultAvatar.png
42. Extract File ./Themes/default/images/rss_horizontal.png
43. Extract File ./Themes/default/images/icons/arrow_down.gif
44. Extract File ./Themes/default/images/icons/arrow_left.gif
45. Extract File ./Themes/default/images/icons/arrow_up.gif
46. Extract File ./Themes/default/images/icons/arrow_right.gif
47. Extract File ./Themes/default/images/icons/CategoryIcon.gif
48. Extract File ./Themes/default/images/icons/del.icio.us.gif
49. Extract File ./Themes/default/images/icons/delete_icon_16.gif
50. Extract File ./Themes/default/images/icons/digg_icon.gif
51. Extract File ./Themes/default/images/icons/edit_16.gif
52. Extract File ./Themes/default/images/icons/envelope_icon.gif
53. Extract File ./Themes/default/images/icons/exclamation_icon.gif
54. Extract File ./Themes/default/images/icons/failure_icon.gif
55. Extract File ./Themes/default/images/icons/furl_icon.gif
56. Extract File ./Themes/default/images/icons/globe_icon_16.gif
57. Extract File ./Themes/default/images/icons/icon_ip.gif
58. Extract File ./Themes/default/images/icons/icon_success.gif
59. Extract File ./Themes/default/images/icons/little_remove_icon.gif
60. Extract File ./Themes/default/images/icons/lock_icon_16.gif
61. Extract File ./Themes/default/images/icons/medium_rss_icon.png
62. Extract File ./Themes/default/images/icons/moveicon_16.gif
63. Extract File ./Themes/default/images/icons/preview_icon_16.gif
64. Extract File ./Themes/default/images/icons/print_icon_16.gif
65. Extract File ./Themes/default/images/icons/QuestionIcon.gif
66. Extract File ./Themes/default/images/icons/split_icon.gif
67. Extract File ./Themes/default/images/icons/stumbleupon_icon.gif
68. Extract File ./Themes/default/images/icons/tag_icon.gif
69. Extract File ./Themes/default/images/icons/technorati_icon.gif
70. Extract File ./Themes/default/images/icons/blinklist_icon.png
71. Extract File ./Themes/default/images/icons/facebook_icon.png
72. Extract File ./Themes/default/images/icons/windowslive_icon.png
73. Extract File ./Themes/default/images/icons/myweb_icon.png
74. Extract File ./Themes/default/images/icons/magnolia_icon.png
75. Extract File ./Themes/default/images/icons/mixx_icon.png
76. Extract File ./Themes/default/images/icons/google_icon.png
77. Extract File ./Themes/default/images/icons/twitter_icon.png
78. Extract File ./Themes/default/images/icons/reddit_icon.png
79. Extract File ./Themes/default/images/blogCatalog_button2.gif
80. Extract File ./Themes/default/images/blogCatalog_button3.gif
81. Extract File ./Themes/default/images/bbc/float.gif
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 14, 2008, 12:11:47 PM
Charles..

i have a few errors.. not sure where they are coming from.. perhaps you could check..

8: Undefined index: rss_feed
File: /home/lisa2/public_html/test/Themes/default/languages/Blog.english.php (manageBlogs sub template - eval?)
Line: 1708

8: Undefined index: can_poll_view
File: /home/lisa2/public_html/test/Sources/BlogSettings.php
Line: 435


if you need access to this, if you could, give me a few hours, as this is a test site for a client of mine and i am in the process of moving it to his site today.. will be glad to send you a demo pass, etc.,

EDIT: and the polls dont show on the blog..
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 14, 2008, 12:18:16 PM
Quote from: robbie93 on September 14, 2008, 11:53:31 AM
hi charles,

I tried to edit the blog.php like you said but for some reason the file wont let you save edits in cpanel,  so,  I tried uninstalling the mod and reinstalling,  and noticed this.

looks like you had no problem installing robbie..

are you using notpad++ to edit your files?? you need to take the blog.pp file down, add the edits (or check them) like that link that Charles pointed you to:

http://www.simplemachines.org/community/index.php?topic=244848.msg1706511#msg1706511

and then re upload the file from your desktop via ftp to the file it came out of.. this isnt a cpanel edit Robbie.. ;)
Title: Re: Blog Community
Post by: Kindred on September 14, 2008, 12:43:31 PM
also, it should be noted that uninstalling/reinstalling is usually the WORST thing your can do.
Title: Re: Blog Community
Post by: robbie93 on September 14, 2008, 12:59:39 PM
hi smoky ;D

I usually edit files from cpanel I havent even heard of notebokk ++  :-[

but on this occassion the file blog.php had no option to save all edits,  so i couldnt do it :'(

have you got link for the notebook download  :D

thanks for you're helpys  8)

Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 14, 2008, 01:28:22 PM
notepad link here (http://notepad-plus.sourceforge.net/) you didnt say if youwere on windows or?? but if this wont work they have a version out for mac as well.. never ever use just notepad, use the notepad++ or other text editor..

alos, i use coreftp light, its free, and good  ;)
Title: Re: Blog Community
Post by: Furqon on September 14, 2008, 03:11:15 PM
Hello .. its me again

Is there any methode to redirect/replace  index forum to index blog ?

Thanks
Title: Re: Blog Community
Post by: robbie93 on September 14, 2008, 04:00:44 PM
thanks for the link smoky,  I downloaded notepad++ and edited the required files :D

I am now getting these errors  :-[

when i click on one members blog and then there blog control panel I get this error

An Error Has Occurred!
Hey! Get down from there!

also the same members avatar has mysteriously changed by itself  :o form the avatar they used to an iceberg       any ideas ???

Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 14, 2008, 04:24:29 PM
did you go over your edits you made?? check to make sure you didnt put a " . " in the wrong place ;)

sometimes that does happen..
Title: Re: Blog Community
Post by: Charles Hill on September 14, 2008, 10:21:47 PM
@ SmokyBlue...  Undefined index errors mean that a variable is being used that hasn't been set yet.  rss_feed is a txt variable.  Most likely you're just missing this variable in your Blog language file.  can_poll_view is a context variable.  It is a context variable.  It should only be used if viewing the blog control panel... Maybe your BlogSettings.php.  Make sure you can find the following in the blogControlPanel2 function in Blog.php:
'can_poll_view' => 'poll_view',


@robbie93... If you are getting the following message:
An Error Has Occurred!
Hey! Get down from there!

That means you are both not the blog owner and not an admin.  You have to be an admin to view other users' blogs...  If you are an admin and are getting that message, there is something wrong with your Blog.php.
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 14, 2008, 10:45:24 PM
Thanks Charles, will check it out.. if i get it cleared will say how ;)

i do think i got the rss fixed tho  O:) lol will check tomorrow... had too much stuff to do today..
Title: Re: Blog Community
Post by: Sudhakar Arjunan on September 14, 2008, 10:55:27 PM
Hi Charles,

I have posted this topic in the drafts page. Earlier i was replying to drafts mod. Then i had typed everything and posted in drafts mod itself.

Waiting for reply here, and found my post is not found, so i went to my post and checked that i have posted in drafts mod.

-----------------------------------

Here is my question, before that i will let you know that, am a php developer and i know how to edit but still i would like you to edit and change it. Since i had already faced lots and lots of error log because of SMF . But now its safe and i want to modify and patch blog mod without any error .

------------------------------------

Hi Charles, I have tried to install 2.0.2 beta in my smf 1.1.6

Noted two error test failed fails.

11.   Execute Modification   ./Sources/Recent.php   Test failed
22.   Execute Modification   ./Themes/default/index.template.php   Test failed

Used the parser to manually check the files and found these simple errors,

In Default/Index.template.php file,

Find : <meta name="description" content="', $context['page_title'], '"

Present in my file as :    <meta name="description" content="', $context['page_title'], (!empty($context['description']) ? ' - '. $context['description'] : '') , '" />', empty($context['robot_no_index']) ? '' : '

So that gives me a issue.

In Source/Recent.php file,

Find : WHERE ml.ID_MSG = b.ID_LAST_MSG" .

Present in my file as : WHERE ml.ID_MSG = b.ID_LAST_MSG" . (!empty($modSettings['recycle_enable']) && $modSettings['recycle_board'] > 0 ? "

Find : WHERE b.ID_CAT IN (" . implode(', ', $_REQUEST['c']) . ")

Present in two lines : Line 237 & Line 1375 So conflict occurs

Give me a solution for the above errors.

I have attached the index.template file and recent file.

Kindly help me to modify it, i will install with errors and then replace the edited file charles.

Help me with the felblog conversion tool also.  :)
Title: Re: Blog Community
Post by: Charles Hill on September 14, 2008, 11:04:06 PM
Have you considered making a dev subdomain with the same files as your live site?  That way you can make edits and test them before uploading changes to your live site.... can avoid a lot of problems that way.  And can increase your user base's confidence in you.

I would really prefer not to get into making manual edits for anyone as my time is extremely scarce already....
Title: Re: Blog Community
Post by: Sudhakar Arjunan on September 14, 2008, 11:07:48 PM
Ok Charles, thats right . Everyone's time is precious.

I will try it myself. But you check the lines i have mentioned and then give me a manual changes required for those quoted lines only.
Title: Re: Blog Community
Post by: robbie93 on September 14, 2008, 11:21:10 PM
yeah charles,  I edited the files in blog.php and then started getting this message when trying to view a members blog as admin

An Error Has Occurred!
Hey! Get down from there!

any idea how to fix?   also why did the members avatar change?  when the member didnt change it ?
Title: Re: Blog Community
Post by: Charles Hill on September 14, 2008, 11:23:05 PM
Well it uses the defaultAvatar.png as the avatar for a board if the blog owner's avatar was not found... That is a highly complex feature and it may have some minor bugs.  Are you sure those users have avatars?

What did you modify in the Blog.php?
Title: Re: Blog Community
Post by: robbie93 on September 14, 2008, 11:29:37 PM
yep the user added an avatar of there own then made a blog,  I saw the avatar he used,  then for some reason the avatar switched only in the blog section to that of an iceberg.

in blog.php I edited the fix for the database error that you showed me,  thats when I started getting this

An Error Has Occurred!
Hey! Get down from there!
Title: Re: Blog Community
Post by: Charles Hill on September 14, 2008, 11:34:25 PM
Uh.... the fix I gave was for the Blog() function... you are getting the "Hey! Get down from there!" message when attempting to view someone's blog control panel yes?  The blog control panel is handled by the function blogControlPanel2()


Ya I'll have to run some more tests on the avatar on blog index feature... I'll be working a lot with attachments/avatars/file/downloads for the store front I am building and for an additional couple features in the Blog Community mod.  So hopefully I'll figure out what the problem is.
Title: Re: Blog Community
Post by: robbie93 on September 15, 2008, 12:17:41 AM
before the fix I was getting this error

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 ')
ORDER BY b.blogViews DESC
LIMIT 0, 20' at line 7
File: /home/****/public_html/Sources/Blog.php
Line: 724

then after the fix in Blog.php I got this error "Hey! Get down from there!"

plus the error with the avatar :D



Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 15, 2008, 12:23:40 AM
same error here Charles:

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 ')
ORDER BY b.blogViews DESC
LIMIT 0, 20' at line 7
File: /hsphere/local/home/dmeceo99/dangerousmindz.com/forum/Sources/Blog.php
Line: 724


not sure but this is php4, smf 1.1.6, tp 1.05

list of mods:

   Mod Name     Version     
1.    SMF Gallery Lite    1.9    [ Uninstall ] [ List Files ] [ Delete ]
2.    SMF Arcade    2.0.15    [ Uninstall ] [ List Files ] [ Delete ]
3.    User Email System    1.3    [ Uninstall ] [ List Files ] [ Delete ]
4.    Reason For Editing Mod    1.14    [ Uninstall ] [ List Files ] [ Delete ]
5.    SMF Classifieds    1.1.5    [ Uninstall ] [ List Files ] [ Delete ]
6.    Ad Managment    2.3    [ Uninstall ] [ List Files ] [ Delete ]
7.    AvatarSelect    1.1.2    [ Uninstall ] [ List Files ] [ Delete ]
8.    SMF Trader System    1.2    [ Uninstall ] [ List Files ] [ Delete ]
9.    SMFShop    3.0    [ Uninstall ] [ List Files ] [ Delete ]
10.    TinyPortal    1.052    [ Uninstall ] [ List Files ] [ Delete ]
11.    Logo redirect    0.1    [ Uninstall ] [ List Files ] [ Delete ]
12.    Auto Embed Video/Audio Clips    3.1.2    [ Uninstall ] [ List Files ] [ Delete ]
13.    SMF Links    1.6.7    [ Uninstall ] [ List Files ] [ Delete ]
14.    SMF Staff Page    1.5.1    [ Uninstall ] [ List Files ] [ Delete ]
15.    Blog Community (for 1.1.x)    2.0.2    [ Uninstall ] [ List Files ] [ Delete ]
16.    Karma Description Mod    2.3    [ Uninstall ] [ List Files ] [ Delete ]
17.    Save PM as HTML    1.0.6    [ Uninstall ] [ List Files ] [ Delete ]
18.    Order Stickied Topics    1.01    [ Uninstall ] [ List Files ] [ Delete ]
19.    SMF Media Gallery    1.0    [ Uninstall ] [ List Files ] [ Delete ]
20.    Treasury    2.30    [ Uninstall ] [ List Files ] [ Delete ]
21.    Skype Integration    1.0    [ Uninstall ] [ List Files ] [ Delete ]
22.    MySpace Field    2.4    [ Uninstall ] [ List Files ] [ Delete ]

just noticed that, but again, i will dig a bit deeper tomorrow..
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 15, 2008, 11:40:23 AM
Quote from: Charles Hill on September 14, 2008, 10:21:47 PM
@ SmokyBlue...  Undefined index errors mean that a variable is being used that hasn't been set yet.  rss_feed is a txt variable.  Most likely you're just missing this variable in your Blog language file.  can_poll_view is a context variable.  It is a context variable.  It should only be used if viewing the blog control panel... Maybe your BlogSettings.php.  Make sure you can find the following in the blogControlPanel2 function in Blog.php:
'can_poll_view' => 'poll_view',

i found this in the settings charles:



$poll_permissions = array(
'can_poll_view' => 'poll_view',
'can_poll_vote' => 'poll_vote',



so this is right.. ;)

edit:

i have gone back over the settings and checked everythingg i was supposed to, but i still am showing errors in the log:

Quote8: Undefined index: sideWindows
File: /hsphere/local/home/***/forum/Themes/default/Blog.template.php (main sub template - eval?)
Line: 614

and

8: Undefined index: rss_feed
File: /hsphere/local/home/***forum/Themes/default/Blog.template.php (main sub template - eval?)
Line: 782

i have enabled everything i can.. still nothing gives..
Title: Re: Blog Community
Post by: Charles Hill on September 15, 2008, 04:57:21 PM
The sideWindows error...... That is actually a mistake I made with the default blog template.... I forgot to change something in the template_sideWindow($array) function....

I make changes on my template files and then I make the changes to the default template version.... Anyways.. find the following in Blog.template.php:
global $context;
// it's done this way for ordering purposes...
for ($i = 1; $i <= count($context['blog']['sideWindows']); $i++)
{


replace with:
global $context, $settings, $scripturl, $txt;

if (empty($context['viewing_blog_index']))
$sideWindows = $context['blog']['sideWindows'];
else
$sideWindows = $context['blog']['blogIndexSideWindows'];

// it's done this way for ordering purposes...
for ($i = 1; $i <= count($sideWindows); $i++)
{


This is probably why your side windows weren't working right.  Also... the rss_feed is a txt variable which *should* be in your Blog language file.



edit---
About that mysql error at line 724... did you do the fixes that I suggested?  It has to do with $context['visible_blogs'] being empty....
Title: Re: Blog Community
Post by: Amun on September 15, 2008, 05:14:05 PM
Fatal error: Cannot redeclare blogcopyright() (previously declared in /home/content/p/e/a/peacefrog/html/Sources/Subs.php:4069) in /home/content/p/e/a/peacefrog/html/Sources/Subs.php on line 4072

I can't access any pages of my site now after I installed the mod I keep getting that error XD

Fixed it for what ever reason it was there was duplicates of code xD
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 15, 2008, 05:41:29 PM
Charles, the msql is gone.. error no more.. i re did the db and then applied your mod and the rest of them.. one at a time,, to double check, as this is a paid job for me..

only errors now are the rss and side windows.. i will make the corrections now and thank you for helping me out with this..

if i can not find the rss txt variable, could you post it up for me please?
Title: Re: Blog Community
Post by: Charles Hill on September 15, 2008, 05:43:55 PM
@SmokyBlue... Oh I just went to find it in my language files and apparently I forgot to put it in the Blog language file.

It's $txt['rss_feed'] = 'RSS Feed';
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 15, 2008, 05:45:37 PM
thank you very much Charles.. i am sure this is going to be a great mod..

keep up the good work you are doing with it.. you are a life saver ;)
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 15, 2008, 05:57:12 PM
much better!!!!

thank you tons Charles.. the edits are great.. no errors from the mod at all now.. i love it when its like that!! yes!! lol 22 mods with zero errors..

thanks again Charles..  ;)
Title: Re: Blog Community
Post by: Charles Hill on September 15, 2008, 06:07:04 PM
You're very welcome :)
Title: Re: Blog Community
Post by: robbie93 on September 15, 2008, 07:48:32 PM
mine is still broken :'(

;D
Title: Re: Blog Community
Post by: Charles Hill on September 15, 2008, 07:59:19 PM
Could you attach your Blog.php please?
Title: Re: Blog Community
Post by: runebergen on September 15, 2008, 08:07:35 PM
Quote from: SmokyBlue on September 15, 2008, 11:40:23 AM

Undefined index

i have enabled everything i can.. still nothing gives..

You have enabled PHP error reporting in PHP ini I guess.. or SMF does so..(I hope not).
Undefined isnt really an error often, but just means a string is empty.. and it will be when you start new at something (such as blog)

Usually, in PHP5, it means that a variable is empty.. and can be solved by setting a value to it.. 

$i=0; //init temp var  (to prevent emty strings errors, where things havent been properly initialized.)

I usually turn off error reporting, because it isnt really "errors", and will populate the error log at SMF to be HUGE

Add this at bottom of Settings.php if you want to get rid of it all


// Turn off all error reporting
error_reporting(0);

or
ini_set('display_errors', 0)


Will prevent the error log in SMF to get huge with all these petty small "errors" that arent really important..
And its a pain to get all the mod developers to do what PHP really likes (initialize everything)...


I dont really want to see all these "errors" logged.. so that what I do :) I mean, the SMF forum works fine with all my mods.. But its bound to produce a lot of these small "errors" that php reports to log (even if all works fine)

Disadvantage is of course that it turns off ALL error logs.
If you want it only at certain mods/scripts, you can add the stuff at top of the pages, instead of Settings.php


:)





Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 15, 2008, 08:34:07 PM
id rather keep my log clean to start with, that way, should something ever go wrong, i wont have tons of errors to go thru, i will know immediately what did cause the errors and i can fix them, but each to their own..  :)

the blog is a kewl feature and i really do like it.. i might play with it more..  ;)
Title: Re: Blog Community
Post by: robbie93 on September 15, 2008, 09:39:33 PM
Quote from: Charles Hill on September 15, 2008, 07:59:19 PM
Could you attach your Blog.php please?

here you go charles ;D
Title: Re: Blog Community
Post by: Charles Hill on September 15, 2008, 10:59:42 PM
@ robbie... what is the URL you are going to for the other people's blog control panel?

edit--- and where is the link at that you are clicking?

You should note that the b102 error (the one you're experiencing) occurs for one of two reasons....
1... you are trying to view another user's blog control panel and you are not an admin
2... you are trying to view the blog control panel of a user that does not exist... ie the 'u' request variable IS set AND does not equal to the ID of an existing user in your site.
Title: Re: Blog Community
Post by: robbie93 on September 16, 2008, 12:35:16 PM
here is the url to the error

http://robbie93andhotchildxox.net/index.php?action=blogControlPanel;u=1;blog=310

here is the url to the control panel

http://robbie93andhotchildxox.net/index.php?action=blogs

I get the error when as admin go to check a members blog

and the member exists :D

at the moment I cant even access the control panel for members blogs I am going to disable the blog because as of now it is worthless :o

this is a really good mod charles but at the moment it has too many bugs in it :-[
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 16, 2008, 01:47:03 PM
hard to see what you are pointing too robbie, when you have the site disabled for guest viewing..

unless you can provide a temporay access.. ;)
Title: Re: Blog Community
Post by: robbie93 on September 16, 2008, 03:07:12 PM
thats the thing smoky,   I have it set for guest viewing :-\

I am gonna delete the mod I give up :'( :o

Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 16, 2008, 03:56:00 PM
that isnt the mod doing that robbie..

its your forum setting.. they arent allowing for guests to see the site..
Title: Re: Blog Community
Post by: robbie93 on September 16, 2008, 06:33:03 PM
I changed it so that guests could view Blogs but it didnt work lol

does the mod work for you smoky?
Title: Re: Blog Community
Post by: Charles Hill on September 16, 2008, 08:35:01 PM
@ robbie93... Find "Allow guests to browse the forum" on the following page:
http://robbie93andhotchildxox.net/index.php?action=featuresettings
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 16, 2008, 08:43:28 PM
the person i installed it for has no issues with the mod now..

Robbie.. if Charles cant help you by the time i wrap up, maybe late tomorrow, i will edit for you.. just pm me to remind ok??  ;)
Title: Re: Blog Community
Post by: Charles Hill on September 16, 2008, 10:14:23 PM
Editing is not required... he just doesn't understand that he has to make his site accessible to guests for guests to be able to view his blog community.  As for his b102 error... The URLs he gave are confusing... He is trying to access user #1's blog control panel?  Isn't that the admin (him)?  The second address he gave was to the blog index.... You can't get the b102 error there.
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 17, 2008, 12:01:03 AM
i do agree.. after i did the edits you said to, there has been no more issues with the mod at all..

but maybe the files are umm missing a bit?? might cause errors to happen, anyways Robbie, if you still need help, post up ;)
Title: Re: Blog Community
Post by: ilikeitalot on September 17, 2008, 12:42:10 AM
I haven't had time to install your new v2 version yet, but I'm dying to... can't wait!  It really looks amazing.  I'm hoping to get it installed this weekend.  I was curious if you might have a newer version out before then.  If not, that's fine... I'll just install v2.0.2 and apply the fixes you've posted in this thread.  Thanks again for the great work Charles!
Title: Re: Blog Community
Post by: Charles Hill on September 17, 2008, 12:47:36 AM
I haven't gotten to work yet on any of the new things I wanted to add / finish.  I have already made the couple fixes for a new version though.  All of which are in the Blog files (not smf source or theme files).

I've been rebuilding my store front.  It is almost usable.  Once I get that working I will get to work on 2.0.3 Beta and some add-ons.
Title: Re: Blog Community
Post by: qubbah on September 17, 2008, 12:16:34 PM
how about commentors avatars?
Title: Re: Blog Community
Post by: LadyC on September 17, 2008, 01:48:54 PM
i'm having an unusual problem. the blog community thing works great for the admins! but when a member tries to create a blog, they get a page that says an error has occurred. but it doesn't say WHAT error occurred. i do have it set to community blogging mode. i thought maybe i could get around this by setting up blogs for the members, but it doesn't appear that i'm able to do that.

any suggestions? here's a link to the forum it's on. http://2glorify.com
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 17, 2008, 02:51:44 PM
do you have any errors in the log? if so, could you list them?? :)
Title: Re: Blog Community
Post by: LadyC on September 17, 2008, 03:38:57 PM
 Apply Filter: Only show the error messages of this URL  http://2glorify.com/index.php?action=blogControlPanel;u=113

Apply Filter: Only show the errors with the same message
8: Undefined index: cannot_write_blog
File: /home/cprice/public_html/Sources/Errors.php
Line: 337
Title: Re: Blog Community
Post by: Charles Hill on September 17, 2008, 07:11:19 PM
Ahhh... Yes I forgot to include the error language strings :(   I'm a goofball.

Here they are...

$txt['cannot_write_blog'] = 'Sorry, but you are not allowed to blog.';
$txt['cannot_multiple_blogs'] = 'Sorry, but you are not allowed to have multiple blogs.';
$txt['cannot_pseudo_independent_blog'] = 'Sorry, but you are not allowed to use the pseudo-independent blog setting.';
$txt['cannot_blog_restrict_access'] = 'Sorry, but you are not allowed to restrict access to your blogs.';
$txt['cannot_blog_set_posting_restrictions'] = 'Sorry, but you are not allowed to set posting restrictions for your blogs.';
$txt['cannot_delete_own_blogs'] = 'Sorry, but you are not allowed to delete your own blogs.';


You'll need to add those at the end of your Errors.english.php language file or whatever language you are using.
Title: Re: Blog Community
Post by: LadyC on September 17, 2008, 08:09:09 PM
ok, so if i add those to the end of that page, people will know that they aren't allowed to blog, but WHY aren't  they allowed to? i've got it set to community mode, i want people to be able to use it.... can i fix that?
Title: Re: Blog Community
Post by: LadyC on September 17, 2008, 08:11:40 PM
ok, let me rephrase that question... i checked the permissions for each group and they were all off. i'm turning them on now. but why were they off? when i set it to community mode, shouldn't it have turned them all on?
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 17, 2008, 08:32:26 PM
its just like any other setting in the forum Lady C, if you dont give permission they cant use it ;)

thanks Charles, i was going to ask about that as well ;)
Title: Re: Blog Community
Post by: Charles Hill on September 17, 2008, 08:45:19 PM
Yes you need to give the member groups the write_blog permission for them to be able to access their blog control panel and create a blog.  Look for "Can make their own blog" under the permission group "Blog" in your Administrator area of your site (Members > Permissions).
Title: Re: Blog Community - uninstall
Post by: digit on September 19, 2008, 08:54:18 AM
I need to uninstall an older version of this.

Would you happen to have previous versions?

Title: Re: Blog Community
Post by: Charles Hill on September 19, 2008, 09:13:24 AM
Which version do you need?
Title: Re: Blog Community
Post by: digit on September 19, 2008, 12:06:59 PM
Not sure, but my Blog.template.php is v1.11.

I see there have been A LOT of changes recently!
Title: Re: Blog Community
Post by: Charles Hill on September 19, 2008, 12:12:57 PM
I posted the install.xml from v1.11 a few pages ago in this topic... Here's the link:
http://www.simplemachines.org/community/index.php?topic=244848.msg1703476#msg1703476

That should help you manually uninstall v1.11

edit---
You should note that there have been a few minor issues with 2.0.2 Beta and I've posted a few fixes in this topic also.
Title: Re: Blog Community
Post by: digit on September 19, 2008, 12:50:36 PM
Thanks - apparently it's not 1.1  I have this in Post.php....



if (!empty($modSettings['blogMode'])) {

$boardinfo = db_query("
SELECT blog_board, blog_owner
FROM {$db_prefix}boards
WHERE ID_BOARD = $board
LIMIT 1", __FILE__, __LINE__);
$boardinfo = mysql_fetch_assoc($boardinfo);

// it's gotta be a blog board
if (!empty($boardinfo['blog_board'])) {

// check to see if this user is the blog owner ONLY if this is a new topic
if (empty($topic)) {


$context['is_blog_owner'] = $context['user']['id'] == $boardinfo['blog_owner'] ? true : false;

if (isset($context['is_blog_owner'])) {
if (!$context['is_blog_owner'])
fatal_lang_error('only_blog_owner', false);

}
}

if (($modSettings['blogMode'] == 3) && allowedTo('write_blog')) {

if (isset($_REQUEST['board']))
$boardID = (int) $_REQUEST['board'];
else
$boardID = $board;

$request = db_query("
SELECT blog_owner
FROM {$db_prefix}boards
WHERE ID_BOARD = $boardID
AND blog_board = 1
LIMIT 1", __FILE__, __LINE__);

if (mysql_num_rows($request) > 0)
$blog_info = mysql_fetch_assoc($request);

mysql_free_result($request);
}

$context['blogBoard'] = ($modSettings['blogMode'] == 3) ? $boardID : $modSettings['blogBoard'];

$allowed_to_blog = false;
if (!empty($blog_info))
$allowed_to_blog = $blog_info['blog_owner'] == $context['user']['id'] ? true : false;

if ($modSettings['blogMode'] == (1 || 2))
$allowed_to_blog = true;

if (isset($_REQUEST['topic']) && isset($_REQUEST['msg']) && $allowed_to_blog)
$context['show_category_select'] = empty($topic) || (isset($_REQUEST['msg']) && $_REQUEST['msg'] == $ID_FIRST_MSG) ? true : false;
elseif ($allowed_to_blog)
$context['show_category_select'] = isset($_REQUEST['board']) ? true : false;
else
$context['show_category_select'] = false;

// let's get the blog category that this topic is currently in
$request = db_query("
SELECT bc.categoryID, bc.name
FROM {$db_prefix}blog_categories as bc
LEFT JOIN {$db_prefix}topics as t ON (bc.categoryID = t.categoryID)
WHERE t.ID_TOPIC = $context[current_topic]
ORDER BY t.categoryID
LIMIT 1", __FILE__, __LINE__);

if (mysql_num_rows($request) > 0) {
$row = mysql_fetch_assoc($request);
$context['current_blog_cat'] = array(
'id' => $row['categoryID'],
'name' => $row['name'],
);
}
mysql_free_result($request);
if (isset($row))
unset($row);

$memberID = $context['user']['id'];

// let's get all the blog categories now
$request = db_query("
SELECT categoryID, name, total
FROM {$db_prefix}blog_categories
WHERE memberID = $memberID
AND boardID = $context[blogBoard]", __FILE__, __LINE__);

if (mysql_num_rows($request) > 0) {
$context['blog_categories'] = array();
// Build the categories array
while ($row = mysql_fetch_assoc($request)) {
$context['blog_categories'][] = array(
'id' => $row['categoryID'],
'name' => $row['name'],
'total' => $row['total'],
'href' => $scripturl .'?category='. $row['categoryID'],
);
}
}
mysql_free_result($request);
if (isset($row))
unset($row);
}
}




Title: Re: Blog Community
Post by: Charles Hill on September 20, 2008, 09:39:53 AM
Sorry I don't have version earlier than 1.11.  But it's safe to assume that the code right there is part of an older version of the blog mod :)
Title: Re: Blog Community
Post by: W. Riker on September 20, 2008, 12:17:25 PM
Is it compatible with smf 1.1.4
Title: Re: Blog Community
Post by: Charles Hill on September 20, 2008, 04:14:34 PM
I dont know.  But if you're still running a forum at 1.1.4 you should really consider upgrading to 1.1.6... There are several security vulnerabilities that have to be corrected.
Title: Re: Blog Community
Post by: W. Riker on September 20, 2008, 05:06:51 PM
Do I need to uninstall first all mods and later install them again or i can upgrade my smf directly without uninstalling all mods?
Title: Re: Blog Community
Post by: Charles Hill on September 20, 2008, 07:24:31 PM
You can use an upgrade package.  Some of the changes you've made to your sources files might cause problems, but you should be able to make the necessary changes manually if you encounter any problems.  Upgrading won't undo your currently installed mods.
Title: Re: Blog Community
Post by: W. Riker on September 21, 2008, 09:06:34 AM
Quote from: Charles Hill on September 20, 2008, 04:14:34 PM
I dont know.  But if you're still running a forum at 1.1.4 you should really consider upgrading to 1.1.6... There are several security vulnerabilities that have to be corrected.

Thanks for advice. I just finished my upgrade. I had some problems so i was forced to upgrade it manually. All mods are working fine, just for two of them ("nneonneo's AJAX ShoutBox" and "SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update") it displays like there are not installed but they work normal. In a fact shoutbox works normal and i even don't know where form appeared the second one!? Is it a problem?
Title: Re: Blog Community
Post by: Kindred on September 21, 2008, 10:12:03 AM
once you upgraded, the version of some mods that you have installed may not be supported under the new version...   so there is no uninstall option. The mod is still installed, you'll just have to uninstall it manually if youd ecide to get rid of it.
Title: Re: Blog Community
Post by: W. Riker on September 21, 2008, 10:13:04 AM
Thanks! O:)
Title: Re: Blog Community
Post by: mathmission on September 22, 2008, 02:52:59 PM
Using the "Note" theme for 1.1.6. Installed fine, and works in IE. In Firefox, the link to the blog is placed as the second button, but doesn't actually appear as a button, rather it's just floating text. In Opera, it appears at the end, not as a button, but as text, but in an appropriate spot. Let me show some screen shots:

Title: Re: Blog Community
Post by: Charles Hill on September 22, 2008, 03:13:15 PM
I suppose I should use the theme link tree function to show the blog link tree.  Would make compatibility between themes a lot easier :)

I have not used your theme, so I couldn't tell you how to fix that.  I am not the best person to ask about CSS problems.
Title: Re: Blog Community
Post by: mathmission on September 22, 2008, 03:14:44 PM
That's ok. At least you know what it does with this newer theme.
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 22, 2008, 03:29:23 PM
Can you post up what the code is that you modified for the blog here, and please use the [ code ] code [/ code ] tags? :)
Title: Re: Blog Community
Post by: mathmission on September 22, 2008, 04:01:13 PM
CSS;

/* Normal, standard links. */
a:link
{
   color: #476C8E;
   text-decoration: none;
}
a:visited
{
   color: #476C8E;
   text-decoration: none;
}
a:hover
{
   text-decoration: underline;
}

/* Navigation links - for the link tree. */
.nav, .nav:link, .nav:visited
{
   color: #000000;
   text-decoration: none;
}
a.nav:hover
{
   color: #cc3333;
   text-decoration: underline;
}

/* Tables should show empty cells. */
table
{
   empty-cells: show;
}

/* By default (td, body..) use verdana in black. */
body, td, th , tr
{
   color: #000000;
   font-size: small;
   font-family: verdana, sans-serif;
}

/* The main body of the entire forum. */
body
{
    background:url(images/bodybg.jpg)repeat;
   background-color: #E5E5E8;
   margin: 0px;
   padding: 12px 30px 4px 30px;
}

/* Input boxes - just a bit smaller than normal so they align well. */
input, textarea, button
{
   color: #000000;
   font-family: verdana, sans-serif;
}
input, button
{
   font-size: 90%;
}

textarea
{
   font-size: 100%;
   color: #000000;
   font-family: verdana, sans-serif;
}

/* All input elements that are checkboxes or radio buttons. */
input.check
{
}

/* Selects are a bit smaller, because it makes them look even better 8). */
select
{
   font-size: 90%;
   font-weight: normal;
   color: #000000;
   font-family: verdana, sans-serif;
}

/* Standard horizontal rule.. ([hr], etc.) */
hr, .hrcolor
{
   height: 1px;
   border: 0;
   color: #666666;
   background-color: #666666;
}

/* No image should have a border when linked */
a img
{
   border: 0;
}
/* A quote, perhaps from another post. */
.quote
{
   color: #000000;
   background-color: #D7DAEC;
   border: 1px solid #000000;
   margin: 1px;
   padding: 1px;
   font-size: x-small;
   line-height: 1.4em;
}

/* A code block - maybe even PHP ;). */
.code
{
   color: #000000;
   background-color: #dddddd;
   font-family: "courier new", "times new roman", monospace;
   font-size: x-small;
   line-height: 1.3em;
   /* Put a nice border around it. */
   border: 1px solid #000000;
   margin: 1px auto 1px auto;
   padding: 1px;
   width: 99%;
   /* Don't wrap its contents, and show scrollbars. */
   white-space: nowrap;
   overflow: auto;
   /* Stop after about 24 lines, and just show a scrollbar. */
   max-height: 24em;
}

/* The "Quote:" and "Code:" header parts... */
.quoteheader, .codeheader
{
   color: #000000;
   text-decoration: none;
   font-style: normal;
   font-weight: bold;
   font-size: x-small;
   line-height: 1.2em;
}

/* Generally, those [?] icons.  This makes your cursor a help icon. */
.help
{
   cursor: help;
}

/* /me uses this a lot. (emote, try typing /me in a post.) */
.meaction
{
   color: red;
}

/* The main post box - this makes it as wide as possible. */
.editor
{
   width: 96%;
}

/* Highlighted text - such as search results. */
.highlight
{
   background-color: yellow;
   font-weight: bold;
   color: black;
}

/* Alternating backgrounds for posts, and several other sections of the forum. */
.windowbg, #preview_body
{
   color: #000000;
   background-color: #FFF;
}
.windowbg2
{
   color: #000000;
   background-color: #FFF;
}
.windowbg3
{
   color: #000000;
   background-color: #FFF;
}
/* the today container in calendar */
.calendar_today
{
   background-color: #CBCBCB;
}

/* These are used primarily for titles, but also for headers (the row that says what everything in the table is.) */
.titlebg, tr.titlebg th, tr.titlebg td, .titlebg2, tr.titlebg2 th, tr.titlebg2 td
{
   color: black;
   font-style: normal;
   background-color: #FFF;
   border-bottom: solid 1px #9BAEBF;
   border-top: solid 1px #FFFFFF;
   padding-left: 10px;
   padding-right: 10px;
}
.titlebg, .titlebg a:link, .titlebg a:visited
{
   font-weight: bold;
   color: black;
   font-style: normal;
}

.titlebg a:hover
{
   color: #404040;
}
/* same as titlebg, but used where bold text is not needed */
.titlebg2 a:link, .titlebg2 a:visited
{
   color: black;
   font-style: normal;
   text-decoration: underline;
}

.titlebg2 a:hover
{
   text-decoration: underline;
}

/* This is used for categories, page indexes, and several other areas in the forum.
.catbg and .catbg2 is for boardindex, while .catbg3 is for messageindex and display headers*/
.catbg , tr.catbg td , .catbg3 , tr.catbg3 td
{
   background: url(images/catbg.jpg) #88A6C0 repeat-x;
   color: #ffffff;
   padding-left: 10px;
   padding-right: 10px;
}
.catbg2 , tr.catbg2 td
{
   background: url(images/catbg.jpg) #A1BFD9 repeat-x;
   color: #ffffff;
   padding-left: 10px;
   padding-right: 10px;
}
.catbg, .catbg2, .catbg3
{
   border-bottom: solid 1px #375576;
}
.catbg, .catbg2
{
   font-weight: bold;
}
.catbg3, tr.catbg3 td, .catbg3 a:link, .catbg3 a:visited
{
   font-size: 95%;
   color: white;
   text-decoration: none;
}
.catbg a:link, .catbg a:visited , .catbg2 a:link, .catbg2 a:visited
{
   color: white;
   text-decoration: none;
}
.catbg a:hover, .catbg2 a:hover, .catbg3 a:hover
{
   color: #e0e0ff;
}
/* This is used for tables that have a grid/border background color (such as the topic listing.) */
.bordercolor
{
   background-color: #ADADAD;
   padding: 0px;
}

/* This is used on tables that should just have a border around them. */
.tborder
{
   padding: 1px;
   border: 1px solid #696969;
   background-color: #FFFFFF;
}

/* Default font sizes: small (8pt), normal (10pt), and large (14pt). */
.smalltext
{
   font-size: x-small;
   font-family: verdana, sans-serif;
}
.middletext
{
   font-size: 90%;
}
.normaltext
{
   font-size: small;
}
.largetext
{
   font-size: large;
}


/* Posts and personal messages displayed throughout the forum. */
.post, .personalmessage
{
   width: 100%;
   overflow: auto;
   line-height: 1.3em;
}

/* All the signatures used in the forum.  If your forum users use Mozilla, Opera, or Safari, you might add max-height here ;). */
.signature
{
   width: 100%;
   overflow: auto;
   padding-bottom: 3px;
   line-height: 1.3em;
}

/* Sometimes there will be an error when you post */
.error
{
   color: red;
}

/* definitions for the main tab, active means the tab reflects which page is displayed */
.maintab_first, .maintab_back, .maintab_last, .maintab_active_first, .maintab_active_back, .maintab_active_last,
.mirrortab_first, .mirrortab_back, .mirrortab_last, .mirrortab_active_first, .mirrortab_active_back, .mirrortab_active_last {
   color: #333;
   vertical-align: top;
}
.maintab_back, .maintab_active_back,
.mirrortab_back, .mirrortab_active_back {
   color: #333;
   text-decoration: none;
   font-size:  9px;
   font-family: Arial, Helvetica, sans-serif;
   padding: 5px 10px 5px 10px;
}
.maintab_first,.mirrortab_first {
   display: none;
}
.maintab_back,.mirrortab_back {
   background: #cbcbcb;
   color: #222;
}
.maintab_last,.mirrortab_last {
   display: none;
}
.maintab_active_first, .mirrortab_active_first {
   display: none;
}
.maintab_active_back, .mirrortab_active_back {
   background: #FFF;
   color: #1A1A1A;
}
.maintab_active_last, .mirrortab_active_last {
   display: none;
}
/* how links behave in main tab. */
.maintab_back a:link, .maintab_back a:visited, .mirrortab_back a:link, .mirrortab_back a:visited,
.maintab_active_back a:link, .maintab_active_back a:visited, .mirrortab_active_back a:link, .mirrortab_active_back a:visited {
   color: #000;
   text-decoration: none;
   font-family: Arial, Helvetica, sans-serif;
   font-weight: 700;
   text-transform: uppercase;
}
.maintab_back a:hover, .maintab_active_back a:hover,
.mirrortab_back a:hover, .mirrortab_active_back a:hover {
   color: #1A1A1A;
   text-decoration: none;
}
/* template menu */
#container{padding: 0px 10px 0 10px;background:#CBCBCD;}
ul#simple-menu{list-style-type:none;width:100%;position:relative;height:27px;font-family:"Trebuchet MS",Arial,sans-serif;font-size:13px;font-weight:bold;margin:0;padding:11px 0 0 0;}
ul#simple-menu li{display:block;float:left;margin:0 0 0 4px;height:27px;}
ul#simple-menu li.left{margin:0;}
ul#simple-menu li a{display:block;float:left;color:#fff;background:#EAEAEB;border-top:#696969;border-left:#696969;border-right:#696969;line-height:27px;text-decoration:none;padding:0 17px 0 18px;height:27px;}
ul#simple-menu li a.right{padding-right:19px;}
ul#simple-menu li a:hover{background:#cbcbcb;}
ul#simple-menu li a.chosen{color:#222;background:#FFF;}
ul#simple-menu li a.chosen:hover{color:#1A1A1A;background:#000;}     
ul#simple-menu li.chosen a{color:#1A1A1A;background:#FFF;}

#footer
{
clear:both;
color:#000; 
padding: 13px;
font-family: verdana,arial,sans-serif
}
#footer a
{
color:#000;
}
#footer a:hover
{
color:#CBCBCB;
}

#header     
{
clear:both;
width:925px;
padding:25px 0 0 25px;
height:260px;
background-image:url('images/img/head_black.jpg'); background-repeat:repeat-x;
padding-top:30px;
}
#logo 
{
width:100%;
height:125px;
background-image:url('images/pixellogo.png');
background-repeat:no-repeat;
padding-top:0px;
}

.wrapper
{   
background: #cbcbcb;   
width: 70%;   
color: #192B40;   
border: 1px solid #192B40;   
margin: auto auto;   
padding: 20px;   
text-align: left;
}

/* The AJAX notifier */
#ajax_in_progress
{
   background: #32CD32;
   color: white;
   text-align: center;
   font-weight: bold;
   font-size: 18pt;
   padding: 3px;
   width: 100%;
   position: fixed;
   top: 0;
   left: 0;
}


/* Blog stuff... start */
td.mirrortab_divider, .mirrortab_divider
{
   text-transform: uppercase;
   vertical-align: bottom;
   font-size:8px;
   color:#CACACA;
   padding:0;
   padding-bottom:3px;
   background: url(images/mirrortab_back.gif) repeat-x;
}
td.maintab_divider, .maintab_divider
{
   text-transform: uppercase;
   vertical-align: top;
   font-size:8px;
   color:#CACACA;
   padding:0;
   padding-top:4px;
   background: url(images/maintab_back.gif) left bottom repeat-x;
}
tr.windowTitle td
{
   font-weight:bold;
}
tr.blogSideWindowHeader td
{
   font-size:13px;
   font-weight:bold;
   padding:3px;
}
tr.blogRowTitle td, div.blogRowTitle
{
   font-weight:bold;
   padding:5px;
   white-space:nowrap;
}
tr.blogRowTitle td a, div.blogRowTitle a
{
   color:#9DA5A8;
}
tr.blogRowTitle td a:hover
{
   color:#000000;
}
td.blogTopicAuthor
{
   text-align:center;
   vertical-align:middle;
   margin:0;
   padding-bottom:2px;
}
div.msgOptionsDropDown
{
   float:right;
   text-align:center;
   z-index:100;
}
div.msgOptionsDropDown div.alwaysDisplay
{
   padding:3px;
   background-color:#E7F2FF;
   border:1px solid #D3DEEF;
   visibility:visible;
   vertical-align:middle;
   width:40px;
}
div.msgOptionsDropDown:hover div.alwaysDisplay
{
   color:#656565;
   background-color:#ffffff;
   border-color:#D3DEEF;
   visibility:hidden;
   vertical-align:middle;
}
div.msgOptionsDropDown div.displayOnHover
{
   display:none;
   position:absolute;
   z-index:100;
   padding:0;
   margin:0;
   margin-right:13px;
   color:#656565;
   border:1px solid #ABB9CF;
   background-color:#ffffff;
   text-align:center;
   white-space:nowrap;
}
div.msgOptionsDropDown div.displayOnHover a
{
   padding:0;
   margin:0;
}
div.msgOptionsDropDown div.displayOnHover img
{
   padding:5px;
   vertical-align:middle;
   text-align:center;
}
div.msgOptionsDropDown:hover div.displayOnHover
{
   display:block;
}
tr.commentsHeader td
{
   padding:6px;
   color:#737373;
}
tr.commentWrittenBy td
{
   padding:4px;
}
tr.commentSpecial td, span.commentSpecial
{
   padding:4px;
   color:#AAAAAA;
}
span.commentSpecial
{
   color:#AAAAAA;
}
.internalLink
{
   color:#9B9B9B;
}
.internalLink:hover
{
   color:#000000;
}
tr.commentBody td
{
   padding:4px;
}
td.windowHeaderPageIndex
{
   white-space:nowrap;
   font-weight:normal;
}
td.windowHeaderPageIndex a
{
   color:#fff;
}
td.windowHeaderPageIndex a:hover
{
   color:#2C537F;
}
div.unapprovedAlert img
{
   text-align:center;
   margin:8px;
}
td.blogArticleHeader h1
{
   font-size:14px;
   text-align:center;
   font-weight:bold;
}
div.blogHelpText
{
   text-align:left;
   margin:12px;
   line-height:120%;
}
div.img_float_left img
{
   margin: 4px 12px -2px 0;
}
div.img_float_right img
{
   margin: 4px 0 -2px 12px;
}
/* Blog stuff... end */


and the index.template.php.... well that might be more efficiently displayed by looking at:This (http://custom.simplemachines.org/mods/index.php?mod=1209) = manual instructions for installation for 1.1.6

Title: Re: Blog Community
Post by: qubbah on September 22, 2008, 08:05:07 PM
For TP - how can i only show left ang right block in all blog sections?
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 22, 2008, 09:55:33 PM
Quote from: mathmission on September 22, 2008, 04:01:13 PM

and the index.template.php.... well that might be more efficiently displayed by looking at:This (http://custom.simplemachines.org/mods/index.php?mod=1209) = manual instructions for installation for 1.1.6


no!! you do not mess with the css..

as for the button not showing up correct.. what i am saying is to look at how i coded the buttons for the rest.. if you use the default way of coding, of course it will be screwy and not match the theme i created.

first you do the theme edits for the index.template.php file.. when you get down to the bottom of the file, you will see:

// Show the [help] button.

this is where the blog button will be going!! "after" the help button,

for the default theme it should look like this:

// Show the [Blogs] button.
echo ($current_action=='blog' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'blog' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=blogs">' , $txt['b1a'] , '</a>
</td>' , $current_action == 'blog' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


and for the theme "note" it will be this:

// Show the [Blogs] button.
echo '<li', $current_action == 'blog' ? ' class="chosen"' : '', '><a href="', $scripturl, '?action=blog">' , $txt['b1a'] , '</a></li>';


i hope this helps you and any moore issues, post them up as well.. also, if you would like to show the theme off, please post a link for that as well..

thanks!!  :)
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 22, 2008, 09:58:05 PM
Quote from: qubbah on September 22, 2008, 08:05:07 PM
For TP - how can i only show left ang right block in all blog sections?

if you look in the blog control panel (admin>blog control panel) you will see it under the admin only options:

Blog index side bar 

and just chose the option you wish.. ;)

Title: Re: Blog Community
Post by: Charles Hill on September 23, 2008, 12:11:30 AM
Smoky, I think he was asking about how to disable only some of the Tiny Portal blocks when viewing blog community pages.

At the moment you can't do that.  I suppose I could add that functionality though.
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 23, 2008, 04:01:11 AM
oh ok Charles..  ;)
Title: Re: Blog Community
Post by: Angelotus on September 23, 2008, 05:20:34 AM
Charles, do you have a few SSI function, such like latest blogs, recently added or som. like that?
Title: Re: Blog Community
Post by: Abavagada on September 23, 2008, 10:16:18 AM
I had installed SMF Blog, then found this one. I uninstalled SMF Blog (with some errors, which I foolishly didn't check manually afterwards), and installed this Blog Community, with no errors.  I am running SMF 1.1.6.

The blogs worked fine, as far as I can tell. I only have a problem when I click on "Blog Control Panel" in the Admin side panel. It gives me back:

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

I'm quite capable of editing the code, but I have no idea where to start on this, since the mod said it installed without errors. Any ideas?

Also, are the attachments supposed to work? I can't get them to display. I also can't find a way to add tags.

Thanks for this great Mod! Even without the admin controls, it works fine, but I would like everything working fully.
Title: Re: Blog Community
Post by: Charles Hill on September 23, 2008, 11:05:40 AM
Quote from: Angelotus on September 23, 2008, 05:20:34 AM
Charles, do you have a few SSI function, such like latest blogs, recently added or som. like that?

No there aren't any SSI functions yet.  You could help me out by giving me some ideas for SSI functions that you would like to have.


@Abavagada... No attachments don't work yet.  You need to change the Blog Control Panel anchor's href.  You can find this in Sources/Subs.php.  The link should be http://www.yoursite.com/index.php?action=blogControlPanel.  You add tags when you write a new article.  They are created automatically for you.
Title: Re: Blog Community
Post by: Angelotus on September 23, 2008, 11:44:02 AM
Quote from: Charles Hill on September 23, 2008, 11:05:40 AM
Quote from: Angelotus on September 23, 2008, 05:20:34 AM
Charles, do you have a few SSI function, such like latest blogs, recently added or som. like that?

No there aren't any SSI functions yet.  You could help me out by giving me some ideas for SSI functions that you would like to have.


- List of recently added blogs
- List of most viewed blogs
- List of most commented blogs
- List of most populair bloggers (by views)
Title: Re: Blog Community
Post by: mathmission on September 23, 2008, 11:48:53 AM
Quote from: SmokyBlue on September 22, 2008, 09:55:33 PM
no!! you do not mess with the css..

as for the button not showing up correct.. what i am saying is to look at how i coded the buttons for the rest.. if you use the default way of coding, of course it will be screwy and not match the theme i created.

first you do the theme edits for the index.template.php file.. when you get down to the bottom of the file, you will see:

// Show the [help] button.

this is where the blog button will be going!! "after" the help button,

for the default theme it should look like this:

// Show the [Blogs] button.
echo ($current_action=='blog' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'blog' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=blogs">' , $txt['b1a'] , '</a>
</td>' , $current_action == 'blog' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


and for the theme "note" it will be this:

// Show the [Blogs] button.
echo '<li', $current_action == 'blog' ? ' class="chosen"' : '', '><a href="', $scripturl, '?action=blog">' , $txt['b1a'] , '</a></li>';


i hope this helps you and any moore issues, post them up as well.. also, if you would like to show the theme off, please post a link for that as well..

thanks!!  :)


Excellent excellent excellent. Works like a charm! You sir, deserve a cookie!
Title: Re: Blog Community
Post by: Abavagada on September 23, 2008, 11:54:28 AM
Quote from: Charles Hill on September 23, 2008, 11:05:40 AM
@Abavagada... No attachments don't work yet.  You need to change the Blog Control Panel anchor's href.  You can find this in Sources/Subs.php.  The link should be http://www.yoursite.com/index.php?action=blogControlPanel.  You add tags when you write a new article.  They are created automatically for you.

As long as I know the attachments don't work, I won't worry about them then.

I found another place to change the link reference, so fixed that, thanks.

I still don't understand about the tags. I turned on global tags in the admin control panel, but still couldn't create any when I posted. What is that function supposed to be doing?

Thanks again!
Title: Re: Blog Community
Post by: Charles Hill on September 23, 2008, 11:57:45 AM
Quote from: mathmission on September 23, 2008, 11:48:53 AM
Excellent excellent excellent. Works like a charm! You sir, deserve a cookie!

Well Smoky is the one who helped you with that.  And she is not a sir :)

@Abavagada.. If you go to the post page (write new article), you will see an input field for Tags.  You just write in any tags you want to use separating each tag with a comma.  Any new tags (ones you havent used before) will be automatically added to the tags table for you.  The global tags window simply displays tags from all the blogs that are visible to a user viewing the blog index.  The windows on your blog index page just pull info from all the visible blogs from your blogging community.
Title: Re: Blog Community
Post by: mathmission on September 23, 2008, 12:05:10 PM
Whoops! Two things. First, sorry for the missed sex assignment! Many thanks, good lady!

Secondly, I just found out that it's not as functional as I thought. After altering the code from:

// Show the [Blogs] button.
echo ($current_action=='blog' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'blog' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=blogs">' , $txt['b1a'] , '</a>
</td>' , $current_action == 'blog' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


to

// Show the [Blogs] button.
echo '<li', $current_action == 'blog' ? ' class="chosen"' : '', '><a href="', $scripturl, '?action=blog">' , $txt['b1a'] , '</a></li>';


The button actually just re-routes me back to the "Home" button. Thoughts?
Title: Re: Blog Community
Post by: Charles Hill on September 23, 2008, 12:06:51 PM
change:
href="', $scripturl, '?action=blog"

to:
href="', $scripturl, '?action=blogs"
Title: Re: Blog Community
Post by: mathmission on September 23, 2008, 12:08:54 PM
That's it, right there! Perfect. Working perfectly!
Title: Re: Blog Community
Post by: Abavagada on September 23, 2008, 12:58:50 PM
Quote from: Charles Hill on September 23, 2008, 11:57:45 AM
@Abavagada.. If you go to the post page (write new article), you will see an input field for Tags.  You just write in any tags you want to use separating each tag with a comma.  Any new tags (ones you havent used before) will be automatically added to the tags table for you.  The global tags window simply displays tags from all the blogs that are visible to a user viewing the blog index.  The windows on your blog index page just pull info from all the visible blogs from your blogging community.

I guessed there should be an entry for tags, but there isn't one.
I just created an new blog, in case it was a problem with the previous one. Still no box to enter tags.
Including a screen shot:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.abavagada.net%2Fnotags.jpg&hash=f57bb4c7ddb83757fdf0c0f4393713b9f0e79be6)
Title: Re: Blog Community
Post by: qubbah on September 23, 2008, 01:00:29 PM
how to show users avatar in comment?
Title: Re: Blog Community
Post by: Charles Hill on September 23, 2008, 02:25:12 PM
@Abavagada... Could you post your Post.template.php here?

@qubbah... That would require editing the getBlogComments function's mysql query and the associative array that it returns.  Then you'd need to edit the blog template.
Title: Re: Blog Community
Post by: Abavagada on September 23, 2008, 03:07:50 PM
Too big to post here...
I uploaded it to a single directory here:
http://www.abavagada.net/code

And the direct link:
http://www.abavagada.net/code/Post.template.php

Thanks
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 23, 2008, 03:54:58 PM
QuoteI guessed there should be an entry for tags, but there isn't one.


if you already have the default tags set up, the person posting the blog only has to choose what they like for tags ;)
Title: Re: Blog Community
Post by: Charles Hill on September 25, 2008, 01:40:33 AM
Change log so far for 2.0.3 Beta...

2.0.3 Beta -
*fixed* csshover.htc now included to fix CSS hover problem in IE6 and earlier
*fixed* View Results link for polls now links to the article page and displays the results of the poll properly.  If hiding articles with polls in them is enabled, the most recent articles are shown (as if viewing the main blog page).
*fixed* Errors language strings now added to Errors language file (forgot them in previous 2.0.x Beta versions).
*fixed* Problem with Blog Index windows and some regular blog windows not displaying properly, because of a template problem.
*fixed* Mysql error when a user who did not have permission to view any blogs tried to view the blog index (and at least one blog did exist)
*fixed* various Undefined index errors
*fixed* articles/topics in blogs will now get marked read properly
*fixed* when a user who was not allowed to access a blog (which is displayed without forum layers) the error page they saw was header'less and style'less ... fixed this by handling the error with $context['blog']['blogError'] instead of fatal_lang_error()
*improved* pages that are served by using any of the following request variables will no longer be indexed by search engines because they display very similar content to other pages: sort, desc, all
*improved* Blogs on the board index are not shown to users who are not allowed to view them
*improved* Truncation of body text in comments and articles on main blog pages.  The body text will be cut off at the first space after the maximum number of characters has been reached.  Also, broken html tags are closed automatically.


If you would like to make suggestions please post them :)
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 25, 2008, 01:58:14 AM
very nice Charles..  :)
Title: Re: Blog Community
Post by: ilikeitalot on September 25, 2008, 08:56:12 AM
Do you have an ETA on v2.0.3?
Title: Re: Blog Community
Post by: Abavagada on September 25, 2008, 10:44:11 AM
Somehow, the tags have now shown up. I guess the post template didn't get moved properly to the theme. I have them now.

Thanks again for this great mod!

Title: Re: Blog Community
Post by: Charles Hill on September 25, 2008, 04:06:58 PM
Quote from: ilikeitalot on September 25, 2008, 08:56:12 AM
Do you have an ETA on v2.0.3?

A couple weeks most likely.
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 25, 2008, 06:00:30 PM
Charles.. I have a question.. when do you think it will be ready for the newer smf release?

and also, what type plug ins do you think could work with this? I think i really do like this mod of yours and i can see it working in a few different ways.. very nice lol..

cheers!!  ;D
Title: Re: Blog Community
Post by: Nibogo on September 25, 2008, 07:36:13 PM
Thanks , thanks , thanks

For upgrade i can overwrite the blogs.template and blogs??
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 25, 2008, 07:48:47 PM
i updated by un installing the blog and then re installing it  ;)
Title: Re: Blog Community
Post by: Nibogo on September 25, 2008, 07:50:59 PM
Quote from: SmokyBlue on September 25, 2008, 07:48:47 PM
i updated by un installing the blog and then re installing it  ;)

But maybe with the overwrite
Title: Re: Blog Community
Post by: Charles Hill on September 25, 2008, 08:16:38 PM
Quote from: SmokyBlue on September 25, 2008, 06:00:30 PM
Charles.. I have a question.. when do you think it will be ready for the newer smf release?

and also, what type plug ins do you think could work with this? I think i really do like this mod of yours and i can see it working in a few different ways.. very nice lol..

cheers!!  ;D
I won't be making it compatible with SMF 2.0 until Blog Community is closer to being bug free.  Plus it still seems to me that they are going to make some changes to SMF 2.0... makes me not want to rush into anything just yet.

I have several ideas for plug-ins already:
Ad management
Ad revenue sharing
Article ratings
Moods



@ NIBOGO... 2.0.3 Beta isn't available yet.  I just wanted to let everyone know what I had done so far.
Title: Re: Blog Community
Post by: Nibogo on September 25, 2008, 08:47:45 PM
Ok Charles thanks for your work

Please contact me for the spanish translation when you finish the languages of the mod
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 25, 2008, 08:49:19 PM
Quote from: Charles Hill on September 25, 2008, 08:16:38 PM

I have several ideas for plug-ins already:
Ad management
Ad revenue sharing
Article ratings
Moods


that sounds great Charles.. if i wasnt so backed up, or can make the time, i have a few ideas myself.. im thinking radio/mp3 player, perhaps some kind of download type block, either for tp/sp/portamx or the downloads mod from smf.. also a way to perhaps change the colors of "memeber" blogs to the group colors (ie: for admin, its red) and some more but want to get them all written down, and not sure on how complicated.. i do like the simple.. ;)
Title: Re: Blog Community
Post by: Charles Hill on September 25, 2008, 08:53:02 PM
Quote from: NIBOGO on September 25, 2008, 08:47:45 PM
Ok Charles thanks for your work

Please contact me for the spanish translation when you finish the languages of the mod
Will do :)

I've been trying to cut down on the total # of language strings to make it easier to translate.


Quote from: SmokyBlue on September 25, 2008, 08:49:19 PM
that sounds great Charles.. if i wasnt so backed up, or can make the time, i have a few ideas myself.. im thinking radio/mp3 player, perhaps some kind of download type block, either for tp/sp/portamx or the downloads mod from smf.. also a way to perhaps change the colors of "memeber" blogs to the group colors (ie: for admin, its red) and some more but want to get them all written down, and not sure on how complicated.. i do like the simple.. ;)

Ideas are always welcome :)
Title: Re: Blog Community
Post by: Nibogo on September 25, 2008, 08:54:00 PM
Quote from: SmokyBlue on September 25, 2008, 08:49:19 PM
Quote from: Charles Hill on September 25, 2008, 08:16:38 PM

I have several ideas for plug-ins already:
Ad management
Ad revenue sharing
Article ratings
Moods


that sounds great Charles.. if i wasnt so backed up, or can make the time, i have a few ideas myself.. im thinking radio/mp3 player, perhaps some kind of download type block, either for tp/sp/portamx or the downloads mod from smf.. also a way to perhaps change the colors of "memeber" blogs to the group colors (ie: for admin, its red) and some more but want to get them all written down, and not sure on how complicated.. i do like the simple.. ;)

Great Ideas smoky and charles

Maybe a little stats block ^^
Title: Re: Blog Community
Post by: Ravac on September 25, 2008, 09:38:54 PM
tnx for this "Charles Hill"

and.....

i just made Serbian translate, so if you are intersting i will atach it here.reply
Title: Re: Blog Community
Post by: ilikeitalot on September 26, 2008, 05:26:06 PM
This may be more of a feature than a plugin... but how about a [more] tag?  Then instead of using the "Maximum length of articles on the main wetspot page" setting, you could place this tag where you wanted the article to break.  Then it would show a [Read more...] link at that spot, rather than cutting it off at some unknown point in the middle of a paragraph.  The tag could also be used as the bookmark/anchor when bringing up the full article.
Title: Re: Blog Community
Post by: runebergen on September 26, 2008, 06:20:52 PM

Hum,  I ran into an issue..
I got a very old version of Blog installed, version 1.11.. And it gives me a few "Test failed" when trying to uninstall..

Since the version I got installed is not around anymore, how to I go about to manually uninstall now? :) 

I want to upgrade to the latest version of Blog Community
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 26, 2008, 06:43:47 PM
if you would, via ftp, find in the packages area the old blog package, and download that to your desktop..

open it up and all the xml files.. then figure out where your errors are, on what page, and find out what you need to remove..

if you need help, pm me with your ftp details and a test admin acct and i will remove it for you..  :)
Title: Re: Blog Community
Post by: trackermo on September 26, 2008, 07:56:28 PM
Quote from: mediabob on September 13, 2008, 07:36:32 PM
There are actually two edits to make, you have to add it to the button array and add in the button code. Unzip the blog archive on your local machine and open install.xml and find the edits made to index.template.php and make those edits to index.template.php in your current theme.

Charles,

It's taken me a few days to respond to this, but it's still an issue.

Now, I followed the instructions in the "add button" Docs, as much as possible, as well as copying the actual button code from the default index.template.php to the theme (DMC_115).  I have no idea what to look for as far as the install.xml file goes... nor what to do. 

But the buttons still won't show up.  I'm trying to add them to the DMC_115 theme.

Help....

Mo
Title: Re: Blog Community
Post by: Charles Hill on September 26, 2008, 08:06:00 PM
Have you read this article I wrote about adding nav links to your main nav menu?
http://degreesofzero.com/index.php/topic,21.0.html
Title: Re: Blog Community
Post by: trackermo on September 26, 2008, 08:22:37 PM
Charles,

Since I copied it from the default theme, understanding the code wasn't the problem...

Actually, though, I discovered the problem was a glitch.  For some reason my php editor had not saved the file as a php file...  >:(  (grrrrrr-- not to you... to the php editor...)

I since corrected it and it works perfectly now...

But thanks.  That article is a good explanation of the coding, which I had been pestering antechinus about...

Mo
Title: Re: Blog Community
Post by: Charles Hill on September 27, 2008, 02:53:13 AM
Quote from: ilikeitalot on September 26, 2008, 05:26:06 PM
This may be more of a feature than a plugin... but how about a [more] tag?  Then instead of using the "Maximum length of articles on the main wetspot page" setting, you could place this tag where you wanted the article to break.  Then it would show a [Read more...] link at that spot, rather than cutting it off at some unknown point in the middle of a paragraph.  The tag could also be used as the bookmark/anchor when bringing up the full article.

Someone had suggested just this actually.  It's a good idea and I intend to add it :)


@trackermo... Happy to hear you got things sorted out :)
Title: Re: Blog Community
Post by: trackermo on September 27, 2008, 07:53:21 AM
Charles,

Here's a really, REALLY stupid question... and maybe I should just continue hunting for the answer... How do you edit a blog article?  Maybe others never edit... but I am one to edit, then re-edit, then add another thought... so editing is absolutely crucial...

But, though I've looked all around, I can find no way to edit a blog...

Thanks!

Mo
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 27, 2008, 08:10:49 AM
on the blog you will see the first blog post.. right??

there are 2 buttons on the top right, "share and options.."  it is the paper and pencil on the very left that will let you edit the blog.. :)
Title: Re: Blog Community
Post by: trackermo on September 27, 2008, 10:31:46 AM
Smoky Blue,

Hmmm.... well, there you are!

Because that's not showing up... I have Lock, Share, Print and Notify.  But no pencil.  Boo-hoo.  It also doesn't show up in my default theme...

I wonder if it has to do with the way I set up blogs in the admin area... checking...

Mo
Title: Re: Blog Community
Post by: Charles Hill on September 27, 2008, 11:46:33 AM
You're the admin and the edit isn't showing up but other options are?
Title: Re: Blog Community
Post by: trackermo on September 27, 2008, 12:28:07 PM
Yep...

Mo
Title: Re: Blog Community
Post by: Charles Hill on September 27, 2008, 12:49:21 PM
Uhhh.  Are you getting any errors in the error log?  Does edit_16.gif exist on your server at Themes/default/images/icons ?
Title: Re: Blog Community
Post by: Angelotus on September 27, 2008, 01:45:48 PM
I have the same problem. The admin only buttons are not there, and if they are there they are not clickable. Strange...
Title: Re: Blog Community
Post by: trackermo on September 27, 2008, 02:31:44 PM
Quote from: Charles Hill on September 27, 2008, 12:49:21 PM
Uhhh.  Are you getting any errors in the error log?  Does edit_16.gif exist on your server at Themes/default/images/icons ?

I'm getting tons of errors... I've already posted about them under Forum Error Logs (http://www.simplemachines.org/community/index.php?topic=264310.msg1725561#msg1725561) and have added examples there. 

Also, yes, I checked and the edit_16.gif is right there... so close, yet so far... (sniff!)

Mo

Title: Re: Blog Community
Post by: Charles Hill on September 27, 2008, 04:18:58 PM
There are no "admin only options" on the blog pages...... If a user has the necessary permissions to do something, they will show up.
Title: Re: Blog Community
Post by: Angelotus on September 27, 2008, 05:04:44 PM
So an admin can not edit or delete blogposts?
Title: Re: Blog Community
Post by: runebergen on September 27, 2008, 06:57:07 PM
Quote from: SmokyBlue on September 26, 2008, 06:43:47 PM
if you would, via ftp, find in the packages area the old blog package, and download that to your desktop..

open it up and all the xml files.. then figure out where your errors are, on what page, and find out what you need to remove..



Ah.... didnt think about that, that the old package was still on the server ;) thanx ;)

Title: Re: Blog Community
Post by: Charles Hill on September 27, 2008, 07:23:42 PM
Admins can do anything
Title: Re: Blog Community
Post by: runebergen on September 27, 2008, 08:20:01 PM
tested the new 2.0x version just now.. and loving it ;)

One thing I cant quite figure out....

If in blog community mode... the blog index page has a side bar, where one can choose side or no display.
But the side bar has no content.

Would love content in blog index page (community mode), where it would show stuff like "recent comments", "most viewed" etc...  globally, for all the blogs

Is there such a thing, or planned such a thing?

Title: Re: Blog Community
Post by: Charles Hill on September 27, 2008, 08:25:26 PM
There are currently two side windows for the blog index.  One for global tags and one for global Most Recent articles.  I will be making more :)

Also, you should note that 2.0.2 Beta has a problem that will prevent your side windows from functioning properly.  You will have to fix the template with the fix I posted:
http://www.simplemachines.org/community/index.php?topic=244848.msg1709532#msg1709532


On a side note... last night I discovered something useful I could add to the blog index page... an OPML feed (Outline Processor Markup Language).  It's like an RSS feed, except it displays an organized list of RSS feeds instead of articles/posts.  I added this last night in a couple hours of work.  Also, since SMF doesn't have this functionality, I will make my OPML feed usable for regular forum boards as well.
Title: Re: Blog Community
Post by: Sudhakar Arjunan on September 28, 2008, 12:59:53 AM
Hey Charles Hill, Have you got the converter prepared for felblog to smfblog.

Because i like your blog and needs to install after felblog data were retrieved.
Title: Re: Blog Community
Post by: Charles Hill on September 28, 2008, 01:07:26 AM
Sorry, but that is just not very high on my priority list at the moment.  I am more interested in making a converter for Word press to Blog Community.
Title: Re: Blog Community
Post by: Sudhakar Arjunan on September 28, 2008, 01:16:42 AM
Ok that is also a good thing.

Will you help me to install the smf blog mod . because i got 2 or 3 error in one file.

Could i upload the page for edits, i have tried and it doesn't works good.
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 28, 2008, 07:34:02 AM
attach your files asudhakar, and if you cant figure it out, i can help..

btw.. just showing off my new theme with the blog:

http://www.pixelbypaint.com/forum/index.php?action=blogs    :)
Title: Re: Blog Community
Post by: Sudhakar Arjunan on September 28, 2008, 07:54:59 AM
Thank you SmokyBlue, I saw your blog and its really superb.  :D

I got two test failed.

11.   Execute Modification   ./Sources/Recent.php   Test failed
22.   Execute Modification   ./Themes/default/index.template.php   Test failed

Let me know whether to install with errors and replace the files you are going to edit.

Thanks for Advance.
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 28, 2008, 08:46:15 AM
here ya go.. let me know if anything else needs adjusting.. ;)

and thanks for the complement on my theme..
Title: Re: Blog Community
Post by: Sudhakar Arjunan on September 28, 2008, 09:07:02 AM
Thank you Smoky Blue. Could i install with test failed and then replace the file.

Or Initially replace the file and then install the blog.
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 28, 2008, 09:16:56 AM
install and then replace.. you should be good to go.

i left the fels blogg on there.. i hope it will all run right.. let me know :)
Title: Re: Blog Community
Post by: Sudhakar Arjunan on September 28, 2008, 10:04:02 AM
Got a error.

Template Parse Error!
There was a problem loading the /Themes/default/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.

Parse error: syntax error, unexpected '/' in .../Themes/default/index.template.php on line 68

59: // The main sub template above the content.
60: function template_main_above()
61: {
62: global $context, $settings, $options, $scripturl, $txt, $modSettings, $boardurl;
63:
64: // Show right to left and the character set for ease of translating.
65: echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
66: <html xmlns="http://www.w3.org/1999/xhtml"', $context['right_to_left'] ? ' dir="rtl"' : '', '><head>
67: <meta http-equiv="Content-Type" content="text/html; charset=', $context['character_set'], '" />

68: <meta name="description" content="' . (!empty($context['blog']['meta']['description']) ? $context['blog']['meta']['description'] : $context['page_title']) .  />', empty($context['robot_no_index']) ? '' : '

69: <meta name="robots" content="noindex" />', '
70: <meta name="keywords" content="', !empty($context['blog']['meta']['keywords']) ? $context['blog']['meta']['keywords'] : $modSettings['default_meta_keywords'], '" />
71: <script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/rog.js"></script>
72:


Pointed the line 68.
This error i got after installing and replacing the file.
Title: Re: Blog Community
Post by: Kindred on September 28, 2008, 10:16:43 AM
please use code tags...

Line 68 is missing a single quote and a double quote and has extra code.... and then 69 seems off too....


68: <meta name="description" content="' . (!empty($context['blog']['meta']['description']) ? $context['blog']['meta']['description'] : $context['page_title']) . '" />',
69: (empty($context['robot_no_index']) ? '' : '<meta name="robots" content="noindex" />','
Title: Re: Blog Community
Post by: Sudhakar Arjunan on September 28, 2008, 10:27:25 AM
In My Php editor, those two lines shows error even after replacing it.
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 28, 2008, 10:56:34 AM
ok try this one..

not sure what happened.. but tis one is based off my own default and i do know it works.. :)
Title: Re: Blog Community
Post by: Sudhakar Arjunan on September 28, 2008, 11:26:04 AM
Quote from: SmokyBlue on September 28, 2008, 10:56:34 AM
ok try this one..

not sure what happened.. but tis one is based off my own default and i do know it works.. :)

Am using PHP designer. Its shows error on the same line.
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 28, 2008, 12:37:12 PM
link to your site.

this is the code from my site and it works.. not sure what you are doing, but if i can elp, tat is good, and if not ten maybe Charles can help you out..

being the fact you also have fels  blog on there as well, i am not sure what to tell you..
Title: Re: Blog Community
Post by: Kindred on September 28, 2008, 12:59:08 PM
what is php designer?


-edit- oh, ICK!   why bother?   Just use a text editor. ConText, NotePad++ and UltraEdit all have syntax highlighting as well.
Title: Re: Blog Community
Post by: Charles Hill on September 28, 2008, 01:20:47 PM
Avoid using in-browser text editors... They are slow and usually aren't anywhere near as good as an application text editor on your computer like the ones Kindred has mentioned.
Title: Re: Blog Community
Post by: Sudhakar Arjunan on September 28, 2008, 01:25:05 PM
Hi Charles and Kindred ,

you were correct.

I have directly applied the code in my notepad and then forwarded it to my panel.

Still its showing error in the meta tag where blog title were automatically loaded.

Could you help me out .
Title: Re: Blog Community
Post by: Charles Hill on September 28, 2008, 01:39:59 PM
@asudhakar....
I found the error in that index.template.php... Find:
(!empty($context['blog']['meta']['description']) ? $context['blog']['meta']['description'] : $context['page_title']) .  />'

replace with:
(!empty($context['blog']['meta']['description']) ? $context['blog']['meta']['description'] : $context['page_title']) . '/>'
Title: Re: Blog Community
Post by: ilikeitalot on September 28, 2008, 01:54:17 PM
Just a suggestion Charles... a blog template similar to this SMF theme (http://www.smfthemes.org/index.php?theme=583) would look very cool... especially if the blog owner could select/upload their own background image.
Title: Re: Blog Community
Post by: Sudhakar Arjunan on September 28, 2008, 02:02:22 PM
Thank you Charles, I got it working perfectly.

Now I was creating a seperate board for blogs.

I got the following errors.

Apply Filter: Only show the error messages of this member  The_Big_S       Today at 23:27:46
Apply Filter: Only show the error messages of this IP address 122.122.122.122      Apply Filter: Only show the error messages of this session b3a27b6bab8fc62b66a57f0a6ba19c80
Apply Filter: Only show the error messages of this URL http://forum.itacumens.com/index.php?action=manageboards;sa=newboard;cat=10
Apply Filter: Only show the errors with the same message
8: Undefined index: permission_mode
File: /home/itacumen/public_html/forum/Themes/default/ManageBoards.template.php (modify_board sub template - eval?)
Line: 401
   
Apply Filter: Only show the error messages of this member The_Big_S    Today at 23:26:47
Apply Filter: Only show the error messages of this IP address 122.122.122.122      Apply Filter: Only show the error messages of this session b3a27b6bab8fc62b66a57f0a6ba19c80
Apply Filter: Only show the error messages of this URL http://forum.itacumens.com/index.php?action=blogHelp;help=blogMode
Apply Filter: Only show the errors with the same message
8: Undefined index: can_poll_view
File: /home/itacumen/public_html/forum/Sources/BlogSettings.php
Line: 435
   
Apply Filter: Only show the error messages of this member The_Big_S    Today at 23:26:47
Apply Filter: Only show the error messages of this IP address 122.122.122.122      Apply Filter: Only show the error messages of this session b3a27b6bab8fc62b66a57f0a6ba19c80
Apply Filter: Only show the error messages of this URL http://forum.itacumens.com/index.php?action=blogHelp;help=blogMode
Apply Filter: Only show the errors with the same message
8: Undefined index: can_poll_view
File: /home/itacumen/public_html/forum/Sources/BlogSettings.php
Line: 434
   
Apply Filter: Only show the error messages of this member The_Big_S    Today at 23:26:47
Apply Filter: Only show the error messages of this IP address 122.122.122.122      Apply Filter: Only show the error messages of this session b3a27b6bab8fc62b66a57f0a6ba19c80
Apply Filter: Only show the error messages of this URL http://forum.itacumens.com/index.php?action=blogHelp;help=blogMode
Apply Filter: Only show the errors with the same message
8: Undefined index: can_poll_view
File: /home/itacumen/public_html/forum/Sources/BlogSettings.php
Line: 433

Title: Re: Blog Community
Post by: Sudhakar Arjunan on September 28, 2008, 02:03:31 PM
Quote from: ilikeitalot on September 28, 2008, 01:54:17 PM
Just a suggestion Charles... a blog template similar to this SMF theme (http://www.smfthemes.org/index.php?theme=583) would look very cool... especially if the blog owner could select/upload their own background image.

I like your idea a lot.
I have smiled once after looking at your idea.
Title: Re: Blog Community
Post by: Charles Hill on September 28, 2008, 02:08:30 PM
Ya I had thought about trying to make a theme that has transparent "windows" for the content.  I'll be getting to working on the blog theme feature soon :)  That is going to probably be the coolest feature.

Last night I completely redid how blog_settings are done.  Now instead of each setting having its own row (and each blog having 50+ rows in the blog_settings table), each blog has just one row with 50+ columns.  This will drastically improve long term performance (especially if your blog community ends up having hundreds of blogs).  Additionally, this allowed me to get rid of a large query for loading just blog settings.  These are now loaded via loadBoard() instead.

Also I redid how things are handled when a blog does not have any settings saved yet... If a user goes to a blog's page in the blog control panel and that blog does not have a row in the blog_settings table, one is created for it using the default settings and any info available from the boards table related to that blog.

It all sounds complicated I know... Basically things are a lot more stable/solid now.


edit---
@asudhakar...
Those are all errors I have covered in previous posts in this topic.
Title: Re: Blog Community
Post by: Sudhakar Arjunan on September 28, 2008, 02:26:09 PM
Hi Charles,

Its late night in India.

Am moving now.

I have created on blog and found its be a separate board.
So I could have only for few members only. If there are several member. Then what about the entire board count will move up to 1000.

Could we have this only as a topic in a common board.

All looks good . Even tagging system is perfect.

Congrates on future upgrade you have mentioned above. And tomorrow morning i will work on the error by referring all the topics.
Title: Re: Blog Community
Post by: trackermo on September 28, 2008, 05:32:23 PM
Quote from: trackermo on September 27, 2008, 07:53:21 AM
Charles,

Here's a really, REALLY stupid question... and maybe I should just continue hunting for the answer... How do you edit a blog article?  Maybe others never edit... but I am one to edit, then re-edit, then add another thought... so editing is absolutely crucial...

But, though I've looked all around, I can find no way to edit a blog...

Thanks!

Mo

This is still a problem...  as you may recall I (and presumably all members) cannot edit our blog posts... because the edit link/icon is not showing up.  And it happens in both the default theme and others... it doesn't matter.

Any suggestions? 

Mo
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 28, 2008, 05:43:04 PM
any errors in the log?? if you have firfox and  webdev or fiebug, you can see if there is any missing images.. but the link show be showing up for you..

are you using a custom theme, and if so, did you make sure to do the right edits to the theme?? and move a copy of the images to the new theme??

do you see the 2 buttons that say share and options?? its in the options area..
Title: Re: Blog Community
Post by: trackermo on September 28, 2008, 05:53:07 PM
Quote from: SmokyBlue on September 28, 2008, 05:43:04 PM
any errors in the log?? if you have firfox and  webdev or fiebug, you can see if there is any missing images.. but the link show be showing up for you..

are you using a custom theme, and if so, did you make sure to do the right edits to the theme?? and move a copy of the images to the new theme??

do you see the 2 buttons that say share and options?? its in the options area..

Excuse me?  What part of "...And it happens in both the default theme and others... it doesn't matter" is unclear?  I KNOW it's supposed to be under the options... I only repeated the first post on this topic as a reminder... but we went through all the normal questions... And I did check-- the image is in the images file.

Mo
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 28, 2008, 06:16:38 PM
have you checked the edits to the files? do you have any errors in your error log in the admin? (second tiime i have asked)

how about a test admin acct?? you could send the info to Chuck Hill and he could check it out better.. or i can..

and i do hope you get this resolved. nothing is unclear, but it helps if you answer questions so that someone can help you.. repeating what you type doesnt help without the right info that is being asked of you. Thanks!!  :)
Title: Re: Blog Community
Post by: djrem on September 28, 2008, 06:27:33 PM
Quote from: trackermo on September 28, 2008, 05:32:23 PM
Quote from: trackermo on September 27, 2008, 07:53:21 AM
Charles,

Here's a really, REALLY stupid question... and maybe I should just continue hunting for the answer... How do you edit a blog article?  Maybe others never edit... but I am one to edit, then re-edit, then add another thought... so editing is absolutely crucial...

But, though I've looked all around, I can find no way to edit a blog...

Thanks!

Mo

This is still a problem...  as you may recall I (and presumably all members) cannot edit our blog posts... because the edit link/icon is not showing up.  And it happens in both the default theme and others... it doesn't matter.

Any suggestions? 

Mo

I have found that using FireFox, the edit buttons are there.
Its an issue with IE 6
Title: Re: Blog Community
Post by: trackermo on September 28, 2008, 06:30:51 PM
okay... I'll try it.  Although I'm using IE 7... hmmm. 

Mo
Title: Re: Blog Community
Post by: djrem on September 28, 2008, 06:48:49 PM
Sorry, thats what i ment.

The latest IE is what i was using on both machines i used to test it.
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on September 28, 2008, 07:08:48 PM
http://www.pixelbypaint.com/forum/index.php?action=blogs

ie 7 can view the edit button on PixelbyPaint.com is that the ie 8 you are using? 
Title: Re: Blog Community
Post by: Ravac on September 28, 2008, 09:43:54 PM
Blog.Serbian-utf8.php (Latinic)

Translate is Attached with post  :D
Title: Re: Blog Community
Post by: Charles Hill on September 28, 2008, 10:05:51 PM
@trackermo... Could you make an account for me to use so that I can see exactly what the problem is (make sure the account has permission to make a blog)?  Just send me a pm on here with the login/pass.

@ravac... I appreciate you making translations of the text strings.  However, you should know that the text strings are still in the process of change, so some strings might be removed and others added.

About the IE problems... Yes IE6 and earlier have problems with css hover.  I have compensated for this problem by using csshover.htc.  This will be included in 2.0.3 Beta.
Title: Re: Blog Community
Post by: Ravac on September 28, 2008, 10:12:42 PM
whatever, when come final strings i will translate again, there is no problem :)
Title: Re: Blog Community
Post by: Sudhakar Arjunan on September 29, 2008, 01:11:05 AM
I could see 2.0.3 Beta in degrees of zero.

When a release note will be updated.
Title: Re: Blog Community
Post by: Charles Hill on September 29, 2008, 01:25:23 AM
Actually what I am running on Degrees of Zero (live site) is not the most up to date :)

My dev site has the most up to date... I am still trying to get the OPML feed to work right and I am looking through topics/posts to find people's suggestions that I haven't included yet.  I've been using Google to find websites that ARE blog communities that developed their software just for their purposes and I am noticing just how awesome this Blog Community mod I made is.... I am having a hard time finding features on other sites that I have not included in this software and I am 99.999% sure that none of those sites have a control panel anywhere near as powerful/easy to use as this one is.
Title: Re: Blog Community
Post by: Sudhakar Arjunan on September 29, 2008, 01:48:41 AM
Yes charles hill,

you are right, i like the control panel. Its really has all the interfaces.

I would like to contribute in developing a help menu.

Because when i first implemented i was in bit of fear. Whether these changes will cause something to our forum and all.

I want to develope a video what says how to install first , setting up admin account - Most important - what is single mode and community mode etc.

For those i have to get prepared of these settings.

For instance, am using community mode and saw one board is occupied when i create only one blog.

so if 100 members wants there seperate blog then 100 boards no will be occupied is it.

If i enable to have multiple board for all.

Then if someone creates second board, will that take separate board id or it will be child of first blog / board he/she had created.
Title: Re: Blog Community
Post by: Charles Hill on September 29, 2008, 02:24:45 AM
Having a help section within the mod would be useful.  I would really appreciate help in developing such a section, as I have limited time as it is.

QuoteThen if someone creates second board, will that take separate board id or it will be child of first blog / board he/she had created.
There's an interesting idea.... But this would be difficult to implement and it would open up a can of worms (could create a bunch of new problems)... What if you want to delete their first blog (the one that had all the others created under it)?  Would have to reassign all the others to be the children of their second blog.  Would get really messy.   But I do see the benefit of doing it that way.  Would make the board index more organized if you aren't hiding the blog boards on the board index.
Title: Re: Blog Community
Post by: Sudhakar Arjunan on September 29, 2008, 01:20:41 PM
Yes charles hill, i will start work on the help menu video soon.

you have raised a good question and answer is too good with details.

Let me ask in one another way. I want to use only one board . Take the assigned board no is 80.

So when ever new user adds new blog with the write permission to only one blog per user.

Will this create new blog with new board id as 81 or how this will look like.

Whatever the answer is? I want the additional users board to host something like 80.user1 or 80.1 as board number or something.

Because it does not have a meaning if the blog is going to create n numbers of boards.
Title: Re: Blog Community
Post by: Charles Hill on September 29, 2008, 01:22:45 PM
Every blog you create is in actuality a board... But it is treated differently than other boards.  When any user creates a new blog they are actually creating a new board.
Title: Re: Blog Community
Post by: Sudhakar Arjunan on September 30, 2008, 12:53:22 PM
Ok i got it,

Is single blog mode allow all the users to create a blog under this single blog mode.
Title: Re: Blog Community
Post by: Charles Hill on September 30, 2008, 03:58:44 PM
Single blog mode allows you to have just one blog.
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on October 01, 2008, 08:21:38 AM
finally got a chance to straighten up the theme Charles.. see attached..

got some new ideas floating around, will catch up with you soon..  :)


http://www.pixelbypaint.com/forum/index.php?blog=4.0

also.. new poll on my site for blog themes..
Title: Re: Blog Community
Post by: Johno69 on October 02, 2008, 11:47:59 AM
I created a new site to test this out before installing it on my live site.

I have SMF 1.1.6 fresh install, bridged with the latest Mambo 4.6.5.

All seems great, but for some reason when accessing the blogs link it jumps out of the mambo site into it's own window.. Any ideas here?

url is www.dvds.com.au  as I said, just a test site.
Title: Re: Blog Community
Post by: Kindred on October 02, 2008, 01:09:47 PM
probably because the link was hardcoded rather than using $scripturl or $boardurl.
Title: Re: Blog Community
Post by: Charles Hill on October 02, 2008, 08:16:28 PM
I've never worked with iframes before... Plus I am not entirely sure what problem you're having.  You need to be more specific if possible.  Otherwise I don't know what is causing a problem.
Title: Re: Blog Community
Post by: Johno69 on October 02, 2008, 08:34:03 PM
Quote from: Kindred on October 02, 2008, 01:09:47 PM
probably because the link was hardcoded rather than using $scripturl or $boardurl.

Thanks.

Quote from: Charles Hill on October 02, 2008, 08:16:28 PM
I've never worked with iframes before... Plus I am not entirely sure what problem you're having.  You need to be more specific if possible.  Otherwise I don't know what is causing a problem.

See here: http://www.dvds.com.au/index.php?option=com_smf&Itemid=3

That is SMF wrapped inside Mambo. As you can see it's a default install of SMF and it's sitting nicely inside the Mambo theme thanks to the bridge.

When you click blogs: http://www.dvds.com.au/index.php?option=com_smf&Itemid=3&action=blogs

It does seem to be using the $scripturl to me according to the URL anyway, because the URL looks the same with &action=blogs on the end. But as you can clearly see it's no longer wrapped inside the Mambo theme as it was when viewing the forum only.

Any help would be appreciated.
Title: Re: Blog Community
Post by: Charles Hill on October 02, 2008, 08:39:36 PM
Make sure "Toggle all blog pages to display without forum layers" is NOT checked.  If it isn't.... then I have no idea why it is doing that at this time.  I have yet to test it with smf bridged to mambo.

If you do figure out what was causing this and fix the problem, please post your solution here so that if others encounter the same problem they know what to do :)
Title: Re: Blog Community
Post by: Johno69 on October 02, 2008, 08:51:53 PM
Quote from: Charles Hill on October 02, 2008, 08:39:36 PM
Make sure "Toggle all blog pages to display without forum layers" is NOT checked. 

It was checked, but I have unchecked it and it made no difference.

If I click the Blog Control Panel while on the blog page, it goes back to wrapped. So i'm guessing it's something to do with the styling of the blogs page.

I really have no idea where to start though :(

Thanks for looking into it though. Cheers.
Title: Re: Blog Community
Post by: Johno69 on October 02, 2008, 09:46:08 PM
Seems to only be that page, when I went to post a blog, it jumped back to being wrapped.

So must be that one page.
Title: Re: Blog Community
Post by: Nibogo on October 04, 2008, 07:59:30 PM
I suggest:

1-) Import articles from other blogs  :)

2-) Pretty Urls Support  :D

Thanks charles
Title: Re: Blog Community
Post by: Atheo on October 07, 2008, 04:22:09 PM
Anyone willing to install this for me on the Grungy theme? Please?!
Title: Re: Blog Community
Post by: Nibogo on October 11, 2008, 07:59:49 PM
Charles I update my tinyportal to v1.06 and the blocks are in my blogs :s

Please fix this little bug ^^
Title: Re: Blog Community
Post by: Charles Hill on October 11, 2008, 08:00:26 PM
I had a feeling that they might mess something up..... Sigh... I'll look into it when I get some time.
Title: Re: Blog Community
Post by: Nibogo on October 11, 2008, 08:20:13 PM
Quote from: Charles Hill on October 11, 2008, 08:00:26 PM
I had a feeling that they might mess something up..... Sigh... I'll look into it when I get some time.

Thanks Charles maybe you can add this to the v2.0.3 features
Title: Re: Blog Community
Post by: Lotti on October 12, 2008, 06:19:58 PM
Very good mod for me, and i have traslated it to Italian language.
Only a problem: when i remove a blog, i receive this message

"You have articles in questo blog. If you continue, those articles will be deleted along with questo blog. Are you absolutely sure you want to delete questo blog?"
( i translated "this" with "questo")

and i can't tranlate this from language file.


And final, a question; i can istall it on my board? If a new version it's released, it's simple to update?
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on October 12, 2008, 09:14:55 PM
if you remove a blog, the post and replies to a blog will be deleted  as well ;)
Title: Re: Blog Community
Post by: Charles Hill on October 12, 2008, 10:34:48 PM
About that piece of text not existing in the language file... It was hard-coded before, but for 2.0.3 Beta it will exist in multiple strings in the language file.
Title: Re: Blog Community
Post by: Charles Hill on October 15, 2008, 02:42:42 PM
It'll be a few more days until version 2.0.3 Beta is ready.  Here's the change log (as of today).  You should note that there are still a few things I am going to add that are not in this list.


*fixed* csshover.htc now included to fix CSS hover problem in Internet Explorer 6 (and earlier IE versions)
*fixed* View Results link for polls now links to the article page and displays the results of the poll properly.  If hiding articles with polls in them is enabled, the most recent articles are shown (as if viewing the main blog page).
*fixed* Errors language strings now added to Errors language file (forgot them in previous 2.0.x Beta versions).
*fixed* Problem with Blog Index windows and some regular blog windows not displaying properly, because of a template problem.
*fixed* Mysql error when a user who did not have permission to view any blogs tried to view the blog index (and at least one blog did exist)
*fixed* various Undefined index errors
*fixed* articles/topics in blogs will now get marked read properly
*fixed* when a user who was not allowed to access a blog (which is displayed without forum layers) the error page they saw was header'less and style'less (fixed this by handling the error with $context['blog']['blogError'] instead of fatal_lang_error()
*improved* pages that are served by using any of the following request variables will no longer be indexed by search engines because they display very similar content to other pages: sort, desc, all, asc, start (if isset and empty)
*improved* Blogs on the board index are not shown to users who are not allowed to view them
*improved* Truncation of body text in comments and articles on main blog pages.  The body text will be cut off at the first space after the maximum number of characters has been reached.  Also, broken html tags are closed automatically.
*improved* construct page index function (did not alter one in Subs.php... using altered version in BlogSubs.php)
   - added anchor titles
   - span tags around each element (with a few unique classes) in page index to make customization with css a lot easier
*added* BLOG THEMES... this is one of the most powerful features.  Users who are allowed to set a blog to display without forum template layers can pick from any of the currently installed Blog Themes that your website has.  This will allow blogs to look much different from the rest of your site.
*added* custom windows for blog index
*added* reordering of blog index side windows
*added* pagination for main blog pages
*added* "Remove poll" link to polls
*added* Blog Preferences:
   - Every user can access the Blog Preferences page of their Blog Control Panel to play around with various personal options they have for the blog community
   - Example: newest_comments_first (which would display the most recent comments on an article first)
   - Note that even if users cannot make their own blogs, they can still use the blog preferences page of their blog control panel.  However, their experience with the blog control panel will be much different from users who do have permission to make their own blogs.
*added* New admin-only settings...
   - Maximum length of blog descriptions
   - Column with which to sort the blog index by default
   - Sort blogs in blog index ascending or descending by default
*added* Blog maintenance page which will auto-detect if there is a problem with either the blog_preferences table or blog_settings table.  If a problem is discovered, it will tell you and you can click the "fix" link to fix the problem.
*changed* Show blogs page now handled from BlogControlPanel.php instead of Profile.php
*changed* blog_settings table restructured to improve long term performance (having 10,000 rows in the blog_settings table as opposed to 200 when there are 200 blogs in your community just does not make sense)
*changed* Blog names must be unique now
*changed* Combined all of the 16x16 share icons into one image and combined all of the action icons into one image.  Image sprites are used to display these icons now.  This will improve performance and save bandwidth.
*changed* Table headers are now created with one easy function.  Additionally, table headers have titles (visible on mouseover) and will maintain asc, desc, all, sort, start request variables.
*changed* Almost all of Blog Community's files are now located in the new BlogCommunity directory which is located in your forum's main directory.
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on October 15, 2008, 03:05:53 PM
Charles

i have been thinking on this, perhaps a first plugin as a tag cloud.. might serve the tags even better

not sure if i suggested this already lol but just in case!!!

and great new adjustments to the blog!!

thank you ;D
Title: Re: Blog Community
Post by: Nibogo on October 15, 2008, 07:19:57 PM
I love it charles , great job , You will fix the bug with TP v1,06???
Title: Re: Blog Community
Post by: Charles Hill on October 15, 2008, 09:11:40 PM
I'll try to make the hide portal blocks setting work properly for Tiny Portal v1.06, yes.  Hopefully they won't keep changing things...
Title: Re: Blog Community
Post by: Emperium on October 16, 2008, 01:56:00 PM
Umm, if bbc codes work in custom windows, how come I get this (http://emperium.uni.cc/forums/index.php?blog=21.0), on the blog page. I mean in the preview it works. Also, the weird "\" when using an apostrophe keeps showing up after it is set up.
Title: Re: Blog Community
Post by: Charles Hill on October 16, 2008, 02:21:44 PM
@Emperium...  Ya that was a problem with 2.0.2 Beta.  It has been fixed for 2.0.3 Beta.  I even just tested it on my dev site to make sure :)

Example here:
http://dev.degreesofzero.com/index.php?bc=blogs
Title: Re: Blog Community
Post by: Emperium on October 16, 2008, 02:26:34 PM
Sweet, so when the 2.0.3 is out I can simply just add the upgrade package to the package manager, it will overwrite and add the files it needs? Also will all the settings and blog content (articles and polls) be intact? Hopefully it doesn't create any problems or epic crashes.
Title: Re: Blog Community
Post by: Charles Hill on October 16, 2008, 02:34:46 PM
I won't be making an upgrade package this time, because only 6 people used the last one... Not worth me spending 2 days on.  Besides, there aren't that many edits on the SMF files anyways.  As for the information in your blogs right now.  Yes, everything will remain intact.
Title: Re: Blog Community
Post by: Emperium on October 16, 2008, 02:40:30 PM
Ah, so if I were to uninstall and delete the blog 2.0.2 package on admin panel and add/install/apply 2.0.3, everything will look the way it was but, only better? I'm surprised settings and content would remain intact, excellent work!
Title: Re: Blog Community
Post by: Charles Hill on October 16, 2008, 02:46:54 PM
Well the only reason settings and other information would be destroyed is if the database was messed with upon installing or uninstalling.  There is a major difference between version 2.0.3 Beta and 2.0.2 Beta with the blog_settings table, but even with completely restructuring that table your data inside the table is preserved.  Also there are some added columns for a few of the blog related tables in the database, but those changes don't affect your current data.
Title: Re: Blog Community
Post by: Lotti on October 16, 2008, 08:03:50 PM
When it is released, i update my language files and i use that for the Forum of my University. ;)
Title: Re: Blog Community
Post by: Asshandler on October 17, 2008, 11:42:24 AM
Has this been modified to support individual blogs for each user yet?

Nvm, I see that it has.
Title: Re: Blog Community
Post by: Asshandler on October 17, 2008, 12:19:49 PM
I've installed this, and it seems to work for me, but when I log in under a regular member account and click on the "Want your own blog?" link, it gives me a message saying "An Error Has Occurred!"

Any ideas?

http://www.othersi.com

Edit -- Nvm, had to set permissions for regular members.  :)
Title: Re: Blog Community
Post by: tdub311 on October 19, 2008, 01:12:17 PM
I keep getting this when I go to certain member's blog:
There are no articles to display in this blog.
But they have articles in there.

It goes away when I put it back as a board then create it into a blog. But then it has my avatar where the blogger's avatar is supposed to be and I'm not the blogger.
Title: Re: Blog Community
Post by: robbie93 on October 19, 2008, 11:20:43 PM
Quote from: tdub311 on October 19, 2008, 01:12:17 PM
I keep getting this when I go to certain member's blog:
There are no articles to display in this blog.
But they have articles in there.

It goes away when I put it back as a board then create it into a blog. But then it has my avatar where the blogger's avatar is supposed to be and I'm not the blogger.

This happened to me to...  we just deleted the blog and made each member there own on a section of our site,  less trouble that way.  :D

This mod has way to many errors man!
Title: Re: Blog Community
Post by: Charles Hill on October 19, 2008, 11:27:26 PM
You guys don't give me any specific details about what versions you are running, what other mods you have installed, or anything specific... I cannot fix the problem then.

If you don't want to use it that's fine... your loss :)

Since only you two have ever had this issue... it's most likely a problem with how you installed the mod.
Title: Re: Blog Community
Post by: C.Jack on October 20, 2008, 01:16:52 AM
Just stopped in to check on the new version's progress, and thought I'd say hello. Have a great week, Charles.  8)
Title: Re: Blog Community
Post by: Charles Hill on October 20, 2008, 01:35:42 AM
Thanks, CaptJack :D

I've been building a bug tracking system.  It's pretty much done.  Just finishing up a couple things and then I'm going to launch it on my live site.  After that I will need to test the paypal integration of my store front.  Then put the finishing touches on BC 2.0.3 Beta.
Title: Re: Blog Community
Post by: C.Jack on October 20, 2008, 03:00:13 AM
Thanks for the update. I'm sure it'll be awesome, and I look forward to it's release.  :)
Title: Re: Blog Community
Post by: Nibogo on October 20, 2008, 08:11:52 PM
Quote from: Charles Hill on October 20, 2008, 01:35:42 AM
Thanks, CaptJack :D

I've been building a bug tracking system.  It's pretty much done.  Just finishing up a couple things and then I'm going to launch it on my live site.  After that I will need to test the paypal integration of my store front.  Then put the finishing touches on BC 2.0.3 Beta.

WOW!!

A bug tracker?? We can see some screenshots?? :P:P

Awesome job charles
Title: Re: Blog Community
Post by: Charles Hill on October 20, 2008, 08:43:33 PM
I just launched the bug tracker on my site.  Took me 3 days to code... but it's workin' great :)

http://degreesofzero.com/index.php?bt
Title: Re: Blog Community
Post by: Nibogo on October 20, 2008, 09:05:41 PM
Quote from: Charles Hill on October 20, 2008, 08:43:33 PM
I just launched the bug tracker on my site.  Took me 3 days to code... but it's workin' great :)

http://degreesofzero.com/index.php?bt

Looks Great I think of this would be a mod of SMF xD

Nice Job ;)

Maybe you can add this features:

* Attachments
* Put projects on the boardindex
* Timeline
* Bugs & Features
* Timelines
* Statics
* Assign features or bugs to a Member or Developer
Title: Re: Blog Community
Post by: DocPixel on October 22, 2008, 07:09:04 PM
I have a question on this mod. Well, two. I'm planning to add a blog to my forum, I'm new at this, and I'd rather use an SMF mod than Wordpress, if I can.

(1) Can it syndicate like Wordpress does, from another blog location?

(2) Can it gather excerpts from multiple blogs and put them in one place?

TIA.
Title: Re: Blog Community
Post by: Charles Hill on October 22, 2008, 07:59:37 PM
1... I have never used word press, could you explain more please?

2... Do you mean input the URL of an RSS feed and have the posts made in that feed be displayed somewhere?
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on October 22, 2008, 10:54:29 PM
i think that is what he is talking about Charles..

as far as Robbie.. that was your decission, you know you could have come to me and i could have helped you out.. should you decide again to try it out, let me know and i can help.. ;)
Title: Re: Blog Community
Post by: DocPixel on October 23, 2008, 01:49:06 PM
Um, he?  ;)

Charles, I haven't personally used WP. I like forums better than blogs. But...

(1) A member told me that Wordpress allows her to post on her blog on her site, and it will automatically redirect and update her blog on another site. Basically, two identical blogs on separate locations.

(2) The same member said it's possible to have one block that directly displays excerpt/link combinations from various individual blogs. Again, a WP thing, somehow related to atom or rss.

Title: Re: Blog Community
Post by: Smoky "Rider" Blue on October 23, 2008, 03:30:53 PM
lol Doc.. i get the same thing..  >:( :D
Title: Re: Blog Community
Post by: genieuk on October 23, 2008, 05:54:55 PM
Hi,

Could i have some help ???

I am using a custom theme and basically i want the Blog button next to the Forum button (right hand side of forum button).

I have added buttons previously without problems but am very confused with this one.

I have uploaded my index.template.php file for my custom theme.

If you would edit it for me that would be great. I notice there are a few things in the index.template.php that need changing but worried to change any of the changes required.

If you could do them for me i would much appreciate it.

Thank you,
Mathew
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on October 23, 2008, 06:45:43 PM
try this one out.. if it doesnt work, post back ;)
Title: Re: Blog Community
Post by: genieuk on October 23, 2008, 07:03:57 PM
may i ask first where it says:

<meta name="keywords" content="', !empty($context['blog']['meta']['keywords']) ? $context['blog']['meta']['keywords'] : $modSettings['default_meta_keywords'], '" />

before that was changed i had my site keywords in there but now i dont, how is google going to know my keywords if they been removed from this file?

Thanks for helping will try it when you reply back to question.
Mathew
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on October 23, 2008, 07:08:52 PM
Mathew,

it is done that way on purpose.. your site now, even with the default is like that ;)

directions are in the xml file to edit your custom theme.

the reason?? you now have a blog on your site, that can and will add, not only the default meta tags, that you set in place, but also your memebers can add to it..

this is why it is important to look at the xml file when editing or adding any mod to your site, so that you know exactly what the function is.

now its up to you, to use it to its full potential or not.. personally, i think Charles has a killer idea on the meta.. but again, its on you now ;)

Title: Re: Blog Community
Post by: genieuk on October 23, 2008, 07:19:35 PM
Thanks for the advice, that what i wanted to know whether it used my keywords and ones frmo blogs.

Great! better than i thought as it uses both.

Also it works perfect, thank you for taking the time out to add it for me.

Much appreciated  ;D

Thanks ever so much

Mathew


Title: Re: Blog Community
Post by: Smoky "Rider" Blue on October 23, 2008, 07:47:36 PM
more than welcome Mathew

i hope you will really enjoy it and put it to lots of good uses.. ;)
Title: Re: Blog Community
Post by: DocPixel on October 24, 2008, 02:04:26 AM
Quote from: SmokyBlue on October 23, 2008, 03:30:53 PM
lol Doc.. i get the same thing..  >:( :D

Maybe we just need bigger avatars. ;)
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on October 24, 2008, 02:43:27 AM
lol.. just maybe Doc..  ;)

now im wondering what Mr. Charles is up to next for the blog..  :P
Title: Re: Blog Community
Post by: genieuk on October 24, 2008, 06:56:39 AM
Hi,

I seem to have one slight problem.

When trying to submit an article in my blog to Facebook it says:
Quote
The page you requested was not found

You may have clicked an expired link or mistyped the address. Some web addresses are case sensitive.
Not sure if this is due to facebook links proably being changed as it still beta or soemthing.

anyone know what to do so i can fix it please ???

also my friend created a blog, it shows on the main blogs page but when i try to view her blog it says no articles to display even thou on the main bogs page it says she created an article. Now reason for this is the setting: HOW MANY ARTICLES TO BE SHOWN ON PAGE is auto set to '0' for unlimited, problem is a user has to change this as if they dont change it it says no articles to display, i think this is a bug, as if 0 is for unlimited then it still should show article but it doesn't unless you change it to a number like 1, 5 or whatever.

So basically if you dont change it from 0 to to something else it will count the article as in arictles created but not show it on there blogs.
Thank you,
Mathew
Title: Re: Blog Community
Post by: Charles Hill on October 24, 2008, 08:35:15 AM
@genieuk... About the facebook thing... Simple fix for that.  Find sharer.php; in Blog.php.  Replace with sharer.php?

As for the other issue, I am not sure what is causing that.  I've changed so much from 2.0.2 Beta to 2.0.3 Beta it'd take me a bit to find the problem.  I'll post a solution here for you when I find one.


@SmokeyBlue...  I'm restructuring the entire mod from top to bottom.  It's going to be nearly stand-alone.  There will be almost no edits made to SMF's source or template files once I've redone it.  The problem is... I will have to create almost all the current functionality SMF provides with my own functions for BC (posting, editing, locking, moving, sending, printing, etc etc etc).  Also I made my own permissions system.  It will make a lot more sense for BC than SMF's permissions system.  And it will only require one database query for all the permissions (unlike SMF).
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on October 24, 2008, 12:18:52 PM
now that is going to be sweet Charles.. that means separate themes etc., right??  ;)

hmm.. my illustrator is going to get a good workout i hope!!  O:)
Title: Re: Blog Community
Post by: Lotti on October 24, 2008, 06:17:20 PM
Mmmm... With this lot of new requests the release 2.0.3 have a long time to wait, i think...
And i need this mod. The 2.0.2 have any really big problems at this time? It's simple to upgrade to 2.0.3 if i want to use that now?
Title: Re: Blog Community
Post by: genieuk on October 24, 2008, 06:45:58 PM
Quote from: Lotti on October 24, 2008, 06:17:20 PM
Mmmm... With this lot of new requests the release 2.0.3 have a long time to wait, i think...
And i need this mod. The 2.0.2 have any really big problems at this time? It's simple to upgrade to 2.0.3 if i want to use that now?

Good question!

this is what i wanted to know. I was dying to install so went ahead and installed it but worried that i will have to uninstall old version and loose the created blogs etc.

If you could provide details on how we would install new blog when it comes out, i mean will we have to uninstall our current version then install new version or upgrade and will all content created be lost?

Thanks
Mathew
Title: Re: Blog Community
Post by: Charles Hill on October 24, 2008, 07:24:11 PM
I have been writing a function to import all the information from the SMF tables related to the blog community.  So when you uninstall the old version and install the new version, you won't lose anything.  But there are a few issues with 2.0.2 Beta.  Nothing major.  I will add the two fixes for the problems genieuk had to the bugtracker on my site (http://degreesofzero.com/index.php?bt)
Title: Re: Blog Community
Post by: BillyBob31 on October 25, 2008, 06:55:07 PM
I have these 2 errors:

8: Undefined index: cannot_write_blog
File: /www/free-site-host.com/c/a/l/calebsarmylife/htdocs/Sources/Errors.php
Line: 337


8: Undefined index: page_title
File: /www/free-site-host.com/c/a/l/calebsarmylife/htdocs/Sources/Blog.php
Line: 789



For the second error this is line 789:

$context['blog']['meta']['description'] = $context['page_title'];
Title: Re: Blog Community
Post by: Nibogo on October 28, 2008, 07:07:35 PM
Hi Charles

If someone have installed the Tagging System mod of vbgamer and want of the tagging system tags dont appear in the new article of the blog mod you have to:

Search:

//Tagging system Mod
        if(!isset($context['num_replies']))


Replace:

//Tagging system Mod
        if(!($context['blogBoard'] == $context['current_board']) && (!isset($context['num_replies'])))


Maybe charles you can add this to the v2.0.3 release using an error="ignore" ;)
Title: Re: Blog Community
Post by: Charles Hill on October 28, 2008, 07:17:32 PM
Won't be a problem because i am building my own posting page and post functions.  Blog Community will be completely separate from your SMF forum... except it'll use the member groups and members tables.. of course.
Title: Re: Blog Community
Post by: Nibogo on October 28, 2008, 07:37:26 PM
Quote from: Charles Hill on October 28, 2008, 07:17:32 PM
Won't be a problem because i am building my own posting page and post functions.  Blog Community will be completely separate from your SMF forum... except it'll use the member groups and members tables.. of course.

But if you create your own posting page , we can lose the bbcodes , right

Well so that post is only a reference :p
Title: Re: Blog Community
Post by: Charles Hill on October 28, 2008, 07:40:48 PM
No you won't lose bbc.  I am still going to use SMF's parse_bbc function.  I'm also going to figure out how to use all of the same bbc buttons that are on your SMF posting pages also.
Title: Re: Blog Community
Post by: Nibogo on October 28, 2008, 07:48:08 PM
Quote from: Charles Hill on October 28, 2008, 07:40:48 PM
No you won't lose bbc.  I am still going to use SMF's parse_bbc function.  I'm also going to figure out how to use all of the same bbc buttons that are on your SMF posting pages also.

Awesome charles ;)

The v2.0 Final can be released before christmas??
Title: Re: Blog Community
Post by: Charles Hill on October 28, 2008, 07:52:57 PM
lol.... probably before my birthday.  Pretty much all that's left to do is the post pages and a bunch of sub functions for articles, comments, polls, and drafts.  Then testing, of course.

My b-day is Nov 7th btw... :)
Title: Re: Blog Community
Post by: genieuk on October 28, 2008, 07:57:33 PM
Quote from: Charles Hill on October 28, 2008, 07:52:57 PM
lol.... probably before my birthday.  Pretty much all that's left to do is the post pages and a bunch of sub functions for articles, comments, polls, and drafts.  Then testing, of course.

My b-day is Nov 7th btw... :)

I very much look forward to the next latest release, sounds very exciting  ;D

Mathew
Title: Re: Blog Community
Post by: Nibogo on October 28, 2008, 08:04:02 PM
Quote from: Charles Hill on October 28, 2008, 07:52:57 PM
lol.... probably before my birthday.  Pretty much all that's left to do is the post pages and a bunch of sub functions for articles, comments, polls, and drafts.  Then testing, of course.

My b-day is Nov 7th btw... :)

Also fix some bugs on the v2.0.2 but I am expecting the new mod ^^
Title: Re: Blog Community
Post by: Kindred on October 28, 2008, 08:26:50 PM
hey Charles...   what are the possibilities that, with the "competely seperate system", you can get this released for smf 2.0?
Title: Re: Blog Community
Post by: Charles Hill on October 28, 2008, 08:28:43 PM
It'd be A LOT easier to make it compatible with SMF 2 actually.  Since it only uses info from the member groups and members tables.  I haven't messed with the Who page in detail yet... but I might have to use the activity log table from smf as well.  We'll see.
Title: Re: Blog Community
Post by: mikemikemike on October 29, 2008, 04:09:39 AM
What a very great mod. I have only two problems:

is give me a error;

8: Undefined index: rss_feed
Bestand: /home/httpd/vhosts/site.com/httpdocs/Themes/default/languages/Blog.dutch.php (manageBlogs sub template - eval?)
Regel: 1714

and:

I have market Hide portal blocks on all blog pages but i see all te TP tools on my blog. How can i hide this? I have te latest TP version.

Who can help me to fix it?
Title: Re: Blog Community
Post by: Charles Hill on October 29, 2008, 04:44:30 AM
@mikemikemike
Fix for first error:
http://degreesofzero.com/index.php?bt;bug=4

Version 1.06 of TP came out after version 2.0.2 Beta... so it doesn't work right with the latest TP version.
Title: Re: Blog Community
Post by: mikemikemike on October 29, 2008, 05:59:00 AM
Thanx, I have make a mistake i have the latest smf
and i have tp version 0.983.

Hide portal blocks on all blog pages don't work with my tp version
Title: Re: Blog Community
Post by: Charles Hill on October 29, 2008, 06:02:12 AM
I am getting the distinct impression that TP is not very compatible with anything.... I will do my best to make BC work with the latest version of TP, but beyond that I cannot guarantee anything.
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on October 29, 2008, 02:13:24 PM
i can help check things out too, if i get some time.. ok Charles??  :)
Title: Re: Blog Community
Post by: Lotti on October 29, 2008, 04:01:38 PM
Quote from: BillyBob31 on October 25, 2008, 06:55:07 PM
I have these 2 errors:

8: Undefined index: cannot_write_blog
File: /www/free-site-host.com/c/a/l/calebsarmylife/htdocs/Sources/Errors.php
Line: 337


8: Undefined index: page_title
File: /www/free-site-host.com/c/a/l/calebsarmylife/htdocs/Sources/Blog.php
Line: 789



For the second error this is line 789:

$context['blog']['meta']['description'] = $context['page_title'];

The same here, in the error log. Any news?
Title: Re: Blog Community
Post by: Özgür on October 29, 2008, 04:28:03 PM
any smf 2.0 beta 4 release this mod?
Title: Re: Blog Community
Post by: Charles Hill on October 29, 2008, 06:34:02 PM
@ Lotti... that's not a critical error.  Those are just missing variables that don't do anything very important.

Quote from: ЯocKayseri on October 29, 2008, 04:28:03 PM
any smf 2.0 beta 4 release this mod?
Once I am done with this next version for SMF 1.1.x it'll be a lot easier to make a SMF 2.0 version.

@SmokeyBlue... I haven't even tested the massive changes I've made recently yet.  Getting very close though.
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on October 29, 2008, 09:04:51 PM
ok Charles, just let me know ;)

im still sick so.. but will be around :)
Title: Re: Blog Community
Post by: Selroth on October 30, 2008, 09:36:09 AM
Great mod!  I definitely like what I'm seeing (at least, the stuff that works :)

When accessing the blog via a member's profile, I get the following notices:

Above the main menu:
Notice: Undefined variable: first in /mounted-storage/home48a/sub003/sc33400-FTPR/draconity/Themes/default/Blog.template.php (main_above sub template - eval?) on line 729
   Blogs 
Notice: Undefined variable: last in /mounted-storage/home48a/sub003/sc33400-FTPR/draconity/Themes/default/Blog.template.php (main_above sub template - eval?) on line 732
   


Next to the blog itself (probably where the Sidebar goes):
Notice: Undefined index: sideWindows in /mounted-storage/home48a/sub003/sc33400-FTPR/draconity/Themes/default/Blog.template.php (main sub template - eval?) on line 614


And below next to the provided debug info:
Notice: Undefined index: b348 in /mounted-storage/home48a/sub003/sc33400-FTPR/draconity/Themes/default/Blog.template.php (main_below sub template - eval?) on line 660
Templates: 2: index (dilbermc), Blog (default).
Sub templates: 4: init, main_above, main, main_below.
Language files: 3: index.english (default), Modifications.english (default), Blog.english (default).
Files included: 9 - 513KB. (show./index.php, ./Settings.php, ./Sources/QueryString.php, ./Sources/Subs.php, ./Sources/Errors.php, ./Sources/Load.php, ./Sources/Security.php, ./Sources/Blog.php, ./Sources/BlogPlugins.php)
Queries used: 17.


SMF 1.1.6, Blog Community (for 1.1.x) version 2.0.2.

I'm running dilbermc theme, so I tried following the install.xml to see the necessary edits to dilbermc's index.template.php.  I got most of it working, but am I missing something? 
Title: Re: Blog Community
Post by: Selroth on October 31, 2008, 12:19:12 AM
Bump?
Title: Re: Blog Community
Post by: Charles Hill on October 31, 2008, 12:21:46 AM
Undefined index errors are just missing variables.  They are not critical errors, unless they are supposed to be displaying something important.
Title: Re: Blog Community
Post by: Lotti on October 31, 2008, 03:26:08 PM
From when i use this mod the SMF use more CPU on the server.

The errors it's not stupid if generate 844 pages of error logs...
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on October 31, 2008, 06:37:18 PM
im not getting those errors on mine, perhaps if you dig thru this thread you will fi8nd the answers to the issues you are having..  ;)
Title: Re: Blog Community
Post by: Lotti on October 31, 2008, 07:18:06 PM
I have solved for cannot_write_blog (an error when an user cannot have a blog, for fix simply add the errors message on errors.language.php).
$txt['error_guest_no_link'] = 'Sorry, guests are not allowed to post links. If this link is of any importance for your posting, please register first.';
$txt['cannot_write_blog'] = 'Sorry, but you are not allowed to blog.';
$txt['cannot_multiple_blogs'] = 'Sorry, but you are not allowed to have multiple blogs.';
$txt['cannot_pseudo_independent_blog'] = 'Sorry, but you are not allowed to use the pseudo-independent blog setting.';
$txt['cannot_blog_restrict_access'] = 'Sorry, but you are not allowed to restrict access to your blogs.';
$txt['cannot_blog_set_posting_restrictions'] = 'Sorry, but you are not allowed to set posting restrictions for your blogs.';
$txt['cannot_delete_own_blogs'] = 'Sorry, but you are not allowed to delete your own blogs.';


For page_title on blog.php, it's an error when it is active a multiple blog system and a user view the blogs index without any blogs. There are no <title> on the page.
I fix in this way this night
find
// the blog settings array is not applicable to the blog index
if (isset($context['blog']['settings']))
unset($context['blog']['settings']);
$context['blog']['meta']['description'] = $context['page_title'];
$context['sub_template'] = 'main';

and replace with
// the blog settings array is not applicable to the blog index
if (isset($context['blog']['settings']))
unset($context['blog']['settings']);

if (!empty($context['blog']['blogError'])){

$context['blog']['meta']['description'] = $context['page_title'];
$context['sub_template'] = 'main';
}
else
{
global $db_prefix, $context, $scripturl, $mbname, $user_info, $txt, $modSettings, $ID_MEMBER, $memberContext;
$context['page_title'] = $mbname . ' - ' . 'Blog Index';
}
}
// we want to view a single blog... not the blog list

Title: Re: Blog Community
Post by: W00tbeer1 on November 02, 2008, 10:32:48 AM
Hello there,

Thanks for this great mod, I'm having one problem though. When I log into my regular user account and click "Want a Blog?" it says "ERROR".

What should I do?

Thanks
Title: Re: Blog Community
Post by: C.Jack on November 02, 2008, 10:51:39 AM
Quote from: W00tbeer1 on November 02, 2008, 10:32:48 AM
Hello there,

Thanks for this great mod, I'm having one problem though. When I log into my regular user account and click "Want a Blog?" it says "ERROR".

What should I do?

Thanks

Have you checked that your permissions have been set for that user group?
Title: Re: Blog Community
Post by: Lotti on November 03, 2008, 03:13:02 PM
Another problem, on the log errors:

"8: Undefined variable: ols
File: /home/spaceofi/public_html/letterefilosofiasapienza/forum/Sources/RemoveTopic.php"

The last line;


// Decrease the blog category total (if this topic was in a blog category)
foreach ($recycleTopics as $topic)
{
$request = db_query("
SELECT t.categoryID, bc.total, t.blogTags, t.ID_BOARD
FROM {$db_prefix}topics AS t
LEFT JOIN {$db_prefix}blog_categories AS bc ON (bc.categoryID = t.categoryID)
WHERE t.ID_TOPIC = $topic
LIMIT 1", __FILE__, __LINE__);

if (mysql_num_rows($request) > 0)
{
$old = mysql_fetch_assoc($request);
$total = $ols['total'] - 1;
$categoryID = $ols['categoryID'];
Title: Re: Blog Community
Post by: W00tbeer1 on November 03, 2008, 11:01:48 PM
Quote from: CaptJack on November 02, 2008, 10:51:39 AM
Quote from: W00tbeer1 on November 02, 2008, 10:32:48 AM
Hello there,

Thanks for this great mod, I'm having one problem though. When I log into my regular user account and click "Want a Blog?" it says "ERROR".

What should I do?

Thanks

Have you checked that your permissions have been set for that user group?

That worked for me, man I feel stupid now :P
Title: Re: Blog Community
Post by: Emperium on November 10, 2008, 06:06:21 PM
It sure has been a while since we heard about any progress on 2.0.3. I hope everything is going well, and really look forward to the release, and/or any progress news.
Title: Re: Blog Community
Post by: genieuk on November 10, 2008, 06:10:12 PM
Quote from: Emperium on November 10, 2008, 06:06:21 PM
It sure has been a while since we heard about any progress on 2.0.3. I hope everything is going well, and really look forward to the release, and/or any progress news.

Me to very excited about the next release.  :D
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on November 10, 2008, 08:51:56 PM
it is coming! Charles is working very hard on this..  :)
Title: Re: Blog Community
Post by: Nibogo on November 10, 2008, 09:10:54 PM
Yes be patient

I want an stable and awesome version with a lot of new things and bug fixeds , Its better wait some time to have a nice version ;)

Keep Working Charles ;)
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on November 10, 2008, 09:18:01 PM
NIBOGO,

wait till you see what the next version will be like!!  only thing i can say is, sweet!!!  :D
Title: Re: Blog Community
Post by: Charles Hill on November 11, 2008, 01:00:32 AM
It's very close to being complete.  To give you an idea... I think the last version had 3 or 4 sources files?  This one has over 16.  I've backwards engineered a lot of the functionality that used to be provided by SMF.  For example... the permissions system is now 100% completed.  It will end a lot of the confusion that was occurring with the last versions.  Presently there are about 50 or so permissions that you can assign.  Making your own permissions is as easy as making your own global blog settings, preferences, etc.

You may check out the latest version at http://dev.degreesofzero.com/index.php?bc
Title: Re: Blog Community
Post by: tyhgdgh on November 11, 2008, 01:03:17 AM
This Mod conflicts with Profile comments. go to users blog is above "Summary-(NAME)"
Title: Re: Blog Community
Post by: Charles Hill on November 11, 2008, 01:08:51 AM
2.0.3 won't.... because there won't be any heavy coding in the Profile page for this mod.
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on November 11, 2008, 01:14:31 AM
looking really good there Charles..  ;)
Title: Re: Blog Community
Post by: genieuk on November 11, 2008, 06:54:41 AM
Yes i agree looks really good. I really do like the globe icon and page tool icon sort of image, i find with current version they display just anywhere, this is much cleaner, simpler and more orientated.

Looks really good, Well Done and thanks for making a great Blogging System.

Mathew
Title: Re: Blog Community
Post by: Emperium on November 11, 2008, 03:42:05 PM
Alright thanks for that progress update. It's so close we all can taste it~ and damn it tastes so good...
Title: Re: Blog Community
Post by: Nibogo on November 11, 2008, 06:24:02 PM
any possible date to the final release of the final version of the mod???

Thanks charles
Title: Re: Blog Community
Post by: Charles Hill on November 11, 2008, 06:44:30 PM
Quote from: NIBOGO on November 11, 2008, 06:24:02 PM
any possible date to the final release of the final version of the mod???

Thanks charles

No, but it's pretty close.  I solved a lot of issues earlier today.  Lemme see if I can come up with a list of things left:

Clean up display poll template
Fully test all aspects of polls (posting, voting, editing, etc)
Make send article function (uses e-mail system of your forum)
Fully implement marked read system (independent of SMF)
Create functions for Notifications (new comments to article / new articles in blogs)
Add blog avatar setting option for blogs (will involve adding to my processFormFields function to handle file uploads)
Fix posting restrictions page in blog control panel
Finish import SMF boards function (this one's about 1000 lines of code itself...)
Title: Re: Blog Community
Post by: Nibogo on November 11, 2008, 07:28:46 PM
Just amazing charles

I cant help in anything because I dont know about php and mysql :s , but I can help with the spanish translation ;)
Title: Re: Blog Community
Post by: Charles Hill on November 15, 2008, 12:08:43 AM
Update for you....

X = done

X Clean up display poll template
X Fully test all aspects of polls (posting, voting, editing, etc)
Make send article function (uses e-mail system of your forum)
X Fully implement marked read system (independent of SMF)
X Create functions for Notifications (new comments to article / new articles in blogs)
Add blog avatar setting option for blogs (will involve adding to my processFormFields function to handle file uploads)
X Fix posting restrictions page in blog control panel
Finish import SMF boards function (this one's about 1000 lines of code itself...)

Also... new some other things I need to do still:
Add "bbc cloud" above body text fields in posting forms
Finish Previewing for post forms
Title: Re: Blog Community
Post by: Nibogo on November 15, 2008, 02:23:15 PM
Quote from: Charles Hill on November 15, 2008, 12:08:43 AM
Update for you....

X = done

X Clean up display poll template
X Fully test all aspects of polls (posting, voting, editing, etc)
Make send article function (uses e-mail system of your forum)
X Fully implement marked read system (independent of SMF)
X Create functions for Notifications (new comments to article / new articles in blogs)
Add blog avatar setting option for blogs (will involve adding to my processFormFields function to handle file uploads)
X Fix posting restrictions page in blog control panel
Finish import SMF boards function (this one's about 1000 lines of code itself...)

Also... new some other things I need to do still:
Add "bbc cloud" above body text fields in posting forms
Finish Previewing for post forms

Nice job , every day we have something new

Charles maybe you can also modify the blogs index with something like vb blogs:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg401.imageshack.us%2Fimg401%2F5298%2Ff201f1e6dc687dae21551acoq8.png&hash=9f5cd017cec84d513d93662ed4e9e1aaa89b4f60) (http://img401.imageshack.us/img401/5298/f201f1e6dc687dae21551acoq8.png)

This have:

- Aleatory Article

- Recent Comments

- Recent Articles

something like this can be cool
Title: Only Admins Are able to create Blogs
Post by: pariofdreamz on November 15, 2008, 04:08:39 PM
Hey Charli First of All Congrats For the 2.0.3 Beta which U have completed and will recently launched. You Blog Mod is Wonderful I loved it but i don't think it is compatible with latest SMF 1.1.7 ? Right Now i m using 1.1.6 and with that its compatible.

There is a serious problem in using the blog which i m facing .Only Admin Group is able to create blogs. I had given permission to all the groups but still its only the Admins who can make blogs . I m have selected Blog Community in Blog Control Panel still i m facing this problem . Can You Please Fix it.

Please Check it your self once at http://forums.parilok.org

Looking for Positive Results

- Pari
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on November 15, 2008, 04:53:31 PM
you need to upgrade your site.. the one you are using now have serious security flaws..

the blog will work for 1.1.7

it must be set in the admin>blog control panel

under admin only options, you will see:

Blog Mode

that is where you set it for community..  ;) wish to see an example, head over to my site: PixelbyPaint.com (http://www.pixelbypaint.com/forum/index.php?action=blogs)  :)
Title: Re: Blog Community
Post by: pariofdreamz on November 15, 2008, 08:57:37 PM
Thanks Smoky For Providing information about the working of blogs with 1.1.7. I had already enabled community mod ... i was making a silly mistake i just forgot to add maximum number of blogs for non-admins. Anyways its solved now .... thanks again
Title: Re: Blog Community
Post by: Charles Hill on November 15, 2008, 10:32:26 PM
@ NIBOGO... That's an interesting idea.  I have been doing some thinking about how this could be done in an awesome way... And I think I got it figured out.  I will allow you to make "blocks" for the blog index page.  The blog index itself (the actual list of blogs) will be its own kind of block.  Also you'll be able to choose from a few standard blocks, and I think I'll add the ability to have some php-blocks (for admins only).  Oh and you'll be able to order the blocks just like side windows.
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on November 15, 2008, 10:50:32 PM
lol Charles, that sounds like a plan!!

you welcome pariofdreamz..  ;)
Title: Re: Blog Community
Post by: Nibogo on November 16, 2008, 10:19:13 PM
Quote from: Charles Hill on November 15, 2008, 10:32:26 PM
@ NIBOGO... That's an interesting idea.  I have been doing some thinking about how this could be done in an awesome way... And I think I got it figured out.  I will allow you to make "blocks" for the blog index page.  The blog index itself (the actual list of blogs) will be its own kind of block.  Also you'll be able to choose from a few standard blocks, and I think I'll add the ability to have some php-blocks (for admins only).  Oh and you'll be able to order the blocks just like side windows.

Of this I am talking about , thanks charles
Title: Re: Blog Community
Post by: chapter79 on November 17, 2008, 11:55:37 PM
Charles, I just uploaded your original version of the mod on the forum we use and I'm very happy with it.
Thank you so much for all your hard work!

I'm a little nervous to move to a new version but I'm trusting you will give details of upgrades for those of us who are new to the ways of version upgrades. ;D That said I did manage to update from smf 1.1.6 to 1.1.7 without the whole thing falling to pieces.

Can you tell me though if the blog posts will transfer over easy from the one version to the other? I suppose that's my main concern.
And did I see you mention that the newest version will work on smf version 1.1.7

Sorry if I'm double questioning but those questions I didn't find answers to clearly.

Thanks, again Charles  :)
Title: Re: Blog Community
Post by: Charles Hill on November 18, 2008, 12:02:39 AM
It'll work with all 1.1.x versions.  Since there are very few edits made to SMF's source or template files, compatibility should not be a problem.  There will not be a version for SMF 2.0+ until there is a stable version of Blog Community.  Also, still rather concerned that they might change some big things in SMF 2.0 anyways.

Yes, your blog related data from previous versions of this mod will transfer over to the new version.  I am unsure of a release date.  When I have it all put together and am satisfied with it, I will release it :)
Title: Re: Blog Community
Post by: chapter79 on November 18, 2008, 01:03:11 AM
Thanks for the reply Charles. I'm excited about the new release. 
Good to know about the compatibility and post change over. That's a relief.  ;D
Title: Re: Blog Community
Post by: gotcan on November 18, 2008, 09:10:12 AM
I have this installed at BigMarketingForum.com and a member notified me that the share links do not work. When you click one of them like dig it or something it lists the link as:
/Forum/http://www.stumbleupon.com/submit?url=http://www.BigMarketingForum.com/Forum/index.php?article=1728&title=Daily+Update+For+11/18/08

Is this something that can be fixed? If so could you tell me where to do it at?

Thanks in advance for any advice.

Jason Wise
Title: Re: Blog Community
Post by: HistoryHunter on November 18, 2008, 02:36:32 PM
Installed in smf 1.1.7 with TP and custom theme, and it works perfectly... fantastic!
http://historyhuntersinternational.org/index.php?action=blogs

Now I am working to integrate the blogs with other online communities, starting with blogcatalog.com as a channel.

That is, I do not want to rely on my existing community for all activity, but to extend ours into others and others into ours. I guess this is the point of Blog Community.

Many thanks! I will try and learn more on how to do this.

Title: Re: Blog Community
Post by: Charles Hill on November 18, 2008, 06:56:51 PM
@ gotcan... Could you paste the code from Sources/Blog.php that creates the share links?  I believe if you search for sharer.php you should find the area in that file that I am talking about.

@ HistoryHunter... BlogCatalog and MyBlogLog are somewhat integrated into Blog Community.  I have personally found those sites to not be very helpful, and that's why I haven't developed that very much.  What I would like to develop eventually is possibly linking all the different sites that use this Blog Community software.  As I get better with programming and play around with options, I will develop the ideas a bit more.
Title: Re: Blog Community
Post by: gotcan on November 19, 2008, 04:03:56 AM
Hi,

Here is the part of the code I believe you need:

'bookmarking_links' => array(),
'options' => array(),
'new_from' => $row['new_from'],
);

// make the bookmarking links for this article
if (!empty($context['blog']['settings']['show_socialbookmarks_topics'])) {
$url_w_title = 'url='. $scripturl . '?article=' . $row['ID_TOPIC'] .'&title='. $row['subject'];
// make the bookmarking_links
$context['blog']['articles'][$row['ID_TOPIC']]['bookmarking_links'] = array(
'<a href="' . urlencode('http://digg.com/submit?phase=2&'. $url_w_title) . '" title="'. $txt['digg_it'] .'" rel="nofollow"><img src="'. $settings['default_theme_url'] .'/images/icons/digg_icon.gif" alt="'. $txt['digg_it'] .'" /></a>',
'<a href="' . urlencode('http://del.icio.us/post?'. $url_w_title) . '" title="'. $txt['add_to_delicious'] .'" rel="nofollow"><img src="'. $settings['default_theme_url'] .'/images/icons/del.icio.us.gif" alt="'. $txt['add_to_delicious'] .'" /></a>',
'<a href="' . urlencode('http://www.furl.net/storeIt.jsp?'. 'u='. $scripturl . '?article=' . $row['ID_TOPIC'] .'&t='. $row['subject']) . '" title="'. $txt['furl'] .'" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/furl_icon.gif" alt="'. $txt['furl'] .'" /></a>',
'<a href="' . urlencode('http://www.stumbleupon.com/submit?'. $url_w_title) . '" title="'. $txt['stumble_it'] .'" rel="nofollow"><img src="'. $settings['default_theme_url'] .'/images/icons/stumbleupon_icon.gif" alt="'. $txt['stumble_it'] .'" /></a>',
'<a href="' . urlencode('http://technorati.com/faves?add&'. $url_w_title) . '" title="'. $txt['add_to_technorati'] .'" rel="nofollow"><img src="'. $settings['default_theme_url'] .'/images/icons/technorati_icon.gif" alt="'. $txt['add_to_technorati'] .'" /><



   $maxindex = 15;
   // show all if that's what they want :)
   if (isset($_REQUEST['all']))
      $maxindex = 99999;
      
   $start = (int) $_REQUEST['start'];
   $numTags = !empty($row['numTags']) ? $row['numTags'] : 0;
   
   $context['page_index'] = constructPageIndex($scripturl . '?action=blogControlPanel;u='. $memID .';blog='. $blog .';sa='. $_REQUEST['sa'] .';start=%d'. (!empty($_REQUEST['blogStart']) ? ';blogStart='. $_REQUEST['blogStart'] : ''), $_REQUEST['start'], $numTags, $maxindex, true);
   
   $context['show_page_index'] = !empty($numTags) && $numTags > $maxindex;

   // let's get the tags for this page
   $request = db_query("
      SELECT tagID, tag, numTopics
      FROM {$db_prefix}blog_tags
      WHERE boardID = $blog
      ORDER BY tag
      LIMIT $start, $maxindex", __FILE__, __LINE__);
      
   $context['blogTags'] = array();
   while ($row = mysql_fetch_assoc($request))
      $context['blogTags'][$row['tagID']] = array(
         'id' => $row['tagID'],
         'name' => $row['tag'],
         'numTopics' => $row['numTopics'],
         'usedIn' => $txt['b78'] . ' <b>' . $row['numTopics'] . '</b> ' . ($row['numTopics'] == 1 ? $txt['b66'] : $txt['b66a']),
      );
   
   mysql_free_result($request);
   
   if (empty($context['blogTags']))
      $context['blog']['help_blogTags'] = '<a href="'. $scripturl .'?action=blogHelp'. (!empty($blog) ? ';blog='. $blog : '') .';help=help_blogTags" onclick="return reqWin(this.href);" class="help" rel="nofollow"><img src="'. $settings['default_theme_url'] .'/images/icons/QuestionIcon.gif" alt="(?)" title="'. $txt['b79'] .'" /></a>';
   
   // doing something with blogTags?
   if (!empty($_REQUEST['blogTags']))
   {
      checkSession('get');
      // deleting?
      if ($_REQUEST['blogTags'] == 'delete')
      {
         // this'll do the deleting for us
         deleteItems($memID, 'tag');
      }
      redirectexit('action=blogControlPanel;u=' . $memID . ';blog='. $blog .';sa=blogTags'. (!empty($_REQUEST['blogStart']) ? ';blogStart='. $_REQUEST['blogStart'] : ''));
   }
}


?>[/code]

Thanks,
Jason
Title: Re: Blog Community
Post by: Charles Hill on November 19, 2008, 09:00:12 AM
@gotcan....

replace the code inside of the if statement if (!empty($context['blog']['settings']['show_socialbookmarks_topics'])) { with the following:

// use urlencode on the subject
$subject = urlencode(strip_tags($row['subject']));
$url = $scripturl . '?article=' . $row['article_id'] .'.0';

prepareBookmarkingOptionsArray();

// load the bookmarking options...
if (!empty($context['blog']['settings']['socialbookmarks_multicheck']))
foreach ($context['blog']['settings']['socialbookmarks_multicheck'] as $site)
if (!empty($context['blog']['bookmarking_options'][$site]['link']))
$context['blog']['articles'][$row['article_id']]['bookmarking_links'][] = sprintf($context['blog']['bookmarking_options'][$site]['link'], $url, $subject);


and add this at the end of the Sources/Blog.php file:


function prepareBookmarkingOptionsArray()
{
global $context, $settings;
$context['blog']['bookmarking_options'] = array(
'digg' => array(
'link' => '<a href="http://digg.com/submit?phase=2;url=%s;title=%s" title="Digg" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/digg_icon.gif" alt="" /></a>',
),
'delicious' => array(
'link' => '<a href="http://del.icio.us/post?url=%s;title=%s" title="Del.icio.us" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/delicious_icon.gif" alt="" /></a>',
),
'furl' => array(
'link' => '<a href="http://www.furl.net/storeIt.jsp?u=%s;t=%s" title="Furl" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/furl_icon.gif" alt="" /></a>',
),
'stumbleupon' => array(
'link' => '<a href="http://www.stumbleupon.com/submit?url=%s;title=%s" title="Stumble Upon" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/stumbleupon_icon.gif" alt="" /></a>',
),
'technorati' => array(
'link' => '<a href="http://technorati.com/faves?add;url=%s;title=%s" title="Technorati" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/technorati_icon.gif" alt="" /></a>',
),
'reddit' => array(
'link' => '<a href="http://reddit.com/submit?url=%s;title=%s" title="Reddit" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/reddit_icon.gif" alt="" /></a>',
),
'blinklist' => array(
'link' => '<a href="http://blinklist.com/index.php?Action=Blink/addblink.php;url=%s;title=%s" title="BlinkList" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/blinklist_icon.gif" alt="" /></a>',
),
'google' => array(
'link' => '<a href="http://www.google.com/bookmarks/mark?op=edit;bkmk=%s;bodytext=%s" title="Google" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/google_icon.gif" alt="" /></a>',
),
'twitter' => array(
'link' => '<a href="http://twitter.com/home?status=%s" title="Twitter" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/twitter_icon.gif" alt="" /></a>',
),
'facebook' => array(
'link' => '<a href="http://www.facebook.com/sharer.php?u=%s" title="Facebook" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/facebook_icon.gif" alt="" /></a>',
),
'magnolia' => array(
'link' => '<a href="http://ma.gnolia.com/bookmarklet/add?url=%s;title=%s" title="Ma.gnolia" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/magnolia_icon.gif" alt="" /></a>',
),
'myweb' => array(
'link' => '<a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=%s;t=%s" title="Yahoo! MyWeb" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/myweb_icon.gif" alt="" /></a>',
),
'windowslive' => array(
'link' => '<a href="http://favorites.live.com/quickadd.aspx?market=1;mkt=en-us;top=1;url=%s" title="Windows Live" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/windowslive_icon.gif" alt="" /></a>',
),
);
}
Title: Re: Blog Community
Post by: redline7366 on November 19, 2008, 11:36:43 PM
Charles - are you familiar at all with the the multicolor theme.  I think the syntax difference between the update for index.template.php and the file itself are causing errors with my manual install.
Title: Re: Blog Community
Post by: gotcan on November 20, 2008, 05:55:27 PM
Quote from: Charles Hill on November 19, 2008, 09:00:12 AM
@gotcan....

replace the code inside of the if statement if (!empty($context['blog']['settings']['show_socialbookmarks_topics'])) { with the following:

// use urlencode on the subject
$subject = urlencode(strip_tags($row['subject']));
$url = $scripturl . '?article=' . $row['article_id'] .'.0';

prepareBookmarkingOptionsArray();

// load the bookmarking options...
if (!empty($context['blog']['settings']['socialbookmarks_multicheck']))
foreach ($context['blog']['settings']['socialbookmarks_multicheck'] as $site)
if (!empty($context['blog']['bookmarking_options'][$site]['link']))
$context['blog']['articles'][$row['article_id']]['bookmarking_links'][] = sprintf($context['blog']['bookmarking_options'][$site]['link'], $url, $subject);


and add this at the end of the Sources/Blog.php file:


function prepareBookmarkingOptionsArray()
{
global $context, $settings;
$context['blog']['bookmarking_options'] = array(
'digg' => array(
'link' => '<a href="http://digg.com/submit?phase=2;url=%s;title=%s" title="Digg" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/digg_icon.gif" alt="" /></a>',
),
'delicious' => array(
'link' => '<a href="http://del.icio.us/post?url=%s;title=%s" title="Del.icio.us" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/delicious_icon.gif" alt="" /></a>',
),
'furl' => array(
'link' => '<a href="http://www.furl.net/storeIt.jsp?u=%s;t=%s" title="Furl" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/furl_icon.gif" alt="" /></a>',
),
'stumbleupon' => array(
'link' => '<a href="http://www.stumbleupon.com/submit?url=%s;title=%s" title="Stumble Upon" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/stumbleupon_icon.gif" alt="" /></a>',
),
'technorati' => array(
'link' => '<a href="http://technorati.com/faves?add;url=%s;title=%s" title="Technorati" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/technorati_icon.gif" alt="" /></a>',
),
'reddit' => array(
'link' => '<a href="http://reddit.com/submit?url=%s;title=%s" title="Reddit" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/reddit_icon.gif" alt="" /></a>',
),
'blinklist' => array(
'link' => '<a href="http://blinklist.com/index.php?Action=Blink/addblink.php;url=%s;title=%s" title="BlinkList" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/blinklist_icon.gif" alt="" /></a>',
),
'google' => array(
'link' => '<a href="http://www.google.com/bookmarks/mark?op=edit;bkmk=%s;bodytext=%s" title="Google" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/google_icon.gif" alt="" /></a>',
),
'twitter' => array(
'link' => '<a href="http://twitter.com/home?status=%s" title="Twitter" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/twitter_icon.gif" alt="" /></a>',
),
'facebook' => array(
'link' => '<a href="http://www.facebook.com/sharer.php?u=%s" title="Facebook" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/facebook_icon.gif" alt="" /></a>',
),
'magnolia' => array(
'link' => '<a href="http://ma.gnolia.com/bookmarklet/add?url=%s;title=%s" title="Ma.gnolia" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/magnolia_icon.gif" alt="" /></a>',
),
'myweb' => array(
'link' => '<a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=%s;t=%s" title="Yahoo! MyWeb" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/myweb_icon.gif" alt="" /></a>',
),
'windowslive' => array(
'link' => '<a href="http://favorites.live.com/quickadd.aspx?market=1;mkt=en-us;top=1;url=%s" title="Windows Live" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/windowslive_icon.gif" alt="" /></a>',
),
);
}

Quote from: Charles Hill on November 19, 2008, 09:00:12 AM
@gotcan....

replace the code inside of the if statement if (!empty($context['blog']['settings']['show_socialbookmarks_topics'])) { with the following:

// use urlencode on the subject
$subject = urlencode(strip_tags($row['subject']));
$url = $scripturl . '?article=' . $row['article_id'] .'.0';

prepareBookmarkingOptionsArray();

// load the bookmarking options...
if (!empty($context['blog']['settings']['socialbookmarks_multicheck']))
foreach ($context['blog']['settings']['socialbookmarks_multicheck'] as $site)
if (!empty($context['blog']['bookmarking_options'][$site]['link']))
$context['blog']['articles'][$row['article_id']]['bookmarking_links'][] = sprintf($context['blog']['bookmarking_options'][$site]['link'], $url, $subject);


and add this at the end of the Sources/Blog.php file:


function prepareBookmarkingOptionsArray()
{
global $context, $settings;
$context['blog']['bookmarking_options'] = array(
'digg' => array(
'link' => '<a href="http://digg.com/submit?phase=2;url=%s;title=%s" title="Digg" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/digg_icon.gif" alt="" /></a>',
),
'delicious' => array(
'link' => '<a href="http://del.icio.us/post?url=%s;title=%s" title="Del.icio.us" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/delicious_icon.gif" alt="" /></a>',
),
'furl' => array(
'link' => '<a href="http://www.furl.net/storeIt.jsp?u=%s;t=%s" title="Furl" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/furl_icon.gif" alt="" /></a>',
),
'stumbleupon' => array(
'link' => '<a href="http://www.stumbleupon.com/submit?url=%s;title=%s" title="Stumble Upon" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/stumbleupon_icon.gif" alt="" /></a>',
),
'technorati' => array(
'link' => '<a href="http://technorati.com/faves?add;url=%s;title=%s" title="Technorati" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/technorati_icon.gif" alt="" /></a>',
),
'reddit' => array(
'link' => '<a href="http://reddit.com/submit?url=%s;title=%s" title="Reddit" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/reddit_icon.gif" alt="" /></a>',
),
'blinklist' => array(
'link' => '<a href="http://blinklist.com/index.php?Action=Blink/addblink.php;url=%s;title=%s" title="BlinkList" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/blinklist_icon.gif" alt="" /></a>',
),
'google' => array(
'link' => '<a href="http://www.google.com/bookmarks/mark?op=edit;bkmk=%s;bodytext=%s" title="Google" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/google_icon.gif" alt="" /></a>',
),
'twitter' => array(
'link' => '<a href="http://twitter.com/home?status=%s" title="Twitter" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/twitter_icon.gif" alt="" /></a>',
),
'facebook' => array(
'link' => '<a href="http://www.facebook.com/sharer.php?u=%s" title="Facebook" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/facebook_icon.gif" alt="" /></a>',
),
'magnolia' => array(
'link' => '<a href="http://ma.gnolia.com/bookmarklet/add?url=%s;title=%s" title="Ma.gnolia" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/magnolia_icon.gif" alt="" /></a>',
),
'myweb' => array(
'link' => '<a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=%s;t=%s" title="Yahoo! MyWeb" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/myweb_icon.gif" alt="" /></a>',
),
'windowslive' => array(
'link' => '<a href="http://favorites.live.com/quickadd.aspx?market=1;mkt=en-us;top=1;url=%s" title="Windows Live" rel="nofollow" target="_blank"><img src="'. $settings['default_theme_url'] .'/images/icons/windowslive_icon.gif" alt="" /></a>',
),
);
}


Hi,

Thanks for helping me out on this. I changed the code like you told me to (I think) and got this
error:
Parse error: syntax error, unexpected ';' in /home/adsncash/public_html/bigmarketingforum/Forum/Sources/Blog.php on line 1613

Like 1613 is this:
$subject = urlencode(strip_tags($row['subject']));

Any ideas? I tried to take out the ; in the code and just got an error on line 1614

Title: Re: Blog Community
Post by: Charles Hill on November 20, 2008, 08:05:07 PM
Attach your Blog.php plz.  I will take a look.
Title: Re: Blog Community
Post by: gotcan on November 20, 2008, 10:27:05 PM
Hi,

Attached is the current one I am using without the changes that is giving me the problem.

Thanks,
Jason
Title: Re: Blog Community
Post by: Charles Hill on November 20, 2008, 11:04:56 PM
Here ya go.
Title: Re: Blog Community
Post by: gotcan on November 20, 2008, 11:30:15 PM
Hi,

Now there is no share links at all  :( but the blog does seem to work right other than that.

See here:
http://www.bigmarketingforum.com/Forum/index.php?blog=23.0
Title: Re: Blog Community
Post by: Charles Hill on November 20, 2008, 11:36:52 PM
Are you running version 2.0.1 or 2.0.2?

edit-
Ok I see..... you're running 2.0.1...

above the if (!empty($context['blog']['settings']['socialbookmarks_multicheck']))
put the following:
$context['blog']['settings']['socialbookmarks_multicheck'] = array('digg', 'stumbleupon');

and u can add the other bookmarking sites to that array to include them.
Title: Re: Blog Community
Post by: gotcan on November 21, 2008, 01:17:15 AM
Hi,

Doing that gave me this 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 '1754,1728,508,310)
LIMIT 6' at line 3
File: /home/adsncash/public_html/bigmarketingforum/Forum/Sources/Blog.php
Line: 784

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.7, while your database is at version 1.1.6. The above error might possibly go away if you execute the latest version of upgrade.php.

Title: Re: Blog Community
Post by: Charles Hill on November 21, 2008, 01:30:43 AM
Don't know what to tell you...  I just looked at the code around those lines, and it looks like it should work.
Title: Re: Blog Community
Post by: stfox100 on November 22, 2008, 10:33:53 AM
Ok, following your fixes, I have most of the blog errors fixed, except for these 2.

8: Undefined variable: percent_per_pixel_increase
File: /xxx/xxx/xxx/ga.ga-squad.com/Sources/Blog.php
Line: 4555

For this one, I tried adding $percent_per_pixel_increase to the globals, but it didn't work.
and
2: Division by zero
File: /xxx/xxx/xxx/ga.ga-squad.com/Sources/Blog.php
Line: 4555

Any help appreciated.
Title: Re: Blog Community
Post by: Charles Hill on November 22, 2008, 12:54:47 PM
@stfox100

replace the tagFontSize function in your Sources/Blog.php with the following:

function tagFontSize($numArticles, $total_instances)
{
$maxfontsize = 24;
$basefontsize = 11;

if (empty($total_instances) || empty($numArticles))
return $basefontsize;

// percent_per_pixel_increase is the number of % points that are needed to increase the pixel-size of text by 1
$percent_per_pixel_increase = ($total_instances > 5) && (($total_instances - 3) > 1) ? 50 / ($total_instances - 2) : 200;

// add to the basefontsize...
$return = $basefontsize + floor((100 * $numArticles) / ($total_instances * $percent_per_pixel_increase));

// can't be more than maxfontsize
if ($return > $maxfontsize)
$return = $maxfontsize;

return $return;
}
Title: Re: Blog Community
Post by: kyle007 on November 22, 2008, 01:05:26 PM
Charles Hill , i want to learn something...
Can we make SMF's page navigation appearance like in your blog mod ?  (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg141.imageshack.us%2Fimg141%2F5378%2F11617914nd0.jpg&hash=75ba6d6263b71eb6b76ef4a49dad6ba4d4807e4e)

I searched it everywhere but couldn't find anything...
Title: Re: Blog Community
Post by: Charles Hill on November 22, 2008, 01:33:31 PM
I actually changed it from that to something even cooler ;D  To change how the page index appears, you have to edit the constructPageIndex function your Sources/Subs.php and add some css to your style sheet.

Find:
$pageindex .= '<span>' . ($start / $num_per_page + 1) . '</span> ';

My version of this line looks like the following:
$pageindex .= '<span class="bcPageIndexCurrent">' . ($start / $num_per_page + 1) . '</span> ';

Also, find:
return $pageindex;

My version of this line is the following:
return '<span class="blogPageIndex">' . $pageindex . '</span>';

Then in the css stylesheet...

.blogPageIndex a
{
color:#737373;
width:19px;
height:25px;
font-weight:normal;
background:url(bc_images/icons/page_icon.png) no-repeat;
padding:7px;
text-align:center;
vertical-align:middle;
}
.blogPageIndex a:hover
{
color:#737373;
background:url(bc_images/icons/page_icon_hover.png) no-repeat;
}
span.bcPageIndexCurrent
{
color:#737373;
width:19px;
height:25px;
font-weight:normal;
padding:7px;
text-align:center;
vertical-align:middle;
background:url(bc_images/icons/page_icon_active.png) no-repeat;
}


You can see working example of how mine looks at http://dev.degreesofzero.com/index.php
Title: Re: Blog Community
Post by: stfox100 on November 22, 2008, 01:36:44 PM
That seems to work Charles, thanks,
Bluto
Title: Re: Blog Community
Post by: kyle007 on November 22, 2008, 02:05:42 PM
Charles Hill, you made my day , thank alot....

But perhaps still we miss something in subs.php...

Because it works in topics properly but in section message index it's a bit buggy...

Can you fix this :(

http://forum.hardwarena.com/index.php?board=26.0
Title: Re: Blog Community
Post by: Charles Hill on November 22, 2008, 02:40:46 PM
CSS can be tricky, just keep playing around with it until you get what you want.
Title: Re: Blog Community
Post by: kyle007 on November 22, 2008, 02:43:18 PM
Oke, i think i found it... In topic there is no class css behind page navigation , but in message index there is...

Anyway thanks a billion times Charles...
Title: Re: Blog Community
Post by: qubbah on November 23, 2008, 09:41:31 AM
can we embed flash in the post?

like

<object width="320" height="277"><param name="movie" value="http://www.tv9.com.my/App_Themes/tv9/swf/FlvPlayer_320x277.swf"></param><param name="FlashVars" value="flv=http://medprima.vo.llnwd.net/o18/u/tv9/sec/halaqah/halaqah_2008_041_rec.flv &title=Halaqah: Episod 41"></param><param name="wmode" value="transparent"></param><embed src="http://www.tv9.com.my/App_Themes/tv9/swf/FlvPlayer_320x277.swf" type="application/x-shockwave-flash" wmode="transparent"  width="320" height="277" flashvars="flv=http://medprima.vo.llnwd.net/o18/u/tv9/sec/halaqah/halaqah_2008_041_rec.flv &title=Halaqah: Episod 41"></embed></object>
Title: Re: Blog Community
Post by: Jakki on November 23, 2008, 09:50:37 AM
Hi charles, I really like this mod, I'm having some DB issues..I went to degreesofzero and did the manual changes to the blog.php
But now guests and members are getting this error:


Parse error: syntax error, unexpected T_ELSEIF in /home/******/public_html/Sources/Blog.php on line 795



ETA: I reloaded that file..and I still get the db error...but if I make the changes I get parser errors.
Title: Re: Blog Community
Post by: Jakki on November 23, 2008, 11:52:33 AM
Okay got that fixed with help from another person.
Title: Re: Blog Community
Post by: Charles Hill on November 23, 2008, 01:06:54 PM
@qubbah... 2.0.2 Beta uses SMF's parse_bbc.  2.0.3 Beta will also be using the parse_bbc function.  So if you are able to embed flash in your forum posts you should be able to do the same with BC posts.
Title: Re: Blog Community
Post by: qubbah on November 24, 2008, 03:22:11 AM
Quote from: Charles Hill on November 23, 2008, 01:06:54 PM
@qubbah... 2.0.2 Beta uses SMF's parse_bbc.  2.0.3 Beta will also be using the parse_bbc function.  So if you are able to embed flash in your forum posts you should be able to do the same with BC posts.
how about 1.1.7? can we make it can parse_bbc?
Title: Re: Blog Community
Post by: atlantisrising on November 24, 2008, 08:58:12 AM
Some of the buttons are still from the core theme and are showing up on my custom template. 

Edited:whoops!  :-[
Title: Re: Blog Community
Post by: Charles Hill on November 24, 2008, 04:14:11 PM
@qubbah... 1.1.7 is the SMF version... 2.0.2 and 2.0.3 Beta are versions of Blog Community.
Title: Re: Blog Community
Post by: Deacon Frost on November 24, 2008, 04:52:37 PM
I like, it works well, and I'm hoping it gets some popularity.

There is one little issue that I can't find the spot to fix, I think I found the right file, and the right general area, but I can't figure out the exact spot:

When a comment is posted:

This is just a test.     
Edit commentDelete comment
options
Written by Deacon Froston November 24, 2008, 04:23:09 AM

Notice what is bolded. The Name and the word On are in one string :P.... A simple mistype, but how do I fix it? :P
Title: Re: Blog Community
Post by: Charles Hill on November 24, 2008, 07:20:05 PM
Indeed that is odd... I have a feeling that is a template issue.  Check your Blog.template.php file around where the comments are displayed.  It's in the function that displays articles.
Title: Re: Blog Community
Post by: Deacon Frost on November 25, 2008, 12:15:30 AM
Thanks :P. I was in the completely wrong area. It was:


<td align="left" valign="middle">'. $txt['b40'] .' ' . $comment['poster']['link'] . '&nbsp;<span class="commentSpecial">' . $txt[30] . ' ' . $comment['time'] .'</span></td>


Incase anyone else runs into that issue XD.
Title: Re: Blog Community
Post by: Emperium on November 25, 2008, 12:21:30 AM
It's been about a week since we last spoke Charles. How are you managing, and how has the 2.0.3 been going?
Title: Re: Blog Community
Post by: Charles Hill on November 25, 2008, 02:45:21 AM
I am going to switch web hosts.... IX Web hosting is very bad...........................
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on November 28, 2008, 02:58:44 PM
Charles, i have run into something odd..

i have on mine, 2 blogs, but now they are appearing double..  >:(

http://www.pixelbypaint.com/forum/index.php?action=blogs

guess its somewhere, code doubled up.. will be sorting it tho..  :)

edit:

could it be in the db?? i have double checked my coding, and it does this on the default too..

serves me right for tossing the site around on its ears.. poor thing..  :P

edit #2:

not sure how i fixed it, but it is..  :o
Title: Re: Blog Community
Post by: mursalat on November 29, 2008, 05:42:04 AM
hey,
firstly, damn right great mod, when i like something i like to curse, so i will stay quite   ;D

anyway, the great mod got me all excited, but when i installed the mod, firstly using the package manager, then manually, the whole forum went blank, when i go to the homepage all i got was a blank white page, with nothing in it, nothing. so i got my forum back to what it was using a backup that i took before installing.

So now my question obviously is: how do i fix this problem? what the problem? when i ran the add_settings.php files, it said that the blog community was setup successfully, but when i tried to go to my index.php, i got a blank page, no bit of the whole forum worked at all.

here are some more information that may allow you to find the problem:
- i run smf 1.1.6
- i run the following mods:
             -ad management
             -AJAX chat
             -profile comment
             -smf arcade


Thnx for whatever help you can give me.
Title: Re: Blog Community
Post by: Charles Hill on November 29, 2008, 06:25:29 AM
That means there was a syntax error in a sources file.  Since it occurred on every page like you said.  It's probably in either your forum's main index.php or the Sources/Subs.php.

My recommendation is to hold off for 2.0.3 Beta.  You can see it in action on my main site (http://degreesofzero.com).  It should not be much longer for its release.
Title: Re: Blog Community
Post by: mursalat on November 29, 2008, 06:39:24 AM
ok, thnx for ur help,
time to go and teach the Syntax Error a lesson  8)
Title: Re: Blog Community
Post by: trackermo on December 02, 2008, 08:33:26 AM
Quote from: chrissomebody on September 08, 2008, 09:56:24 PM
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.


Hmmm... where ARE these?  Or is that a later mod... ?  In which case, my question is, where are the codelines?

Also, not seeing that I, too, wanted to add my blogs to blog catalog and have been looking for a way to do this.  I wrote to them and explained the situation, hoping they, on their end, may be able to give me the proper widget.

Instead, here is what they said:

QuoteHi Marige,

I would suggest that users place the linkback or button at the bottom of their most recent post during the review process. Once approved they are free to remove the link back. If you have any other questions just let me know.


Daniel / BlogCatalog.com

Now... if only I could EDIT my blogs.  :(  I've mentioned this before, but never found a solution.  Any idea why that icon won't show up?  Some say it does in Firefox... great.  I don't want to work in Firefox. (I already do specific work in that browser and I'd rather not mix the two.) 

If that's so, wouldn't it be a matter of my IE7 security set-up?  Which toggles would do something like that?

All help is appreciated.
 

Marige
Title: Re: Blog Community
Post by: Charles Hill on December 02, 2008, 09:38:37 AM
Internet Explorer is a nightmare.... All other browsers (google chrome, firefox, safari, opera) seem to interpret things fairly similarly.  IE is the one that just doesn't want to do things properly.  I am trying my best to make BC as compatible as possible, but it's difficult.
Title: Re: Blog Community
Post by: Afro on December 03, 2008, 05:02:10 AM
Hello Charles, Thanks for this wonderful mod...This is the most powerful mod i have seen here on SMF..i rated it higher then that admod. I can just do about everything wordpress does...congrats.

meanwhile i installed it manually and its working...The problem

that i want to know if adsense ads shows up on the blog pages since i see something like plug-in- on the admin cpanel
Title: Re: Blog Community
Post by: Charles Hill on December 03, 2008, 09:01:14 AM
I am nearing a release-ready version of 2.0.3 Beta.  It will have fully functional themes and plug-ins system.  And yes one of the plug-in I am planning will allow for easy use of Google Adsense and advanced ad management (with future support for other ad networks).

You should check out http://degreesofzero.com for updates and the latest news :D
Title: Re: Blog Community
Post by: mikemikemike on December 03, 2008, 11:36:51 AM
Quote from: Charles Hill on December 03, 2008, 09:01:14 AM
I am nearing a release-ready version of 2.0.3 Beta.  It will have fully functional themes and plug-ins system.  And yes one of the plug-in I am planning will allow for easy use of Google Adsense and advanced ad management (with future support for other ad networks).

You should check out http://degreesofzero.com for updates and the latest news :D

The new release is it work with tinyportal 0.98?
And do you have a release date (hihi i can't wait for it).
Title: Re: Blog Community
Post by: Afro on December 03, 2008, 01:29:10 PM
Quote from: Charles Hill on December 03, 2008, 09:01:14 AM
I am nearing a release-ready version of 2.0.3 Beta.  It will have fully functional themes and plug-ins system.  And yes one of the plug-in I am planning will allow for easy use of Google Adsense and advanced ad management (with future support for other ad networks).

You should check out http://degreesofzero.com for updates and the latest news :D

That would be great. I cant wait to see the upgrade.

what exactly can the plug-ins on this version do? Is there anything i can install on the mod from there?
Title: Re: Blog Community
Post by: Charles Hill on December 03, 2008, 01:33:39 PM
@ mikemikemike... I'll be testing it with tiny portal installed on blank SMF... So there should be no compatibility issues with that.  I don't have a release date, but it is very close.

@sam_milla ... The plug-ins system will be quite easy.  There will be a bunch of plug-in "slots" which will be positioned in key places to allow for maximum extensibility of the software.  You install a plug-in by putting the plug-in's .php file in the Plugins directory in the BlogCommunity directory (forum/BlogCommunity/Plugins).  Files are automatically detected and read.  Each plugin will have its own functions to fire in different plug-in slots (depending upon what functionality is adding).  Each plug-in will have its own settings that you can manage via the plug-ins tab in the blog control panel.
Title: Re: Blog Community
Post by: Afro on December 03, 2008, 02:38:25 PM
Thanks....What i really wanna know is if there are already places where i can download the plugin from / or can any plug in just fit there?.
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on December 03, 2008, 03:00:43 PM
not just any Sam..

i know that Charles is working on some, and i have an idea for another one, just gota be patient lol.. ;)
Title: Re: Blog Community
Post by: Afro on December 03, 2008, 03:28:42 PM
Ok, thats good...i thought there are some of them already there.

meanwhile i got this error from my forum error log...

''http://afrowall.com/index.php?action=blogs
8: Undefined index: sideWindows
File: /home/afrowall/public_html/Themes/default/Blog.template.php (main sub template - eval?)
Line: 614''

What do you think is causing it? ''
Title: Re: Blog Community
Post by: Charles Hill on December 03, 2008, 04:09:09 PM
There are a few bugs with 2.0.2 Beta.  That's one of them.  I have to head out right now, but you should be able to find the fix for that one somewhere in this top.  Try searching just this topic for Undefined index: sideWindows
Title: Re: Blog Community
Post by: Afro on December 03, 2008, 04:42:59 PM
Thanks for your fast responses...You are a great guy
Title: Re: Blog Community
Post by: Nibogo on December 03, 2008, 07:09:39 PM
Charles maybe you can modify the code of the mod to hide the blocks and the panels of the portal mods , is change the actual "index.php?blog=90.0" to something like "index.php?action=blogs;viewblog=90.0" with this you can hide all the panels for the blogs action , I dont know if this is really hard but is the best method to fix that issue.

I test the 2.0.3 and works great but I cant hide the Details window from the blogs
Title: Re: Blog Community
Post by: ke4obt on December 06, 2008, 04:40:37 PM
maybe I missed it, but I didn't hear the screen reader read what I'm looking for.
I'm trying to install the easy edit meta data mod, I already have the Blog community mod installed. The install fails on themes/default/index.template.php.
I take out the blog, easy edit goes in fine and vice versa.
So, obviously, they both edit the same section.
Has anyone else had this problem? What can I do to fix it so they both work at the same time??

Thanks in advance,
Flip
Title: Re: Blog Community
Post by: Charles Hill on December 06, 2008, 04:57:15 PM
Yes, Blog Community edits the meta tags in your index.template.php file.  I have never used the easy edit meta tags mod, so I don't know the details, but you will have to somehow combine the code from both mods if you wish to have both co-exist.  The code for the blog community around the meta tags mostly applies to when viewing blog community pages, so when the variables related to the blog community are empty in the meta tags, you could opt to use the variables from easy edit meta tags mod instead.
Title: Re: Blog Community
Post by: ke4obt on December 06, 2008, 10:46:23 PM
Quote from: Charles Hill on December 06, 2008, 04:57:15 PM
Yes, Blog Community edits the meta tags in your index.template.php file.  I have never used the easy edit meta tags mod, so I don't know the details, but you will have to somehow combine the code from both mods if you wish to have both co-exist.  The code for the blog community around the meta tags mostly applies to when viewing blog community pages, so when the variables related to the blog community are empty in the meta tags, you could opt to use the variables from easy edit meta tags mod instead.

Charles,
thanks for the reply. I have been using the blog mod on a test site and really like it. I have also used the easy edit meta data in the past and like that mod too.
However, I am blind and coding-ignorant (a.k.a. stupid - hehe). If I were to post the code that easy edit wants to put there, is there any way you could look at it and suggest how to combine them? I am not a coder of any sort by any stretch of anybody's imagination. I know how to upload, activate and install mods - and my wife thought she'd break the sledge hammer getting me to learn that much! :D
So, if you could do that, I would greatly appreciate it.

Thanks again,
Flip
Title: Re: Blog Community
Post by: Charles Hill on December 06, 2008, 10:59:01 PM
Sure.  Post them and I'll do it when I get a chance.
Title: Re: Blog Community
Post by: ke4obt on December 07, 2008, 08:57:52 AM
Thank you very much. I tried to twist my head around this one to see all the angles, but got dizzy. :) almost as if someone was speaking martian to me.

The code that is supposed to go into the index.template.php is:
./Themes/default/index.template.php
Find: [Select]
<meta name="description" content="', $context['page_title'], '" />
Replace With: [Select]
';
echo (!empty($modSettings['meta_description'])) ? ' <meta name="description" content="'. $modSettings['meta_description'] .'" />' : '<meta name="description" content="'. $context['page_title'] .'" />

Find: [Select]
, '
<meta name="keywords" content="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />
Replace With: [Select]
;
echo (!empty($modSettings['meta_keywords'])) ? '
<meta name="keywords" content="'. $modSettings['meta_keywords'] .'" />' : '';
echo (!empty($modSettings['meta_copyright'])) ? '
<meta name="copyright" content="'. $modSettings['meta_copyright'] .'" />' : '';
echo (!empty($modSettings['meta_author'])) ? '
<meta name="author" content="'. $modSettings['meta_author'] .'" />' : '';
echo '


It's supposed to put a section into the admin to put your meta data which is a big plus for a blind user.
The link to the mod is http://custom.simplemachines.org/mods/index.php?mod=1211 (http://custom.simplemachines.org/mods/index.php?mod=1211) in case there is something else you need to know.

Btw - we are running SMF 117 and 2.0.2 of Blog Community.

Again, thanks for your help,
Flip

p.s. I've only been working on the site for about 18 months. Every time I get something done that seems to be decent or that I like on there, I either mess it up or change my mind. :D
Title: Re: Blog Community
Post by: DEK24 on December 07, 2008, 10:00:46 AM
I tried installing this mod but when I did it said the file was corrupt. Is there something I did wrong?
Title: Re: Blog Community
Post by: HistoryHunter on December 08, 2008, 08:33:20 AM
Of the three blogs running on my site, the ownership of two has changed from the member, to Admin. I checked the sql database and according to that, this hasn't happened - they each have the original owners...

smf 1.1.7, tp, Blog Community 2.0.2 Beta

Later: ok, in database I found blogs as boards and changed ownership back.
Title: Re: Blog Community
Post by: Charles Hill on December 08, 2008, 01:34:53 PM
Ya that's a bug.  I don't know exactly where in the code of BC 2.0.2 Beta that is occurring, so I do not have a solution for you.  I am nearing completion of zCommunity 0.7.0 Alpha.... and this won't be a problem anymore.  Ya I renamed the project to zCommunity ;)

@ DEK24... were you trying to install on the wrong version of SMF?
Title: Re: Blog Community
Post by: DEK24 on December 09, 2008, 12:32:03 AM
Quote from: Charles Hill on December 08, 2008, 01:34:53 PM
Ya that's a bug.  I don't know exactly where in the code of BC 2.0.2 Beta that is occurring, so I do not have a solution for you.  I am nearing completion of zCommunity 0.7.0 Alpha.... and this won't be a problem anymore.  Ya I renamed the project to zCommunity ;)

@ DEK24... were you trying to install on the wrong version of SMF?

Indeed I later saw that. I'm running 1.1.4. I looked into upgrading to 1.1.5 but I get this message when trying to do so..

26.   Execute Modification   ./Themes/default/index.template.php   Test failed

So I was afraid to continue but I really want to add the blog community especially since one of my competing websites is planning on adding one to theirs so I would like to beat them to the punch.
Title: Re: Blog Community
Post by: Charles Hill on December 09, 2008, 12:44:05 AM
You should hold off for zCommunity.  It is waaaaaay better than BC 2.0.2 Beta
Title: Re: Blog Community
Post by: DEK24 on December 09, 2008, 01:15:54 AM
will it be compatible with 1.1.4?
Title: Re: Blog Community
Post by: Charles Hill on December 09, 2008, 02:45:42 AM
I'll make the package let you try to install it on earlier 1.1.x versions, but there's no guarantee it'll work properly.  I do urge you to upgrade your SMF... there are a number of security vulnerabilities with previous 1.1.x versions.
Title: Re: Blog Community
Post by: haito on December 09, 2008, 03:11:28 AM
i have a error

====================================
1.     Execute Modification     ./index.php     Test successful
2.    Execute Modification    ./Sources/BoardIndex.php    Test successful
3.    Execute Modification    ./Sources/Display.php    Test successful
4.    Execute Modification    ./Sources/Load.php    Test successful
5.    Execute Modification    ./Sources/ManageBoards.php    Test successful
6.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
7.    Execute Modification    ./Sources/MessageIndex.php    Test successful
8.    Execute Modification    ./Sources/Post.php    Test successful
9.    Execute Modification    ./Sources/Profile.php    Test successful
10.    Execute Modification    ./Sources/QueryString.php    Test successful
11.    Execute Modification    ./Sources/Recent.php    Test successful
12.    Execute Modification    ./Sources/RemoveTopic.php    Test successful
13.    Execute Modification    ./Sources/SplitTopics.php    Test successful
14.    Execute Modification    ./Sources/Subs-Boards.php    Test successful
15.    Execute Modification    ./Sources/Subs-Post.php    Test successful
16.    Execute Modification    ./Sources/Subs.php    Test successful
17.    Execute Modification    ./Sources/Who.php    Test successful
18.    Execute Modification    ./Themes/default/languages/index.english-utf8.php    Skipping file
19.    Execute Modification    ./Themes/default/languages/index.english.php    Test successful
20.    Execute Modification    ./Themes/default/languages/index.english_british-utf8.php    Skipping file
21.    Execute Modification    ./Themes/default/languages/index.english_british.php    Skipping file
22.    Execute Modification    ./Themes/default/index.template.php    Test failed
23.    Execute Modification    ./Themes/default/ManageBoards.template.php    Test successful
24.    Execute Modification    ./Themes/default/Post.template.php    Test successful
25.    Execute Modification    ./Themes/default/Profile.template.php    Test successful
26.    Execute Modification    ./Themes/default/SendTopic.template.php    Test successful
27.    Execute Modification    ./Themes/default/SplitTopics.template.php    Test successful
28.    Execute Modification    ./Themes/default/style.css    Test successful
29.    Execute Modification    ./Themes/default/TPBlockLayout.template.php    Skipping file
=========================================

im using 1.7 and blog_community_2_02_smf11x.zip
Title: Re: Blog Community
Post by: DEK24 on December 11, 2008, 11:52:15 AM
well I upgraded my SMF to get blog community and its really cool however the zcommunity looks a lot cooler.

I saw something about using google adsense in with the new version can it be used in the old one?

Also how about pictures and adding them to posts?
Title: Re: Blog Community
Post by: ke4obt on December 11, 2008, 01:07:55 PM
Mr. Hill,

Hope this is a easy question. When the new version "Z-Blog" is released will it have a built-in upgrade pack?
Other question is any idea on a release date on the new version?

Please tell me I'm not full of stuff that stinks and I did see that you will be putting out the above mentioned new blog pack.

     Thanks Lots,
     Flip - KE4OBT
Title: Re: Blog Community
Post by: Charles Hill on December 11, 2008, 02:44:43 PM
@ DEK24... I am planning to create a plug-in for zCommunity for Ad Management and eventually another for Ad Revenue Sharing.  Those will not be available with zCommunity by default.  I have not added the ability to easily add images to posts (as in upload an image to the server while posting an article).  You can still use the img bbc tag just like your forum, though.

@ ke4obt... What do you mean by upgrade pack?  If you mean, "Will there be an upgrade package available for 2.0.2 Beta to the new version?"... then no.   There is a more advanced importing function that will allow you to import your old BC blogs to the new zCommunity tables, though.  I will be packaging up the new zCommunity soon.  Still some testing left to do.
Title: Re: Blog Community
Post by: ke4obt on December 11, 2008, 04:14:28 PM
Thanks for the info on Z-Blog, can't wait for the big day.
Title: Re: Blog Community
Post by: DEK24 on December 11, 2008, 07:39:00 PM
Is there an expected release date of the Z-Community?
Title: Re: Blog Community
Post by: limo2005 on December 11, 2008, 10:22:38 PM
Quote from: HistoryHunter on December 08, 2008, 08:33:20 AM
Of the three blogs running on my site, the ownership of two has changed from the member, to Admin. I checked the sql database and according to that, this hasn't happened - they each have the original owners...

smf 1.1.7, tp, Blog Community 2.0.2 Beta


I am having the exact same issue!  Members cannot post in their blogs as it states that "they do not have a Blog"!

Quote from: HistoryHunter on December 08, 2008, 08:33:20 AM
Later: ok, in database I found blogs as boards and changed ownership back.

I had a look and I'm missing something here because it looks ok.  I think!  Can you be a bit clearer on what you did! Also has it resolved the issue completely?

Limo2005
Title: Re: Blog Community
Post by: theglobe on December 12, 2008, 11:12:08 PM
OK, I'm using it but I can't figure out what these are about:

QuoteLinks...
- Create any number of links
- Reorder those links however you want
- Edit links names
- Delete links
Title: Re: Blog Community
Post by: Lotti on December 14, 2008, 11:38:43 AM
Zcommunity it's full compatible for upgrade from blog community 2.0.2?

And, if you need a new italian translation, im here...
Title: Re: Blog Community
Post by: C.Jack on December 14, 2008, 02:57:10 PM
Quote from: Charles Hill on December 11, 2008, 02:44:43 PM

@ ke4obt... What do you mean by upgrade pack?  If you mean, "Will there be an upgrade package available for 2.0.2 Beta to the new version?"... then no.   There is a more advanced importing function that will allow you to import your old BC blogs to the new zCommunity tables, though.  I will be packaging up the new zCommunity soon.  Still some testing left to do.
Title: Re: Blog Community
Post by: DEK24 on December 14, 2008, 10:44:39 PM
How do you change the photos for each blogger?
Title: Re: Blog Community
Post by: Elijah Bliss on December 15, 2008, 03:00:27 PM
I have a problem with a blog after converting. When one tries to access the converted board to blog, the database locked up.

There's only one thread in this particular board created by a member long ago. He uses this thread as a "blog". Here are the stats:

Thread: Drunken Thoughts by Satan  « 1 2 ... 12 13 »
Member: OMEGA SUPREME    
Replies: 389    
Views: 10721

This is what happens in the database when I try to access the converted blog:
State:
Copying to tmp table

Time
181s

Query
SELECT
   m.icon, m.subject, m.body, IFNULL(mem.realName, m.posterName) AS posterName, m.posterTime, m.modifiedTime, m.posterIP, m.modifiedName, m.ID_MEMBER, m.smileysEnabled, m.ID_MSG, m.comment_approved
FROM (yabbse_topics AS t, yabbse_messages AS m)
   LEFT JOIN yabbse_members AS mem ON (mem.ID_MEMBER = m.ID_MEMBER)
WHERE m.ID_TOPIC = 54656
   AND m.ID_MSG != 879405
GROUP BY m.ID_MSG
ORDER BY m.posterTime DESC


I'm using 2.0.2.
Any help appreciated.
Thanks.
Title: Re: Blog Community
Post by: C.Jack on December 15, 2008, 08:07:29 PM
@ Elijah

You may need this mod: http://custom.simplemachines.org/mods/index.php?mod=1187 (http://custom.simplemachines.org/mods/index.php?mod=1187)

This is a quote from the download page:  Description: This package purpose is to provide a work around for the length code bug in mysql.

To get around this issue this mod requires permission to alter tables. It needs these permissions so it can perform addition of a temp column to sort by before dropping it. Most users should have this permission if the mysql user they installed SMF with has not had its rights changed.

This fix is for SMF 1.x only. SMF 2.0 already incorporates a similar fix to this to provide a work around. SMF 1.0 is not supported but you are welcome to try it if you still need to use SMF 1.0.

See http://docs.simplemachines.org/index.php?topic=1079 (http://docs.simplemachines.org/index.php?topic=1079) for more information
Title: Re: Blog Community
Post by: Elijah Bliss on December 15, 2008, 09:24:12 PM
Quote from: CaptJack on December 15, 2008, 08:07:29 PM
@ Elijah

You may need this mod: http://custom.simplemachines.org/mods/index.php?mod=1187 (http://custom.simplemachines.org/mods/index.php?mod=1187)

This is a quote from the download page:  Description: This package purpose is to provide a work around for the length code bug in mysql.

To get around this issue this mod requires permission to alter tables. It needs these permissions so it can perform addition of a temp column to sort by before dropping it. Most users should have this permission if the mysql user they installed SMF with has not had its rights changed.

This fix is for SMF 1.x only. SMF 2.0 already incorporates a similar fix to this to provide a work around. SMF 1.0 is not supported but you are welcome to try it if you still need to use SMF 1.0.

See http://docs.simplemachines.org/index.php?topic=1079 (http://docs.simplemachines.org/index.php?topic=1079) for more information

The mod install went cleanly, but it didn't fix the blog conversion problem.
Title: Re: Blog Community
Post by: C.Jack on December 15, 2008, 10:10:51 PM
Did you try unconverting and then reconverting the blog again, or will it not convert at all?
Title: Re: Blog Community
Post by: Elijah Bliss on December 15, 2008, 10:36:37 PM
Quote from: CaptJack on December 15, 2008, 10:10:51 PM
Did you try unconverting and then reconverting the blog again, or will it not convert at all?

Yes. I even tried it out on another thread. I noticed that the process slows considerably if the thread has over 30 replies.
Title: Re: Blog Community
Post by: C.Jack on December 15, 2008, 10:46:33 PM
I'm sorry that I was of no help to you. This sounds like something that a database expert will need to address (which I definitely am not). I hope that you're able to get it resolved soon.
Title: Re: Blog Community
Post by: Charles Hill on December 15, 2008, 11:13:32 PM
I'm confused as to what problem you're encountering... Where is this error occurring?  What error message(s) are you getting?
Title: Re: Blog Community
Post by: Elijah Bliss on December 15, 2008, 11:30:46 PM
Quote from: Charles Hill on December 15, 2008, 11:13:32 PM
I'm confused as to what problem you're encountering... Where is this error occurring?  What error message(s) are you getting?

I'm not getting an error, I am just unable to access a converted board to blog. If slows the entire forum to a crawl.

Here's the original post:
Quote from: me
I have a problem with a blog after converting. When one tries to access the converted board to blog, the database locked up.

There's only one thread in this particular board created by a member long ago. He uses this thread as a "blog". Here are the stats:

Thread: Drunken Thoughts by Satan  « 1 2 ... 12 13 »
Member: OMEGA SUPREME   
Replies: 389   
Views: 10721

This is what happens in the database when I try to access the converted blog:
State:
Copying to tmp table

Time
181s

Query
SELECT
   m.icon, m.subject, m.body, IFNULL(mem.realName, m.posterName) AS posterName, m.posterTime, m.modifiedTime, m.posterIP, m.modifiedName, m.ID_MEMBER, m.smileysEnabled, m.ID_MSG, m.comment_approved
FROM (yabbse_topics AS t, yabbse_messages AS m)
   LEFT JOIN yabbse_members AS mem ON (mem.ID_MEMBER = m.ID_MEMBER)
WHERE m.ID_TOPIC = 54656
   AND m.ID_MSG != 879405
GROUP BY m.ID_MSG
ORDER BY m.posterTime DESC


I'm using 2.0.2.
Any help appreciated.
Thanks.
Title: Re: Blog Community
Post by: Charles Hill on December 15, 2008, 11:39:29 PM
I still don't know what you mean... the convert board to blog feature doesn't work or you cannot access the newly converted blog when navigating to its page?
Title: Re: Blog Community
Post by: Elijah Bliss on December 15, 2008, 11:47:55 PM
Quote from: Charles Hill on December 15, 2008, 11:39:29 PM
I still don't know what you mean... the convert board to blog feature doesn't work or you cannot access the newly converted blog when navigating to its page?

A member of my board has been using a topic as his blog for the longest in my forum.
With the advent of your mod I decided to convert his 13 page thread in to a blog.

This is what I did:
I made a board
Copied his topic to the board
Went in to the blog control panel and converted the board to a blog
I received no errors while converting the board to the blog
After the conversion, I clicked on the newly formed blog, and it slowed my board down.

I was never able to access the new blog and my database gets stuck on that on process I posted above. I have to go in to phpMyAdmin to kill the process.

I had to convert the new blog back to a board.
Title: Re: Blog Community
Post by: Charles Hill on December 15, 2008, 11:51:52 PM
Indeed that is an odd problem.  Can't think of any solutions for you right now... Good news though, zCommunity is pretty much packaged up and ready to go.  I've just been putting the finishing touches on it by adding plug-in slots where necessary.  There are a grand total of 7 edits made to SMF's files.  Of course I'll have to compensate for other mods like TinyPortal and Simple Portal with a few more edits, but it won't be much.

After the slots are in place I just have to finalize the db editing portion of the package, then test it.
Title: Re: Blog Community
Post by: DEK24 on December 16, 2008, 12:15:49 AM
Quote from: DEK24 on December 14, 2008, 10:44:39 PM
How do you change the photos for each blogger?
Title: Re: Blog Community
Post by: Charles Hill on December 16, 2008, 01:13:13 AM
You mean the avatars?  The avatars that are displayed by blogs are the blog owner's avatar (their smf profile avatar).  Once I get the hang of uploading files / images and such those options will be added.  For now I just want to get this thing out.  It's been too long.
Title: Re: Blog Community
Post by: Omniverse on December 20, 2008, 02:27:58 AM
I noticed this error while playing with it on my test site.

It seems to have issues with another mod 'media gallery'.


Fatal error: Cannot redeclare deleteitems() (previously declared in /xxx/Sources/Subs-MGallery.php:1208) in /xxx/Sources/Blog.php on line 3556


The gallery doesn't seem to have an issue with the blog. I know you are reworking this, but though maybe you should know about this possible conflict with another mod.
Title: Re: Blog Community
Post by: Charles Hill on December 20, 2008, 02:41:15 AM
Thanks, omniverse.. I did notice that while looking at someone's site that had the smf media gallery mod installed.  I have changed function names as to reduce the odds of conflicts with other mods you might have installed.
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on December 20, 2008, 01:16:06 PM
lol cant wait till the newer version is out Charles, im sure its going to be a good one..  ;)
Title: Re: Blog Community
Post by: QueenTiye on December 20, 2008, 05:17:06 PM
Hi!  New here - at SmokyBlue's recommendation, I've downloaded this mod to a test site.  I need help with a couple of things (and would have asked at Degrees of Zero, but I can't get an activation email from that site to be able to log in).

1.  I want to import all of my prior posts and comments from a WordPress blog to the SMF Blog Community blog.  Is this doable (and how?)

2. I want to bring over all my users.  Again - doable?

3. I'm not sure how to customize my blog's appearance in my portal - I'm not sure I want it to be right front and center as it currently is.  I'm working with TinyPortal.  Suggestions?

4.  I DO have a custom theme - where do I find the install.xml file that's recommended to update a custom theme?

That's it for starters.

QT
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on December 20, 2008, 05:29:51 PM
Quote from: QueenTiye on December 20, 2008, 05:17:06 PM
1.  I want to import all of my prior posts and comments from a WordPress blog to the SMF Blog Community blog.  Is this doable (and how?)

2. I want to bring over all my users.  Again - doable?

3. I'm not sure how to customize my blog's appearance in my portal - I'm not sure I want it to be right front and center as it currently is.  I'm working with TinyPortal.  Suggestions?

4.  I DO have a custom theme - where do I find the install.xml file that's recommended to update a custom theme?

That's it for starters.

QT

#1, not sure if Charles has had time for a converter for wp yet or not..

#2, this is a mod for smf, just like tp, and it will rely on permissions, just like tp, that you can set for who you want to blog, or not.. guest viewing included, and!!

you can set (per member) who posts in personal blog as comment too.. options are unlimted for that..

#3, this is something to play with as it will use your theme, for the time being.. i know later down the dev road, it will be different.. 

i suggest a test site area and for you to try it out and play with it.. lol you will have fun and enjoy it.. i do promise this..  :P

#4,  the xml file is in the mod package, just take the entire package and open on your desktop and look thru it.. i know Charles is working hard on the next version with even more features and options..
-----------------------------------------------------------------------------------------------------------------------------------

if you have any issues with it, feel free to post, as there are a few of us that really do enjoy his mod..

laterzz  ;)
Title: Re: Blog Community
Post by: QueenTiye on December 20, 2008, 05:45:49 PM
Thanks Smoky.  Of course, when I said "all my users" I wasn't specific enough - I meant my WP users.  There aren't a lot of them, and I could probably manually create them in SMF, so that's no biggie.  OTOH not being able to pull in my WP posts is quite a bit more of a concern.  I have a lot of posts, some with comments, and I don't want to lose them.

QT
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on December 20, 2008, 06:12:17 PM
i do know where you are going with that..

with wordpress, you can make it read only and then deny any extra member signups..

next, add a button somewhere on your site for archive reading..

if or until Charles can get a converter going for it.. best suggestion i can come up with for now..  ;)

just remember to keep up on the mods on wordpress that might need upgrading and you should be fine..
Title: Re: Blog Community
Post by: QueenTiye on December 20, 2008, 06:21:31 PM
Ok - that could work temporarily - an archive button.  Of course - I have no idea how to create any kind of button (you might recall from tp forum that one of my problems is editing the forum button on my theme.. .:()

Another question - I don't see anyway to have the portal recognize the blog.  Is this a tp question, or have you figured this out?  I don't see a way to create a block for the forum or anything.

QT
Title: Re: Blog Community
Post by: QueenTiye on December 20, 2008, 06:34:04 PM
Quote from: SmokyBlue on December 20, 2008, 05:29:51 PM

#4,  the xml file is in the mod package, just take the entire package and open on your desktop and look thru it.. i know Charles is working hard on the next version with even more features and options..
-----------------------------------------------------------------------------------------------------------------------------------

if you have any issues with it, feel free to post, as there are a few of us that really do enjoy his mod..

laterzz  ;)

OK - actually - there is no "install.xml" file in the mod so far as I can tell.  There is a "theme.xml" file - is that what's meant? And - it's all code.  What am I supposed to be looking for....???

QT
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on December 20, 2008, 06:37:33 PM
hmm ok if you could.. throw a link up to your site,

also if you need help with a button, then post up your custom theme "members" button and we can get you going..

perhaps asking about a iframe or something might help too..  :)

yes that is the file you need.. now to read it..

try my tut here, and if you have any questions, you cna always post up..

http://pixelbypaint.com/forum/index.php?topic=2430.0   :)
Title: Re: Blog Community
Post by: QueenTiye on December 20, 2008, 07:07:05 PM
OK.. here's me panicking...

Couple of links: I'm playing in my test site: http://testsite.windonwater.net.  The blog is installed there.

My actual site is http://www.windonwater.net - going there will show my custom theme, including the "Home" and "Forum" buttons that both land in the same place (Home).  The top links there under "The Obama Project" click out to my WordPress blog - because I have them rss'ed.

I read the tutorial, and will try to read the theme.xml file.  Not sure how that's gonna go, cuz... I'm really not tech savvy at all.

QT
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on December 20, 2008, 07:20:22 PM
you will be fine QT.. if you need help, just post..  ;)

will still need the code for the button, but i think you will be able to figure it out, if not, post that up too  :P
Title: Re: Blog Community
Post by: QueenTiye on December 20, 2008, 07:30:08 PM
:( Sorry to be so dense, but I don't know where to find the code for the button.  I feel certain I could have fixed this if I could have found out where button codes were, but... so far, no clue. If you have a hint or two, I'll go look again...

QT
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on December 20, 2008, 07:45:13 PM
since this is for wordpress and your site, im not sure if we should be posting like this on Charles' blog thread  :P

but here is a push in the right direction..

go grab a copy of notepad++, free download, just google..

the defaults buttons can be found on line 514 starting with "   // Show the start of the tab section."

now im not sure how your cutom theme is for your site, but you will have to play with it.. if you really need help.. pop in on my site and i can see what needs to be done.. best i can do..  ;)
Title: Re: Blog Community
Post by: QueenTiye on December 20, 2008, 08:14:51 PM
OK - posted to your site instead of here. :)

Thanks.

QT
Title: Re: Blog Community
Post by: Smoky "Rider" Blue on December 20, 2008, 11:28:09 PM
no biggie Qt.. you are in good hands..  ;)
Title: Re: Blog Community
Post by: Omniverse on December 21, 2008, 03:06:35 PM
Quote from: Charles Hill on December 20, 2008, 02:41:15 AM
Thanks, omniverse.. I did notice that while looking at someone's site that had the smf media gallery mod installed.  I have changed function names as to reduce the odds of conflicts with other mods you might have installed.

For those that may have this issue, and cause I like to be helpful when I can. :)

In sources/blog.php I just changed the 6 'deleteitems' references and replaced with 'deleteblogitems' instead. Seems to have done the trick on my test site.
Title: Re: Blog Community
Post by: Gidget Claire on December 22, 2008, 04:25:25 AM
Hi Charles,

I'm having a very weird issue. Everything was okay so far, I had managed to install the blog button in Runnic's black to the future theme. But now I've installed the copyright mod, as well as stat counter, the button vanished.  :( It still shows in the default theme though. I have no idea what happened. I don't see how adding some code could lead to this.  ??? I had lots of trouble to add all those mods (mainly due to the copyright code) and had just managed to install everything in the right way.

Link to main index: http://finckaholic.com/forum/index.php

Link to blog: http://finckaholic.com/forum/index.php?action=blogs


Any idea? I really don't want to reinstall everything,  :P
Title: Re: Blog Community
Post by: jkrlvgn on December 24, 2008, 05:04:25 AM
Not Charles, but you might want to double check your index.template.php to see if the code for the button is still there.  Specifically which other mods did you install, though, when problem was created?  Have you tried to uninstall the copyright mod to see if it's a conflict?

Worst case scenario - just have to add the button/link again.
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: jkrlvgn on December 24, 2008, 06:13:32 AM
Also, to note, the first post shows that zCommunity is available now, and it's on the modsite.

http://custom.simplemachines.org/mods/index.php?mod=1209 (http://custom.simplemachines.org/mods/index.php?mod=1209)

There are quite a few new features, so by all means, maybe give this a shot.

:)
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: Kindred on December 24, 2008, 08:47:37 AM
Charles,

This is most excellent work.

Now I am going to BEG you to create a version for SMF 2.0 :)
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: Gidget Claire on December 24, 2008, 09:47:43 AM
Quote from: jkrlvgn on December 24, 2008, 05:04:25 AM
Not Charles, but you might want to double check your index.template.php to see if the code for the button is still there.  Specifically which other mods did you install, though, when problem was created?  Have you tried to uninstall the copyright mod to see if it's a conflict?

Worst case scenario - just have to add the button/link again.


I haven't tried anything. I decided to take the day off.  ;D I had actually spent over 6 hours on those codes, plus other modifications,  and I really didn't want to start over.

I don't think there's a conflict between the copyright mod and Charles's blog. Another webmaster I know uses both mods without any problem. It must be that he's better @ editing files than me.  ;D

And yeah, I've seen the updated version. I guess it would be better to use it.  :)


Edit/ The button disappeared after I installed the stat counter.
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: dimdom on December 24, 2008, 10:03:35 AM
Jesus...

I have a greek utf8 forum...

I manually added the necessary codes to my custom themes index template...

I installed this mod and ther was no forum anymore...

(template errors, sql errors, page not load, etc...)

I copied all the language phps in greek in the Languages folder of the zCommunity folder and then my forum came back...

Only on the surface because except from the board index and the first page of every topic, nothing else could be loaded...

Not to mention that the action=zc never worked (keeps loading board index instead)...

I use Tiny Portal on my site.


Never been so horrified before with a mod...
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: Gidget Claire on December 24, 2008, 10:21:07 AM
^Did you check on Degrees of Zero?

http://degreesofzero.com/index.php?action=forum


I remember I saw something about TP over there.  :)

Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: Mick. on December 24, 2008, 11:07:06 AM
Anyone using this mod with TP9.8 and SMF 1.1.7??
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: qubbah on December 24, 2008, 12:08:16 PM
can we use this community mod with TinyPortal?
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: Smoky "Rider" Blue on December 24, 2008, 12:12:48 PM
yes..

tp demo of the blog mod:  http://www.dangerousmindz.com/forum/index.php?action=blogs

note: since the new version came out my client needs to have his blog community updated, but yes this works with tp.. i imagine if i got really fancy with the coding there is all sorts of ways to show off the blog.. but!! it works with tp..  ;)
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: jkrlvgn on December 24, 2008, 12:14:51 PM
@Gidget Claire:  Where did you get the stat counter from?  I'll be happy to try to make everything work (also, theme is where..?).

@BlueDevil:  I'm going to go ahead and test it on mine with a few portals (ie TinyPortal, SimplePortal, PortaMX).  I'll let you know when I've got it up and running with those.

@dimdom:  Remember that this is still an ALPHA release.  It says so in the title.  That being said, I don't think anyone else has tested it on a greek forum before.  It could also be the portal.  Let me mess with a few things, and I'll get back with you too.
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: Gidget Claire on December 24, 2008, 12:22:12 PM
Quote from: jkrlvgn on December 24, 2008, 12:14:51 PM
@Gidget Claire:  Where did you get the stat counter from?  I'll be happy to try to make everything work (also, theme is where..?).


http://custom.simplemachines.org/mods/index.php?mod=1550

I got an account at StatCounter and made a custom code for my site there.

The theme is :

http://custom.simplemachines.org/themes/index.php?lemma=581

Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: Mick. on December 24, 2008, 12:23:56 PM
Oh wow thanx guys!   Very cool.  I'll look further into it.
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: Charles Hill on December 24, 2008, 12:35:32 PM
zCommunity should work with TP.

@dimdom ... zCommunity doesn't use action=zc in the URL.  To access the zCommunity page(s) you should just add zc to the base URL of your forum with nothing else after it ( ....../index.php?zc ).  Did you have a previous version of Blog Community installed?  If so, are you sure you fully uninstalled it?

- - - - - -

Note for installation of this mod:

To avoid problems on installation, you might have to change permissions on your forum's folders/files to 0777.  This is a unique server issue though, so you may or may not have to do this.
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: jkrlvgn on December 24, 2008, 12:40:14 PM
OK.  Just to mention, the Alpha works with TinyPortal v.1.0.6 beta 2.  Those of you that still have the .98 version should upgrade anyway.  I'd download the .9.8, but...that'd be like trying this mod on SMF 1.0.5.

Demo of zCommunity with TP: http://www.alternateshadows.com/tp/index.php (http://www.alternateshadows.com/tp/index.php)

Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: jkrlvgn on December 24, 2008, 12:43:31 PM
ALSO!

My host won't allow me to make my index 777 during install....what I did was delete the zComm folder in the main/base directory, and then move the zComm folder from the temp file.  After I moved it, everything installs like a dream.

You should only have to do this if your server won't allow the main folder to be 777, though.


:).

Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: jkrlvgn on December 24, 2008, 01:00:35 PM
...damn computer.  Trying this again.
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: jkrlvgn on December 24, 2008, 01:08:11 PM
@Gidget:  Are you going to use zCommunity, or Blog Community?  The reason I ask is because there are going to be different edits that you need to do for either.

zCommunity

Open up your theme's index.template.php
Find:
   // The ?fin11 part of this link is just here to make sure browsers don't cache it wrongly.
Add BEFORE:
   // load the style.css from zCommunity/Themes/default first.......
   if (isset($modSettings['blogMode']))
   {
      global $zc_themes_url;
      echo '
   <link rel="stylesheet" type="text/css" href="', $zc_themes_url, '/default/style.css?fin11" />';
   }

*Scratch that one.  It makes your particular theme goofy.  Do the rest below.


Find:
Code (FIND) Select

</head>

ADD BEFORE:
Code (ADD BEFORE/ABOVE) Select

';

// zCommunity...
if (isset($modSettings['blogMode']))
{
global $zc_includes_url, $zc_settings, $zc_themes_url;

// if we're viewing an article in a BLOG, these should be the previous and next topics, respectively.
if (!empty($context['current_article']))
echo '
<link rel="prev" href="', $scripturl, '?article=', $context['current_article'], '.0;prev_next=prev" />
<link rel="next" href="', $scripturl, '?article=', $context['current_article'], '.0;prev_next=next" />';

// If we're in a blog, or article for that matter, the index will be the blog's index.
if (!empty($context['current_blog']))
echo '
<link rel="index" href="', $scripturl, '?blog=', $context['current_blog'], '.0" />';

// If RSS feeds are enabled, advertise the presence of one.
if (!empty($zc_settings['blog_xml_enable']) && !empty($context['current_blog']))
echo '
<link rel="alternate" type="application/rss+xml" title="', !empty($context['blog_name']) ? $context['blog_name'] : '', ' - RSS" href="', $scripturl, '?zc=.xml;blog=', $context['current_blog'], ';type=rss" />';
elseif (!empty($zc_settings['blog_xml_enable']) && !empty($context['blog_community']))
echo '
<link rel="alternate" type="application/rss+xml" title="', $context['forum_name'], ' - zCommunity" href="', $scripturl, '?zc=.xml;type=rss" />';

// PNG fix and css hover fix for IE < 7
if ($context['browser']['is_ie'] && !$context['browser']['is_ie7'] && !empty($zc_includes_url))
echo '
<script defer type="text/javascript" src="', $zc_includes_url, '/pngfix.js"></script>
<style type="text/css" media="screen">
body{behavior:url(', $zc_includes_url, '/csshover.htc); font-size:100%;}
</style>';

// lightbox...
echo '
<script type="text/javascript" src="', $zc_themes_url, '/default/lightbox/js/prototype.js"></script>
<script type="text/javascript" src="', $zc_themes_url, '/default/lightbox/js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="', $zc_themes_url, '/default/lightbox/js/lightbox.js"></script>
<link rel="stylesheet" href="', $zc_themes_url, '/default/lightbox/css/lightbox.css" type="text/css" media="screen" />';
}

echo '


Find:
Code (FIND) Select

// Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!

Add BEFORE:
Code (ADD BEFORE/ABOVE) Select

// float the footer right if viewing a zcommunity page...
if (!empty($context['blog_community']))
echo '
<div style="float:right; text-align:center; width:100%;">';


Find:
Code (FIND) Select

// The following will be used to let the user know that some AJAX process is running

ADD BEFORE:
Code (ADD BEFORE/ABOVE) Select

// close footer div if viewing a zcommunity page...
if (!empty($context['blog_community']))
echo '
</div>';




Find:
Code (FIND) Select

// Show the start of the tab section.


Add BEFORE:
Code (Add Before/Above) Select

// are we viewing a page in the blogging community?
if (!empty($context['zc']['show_zc_nav']) && !empty($context['blog_community']))
$current_action = 'zc';


Find:
Code (FIND) Select

// Show the [help] button.

ADD BEFORE:
Code (Add BEFORE/ABOVE) Select

// Show the [Blogs] link?
if (!empty($context['zc']['show_zc_nav']))
echo ($current_action == 'zc' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '', '
<td valign="top" class="maintab_', $current_action == 'zc' ? 'active_back' : 'back', '">
<a href="', $scripturl, '?zc">', $txt['b1a'], '</a>
</td>', $current_action == 'zc' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';



And that should do it for you.  You probably don't have to add EVERYTHING, but just in case, it's all there.
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: Gidget Claire on December 24, 2008, 01:27:22 PM
Quote from: jkrlvgn on December 24, 2008, 01:08:11 PM
@Gidget:  Are you going to use zCommunity, or Blog Community?  The reason I ask is because there are going to be different edits that you need to do for either.

Yeah, they look quite different.

I think it would be better to remove all the code I added and get ZC instead.

Thanks a lot, jkrlvgn  :)
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: Ken. on December 24, 2008, 01:29:17 PM
My test site is setup as follows:
SMF 1.1.7
TinyPortal v.1.0 beta 3
... no other Mods installed.
EDIT: An older version of the blog had been installed... it was uninstalled and the tables were also dropped to make sure of cleaning it up.
When trying to install everything seems go go OK up to and including the file test, but after Install Now it goes to this error page:
QuoteFatal error:  Call to undefined function  preparezcfuncnames() in /home/kenkayjm/public_html/tptest2/Packages/temp/install_db_edits.php on line 26
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: SteveW on December 24, 2008, 01:30:41 PM
Hi, I'm getting this error when installing:

QuoteFatal error: Call to undefined function preparezcfuncnames() in *****/public_html/Packages/temp/install_db_edits.php on line 26

I'm running Tinyportal v0.9.8
SMF Version : 1.1.7

Mods Installed :

Quote1.     SMG Slideshow Addon      1.0       [ Uninstall ]  [ List Files ]  [ Delete ]
2.    Picasa Gallery Browser    0.4    [ Uninstall ] [ List Files ] [ Delete ]
3.    zCommunity    0.7.0    [ Apply Mod ] [ List Files ] [ Delete ]
4.    Topic Summary    1    [ Uninstall ] [ List Files ] [ Delete ]
5.    View Single PM    1.3    [ Uninstall ] [ List Files ] [ Delete ]
6.    Newsletter Pro    1.0.2    [ Uninstall ] [ List Files ] [ Delete ]
7.    AllCaps Notifier    1.0    [ Uninstall ] [ List Files ] [ Delete ]
8.    TinyPortal    0.983    [ Uninstall ] [ List Files ] [ Delete ]
9.    Recent Topics On Board Index    1    [ Uninstall ] [ List Files ] [ Delete ]
10.    AddThis Social Bookmarks    1.0    [ Uninstall ] [ List Files ] [ Delete ]
11.    Auto Embed Video/Audio Clips    4.0.2    [ Uninstall ] [ List Files ] [ Delete ]
12.    Contact Page    1.1    [ Uninstall ] [ List Files ] [ Delete ]
13.    Reason For Editing Mod    1.14    [ Uninstall ] [ List Files ] [ Delete ]
14.    FlashChat Integration    1.0    [ Uninstall ] [ List Files ] [ Delete ]
15.    SMF Shoutbox    1.16b    [ Uninstall ] [ List Files ] [ Delete ]
16.    Enhanced Calendar    1.1    [ Uninstall ] [ List Files ] [ Delete ]
17.    SMF Media Gallery    1.5    [ Uninstall ] [ List Files ] [ Delete ]
18.    User Email System

Thankyou
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: Mick. on December 24, 2008, 01:42:44 PM
Yep,   me too.

I use tp98 and 1.1.7

The same error popped up but it didnt install.   I got scared and didnt go any further.  LOL.

I cannot afford my database to crash now.   I havent crashed my forum since 2006.   Hahahaha!!
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: jkrlvgn on December 24, 2008, 01:45:28 PM
@Ken & @SteveW (EDIT:  & @BlueDevil)

This is due to some servers not allowing the zCommunity folder to be copied over correctly.  There are two options that you can do.

CHMOD your main SMF directory to:  777

OR

You can delete the zCommunity folder in the main directory (placed after the failed install), and then copy/move the zCommunity folder from the TEMP directory (/Packages/temp), into the main directory.  Everything should work fine from there.

Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: Ken. on December 24, 2008, 02:11:26 PM
Seems that my server has taken ownership of my files, so I'll have to wait until my host can give ownership back over to me.  :(
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: jkrlvgn on December 24, 2008, 02:13:48 PM
Ken:  Rename the zCommunity folder to something else for now...even "DeleteMe".  If you have SSH access, you can delete it from there.

I tried this on another host with something different, and it worked fine.
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: Charles Hill on December 24, 2008, 02:34:10 PM
I think it would actually be easier for you all to manually install zCommunity to your forum rather than have to deal with the weird server issues that smf's package manager is creating.  There are *very* few edits made to your SMF files, and all you have to do besides those edits is upload the zCommunity folder to your forum's main directory.  Well and the db edits... but that's easy too.  Upload the install_db_edits.php to your forum's main directory once you've uploaded the zCommunity folder, then access it directly on the server.  And that should be it :)
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: Ken. on December 24, 2008, 02:40:59 PM
Quote from: jkrlvgn on December 24, 2008, 02:13:48 PM
Ken:  Rename the zCommunity folder to something else for now...even "DeleteMe".  If you have SSH access, you can delete it from there.

I tried this on another host with something different, and it worked fine.

Good tip jkrlvgn... I've used that approach sometimes as a workaround, but in this case only my host can cure the problem because the server won't let me set file permissions, install packages, delete files and folders... etc.
Hopefully he will take a look sometime today, but with the Christmas Holiday it may be a few days before it gets changed.

@Charles I'm going to try a manual edit, but that may not work correctly because of the ownership issue, when I tried to upload a copy of the 'zcommunity' folder it wouldn't go, so there may be other file/folder issues as well.

This problem came up a few days ago and he fixed it then, but it has come back, so my site may just be stuck until he take another look.
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: ke4obt on December 24, 2008, 03:10:41 PM

Hello Mr. Hill.

Just a quick question, will you be makeing a SMF 2.0 Version, as well as making it compatable with EZ-Portal i.e. a block that shows the blog name with the latest entries :
e.g.
HRA Users Blogs


  flips place - 12/25/2008 - 4 New Entries
  Dougs Big Blog   12/20/2008 - 1 New entry 
  Mickeys Corner   12/12/2008 -  3 New Entries

The block only needs to be an XML file that can be
up-loaded to EZ-Portal
"that's the nice thing about EZ-Portal". "max number to display should be setable in the code with a comments so the user can see where to set that to what ever they want. "
Hope all goes well with the extermanation of all the little bugs running around in your code (Buzz-Buzz).

    Thanks Lots,
    Flip - KE4OBT 
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: Mick. on December 24, 2008, 03:12:30 PM
Wow..... i uploaded it manually.  Fine...but where is it?   LOL


action=??

and where in admin?
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: Mick. on December 24, 2008, 03:24:42 PM
So i ran the database edits theu my server browser and i get this:

No database selected
File: /home/midwes15/public_html/install_db_edits.php
Line: 49


Hmmm...
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: jkrlvgn on December 24, 2008, 03:33:25 PM
BlueDevil:  Would it be possible to get a temp admin to your forum/FTP?  It'll take about 2 minutes to get everything done.
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: Mick. on December 24, 2008, 03:41:14 PM
Quote from: jkrlvgn on December 24, 2008, 03:33:25 PM
BlueDevil:  Would it be possible to get a temp admin to your forum/FTP?  It'll take about 2 minutes to get everything done.

I normaly dont do this but......

you have a PM.
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: jkrlvgn on December 24, 2008, 04:04:23 PM
took a little longer than 2 mins...but....done.
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: Mick. on December 24, 2008, 04:11:11 PM
Quote from: jkrlvgn on December 24, 2008, 04:04:23 PM
took a little longer than 2 mins...but....done.

Sweet!      Thanx,you rock dude!

Now  im going to play with it.   
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: Mick. on December 24, 2008, 05:31:46 PM
Ok....this may be a bug issue.

When trying to read threads in the forums with 2 or more pages,it wont let you.   It takes you to page #1 everytime you want to read the last page.

Also at your site: http://degreesofzero.com/index.php/topic,12.0.html  you cant read the 2nd page.

I removed the modified Index.php and problem solved.  But cannot use the blog mod without the modified index.php

Bug maybe?



Any ideas?   I'd post my index.php if you like.



Also.....when tinkerin' ;D  i experienced these errors:

Database Error: Unknown column 'p.blog_id' in 'where clause'
File: /home/midwes15/public_html/zCommunity/Sources/Blog.php
Line: 1233

Database Error: Unknown column 'blog_id' in 'where clause'
File: /home/midwes15/public_html/zCommunity/Sources/Subs-Blogs.php
Line: 287

and couldnt access the blog.
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: jkrlvgn on December 24, 2008, 05:53:46 PM
Well...I don't seem to hit this issue....but...try to manually mod your index.template.php and index.php.  I didn't do that for you, though now I think I should have.

post up the index.php and index.template.php, or PM me with them, and I'll manually add the code.

I don't have this issue on my forum, though.  I'll have to look a into it a bit more.
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: Mick. on December 24, 2008, 05:55:46 PM
I re-edit my post.   Its happening at Hill's forum as well.


Now that you mentioned it,im going to see the edits on my files and make sure theyre there.
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: Mick. on December 24, 2008, 06:04:42 PM
I checked both files and they're fine.
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: Nibogo on December 24, 2008, 06:13:33 PM
wow charless , what a nice and great mod

I love the new zCommunity Mod , Expecting the SMF 2.0 version ^^

You will release the SMF 2.0 after the RC1 is released??? Thanks for the info
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: Mick. on December 24, 2008, 06:44:31 PM
I think other mods are conflicting but not sure.  Attached is my index.php
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: jayc7176 on December 24, 2008, 10:25:50 PM
thnx for this great Mod.!
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: f1dude on December 25, 2008, 04:02:38 AM
Everything seems to go fine, after i hit "Install Now" my screen just goes white.  I tried manually installing the files, and when i got to install_db_edits.php i just got another white screen.  after trying to go back to my site, i got yet another white screen.  Eventually i just deleted all the filechanges that happened.

Could you write out the DB edits? or do you think my problem was somewhere else?
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: Charles Hill on December 25, 2008, 04:11:05 AM
If you are getting a white screen that means there's a syntax error and your site is not displaying those errors.  It probably is failing to load the necessary zCommunity sources files.  Make sure those files are in the right place.
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: Emperium on December 25, 2008, 04:02:02 PM
Installed, but I also don't see anything in the Admin panel regarding going to zCommunity's Control Panel.
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: Mick. on December 25, 2008, 04:08:08 PM
Quote from: Emperium on December 25, 2008, 04:02:02 PM
Installed, but I also don't see anything in the Admin panel regarding going to zCommunity's Control Panel.

There isnt one.

add this in your browser:

your site /index.php?zc

Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: Emperium on December 25, 2008, 04:21:48 PM
That work's but while trying to Import a Board to Blog and create a new one I got:

Database Error
Unknown column 'blog_category_id' in 'field list'
File: /home/content/*/*/*/***/***/***/forums/zCommunity/Sources/ImportSMF.php
Line: 154

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.7, while your database is at version 1.1.4. The above error might possibly go away if you execute the latest version of upgrade.php.


(The Astrix are just my cover edits)

How do I properly fix this, I don't know how to run upgrade.php.
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: MoreBloodWine on December 25, 2008, 09:24:21 PM
When I goto apply the mod this comes up...

Fatal error: Call to undefined function preparezcfuncnames() in /home/eojmarke/public_html/testingforums/Packages/temp/install_db_edits.php on line 26
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: Xepernas on December 26, 2008, 07:23:00 AM
Indeed, board-to-blog brings :

Database Error
Unknown column 'blog_category_id' in 'field list'
File: /yes/yes/all/that/stuff/zCommunity/Sources/ImportSMF.php
Line: 154

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.7, while your database is at version 1.1.6. The above error might possibly go away if you execute the latest version of upgrade.php.


I've tried various uninstall/reinstall with various trips back and forth between 1.1.6 and 1.1.7 but no success, doesn't seem the "upgrade.php" in the 1.1.7 patch (the one automatically suggested on the packages management page) is newer. The only thing I haven't tried is to go to 1.1.7 through the exterior update package, downloaded manually. The one that's require to uninstall all mods first. But why wouldn't its upgrade.php be the same ?...

Also I've tried to import the board while at 1.1.6 but I get another error. A simpler :

Database Error
Unknown column 'blog_category_id' in 'field list'
File: /quite/a/nice/long/path/there/zCommunity/Sources/ImportSMF.php
Line: 154
 

It might me of importance (or absolutely not) to note that these problem were about a blog that hadn't be manually deblogged, but had just been turned into a board at the uninstallation of "blog community". I might try later to boardize it clean (from the now-reinstalled "blog community") and then import it on "zcommunity".
[Edit : Have just tried it to be sure. Nothing to do with that. Just getting access to the blogs menu of zCommunity brought me to a
Database Error
Unknown column 'bs.blog_id' in 'on clause'
File: /you/know/just/the/usual/url/zCommunity/Sources/Subs.php
Line: 53
Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.7, while your database is at version 1.1.6. The above error might possibly go away if you execute the latest version of upgrade.php.
]


And lastly, clicking "create new blog yes i am sure" a blog brought up this :

Database Error
Unknown column 'blog_id' in 'field list'
File: /yaaaha/almost/got/me/that/time/zCommunity/Sources/Subs-Blogs.php
Line: 97

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.7, while your database is at version 1.1.6. The above error might possibly go away if you execute the latest version of upgrade.php.
 

_______
Mods currently present :

1. Remove Post Modified Time v1.2   
2. Blog Community (for v1.1.x) v2.0.2   
3. Auto Embed Video/Audio Clips v3.1.2 
4. Sarcasmics smiley set v1.1 
5. SMF 1.0.15 / 1.1.7 Update v1.0   
6. zCommunity v0.7.0  [ not installed ]
7. The Rules v1.08 
8. Spoiler Tag v0.6
9. Profile Comments v1.4 

Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: qubbah on December 26, 2008, 08:09:33 AM
Quote from: BlueDevil on December 24, 2008, 05:31:46 PM
Ok....this may be a bug issue.

When trying to read threads in the forums with 2 or more pages,it wont let you.   It takes you to page #1 everytime you want to read the last page.


I have the same problem.
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: Gidget Claire on December 26, 2008, 08:48:14 AM
I cleaned everything, uninstalled my mods, got the original files back, basically removed everything that could be *obnoxious*... and spent hours trying to figure out what I could do to install zcommunity. It doesn't work.  :(

My host accepts the file (permissions are 777 by default) ; I can upload it without any problem, applying it is okay but for some reason it won't get installed.  :-\ I have no idea on how to solve this issue.

Here's the url I get whenever I click the install button:

http://finckaholic.com/forum/index.php?action=packages;sa=install2;package=zCommunity_0_7_0_alpha.zip

I don't know what to do, will possibly get the previous version back.


Nevermind, Runic fixed an issue I was having with my theme so I decided to reupload Blog Community.  :) Everything's perfect now, just need to get the button back.


Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: Smoky "Rider" Blue on December 27, 2008, 06:27:02 AM
mmm clean database, when installing after successful test, i got:

Fatal error: Call to undefined function prepareZCFuncNames() in C:\***\Packages\temp\install_db_edits.php on line 26

and when i went back and refreshed the page, the mod wasnt installed.. any ideas?

here is line 26:



require_once($zc_sources_dir . '/Subs.php');

prepareZCFuncNames();   <<<<<----- line 26

require_once($zc_sources_dir . '/Database.php');
require_once($zc_sources_dir . '/Settings.php');
require_once($zc_sources_dir . '/Subs-Maintenance.php');

Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: the.basement on December 27, 2008, 07:39:27 AM
Fatal error: Function name must be a string in /home/continud/public_html/zCommunity/Sources/Load.php on line 434

my home page for now.

after etry bye bye forum.
Fatal error: require_once() [function.require]: Failed opening required '/home/continud/public_html/zCommunity/Sources/QueryString.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/continud/public_html/index.php on line 193

now i have to uninstall by hand.
had the istall problem line 26, did the manual folder in place, but did not do the trick for me.
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: MoreBloodWine on December 27, 2008, 09:15:09 AM
Quote from: SmokyBlue on December 27, 2008, 06:27:02 AM
mmm clean database, when installing after successful test, i got:

Fatal error: Call to undefined function prepareZCFuncNames() in C:\***\Packages\temp\install_db_edits.php on line 26

and when i went back and refreshed the page, the mod wasnt installed.. any ideas?

here is line 26:



require_once($zc_sources_dir . '/Subs.php');

prepareZCFuncNames();   <<<<<----- line 26

require_once($zc_sources_dir . '/Database.php');
require_once($zc_sources_dir . '/Settings.php');
require_once($zc_sources_dir . '/Subs-Maintenance.php');


Same error for me as I pointed out before...
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: Charles Hill on December 27, 2008, 03:34:15 PM
Every single problem mentioned by all of you related to zCommunity 0.7.0 Alpha has been fixed.  Please make sure that when installing zCommunity 0.7.1 Alpha that you upload the folder from part 1 before running part 2 of the installation in your forum's package manager.
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: MoreBloodWine on December 27, 2008, 04:00:55 PM
Quote from: Charles Hill on December 27, 2008, 03:34:15 PM
Every single problem mentioned by all of you related to zCommunity 0.7.0 Alpha has been fixed.  Please make sure that when installing zCommunity 0.7.1 Alpha that you upload the folder from part 1 before running part 2 of the installation in your forum's package manager.
Downloading new files now but one begs the question, why have two parts to install ?

Edit: Yes everything is set up fine, I can get to the CP but it looks nothing like the pics on the mod page. It alsmost seems as if menus are missing. Also this is on my test sites default theme.

Edit 2: Aside from what appears to be missing menu items etc as pointed out in edit one I also get this when I try to delete a blog.

Database Error
Unknown column 'blog_id' in 'where clause'
File: /home/eojmarke/public_html/testingforums/zCommunity/Sources/Subs-Blogs.php
Line: 287

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.7, while your database is at version 1.1.6. The above error might possibly go away if you execute the latest version of upgrade.php. 
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: Mick. on December 27, 2008, 04:46:24 PM
Im using 0.7.1

I get this:

Database Error
Table '*****_smf1.smf_blog_global_settings' doesn't exist
File: /home/******/public_html/zCommunity/Sources/Load.php
Line: 32

The update didnt create the table.


I also see this when trying to access from admin panel.
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: Charles Hill on December 27, 2008, 07:23:36 PM
I don't know what to tell you, BlueDevil... I tested this on a completely blank test forum (blank db and everything) and it worked perfectly.  I even installed Blog Community 2.0.2, uninstalled that, then installed zCommunity 0.7.1 and it also worked perfectly.  Can you give me more info about what you did to install?

edit...
Solution to MoreBloodWine's issue...
Go to phpmyadmin and run the following mysql (substituting your own table prefix):
ALTER TABLE `smf_blog_polls` ADD `blog_id` INT( 10 ) UNSIGNED NOT NULL DEFAULT '0';
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: MoreBloodWine on December 27, 2008, 07:44:34 PM
Quote from: Charles Hill on December 27, 2008, 07:23:36 PM
I don't know what to tell you, BlueDevil... I tested this on a completely blank test forum (blank db and everything) and it worked perfectly.  I even installed Blog Community 2.0.2, uninstalled that, then installed zCommunity 0.7.1 and it also worked perfectly.  Can you give me more info about what you did to install?

Also for MoreBloodWine... more information is required
More info can be given if youd tell me what sort of info youd like but I have already given relevant information.
Title: Re: zCommunity 0.7.0 Alpha Now available!
Post by: Mick. on December 27, 2008, 07:58:51 PM
Quote from: Charles Hill on December 27, 2008, 07:23:36 PM
I don't know what to tell you, BlueDevil... I tested this on a completely blank test forum (blank db and everything) and it worked perfectly.  I even installed Blog Community 2.0.2, uninstalled that, then installed zCommunity 0.7.1 and it also worked perfectly.  Can you give me more info about what you did to install?

I installed everything manually.   All i can say is,in the admin panel when i click the link to the control panel it takes me to a page with:

Database Error
Table '*****_smf1.smf_blog_global_settings' doesn't exist
File: /home/******/public_html/zCommunity/Sources/Load.php
Line: 32

Your mod is not hard to manually install.   2 files 3 file edits.   Easy.   I just dont understand why it shows this error in ACP & /index.php?zc
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Charles Hill on December 27, 2008, 08:11:24 PM
Did you run install_db_edits.php?
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Mick. on December 27, 2008, 08:16:17 PM
Quote from: Charles Hill on December 27, 2008, 08:11:24 PM
Did you run install_db_edits.php?

Yep.   I get this:

Incorrect table name ''
File: /home/******/public_html/install_db_edits.php
Line: 49


This is line 49:
', $tables_to_drop), __FILE__, __LINE__);
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: jkrlvgn on December 27, 2008, 08:30:25 PM
@BlueDevil:

Uninstall everything and undo the edits that you've done.

Go ahead and upload the zCommunity folder (part 1), and then use the package manager to install the second file (part 2).

If you want me to again, I'll get it installed on there for you, but you should have no trouble with the two part method.
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Mick. on December 27, 2008, 08:38:27 PM
Quote from: jkrlvgn on December 27, 2008, 08:30:25 PM
@BlueDevil:

Uninstall everything and undo the edits that you've done.

Go ahead and upload the zCommunity folder (part 1), and then use the package manager to install the second file (part 2).

If you want me to again, I'll get it installed on there for you, but you should have no trouble with the two part method.

I did.   I reloaded with 0.7.2  did the edits and shows the same database error.
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Elijah Bliss on December 28, 2008, 01:52:46 AM
Where are the permissions for the post count based groups?
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Elijah Bliss on December 28, 2008, 02:27:00 AM
Why is it now that when "Don't show forum template layers" it defaults to the SMF default template and not my own like in the past?

I don't want SMF's default template showing up in my forum in any form or fashion.
Why aren't other installed templates not an option?
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Elijah Bliss on December 28, 2008, 02:49:15 AM
Is there anyway to revert?
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Charles Hill on December 28, 2008, 03:07:59 AM
1) only non-post based member groups are shown for permissions
2) it uses whatever theme you have chosen in the Themes tab under Main in the control panel
3) What do you mean by "I don't want SMF's default template showing up in my forum in any form or fashion." ....... zCommunity doesn't do anything to your forum... just the blogging community pages...
4) There aren't other templates you've installed on your forum because you have to install themes for zCommunity... it's a completely separate theme system.
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Elijah Bliss on December 28, 2008, 12:32:21 PM
Quote from: Charles Hill on December 28, 2008, 03:07:59 AM
1) only non-post based member groups are shown for permissions
2) it uses whatever theme you have chosen in the Themes tab under Main in the control panel
3) What do you mean by "I don't want SMF's default template showing up in my forum in any form or fashion." ....... zCommunity doesn't do anything to your forum... just the blogging community pages...
4) There aren't other templates you've installed on your forum because you have to install themes for zCommunity... it's a completely separate theme system.

Please don't take the following as an insult, it's actually a compliment:

"The Curious Case of Charles Hill"
I've been here at SMF for a very long time. I remember when this thing was a baby. I used to beta test. I've seen many a mod.

I ranked your blog community mod as top 4 all time. Behind Sitemaps mod, Aeva, and SMF Media Gallery.

I've seen many an ungrateful member whine and complain about mods never having enough features.

This is a different type of rant. This rant is about overkill.

Prior to the release of zcommunity, the only criticisms I had about blog community was that it had issues converting a large topic to a blog, and that was it. Other than that, your mod was PERFECT. You included everything and the kitchen sink. Literally plug and play.

Blog community integrated beautifully with my forum and themes. That's gone. I had it set up where after 25 posts members would have blogging permissions. Now that's gone. The posting form, gone.

I can understand if blog community didn't work, but it did. Very well I might add. Have you ever driven a Bentley? Well that's what I liken blog community to. zcommunity on the other hand is a is not an improvement on the design, just overkill.

I deeply appreciate your effort and work on this mod, and I will donate accordingly, but I have to revert back to my "Bentley" until zcommunity catches up.

I know you will give various reasons for the drastic changes, but say what you will, blog community WORKED beautifully.

Would if be possible to get some type of support on blog community for the original issue I had?

Thank you.
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: the.basement on December 28, 2008, 01:37:46 PM
Cant delete blog out of database,
little bug here and there but nice done.
Did the langauge change found in a post on your forum and that did the trick.


error is like this.
Databasefout
Unknown column 'blog_id' in 'where clause'
Bestand: #####\zCommunity\Sources\Subs-Blogs.php
Regel: 287 

8)

Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Kreator on December 28, 2008, 02:17:51 PM
I can
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Kreator on December 28, 2008, 02:21:30 PM
I am having a problem with this package, I`m using a brand new 1.1.7 version of SMF no mods bare tables, but I just can`t get anything to upload  just keep getting package is corrupt ... I have tried both the zip files and the gzip ones 0.7.2 .... BTW 0.7.1 didn
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Charles Hill on December 28, 2008, 02:24:58 PM
@ the.basement.... are you sure you are installing 0.7.2 (that error existed in 0.7.1 and 0.7.0, but was fixed for 0.7.2)

@ Elijah Bliss... sorry you feel that way.  But perhaps you should investigate zcommunity further before you write it off.... Blog Community had a lot more problems than zcommunity.  Integration with your forum is a lot cleaner and more secure with zcommunity as well.  The separate themes system does not mean it won't work with your custom themes.  You will have to make template files for zCommunity to match your custom themes just as you did for Blog Community.  I don't know what you mean by Blog Community working with ALL of your themes.... it didn't...

@ Kreator... Did you try unzipping it on your computer and then making a new zip file?
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: the.basement on December 28, 2008, 02:32:59 PM
handmod on SMF site copy past work maybe i did somthing wrong go have a look.

thank you for the reply so fast.
do the hand mod out the zip files.

8)
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Elijah Bliss on December 28, 2008, 04:03:43 PM
Quote from: Charles Hill on December 28, 2008, 02:24:58 PM
@ the.basement.... are you sure you are installing 0.7.2 (that error existed in 0.7.1 and 0.7.0, but was fixed for 0.7.2)

@ Elijah Bliss... sorry you feel that way.  But perhaps you should investigate zcommunity further before you write it off.... Blog Community had a lot more problems than zcommunity.  Integration with your forum is a lot cleaner and more secure with zcommunity as well.

I'm going have to disagree. As a matter of fact one of the zcommunity style sheets is conflicting with my forum's style sheet...

QuoteThe separate themes system does not mean it won't work with your custom themes.  You will have to make template files for zCommunity to match your custom themes just as you did for Blog Community.  I don't know what you mean by Blog Community working with ALL of your themes.... it didn't...

Blog Community worked great with my custom AA New Damage Theme and Slick Pro. It looked great with every theme I had installed.

I'm still sticking with my opinion that blog community was excellent work and is better than zcommunity.

My friend who runs a hair care site has blog community installed and it integrates perfectly with her "feminine" themes. Everything works great.

I'd be willing to work with zcommunity but you removed post count based permissions which is a deal breaker. Is there a way to reinstate the post count permissions?

Also is there a way to disable lightbox? It's conflicting with the shadowbox I installed in my forum.
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: jkrlvgn on December 28, 2008, 06:00:51 PM
Quote from: Elijah Bliss on December 28, 2008, 02:27:00 AM
Why is it now that when "Don't show forum template layers" it defaults to the SMF default template and not my own like in the past?

I don't want SMF's default template showing up in my forum in any form or fashion.
Why aren't other installed templates not an option?

*blinks*  If you don't have forum layers activated, it shows the theme that your forum has on it, with the header and anything that's layered in with it.

I think that you're getting a bit confused on what everything is and what the options are, Elijah, and I think that some of this is getting blown a bit out of proportion.

I don't have your "modified" themes installed on my little dummy forum, but I can install those bases and have them work just fine with zC.  The only difference is that if you want to have separate themes per blog, you have the option to.  To use a separate theme for zC (granted, there are only two choices right now, but both are easily modified), you disable the forum layers, and then choose a theme.  At the moment, there's two:  Clean - One, and "SMF Default".  These are NOT the same themes that are installed on your SMF board, regardless of what you might think.  If you look in the package, you'll notice that you'll have a "THEMES" folder in the zCommunity directory.  In this directory, there are currently two themes.

You can easily disallow people from using custom themes on their blogs, so that they don't suffer the same confusion.  I can take screenshots for you and then walk you through it step by step if you'd like, or even do it for you if you want me to.

Except for a few minor cosmetic issues (in AA New Damage, the copyright info was placed funny), and with this being an -Alpha- release on zCommunity, everything is fine.

I'm assuming that you don't want your header/footer to show, though, on the blogs, or that you don't want the template layers to be shown, which is fine....but I still see no issues using other custom themes with the forum template layers enabled.  I've installed AA New Damage, Computer Stuff (christmas theme), SlickPro Graphite, Android...  As I said...only minor problems, and cosmetic ones at that.



As far as permissions go, I'm sure that he's going to be working on future releases, and he might very well get post count permissions as well.  There are a few different things out there that are being considered besides this, but I'm sure that it wouldn't be too much trouble to include the post count groups.

Lightbox should be easier.  Just go through your source files and comment out the instances, I'd think.  Once again, i'm not a coder, but this would be the solution I'd go with.

You're welcome to use Blog Community as well, though, until you're ready to switch, though...no one is forcing you to change, nor are we asking you to.  You make that choice.  This is still an "ALPHA" release, though, so there are obviously things that are going to be changed and filtered through.
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Smoky "Rider" Blue on December 28, 2008, 06:10:00 PM
if you need any help at all and want someone to look at it for you, i would suggest to pm them a test admin acct along with ftp..

if you dont know who to ask, then pm Charles Hill and either he can do this or he can find someone to help you with it..

its really not that hard, but i do understand your confusion.. the next move if yours.. ;)

should you need someone to customize a theme for you, it wont be that hard to find someone to do that..  :)
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Elijah Bliss on December 28, 2008, 06:46:27 PM
Quote from: jkrlvgn on December 28, 2008, 06:00:51 PM
Quote from: Elijah Bliss on December 28, 2008, 02:27:00 AM
Why is it now that when "Don't show forum template layers" it defaults to the SMF default template and not my own like in the past?

I don't want SMF's default template showing up in my forum in any form or fashion.
Why aren't other installed templates not an option?

*blinks*  If you don't have forum layers activated, it shows the theme that your forum has on it, with the header and anything that's layered in with it.

I think that you're getting a bit confused on what everything is and what the options are, Elijah, and I think that some of this is getting blown a bit out of proportion.

I don't have your "modified" themes installed on my little dummy forum, but I can install those bases and have them work just fine with zC.  The only difference is that if you want to have separate themes per blog, you have the option to.  To use a separate theme for zC (granted, there are only two choices right now, but both are easily modified), you disable the forum layers, and then choose a theme.  At the moment, there's two:  Clean - One, and "SMF Default".  These are NOT the same themes that are installed on your SMF board, regardless of what you might think.  If you look in the package, you'll notice that you'll have a "THEMES" folder in the zCommunity directory.  In this directory, there are currently two themes.

You can easily disallow people from using custom themes on their blogs, so that they don't suffer the same confusion.  I can take screenshots for you and then walk you through it step by step if you'd like, or even do it for you if you want me to.

Except for a few minor cosmetic issues (in AA New Damage, the copyright info was placed funny), and with this being an -Alpha- release on zCommunity, everything is fine.

I'm assuming that you don't want your header/footer to show, though, on the blogs, or that you don't want the template layers to be shown, which is fine....but I still see no issues using other custom themes with the forum template layers enabled.  I've installed AA New Damage, Computer Stuff (christmas theme), SlickPro Graphite, Android...  As I said...only minor problems, and cosmetic ones at that.



As far as permissions go, I'm sure that he's going to be working on future releases, and he might very well get post count permissions as well.  There are a few different things out there that are being considered besides this, but I'm sure that it wouldn't be too much trouble to include the post count groups.

Lightbox should be easier.  Just go through your source files and comment out the instances, I'd think.  Once again, i'm not a coder, but this would be the solution I'd go with.

You're welcome to use Blog Community as well, though, until you're ready to switch, though...no one is forcing you to change, nor are we asking you to.  You make that choice.  This is still an "ALPHA" release, though, so there are obviously things that are going to be changed and filtered through.

I understand the way the themes on zCommuntiy work.
I just don't like the way they work.
Everything was simple and easy.

And what you have said still doesn't address the posting form.

I've been here long enough to know not to waste time hacking and modding away at mods, ESPECIALLY IF THEY DIDN'T NEED HACKING AND MODDING to integrate in to my forum in the first place.

The only fix I ever applied to blog community was getting the social bookmarks to work in IE, and that was what, a 5 minute fix?

Now you tell me I have to create new themes when I didn't have too before?

I think not.

I know I'm not being forced to use anything.
But I will criticize where criticism is due. And my criticism to Charles Hill was 1. Why he was fixing things that were not broken?
2. How do you go from Beta to Alpha?
3. Why are things being over complicated?
4. Why take away the permissions?

What IMO needed just a slight tweak here and there has been nearly ruined.

I'm still standing by what I said, and I did tell Charles that Blog Community was an excellent mod, but until zcommunity displays the same ease of use and "plug, play and go" as blog community I won't install it.
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Smoky "Rider" Blue on December 28, 2008, 07:10:05 PM
Elijah Bliss, all this is on you, the end user.. it is just a mod to make users of smf have an option for differences with their blogs, if everyone's blogs were alike, then its just going to the same forum etc., blah blah..

its your option, again, to use, or not use, that is your choice..

QuoteI know I'm not being forced to use anything.
But I will criticize where criticism is due. And my criticism to Charles Hill was 1. Why he was fixing things that were not broken?
2. How do you go from Beta to Alpha?
3. Why are things being over complicated?
4. Why take away the permissions?

What IMO needed just a slight tweak here and there has been nearly ruined.

#1, have you made any mods that anyone can "criticize"?

#2 this is a move up from the blog community and to get it ready for the beta or didnt you read that??

#3. complicated is only how you are making it.. the instructions are plain, should you choose to read them..

#4., if you ask nice, and remember, it is the holidays, this could be fixed for you..

so here is my #5, relax, ok?? nothing in life is worth getting upset on..  ;)
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Mick. on December 28, 2008, 07:14:48 PM
Im using Blog Community now.   Do you believe that it installed super easy?  Oh yeah! without difficulties.  Im tinkering with it now.

zCommunity 0.7.0,0.71 & 0.7.2 gave me nothing but headaches.  It didnt install right for me in any way,shape or form after several different tries.
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Smoky "Rider" Blue on December 28, 2008, 07:29:04 PM
ok the thing is, it is Christmas and New Years time right now..

you know people are busy.. and i know, installing mods can be easy or hard.. thing is you have to follow directions, and if you get an error, say something, post what error you get, and wait..

the other is, always use a test site first..

i dont see anyone here that is perfect, so best thing is have patience.. if i wasnt so busy i would help out..

maybe after next week, as my clients come first.. if anyone needs me, just tag me, either here, in pm, or on my site.. im always willing to help out..  ;)
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: jkrlvgn on December 28, 2008, 07:50:49 PM
QuoteI understand the way the themes on zCommuntiy work.
I just don't like the way they work.
Everything was simple and easy.

And what you have said still doesn't address the posting form.

What about the posting form?  This is the first mention of the posting form in this topic.  I see nothing wrong with the posting form.

QuoteI've been here long enough to know not to waste time hacking and modding away at mods, ESPECIALLY IF THEY DIDN'T NEED HACKING AND MODDING to integrate in to my forum in the first place.

.....you don't have to hack and anything to make it integrate with your forum.  This one happens to have a lightbox functionality with it that doesn't have an option for disabling.  Once again, this is an ALPHA release, so not every single function is going to be there.  SMF doesn't have options for every single option either on it's alphas or even sometimes it's betas.  Those are things that are implemented in later, usually after someone bring attention to it.  Which you've already done.  Beating the horse isn't going to make it go any faster.

QuoteNow you tell me I have to create new themes when I didn't have too before?

I think not.

Umm.  Clearly, you're not reading anything that I wrote and taking it as a personal attack.  I'm not sure why you're so pissed off or angry at what I've said...you don't have to make themes for zC UNLESS YOU'RE GIVING MEMBERS THE OPTION TO HAVE THEIR OWN THEMES PER BLOG.  Granted, I haven't used the old version for a little bit, but I'm fairly certain that the blog themes wasn't really working at the time...they still used the theme that was set on your forum, which zC still does.  Make sure that the option to disable forum layers is unchecked, and you've got yourself all set....it'll use whatever you see on the forum.  The only thing is that there are a couple of minor cosmetic issues, which are more than likely easily fixed.

I said all this before, in my previous post, which you obviously didn't read, or took completely out of context.

Quote
I know I'm not being forced to use anything.
But I will criticize where criticism is due. And my criticism to Charles Hill was 1. Why he was fixing things that were not broken?
2. How do you go from Beta to Alpha?
3. Why are things being over complicated?
4. Why take away the permissions?

You can criticize all you want to, but (once again) it's an Alpha release.  It's not a final release.  You can't expect something to have everything that you want and then some, because things don't work that way.  It would take FOREVER to make something that has every feature that everyone wants that is completely flawless.  That borders on impossible.  You CAN criticize, but you should think about what parts you're fighting for, and the particular reason why you're fighting for them.  So far, one of your issues isn't an issue, and the second one isn't something that will be completely ignored, unless you decide to make a huge issue out of something.  This is a molehill, not a mountain, and it's certainly not something that you need to have an aneurysm about.

SO....in order of your questions:

1.  He's not fixing things that aren't broken, he's modifying his modification in the way that he's chosen.  This is his right and complaining to him about it is doing nothing to further your cause.  He can do what he wants to his mod.  You're not paying him for a custom mod, nor have you hired his services to implement any functionality that doesn't exist in it.  Not only is it free, but it's an ALPHA release that still has a way to go before being complete.
2.  This isn't "Blog Community" anymore.  The code has changed significantly.  There is more complications and more functionality than before.  This prompted him to call it a new mod, since it's so different.  SMF was based off of another forum software...they don't call it YABB SMF Version, they call it SMF, because after all the changes, it's something completely different.
3.  Things aren't overcomplicated.  Things are actually very simple.  You're overcomplicating things by going out of your way to find them and criticize about them.  Once again, one of your issues isn't an issue, if you'd just take the time to look at it and go with it.
4.  zCommunity is on the verge of using it's own permissions system.  Once again, if you looked at the packages at all, you'd see that there are number of files that are independent from SMF.  This means that there is less changes to your forum itself or the files in it, which means that there will be less conflicts with installation and less issues with upgrades.  While it pulls the groups from your Membergroups of SMF, it doesn't currently pull anything from the post-based.  I'm sure that this is something that Charles is looking into, however it hasn't been implemented yet.  Personally, I could care less about post-based permissions as I tend to have multiple accounts in different places, as do many other people.  Their post count means little to nothing to me, so I delete all the post based membergroups I can and then blank out the options for the one that's left.  I certainly don't complain about having to do that, because it's easy to deal with.

I'm with SmokyBlue, though, on this one.  Take a deep breath, and relax.  No one is saying you're an idiot for asking about these things.  You're getting really upset over an alpha mod.

Would you go and install SMF 2.1.7 Alpha and then go on the board and complain that some things are different?  Hell, on the SMF 2.0b4, themes are very different...there are over 10 CSS files to play with, and it's not compatible with some older themes, and ones that I personally enjoyed very much.  Some were ones that I modified myself.

SMF 2.0b4 is also not compatible with some modifications that I really like from 1.1.7.  Nor is it compatible with some mods from SMF2.0b3.  This is why there are alpha and beta releases...and (surprise!) none of them should be used on a production site unless you're aware of the issues and can work around them.

I just don't seem to understand the passion behind your "critiques".  It's not as if he promised that this is the final release and that it's fully working with everything and will give you a million dollars with a new sports car complete with a dream house, 40 strippers and a Lear jet.  He's not even saying that you can't use BC anymore...you certainly can...obviously, there are no issues with it that you've had (as it's perfect in every way), so you don't even have any reason to upgrade or even LOOK at this mod.  If BC does everything that you want/need, then stick with it...I've got old mods myself that I haven't upgraded, and they work fine!  I doubt very much that I'd upgrade unless there was a serious issue that I had a problem with.

QuoteWhat IMO needed just a slight tweak here and there has been nearly ruined.

I'm still standing by what I said, and I did tell Charles that Blog Community was an excellent mod, but until zcommunity displays the same ease of use and "plug, play and go" as blog community I won't install it.

....just use what you've got until this meets your needs.  BLAM!  Problem solved.

I still stand by what I say too.  zC is pretty much Plug, Play, Go.  You have more options now, but...you don't have to use them all.  You don't have to install it, and if you're not going to, then why worry about it?  Wait until it has the features that you need, and then install it.  It's what I do (and what nearly everyone else does).

---

BlueDevil:

zC has a lot more implemented in.  Yes, I agree that it should have the install package as just one file, but there's an issue with making SMF move everything correctly.  This is something that's being looked at.  For now, though, there are two files to download (one to upload after uncompressing, and the other to use the package manager on).

There really isn't anything that hard about installing it as it is at the moment.  Once again, I'd be happy to help you with it or do it for you if you'd like.  That stands for anyone that's having troubles with it.  I don't have a large site set up, but I've installed/uninstalled this many times already, and with 0.7.2, I'm still not having any issues.

--edit--

Just to ask, is there anyone that's done a mod that moves files around like zC should?  It would be great to get a few pointers on how this is supposed to be done, because obviously something is being missed.
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Smoky "Rider" Blue on December 28, 2008, 08:12:11 PM
jkrlvgn,

i would love to play with this on my main site, however, i am using the beta on it, and as far as themes, havent met one yet i cant "play with" that wont make me upset... but i know where you are coming from..

on the mod issue for the 1.1.7, we are all now, at a stage in the game where everyone is either upgrading the mods for more compatibility for the beta, or they are going down the drain..

(reminds me to do mine :P )

thing is, if you dont say something, and say it nice (cuz no one likes to do anything for someone that will bwitch.. right?? or pay for a custom mod, and i do believe we have people that can do that as well..

so.... until things are straight, relax.. now back to my coding..  ;)

no biggie jkrlvgn 8)
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: jkrlvgn on December 28, 2008, 08:47:30 PM
*LOL* ******!!  Not smokyblue....i'm sorry!!!!!!!  Wrong person completely...edited to show: BlueDevil


I'm so sorry!!!
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Smoky "Rider" Blue on December 28, 2008, 08:49:24 PM
lol.. not me??  :P

hmm good thing eh jkrlvgn O:) :D
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Elijah Bliss on December 28, 2008, 09:05:25 PM
To Smokey Blue and jkrlvgn

Charles Hill is a big boy and I'm pretty sure he doesn't need his fans speaking on his behalf.

Besides, I'm not attacking Charles Hill, but he, nor any other mod maker is above criticism.
How else will they improve on their mods?

I've been here for a very long time, have a 900,000+ posts forum, been there and done that with the mods.

Have I made mods for my own forum?
Yes.

Will I release them for SMF?
No.

Why?
I don't want people like me on my case about my mods being buggy.

Now I'll be happy to give those mods to someone who's interested and has the time to develop them properly.

Again, I'm not making personal attacks on Charles Hill. Blog Community had way more than I ever expected. It's a top notch mod. Charles makes great stuff, but sometimes one needs to know when to leave well enough alone.
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Smoky "Rider" Blue on December 28, 2008, 09:22:06 PM
Quote from: Elijah Bliss on December 28, 2008, 09:05:25 PM
To Smokey Blue and jkrlvgn

Charles Hill is a big boy and I'm pretty sure he doesn't need his fans speaking on his behalf.

Besides, I'm not attacking Charles Hill, but he, nor any other mod maker is above criticism.
How else will they improve on their mods?

I've been here for a very long time, have a 900,000+ posts forum, been there and done that with the mods.

Have I made mods for my own forum?
Yes.

Will I release them for SMF?
No.

Why?
I don't want people like me on my case about my mods being buggy.

Now I'll be happy to give those mods to someone who's interested and has the time to develop them properly.

Again, I'm not making personal attacks on Charles Hill. Blog Community had way more than I ever expected. It's a top notch mod. Charles makes great stuff, but sometimes one needs to know when to leave well enough alone.

hmm fan?? fans??  :o

i see.. and ya know what Elijah Bliss.. it doesnt matter if you came on yesterday or was on as long as i have been, either, correct? i wont participate in a spitting contest, and that is what this is..

if he chose to make everything separate from smf on this mod, that is on him.. dont like it, then dont use it.. its simple and rather than take up space from someone that has, and needs help,  dont ya think one post on this is more than enough??

if you do not like the alpha, then stay with what you do like..

he put it here for people to enjoy and dont complain, as that is what it is.. this isnt criticizing you him or anyone else.. be gratefull for what you have, and use it well, or dont use it.. its that easy and simple.  ;)
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Charles Hill on December 28, 2008, 09:59:50 PM
I appreciate and respect everyone's opinions.  If you don't like things about something I've created and made available, that's alright, just explain what you don't like about it in a clear and succinct manner.  I might not like what you've got to say, but I'll still listen.  Everything I've done with zCommunity I've done for a reason, but I am not unwilling to make changes.

I ask you all to please keep things respectful... and keep this in mind... Sometimes less is more ........ I hate reading :D
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: taha116 on December 28, 2008, 10:12:16 PM
What does the alpha mean... cuz if it means anything like beta then i know its still under testing and stuff
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Charles Hill on December 28, 2008, 10:15:39 PM
Alpha is the step before a beta.  It's a warning that you shouldn't use it on a production site unless you really know what you're doing.
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Elijah Bliss on December 28, 2008, 10:18:48 PM
Quote from: Charles Hill on December 28, 2008, 09:59:50 PM
I appreciate and respect everyone's opinions.  If you don't like things about something I've created and made available, that's alright, just explain what you don't like about it in a clear and succinct manner.  I might not like what you've got to say, but I'll still listen.  Everything I've done with zCommunity I've done for a reason, but I am not unwilling to make changes.

I ask you all to please keep things respectful... and keep this in mind... Sometimes less is more ........ I hate reading :D

Greetings Charles,
Again, I didn't mean to come off as disrespectful, if I did, that wasn't my intention. The children blew this all out of proportion. Again, I love your work.

Here are some of the critiques I have:
*Bring back the standard posting form with all the BBC buttons and functionality. Posters like consistency, going from a standard posting from to nothing is a shock to them.

*Have the option "display without forum layers" feature to use the SMF themes like before and to use zCommunity themes.

*Easier Installation.

*Bring back post count based permissions.


If I see anything else, I will post my concerns.

Notice how unlike the children, I'm not harassing you for toys like Aeva integration. I believe you should tighten up zCommunity before you start adding bells and whistles.

I will continue to support you and your work with zCommunity.
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Charles Hill on December 28, 2008, 10:38:12 PM
1)  Yes, the posting form is different now.  The only major difference is the absence of the bbc cloud, but it will not be difficult to add it.  That's the beauty of zCommunity's posting form (extensibility).  In fact if you look at the code in zC's Sources/Post.php you will see that the bbc cloud code is there (just not fully implemented yet).  This will be added as a default feature of zCommunity soon.

2) The "display without forum layers" option IS there.  If you go to your control panel (in the main tab)... Go to "Global Blog Settings".  It's on that page.  To do it on a blog by blog basis... the without forum layers option is located in the Themes tab.

3) Yes I've been doing some testing.  I am seeing that the previous issues were caused by my server doing funky stuff with the files being unpacked by SMF's package manger.  I am going to repackage the installation stuff and refine the install_db_edits.php included in that package so that it'll be very tough to screw up :)

4) Post count based member groups are intentionally excluded from the permissions, but it will not be difficult to include them.  I'll have to look at it, but I think there are just a few edits required to make that happen.
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: taha116 on December 28, 2008, 11:26:18 PM
Ok thats what i though i thout it would come before the beta
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Paracelsus on December 29, 2008, 10:13:56 AM
Hi Charles,

I was considering to install your MOD to replace Felblog in my forum, but I wouldn't like to lose the current data. I remember you talking about a converter for Felblog... is there one available or not?

(I tried the search system, but it's still buggy and impossible to find more than one ocurrence for the word 'felblog' on this topic)
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Mick. on December 29, 2008, 10:39:27 AM
Quote from: Paracelsus on December 29, 2008, 10:13:56 AM
Hi Charles,

I was considering to install your MOD to replace Felblog in my forum, but I wouldn't like to lose the current data. I remember you talking about a converter for Felblog... is there one available or not?

(I tried the search system, but it's still buggy and impossible to find more than one ocurrence for the word 'felblog' on this topic)

Not to jack this thread but ......

....wow,i love your forum setup.  Excellent color choice,layout...everything.  Nice work.
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Charles Hill on December 29, 2008, 11:40:52 AM
@ Paracelsus ... I had looked at felblog's design scheme previously to determine the difficulty in creating a converter.  I think it's do'able.  I'll put that on my priority list of things to add soon.
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Charles Hill on December 29, 2008, 01:58:39 PM
Issue discovered.  I had hard coded a custom window for Degrees of Zero (my site) and forgot to take it out before releasing zCommunity.  This will be fixed for 0.7.3, but you can fix it yourself in 0.7.2 by following the instructions located at the following link:
http://degreesofzero.com/index.php/topic,300.0.html
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Paracelsus on December 29, 2008, 04:52:45 PM
Quote from: Charles Hill on December 29, 2008, 11:40:52 AM
@ Paracelsus ... I had looked at felblog's design scheme previously to determine the difficulty in creating a converter.  I think it's do'able.  I'll put that on my priority list of things to add soon.

Thanks... I'll wait for it, no rush. ;)


Quote from: BlueDevil on December 29, 2008, 10:39:27 AM
Not to jack this thread but ......

....wow,i love your forum setup.  Excellent color choice,layout...everything.  Nice work.


;D... Tkx, lot of work behind it (months actually, but then again, I'm a medical doctor not a programmer :P), but I think it was worth the effort.
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Kindred on December 29, 2008, 11:22:01 PM
Charles,

I'm not quite sure why you felt the need to re-write the whole posting system and such... and I don't quite agree with the whole new theme system... but that is your right as the mod author...
However. one thing that I think is absolutely critical of ANY mod made for SMF is that it should utilize the SMF permission system.
(that's actually one of my tests for bridge compatibility with externally linked-systems as well)

In other words, by removing the capability of including post-count based groups in the permissions, I think you may have damaged the mod's compatibility with SMF. I'd like to see the full permissions/membergroup support added back in if possible. :)


(and I'd still like to see a 2.0 version. :) I have a 2.0 forum that desperately needs a blog system. LOL! )
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Charles Hill on December 30, 2008, 10:29:01 PM
I rewrote the posting system because I thought I could do it better... The way I made it, there is no limit to what functionality can be added.  The only thing that's missing right now is a few ajax functions, spell checking, and the bbc cloud.

The reason I made a separate permissions system was because a lot of people were confused by having permissions for their blogging community located in the smf permissions area.  Also there is a technical reason with having a somewhat simpler permissions system just for zCommunity... If zC used SMF's permissions system, there would be dozens of extra database queries.  Plus there wouldn't be nearly the variety of zC specific permissions as there are now.

I am going to include post-count based member groups (it will only require a few edits).

Yes I am going to make it compatible with SMF2+.  If you look at the code of zCommunity right now, you'll notice I've already taken many steps towards that end.
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Smoky "Rider" Blue on December 30, 2008, 10:42:36 PM
and one heck of a job Charles..

im really happy.. have it running on a test area and i have to say.. best yet..

keep up the good work my friend..  ;)
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Charles Hill on December 30, 2008, 10:48:15 PM
Thank you.  :)  Glad you like it.  If you think of anything that's missing/confusing/not working don't hesitate to let me know.
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Smoky "Rider" Blue on December 30, 2008, 11:07:36 PM
lol my future feed plugin Charles..

i am going to start working on it within the next few days.,. will catch up with you when im at a point with it that we can do something with it..  ;)
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Charles Hill on December 30, 2008, 11:17:28 PM
Sounds good :)
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Smoky "Rider" Blue on December 31, 2008, 12:21:23 AM
no issues as of yet Charles but will let you know if i spot any..

what i did was drop the old db from the 1.1.7 i saved, removed all mods from it, and installed.. i havent had time to tinker but will soon..  ;)
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: TheDisturbedOne on December 31, 2008, 12:57:58 AM
Charles, I have a quick question.  I remember using the Blog Community a while ago, and one feature that I liked was that the blog posts would also show up in a forum, and would increase post count.  Is this available in zCommunity too (sorry if it is repeat :( )?
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Charles Hill on December 31, 2008, 01:24:35 AM
I haven't added individual user stats yet for the zCommunity.  I will, though... it will not be difficult.  What will be interesting is designing functions to be easily incorporated into smf wherever you might want to pull that info.  Like.... maybe you would want to show a user's stats (# articles, #blogs, #subscribers etc etc etc) below their forum stats on posts (in topics on your forum)... or in their profile.  I will be attempting a design scheme that will make this very easy and efficient.
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: TheDisturbedOne on December 31, 2008, 01:32:19 AM
What I was referring to was lets say I post a Blog article titled "Free Beer".  Is there a function so that the blog post would also turn into a topic in a forum called Blogs by the name of "Free Beer".

Though THAT would be awesome (what you said in your post).
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Charles Hill on December 31, 2008, 02:12:18 AM
Quote from: TheDisturbedOne on December 31, 2008, 01:32:19 AM
What I was referring to was lets say I post a Blog article titled "Free Beer".  Is there a function so that the blog post would also turn into a topic in a forum called Blogs by the name of "Free Beer".

Ya that's possible... but I really don't see the benefit of that.
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: TheDisturbedOne on December 31, 2008, 02:16:31 AM
Hope would I enable it?
I want it so that if people blog a lot, their post count will still go up, and things like that.
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Charles Hill on December 31, 2008, 02:20:22 AM
So just having their post count go up without having a topic created for each article they make would be ok?  That would be a lot easier.
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Sel_888 on December 31, 2008, 02:52:09 PM
I cannot get any manual install instructions. I just would like to know where I would be able to enter in my indextemplate and boardtemplate in my custom themes to show the 'Blog' button in the top menubar.
I was able to do that when I installed SMedia Gallery, and I know that I should be able to for this.

ALSO... haven't had a chance to experiment much yet, but is there a way that i could have a link to a user's blog under their avatar when posting in SMF?
THNX

-Sel
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: Charles Hill on December 31, 2008, 03:32:23 PM
If you look at the themes.xml file in the second part of the install package, you will see what you need to add/change in your themes' index.template.php.

You will be able to add things below users' avatars when posting soon.

Please be aware that this is still an alpha, and you should not use it on a production site unless you really know what you're doing.
Title: Re: zCommunity 0.7.2 Alpha Now available!
Post by: TheDisturbedOne on December 31, 2008, 03:34:01 PM
Quote from: Charles Hill on December 31, 2008, 02:20:22 AM
So just having their post count go up without having a topic created for each article they make would be ok?  That would be a lot easier.
Yeah that would be fine.
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Charles Hill on December 31, 2008, 07:44:58 PM
0.7.3 Alpha is now available.  I addressed all of the small problems found thus far.
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Xepernas on January 01, 2009, 07:11:36 PM
Uh, I'm sorry, when importing a board I still get :

Database Error
Unknown column 'blog_category_id' in 'field list'
File: /I/always/forget/to/edit/that/zCommunity/Sources/ImportSMF.php
Line: 154

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.7, while your database is at version 1.1.6. The above error might possibly go away if you execute the latest version of upgrade.php.


I also do seem to have a blog already. Some ghost blog (probably a remnant of a failed attempt at creating one with the older version of zcommunity) is present, but it wasn't visible on blog community. Trying to delete it from the last zcommunity gives the following error :

Database Error
Unknown column 'blog_id' in 'where clause'
File: /yes/yesyesyes/yes/so/yes/allthat/zCommunity/Sources/Subs-Blogs.php
Line: 287

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.7, while your database is at version 1.1.6. The above error might possibly go away if you execute the latest version of upgrade.php.


And trying to access it leads to :

Database Error
Unknown column 'bs.blog_id' in 'on clause'
File: /y/a/w/n/.../zCommunity/Sources/Load.php
Line: 135

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.7, while your database is at version 1.1.6. The above error might possibly go away if you execute the latest version of upgrade.php.
 

Maybe there is a way to manually clean it. But would it solve the problems ?

Also, am I mistaken or was the blog community page completely removed from the SMF mods site ?
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: TheDisturbedOne on January 01, 2009, 10:33:17 PM
Charles, I have 1 more question.  Is it possible to edit/delete articles/comments using zC?  I can't seem to be able to.
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Charles Hill on January 01, 2009, 11:28:44 PM
Yea... As super admin, you should be able to do anything.  If you want to let others be able to do things you'll have to look at the Permissions tab in your blog control panel.

If you are missing the images icons on your server or if they aren't in the right place, you won't be able to see them.  You should check to make sure they're where they're supposed to be.

@Xepernas... Try dropping all of the zcomm related tables in your db and then run install_db_edits.php from your forum's main folder.
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: QueenTiye on January 02, 2009, 12:52:37 AM
Hi Charles:

I like and don't like Blog Community (and am too little of a techy to install zCommunity).  However, the biggest problem I'm having now is that I can't register at your site to ask questions and get support.  I've registered as QueenTiye and as QT_Too (or something like that) but I never receive the activation email, so I never can log in.  And - I've got a bunch of questions and suggestions... so... help?

QT
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Smoky "Rider" Blue on January 02, 2009, 02:14:22 AM
if you cant get the activation from Charles' site, just post it all here, he will get it either way..  ;)
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Xepernas on January 02, 2009, 08:49:26 AM
Quote from: Charles Hill on January 01, 2009, 11:28:44 PM@Xepernas... Try dropping all of the zcomm related tables in your db and then run install_db_edits.php from your forum's main folder.
Ok, here's the freaky stuff I did (yes, this looks like brain surgery, to us proud noubs).

Went to some phpmyadmin console. Found a "structure" list with several database's_name_smf_blog_stuff including a _smf_blog_blogs that I emptied. It was indeed containing the 'ghost blog remnants', and the reinstalled zcomm didn't see it after this action (it was telling me I had 0 blogs, which is very good). However upon importation of a board, I got the same error as usual.

So, back to the phpmyadmin thingy. Shall I delete (instead of empty) all the _blog_ entries in that structure list ? Is that what you were suggesting ?
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Charles Hill on January 02, 2009, 09:16:47 AM
Quote from: Xepernas on January 02, 2009, 08:49:26 AM
Quote from: Charles Hill on January 01, 2009, 11:28:44 PM@Xepernas... Try dropping all of the zcomm related tables in your db and then run install_db_edits.php from your forum's main folder.
Ok, here's the freaky stuff I did (yes, this looks like brain surgery, to us proud noubs).

Went to some phpmyadmin console. Found a "structure" list with several database's_name_smf_blog_stuff including a _smf_blog_blogs that I emptied. It was indeed containing the 'ghost blog remnants', and the reinstalled zcomm didn't see it after this action (it was telling me I had 0 blogs, which is very good). However upon importation of a board, I got the same error as usual.

So, back to the phpmyadmin thingy. Shall I delete (instead of empty) all the _blog_ entries in that structure list ? Is that what you were suggesting ?
Dropping a table means you remove the table from your database.  This is different from just emptying it.  The install_db_edits.php is not capable of checking your current zCommunity related database tables for accuracy... yet.  I will be making additional functions for checking your current tables against what the sources files think the tables should look like (structurally) so that you won't have to do any of this manually.  But for now, you'll have to drop all those tables and just run the install_db_edits.php manually.

Quote from: QueenTiye on January 02, 2009, 12:52:37 AM
Hi Charles:

I like and don't like Blog Community (and am too little of a techy to install zCommunity).  However, the biggest problem I'm having now is that I can't register at your site to ask questions and get support.  I've registered as QueenTiye and as QT_Too (or something like that) but I never receive the activation email, so I never can log in.  And - I've got a bunch of questions and suggestions... so... help?

QT
I just activated QueenTiye for you :)
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Xepernas on January 02, 2009, 10:02:11 AM
Excellent. I deleted all the entries with "_blog_" in the name, assuming they would be the zcomm-related ones. And then I installed zcomm (which runs install_db_edits anyway). Now, when I try to import a board, I get a much more awesome error :

An Error Has Occurred!
Session verification failed. Please try logging out and back in again, and then try again.


I did, of course, but I keep getting this. Looks like it does the importation despite of it (although it doesn't remove the board from the forum, like blogcommunity used to - maybe this is precisely the step where it fails to recognize my admin account). Any idea on how to correct it ?
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Charles Hill on January 02, 2009, 12:48:20 PM
It's not supposed to remove the board from the forum.  Just in case something went wrong, I don't want you to lose anything.  As for the session verification thing... I'll check that out when I get back home in a couple hours.
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: LaughOften on January 02, 2009, 02:59:08 PM
Hi Charles,

I have 1.1.7
Blog Community 2.0.2
SimplePortal 2.1.1

I have problems with my SP not showing bottom and right blocks on portal page and also showing SP blocks on all of the members Blogs. This happens even if I have SP disabled. I have asked SP for help and they are saying that There seems to be something overriding SPortal templates. Possibly the Blog Community mod.

So I am trying to uninstall the Blog Community and I get these errors:

./Sources/ManagePermissions.php Test failed
./Sources/Subs.php Test failed
./Themes/default/index.template.php Test failed

What I am trying to do is see if this is indeed causing the problems with the portal. If so would adding the zCommunity possibly work with SP better??

I need to keep the blogs for the members so I will do whatever you think is best to get them all to play nice together lol!!

I also am using the following mods:

Mod Name Version 
1. Remove SMF Logo 1.2
2. Hide Info Center From Guests 1.0
3. SMF Trader System 1.2
4. SMF 1.0.14 / 1.1.6 Update 1.0 
5. SMF 1.0.15 / 1.1.7 Update 1.0 
6. SMF Classifieds 1.2.12 
7. Advanced Login Form 1.0 
8. Custom Copyright 1.1 
9. Bakers Dozen Pages 1.01
10. Look But No Read 1.2 
11. Contact Page 1.1 
12. Custom Profile Field Mod 3.19 
13. Are You Human? Anti-Bot Registration Check 1.3 
14. SMF Classifieds 1.2.15 
15. SMFShop 3.0 
16. Blog Community (for 1.1.x) 2.0.2 
17. Manage Members Membergroups 1.0.0 
18. Add PM Info To Header (v1.1) 1.0
19. SMF Staff Page 1.6
20. SimplePortal 2.1.1


Thanks so much in advance!!
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Smoky "Rider" Blue on January 02, 2009, 03:10:06 PM
Quote
So I am trying to uninstall the Blog Community and I get these errors:

./Sources/ManagePermissions.php Test failed
./Sources/Subs.php Test failed
./Themes/default/index.template.php Test failed

you must go in manually and remove the code from those files.

if you have a custom theme as well, then you need to remove the code from that too..  ;)
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: LaughOften on January 02, 2009, 03:19:37 PM
Thanks!! So do I do the uninstall first or change the codes first?? Sorry still trying to wrap myself around how all this works lol!!  :) :)

Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Charles Hill on January 02, 2009, 03:22:10 PM
@LaughOften.... I'd do the manual uninstall of those few files it is failing on, set those altered files aside on your computer, then perform the uninstall via the package manager, and then upload those few files you manually altered to your server where they need to be.
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: LaughOften on January 02, 2009, 03:32:41 PM
Thanks I will give it a try. :)
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: LaughOften on January 02, 2009, 07:53:15 PM
All went well with Blog Community uninstall Thanks!!

Of course that did not fix the problems with SimplePortal !!

So I decided to install zCommunity. It went without a hitch. I managed to get my member blogs back. How Cool!!!!. I only have one little problem which I notice is an IE7 problem. Works fine in Firefox.

I am in my blog/ Blog Control Panel and all of the tabs that say Blog Settings, Themes, Categories, Permissions, etc. are over laying on the board below. So like now I am in Blog settings and I can't read what the first thing is because the tabs are over it, But in firefox it looks great and it says  Visible    Hidden

Any ideas how to fix this?

Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Charles Hill on January 02, 2009, 08:11:44 PM
IE7 really?  I don't get that...... Hrmmmmmm... What's your operating system?
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: LaughOften on January 02, 2009, 08:27:04 PM
Vista

Here is a screen shot

Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: LaughOften on January 02, 2009, 09:35:39 PM
Quote from: Xepernas on January 02, 2009, 10:02:11 AM
Excellent. I deleted all the entries with "_blog_" in the name, assuming they would be the zcomm-related ones. And then I installed zcomm (which runs install_db_edits anyway). Now, when I try to import a board, I get a much more awesome error :

An Error Has Occurred!
Session verification failed. Please try logging out and back in again, and then try again.


I did, of course, but I keep getting this. Looks like it does the importation despite of it (although it doesn't remove the board from the forum, like blogcommunity used to - maybe this is precisely the step where it fails to recognize my admin account). Any idea on how to correct it ?

I am also getting this same thing. It does import the blogs but each time you get the error

How can we remove the blogs from the boards. I don't want the blogs on the forum and in blogs too lol!!
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Charles Hill on January 02, 2009, 11:57:43 PM
Quote from: LaughOften on January 02, 2009, 09:35:39 PM
How can we remove the blogs from the boards. I don't want the blogs on the forum and in blogs too lol!!
Just delete them like you would other boards.
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: haxial on January 03, 2009, 07:38:42 AM
hello,

just install zcommunity, all went ok.. then i try to post.. i get this error:

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 ')
LIMIT 1' at line 4
File: /XXXX/XXXX/public_html/forum/zCommunity/Sources/Subs-Articles.php
Line: 405

this happen when I try to put some words in TAG area.. If I leave it blank, no error pop up..
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Charles Hill on January 03, 2009, 02:50:52 PM
Quote from: haxial on January 03, 2009, 07:38:42 AM
hello,

just install zcommunity, all went ok.. then i try to post.. i get this error:

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 ')
LIMIT 1' at line 4
File: /XXXX/XXXX/public_html/forum/zCommunity/Sources/Subs-Articles.php
Line: 405

this happen when I try to put some words in TAG area.. If I leave it blank, no error pop up..

Ok I have a fix for you...

In zCommunity/Sources/Subs-Articles.php...

Find two instances of the following:
$conditions = '(tag = \''. $new_tag .'\')';

Replace both instances with the following:
$conditions[] = '(tag = \''. $new_tag .'\')';


Still working on the odd Session verification failed error.
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: auracounts on January 03, 2009, 03:58:22 PM
Mine says the package part 1 is corrupt. :/  Anyone else having this problem?

Could it be because I also have Tinyportal installed?
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Charles Hill on January 03, 2009, 04:17:26 PM
You aren't supposed to install part 1 via the package manager..... You are supposed to upload the folder within it to your forum's directory.
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: auracounts on January 03, 2009, 04:23:53 PM
Oh geez, that's what I get for not reading.  Thanks, I feel sufficiently humbled. ;)

User error.
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: haxial on January 04, 2009, 09:00:50 AM
Quote from: Charles Hill on January 03, 2009, 02:50:52 PM
Quote from: haxial on January 03, 2009, 07:38:42 AM
hello,

just install zcommunity, all went ok.. then i try to post.. i get this error:

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 ')
LIMIT 1' at line 4
File: /XXXX/XXXX/public_html/forum/zCommunity/Sources/Subs-Articles.php
Line: 405

this happen when I try to put some words in TAG area.. If I leave it blank, no error pop up..

Ok I have a fix for you...

In zCommunity/Sources/Subs-Articles.php...

Find two instances of the following:
$conditions = '(tag = \''. $new_tag .'\')';

Replace both instances with the following:
$conditions[] = '(tag = \''. $new_tag .'\')';


Still working on the odd Session verification failed error.

thanks.. working fine now..

can you tell me how to use lightbox?
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Charles Hill on January 04, 2009, 12:47:08 PM
Explanation can be found here:
http://www.huddletogether.com/projects/lightbox2/
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: haxial on January 04, 2009, 07:58:05 PM
thanks, but can it be activate using bbcode?
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Charles Hill on January 04, 2009, 08:46:25 PM
Not at the moment... unless you have the lightbox integration mod installed on your forum.
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: haxial on January 04, 2009, 09:53:06 PM
so blog users cannot use lightbox using bbcode?
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Charles Hill on January 04, 2009, 10:02:10 PM
Not by default.  I put it in there for the preview images of the themes.  It wouldn't be terribly difficult to add an attribute to the img bbc tag to make it use lightbox if you want it to.
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: haxial on January 04, 2009, 11:54:15 PM
it would be great if you can guide me on how to make the changes to make lightbox works..thanks
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Charles Hill on January 05, 2009, 12:33:59 AM
I'd have to figure it out first.  It'd involve regular expressions, which I am not very good with.  I am in the middle of figuring out how to make this whole thing work with SMF 1.1.x and SMF2+ simultaneously.
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: LaughOften on January 05, 2009, 01:10:08 AM
Quote from: LaughOften on January 02, 2009, 07:53:15 PM
All went well with Blog Community uninstall Thanks!!

Of course that did not fix the problems with SimplePortal !!

So I decided to install zCommunity. It went without a hitch. I managed to get my member blogs back. How Cool!!!!. I only have one little problem which I notice is an IE7 problem. Works fine in Firefox.

I am in my blog/ Blog Control Panel and all of the tabs that say Blog Settings, Themes, Categories, Permissions, etc. are over laying on the board below. So like now I am in Blog settings and I can't read what the first thing is because the tabs are over it, But in firefox it looks great and it says  Visible    Hidden

Any ideas how to fix this?

Any word on this?  I am using Vista and I attached a screenshot in a previous post.

Thanks. I love this!!
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Charles Hill on January 05, 2009, 02:04:30 AM
Sorry no fix for that yet.  I cannot replicate the problem, so that makes it particularly difficult to fix.  I'll just keep trying to clean up the template files.  Hopefully it'll go away on  its own :)
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Genç Kalem on January 05, 2009, 01:57:05 PM
It's so good.Thanks
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Afro on January 05, 2009, 02:48:18 PM
i uninstalled the previous blog community and i got some errors on the forum error log...

Guest    Today at 19:39:05
84.205.233.139      896d5385a6c1c62ca98fb935e16dacf8
http://afrowall.com/index.php?action=login2
8: Undefined index: b348
File: /home/afrowall/public_html/Themes/default/Login.template.php (main_below sub template - eval?)
Line: 656...

how do i fix this b4 installing the new one?
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Charles Hill on January 05, 2009, 02:57:48 PM
You'll hvae to remove $txt['b348'] from that file... it's on line 656.
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Afro on January 05, 2009, 03:37:47 PM
Quote from: Charles Hill on January 05, 2009, 02:57:48 PM
You'll hvae to remove $txt['b348'] from that file... it's on line 656.

strange : the file login.template.php has only 290 lines..
The error is also showing up with different files..check this..

Today at 20:37:49
62.194.37.107      32596727d75ea57fe7ecba04cb3057e0
http://afrowall.com/index.php?action=admin
8: Undefined index: b348
File: /home/afrowall/public_html/Themes/default/Admin.template.php (main_below sub template - eval?)
Line: 633
   
Immaculate    Today at 20:37:33
41.215.160.135      8cf5e07567a3fe0d4311891344a2bd0f
http://afrowall.com/index.php?topic=3448.msg49813;topicseen
8: Undefined index: b348
File: /home/afrowall/public_html/Themes/default/Display.template.php (main_below sub template - eval?)
Line: 633
   
Samson    Today at 20:36:29
62.194.37.107      32596727d75ea57fe7ecba04cb3057e0
http://afrowall.com/index.php
8: Undefined index: b348
File: /home/afrowall/public_html/Themes/default/BoardIndex.template.php (main_below sub template - eval?)
Line: 633
   
Samson    Today at 20:36:26
62.194.37.107      32596727d75ea57fe7ecba04cb3057e0
http://afrowall.com/index.php?action=viewErrorLog;desc


I GUESS THE  $txt['b348'] STRING IS ON ONE FILE..


WHICH FILE NORMALLY CONTAINS $txt['blabla']
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Charles Hill on January 05, 2009, 04:15:23 PM
Blog.english.php had the BC txt strings, but that doesn't matter...

Here's where $txt['b348'] is actually used in your template files...

This is in your Themes/default/index.template.php:
', empty($context['bcr']) ? '<div style="bottom:4px;text-align:center;position:'. ($context['browser']['is_ie'] && !$context['browser']['is_ie7'] ? 'absolute' : '') .';z-index:500;">'. $txt['b348'] .'</div>' : '', '

You can just remove all that code.
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Afro on January 05, 2009, 04:24:33 PM
ya, thanks, lol...i just found it after like an hour..and your reply coming at the same time..thanks anyway..
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Kindred on January 05, 2009, 05:15:12 PM
any time that you see "eval?" it means that the error occurred in the build of the page, not in the code...    so it is likely that the error as reported is not in the file or line number that you see in the list, but is in something that either is called by or calls for the file.

(you will see this quite often with load.php and subs.php)
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: LaughOften on January 05, 2009, 11:21:18 PM
Hi sorry to bother you again lol!!

I just tried to post an article in my blog and went I got this error:

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 ')
LIMIT 5' at line 4
File: /home/content/s/e/l/sellersarena/html/zCommunity/Sources/Subs-Articles.php
Line: 405 

Any help would be appreciated. lol!!
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Charles Hill on January 06, 2009, 12:34:46 AM
Quote from: LaughOften on January 05, 2009, 11:21:18 PM
Hi sorry to bother you again lol!!

I just tried to post an article in my blog and went I got this error:

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 ')
LIMIT 5' at line 4
File: /home/content/s/e/l/sellersarena/html/zCommunity/Sources/Subs-Articles.php
Line: 405 

Any help would be appreciated. lol!!
http://www.simplemachines.org/community/index.php?topic=244848.msg1863921#msg1863921
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: haxial on January 06, 2009, 09:07:08 PM
this is GREAT!!! hope to see more features and bug fix soon.. thanks
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: TheDisturbedOne on January 07, 2009, 09:17:58 PM
Charles, Do you happen to have the latest version of Blog Community that I can use?  I like zCommunity, but it seems to powerful for me, and I don't know what happened to my BC.
Thanks.
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Charles Hill on January 07, 2009, 10:13:22 PM
Quote from: TheDisturbedOne on January 07, 2009, 09:17:58 PM
Charles, Do you happen to have the latest version of Blog Community that I can use?  I like zCommunity, but it seems to powerful for me, and I don't know what happened to my BC.
Thanks.

There ya go... Keep in mind that I will not be providing support for BC once zComm gets to beta (soon).
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: QueenTiye on January 08, 2009, 12:40:35 PM
Quote from: Charles Hill on September 15, 2008, 04:57:21 PM
The sideWindows error...... That is actually a mistake I made with the default blog template.... I forgot to change something in the template_sideWindow($array) function....

I make changes on my template files and then I make the changes to the default template version.... Anyways.. find the following in Blog.template.php:
global $context;
// it's done this way for ordering purposes...
for ($i = 1; $i <= count($context['blog']['sideWindows']); $i++)
{


replace with:
global $context, $settings, $scripturl, $txt;

if (empty($context['viewing_blog_index']))
$sideWindows = $context['blog']['sideWindows'];
else
$sideWindows = $context['blog']['blogIndexSideWindows'];

// it's done this way for ordering purposes...
for ($i = 1; $i <= count($sideWindows); $i++)
{


This is probably why your side windows weren't working right.  Also... the rss_feed is a txt variable which *should* be in your Blog language file.



edit---
About that mysql error at line 724... did you do the fixes that I suggested?  It has to do with $context['visible_blogs'] being empty....

I too am getting the side windows error:

Quote
Apply Filter: Only show the errors with the same message
8: Undefined index: sideWindows
File: /home/admintiy/public_html/Themes/default/Blog.template.php (main sub template - eval?)
Line: 614

But the text I'm supposed to find is no where in the blog.template.php file.  Other suggestions?

QT
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Charles Hill on January 08, 2009, 02:51:23 PM
That was a bug with Blog Community not zCommunity.
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: QueenTiye on January 08, 2009, 03:56:55 PM
Oh!  Is there a fix for blog community?  Where would I look?

QT
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Charles Hill on January 08, 2009, 04:01:29 PM
What version are you using?
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: TheDisturbedOne on January 08, 2009, 04:28:42 PM
Quote from: Charles Hill on January 07, 2009, 10:13:22 PM
Quote from: TheDisturbedOne on January 07, 2009, 09:17:58 PM
Charles, Do you happen to have the latest version of Blog Community that I can use?  I like zCommunity, but it seems to powerful for me, and I don't know what happened to my BC.
Thanks.
There ya go... Keep in mind that I will not be providing support for BC once zComm gets to beta (soon).
Thanks.  That's fine, as it seemed quite simple.  I wish you luck with zC!
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: QueenTiye on January 08, 2009, 04:54:11 PM
Quote from: Charles Hill on January 08, 2009, 04:01:29 PM
What version are you using?

2.02 Beta

QT
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Nibogo on January 10, 2009, 10:33:40 PM
I have a little trouble

I fix some bugs in my site updating to zCommunity

but I have this error:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg214.imageshack.us%2Fimg214%2F690%2F6c65cc55203e300afca1caaly7.th.png&hash=69ea26405840631198ba009aa76605fe3d769967) (http://img214.imageshack.us/img214/690/6c65cc55203e300afca1caaly7.png)

My template was totally changed I dont know what I can do
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Charles Hill on January 10, 2009, 10:39:32 PM
Where's the error?
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Nibogo on January 10, 2009, 10:42:48 PM
Quote from: Charles Hill on January 10, 2009, 10:39:32 PM
Where's the error?

My template have to be like this screenshot:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg60.imageshack.us%2Fimg60%2F1821%2Fe5086ea7a745634cf368b50tt0.th.png&hash=f32abd6f6aecebc884836548455dae985f60a1b5) (http://img60.imageshack.us/img60/1821/e5086ea7a745634cf368b50tt0.png)
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Charles Hill on January 10, 2009, 11:05:29 PM
I think what is happening is that the default theme style.css is being loaded from zcomm's default smf theme folder after your site's actual main css file... so the css classes of your site are being overwritten with zcomm's default smf theme's css.  I'll make the necessary corrections.
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: QueenTiye on January 11, 2009, 02:06:06 AM
Quote from: QueenTiye on January 08, 2009, 12:40:35 PM
I too am getting the side windows error:

But the text I'm supposed to find is no where in the blog.template.php file.  Other suggestions?

QT

Quote from: Charles Hill on January 08, 2009, 02:51:23 PM
That was a bug with Blog Community not zCommunity.

Quote from: QueenTiye on January 08, 2009, 03:56:55 PM
Oh!  Is there a fix for blog community?  Where would I look?

QT

Quote from: QueenTiye on January 08, 2009, 04:54:11 PM
Quote from: Charles Hill on January 08, 2009, 04:01:29 PM
What version are you using?

2.02 Beta

QT

Anything yet?

QT
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: cfehlinger on January 11, 2009, 03:31:57 AM
Hi. I've been searching for a fix for this...

SMF 1.1.7, moved from copied from old host to new with db so i could...uh..play with become proficient with mods. :) Everything was up and running so I installed zCommunity - despite the large warning error. This was the test site after all. Worked fine. So in the spirit of testing (i.e. bored, snow).

This time I kept getting package manager errors, so I tried the temp folder trick I've seen online and it worked. I think. The problem is that the link to "Control Panel" on the left under the zCommunity headers just takes me back to the index page of my forum.

A rundown -

-downloaded part 1 and 2 today
-uploaded folder from inside part 1 to main directory
-chmod to 777
-uploaded the.zip file of part 2 to packages, installed through the SMF admin (using the temp folder trick) after chmod packages to 777

It's kinda weird that the first time I got the warning and the install went fine and this time i did not get the warning and it's just sort of in limbo. The only visible difference I caught was that there seemed to be fewer files to install the second time around. This is what is listed:

install_db_edits.php (2698 bytes)
license.txt (4014 bytes)
other.xml (2719 bytes)
package-info.xml (974 bytes)
readme.txt (5693 bytes)
sources.xml (787 bytes)
themes.xml (5212 bytes)

Finally, if it means anything when I hover over the Control Panel link, I get "....../index.php?zc=bhp"

I also can't seem to make that link go away (tried changing Admin.template.php in default, and admin.php in sources)

Any suggestions are appreciated. Other than don't uninstall things that work. I learned that :(
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Malo76 on January 12, 2009, 07:56:21 AM
Hi to all!

Sorry for my english!
I have a great problem with installing zCommunity0.7.3. After installing zCommunity my site shows the follwoing Error

"Fatal error: Function name must be a string in /var/www/web41/html/forum/zCommunity/Sources/Load.php on line 435"

The Load.php shows the following on line 435
$zcFunc['log_error']('Failed to load zCommunity language file: ' . (string) $template_name);

Can someone help me?
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Charles Hill on January 12, 2009, 03:28:37 PM
Quote from: Malo76 on January 12, 2009, 07:56:21 AM
Hi to all!

Sorry for my english!
I have a great problem with installing zCommunity0.7.3. After installing zCommunity my site shows the follwoing Error

"Fatal error: Function name must be a string in /var/www/web41/html/forum/zCommunity/Sources/Load.php on line 435"

The Load.php shows the following on line 435
$zcFunc['log_error']('Failed to load zCommunity language file: ' . (string) $template_name);

Can someone help me?

In zCommunity/Sources/Load.php

Replace the following:
$zcFunc['log_error']('Failed to load zCommunity language file: ' . (string) $template_name);

With the following:

// make sure this function exists....
if (!function_exists($zcFunc['log_error']))
{
global $zc_sources_dir;
require_once($zc_sources_dir . '/Subs.php');
zcPrepareFuncNames();
}

if (function_exists($zcFunc['log_error']))
$zcFunc['log_error']('Failed to load zCommunity language file: ' . (string) $template_name);
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Mia897 on January 12, 2009, 04:35:28 PM
um i downloaded this on my 1.1.7 version. there were no issues with the upload but for some reason it didnt work. and now this comes up and my forum wont work:

Fatal error: require_once() [function.require]: Failed opening required '/home/webkinza/public_html/webkinzexclusive/zCommunity/Sources/QueryString.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/webkinza/public_html/webkinzexclusive/index.php on line 188


please instruct me on how to fix my forum.
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Charles Hill on January 12, 2009, 06:48:16 PM
Quote from: Mia897 on January 12, 2009, 04:35:28 PM
um i downloaded this on my 1.1.7 version. there were no issues with the upload but for some reason it didnt work. and now this comes up and my forum wont work:

Fatal error: require_once() [function.require]: Failed opening required '/home/webkinza/public_html/webkinzexclusive/zCommunity/Sources/QueryString.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/webkinza/public_html/webkinzexclusive/index.php on line 188


please instruct me on how to fix my forum.

You should have uploaded the zCommunity folder from part 1 to your forum's main directory before installing part 2 through the package manager.
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Malo76 on January 13, 2009, 06:35:01 AM
Quote from: Charles Hill on January 12, 2009, 03:28:37 PM
Quote from: Malo76 on January 12, 2009, 07:56:21 AM
Hi to all!

Sorry for my english!
I have a great problem with installing zCommunity0.7.3. After installing zCommunity my site shows the follwoing Error

"Fatal error: Function name must be a string in /var/www/web41/html/forum/zCommunity/Sources/Load.php on line 435"

The Load.php shows the following on line 435
$zcFunc['log_error']('Failed to load zCommunity language file: ' . (string) $template_name);

Can someone help me?

In zCommunity/Sources/Load.php

Replace the following:
$zcFunc['log_error']('Failed to load zCommunity language file: ' . (string) $template_name);

With the following:

// make sure this function exists....
if (!function_exists($zcFunc['log_error']))
{
global $zc_sources_dir;
require_once($zc_sources_dir . '/Subs.php');
zcPrepareFuncNames();
}

if (function_exists($zcFunc['log_error']))
$zcFunc['log_error']('Failed to load zCommunity language file: ' . (string) $template_name);


Thank you!
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Ncen on January 13, 2009, 03:37:08 PM
Hi, do you have an ETA for how long it will take until BETA? :) I'm considering to try this on my site, but I'm also wondering if i should maybe wait until BETA?

Edit: Okay, i couldn't wait. :P So i installed. ;)

1. Hm, i wonder about the copyright, could that be placed along with the other texts? Now it's kind of floating around in the middle of the page, looking really weird. o: I'm not asking to remove it, just to move it over to SMF and TinyPortal-copyright? :)

2. About permissions, could i somehow restrict some for all users? :(Maybe through Sources/Permissions.php?) O I don't want some of them available for me neither, so that would be great. :o Or remove? something like that?

3. On "Default Settings for New Blogs" i can't uncheck group 9, it has the ID 9, and it just doesn't go through, i uncheck it, and save and then it's back. :(

4. ...And can I completely remove social bookmarks? ... and tags?

By the way, i've tried to find this myself on the CP, but if i missed something, sorry about that..

Thanks!
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Mia897 on January 13, 2009, 06:36:24 PM
Quote from: Charles Hill on January 12, 2009, 06:48:16 PM
Quote from: Mia897 on January 12, 2009, 04:35:28 PM
um i downloaded this on my 1.1.7 version. there were no issues with the upload but for some reason it didnt work. and now this comes up and my forum wont work:

Fatal error: require_once() [function.require]: Failed opening required '/home/webkinza/public_html/webkinzexclusive/zCommunity/Sources/QueryString.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/webkinza/public_html/webkinzexclusive/index.php on line 188


please instruct me on how to fix my forum.

You should have uploaded the zCommunity folder from part 1 to your forum's main directory before installing part 2 through the package manager.

so what should i do?
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Charles Hill on January 13, 2009, 06:57:45 PM
Quote from: Mia897 on January 13, 2009, 06:36:24 PM
Quote from: Charles Hill on January 12, 2009, 06:48:16 PM
Quote from: Mia897 on January 12, 2009, 04:35:28 PM
um i downloaded this on my 1.1.7 version. there were no issues with the upload but for some reason it didnt work. and now this comes up and my forum wont work:

Fatal error: require_once() [function.require]: Failed opening required '/home/webkinza/public_html/webkinzexclusive/zCommunity/Sources/QueryString.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/webkinza/public_html/webkinzexclusive/index.php on line 188


please instruct me on how to fix my forum.

You should have uploaded the zCommunity folder from part 1 to your forum's main directory before installing part 2 through the package manager.

so what should i do?

Upload the zCommunity folder from part 1 to your forum's folder on your server.


Quote from: Innocenzia on January 13, 2009, 03:37:08 PM
Hi, do you have an ETA for how long it will take until BETA? :) I'm considering to try this on my site, but I'm also wondering if i should maybe wait until BETA?

Edit: Okay, i couldn't wait. :P So i installed. ;)

1. Hm, i wonder about the copyright, could that be placed along with the other texts? Now it's kind of floating around in the middle of the page, looking really weird. o: I'm not asking to remove it, just to move it over to SMF and TinyPortal-copyright? :)

2. About permissions, could i somehow restrict some for all users? :(Maybe through Sources/Permissions.php?) O I don't want some of them available for me neither, so that would be great. :o Or remove? something like that?

3. On "Default Settings for New Blogs" i can't uncheck group 9, it has the ID 9, and it just doesn't go through, i uncheck it, and save and then it's back. :(

4. ...And can I completely remove social bookmarks? ... and tags?

By the way, i've tried to find this myself on the CP, but if i missed something, sorry about that..

Thanks!

I do not have an ETA on a beta yet... I'm hoping the next alpha version will be stable enough that the next version I release will be beta.  Shouldn't be long... have had some set backs recently due to the weather in my area... and school started up again this week.

1.  Still working on stabilizing the templates/themes.  Can help out by reporting what the exact problems you are experiencing (and what browser/version you are viewing the page with).
2.  Not sure what you mean by restrict some for some for all users... Just don't give a permission to any membergroups if you don't want anyone to be able to do what that permission allows.
3.  I'll check that out.
4.  There aren't settings to do this... I guess it wouldn't be hard to add code to allow for this admin option, but not high on the priority list.
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Ncen on January 13, 2009, 07:18:13 PM
Thanks for the answer. :)

1. FF 2 and IE 6. It's after all the content, but not anywhere near the other copyright text, since thats in the footer, and i've TinyPortal stretching out the page, so while it seems like you copyright is floating around in the middle, i guess it's because the body-content ends there, perhaps you could make the Copyright go after Powered by SMF and that in the footer? :) Just a suggestion though. :)
2. Restrict for Administrator also, or delete the function. Like Start Poll. I don't want to see it either, since i don't plan to use it. :D And stuff like that. :) You know the membergroup (administrator) that has all permissions..  I'm in that group, and i would like to disallow some functions so i don't see it either. :D
3. Thanks. :) Happens in the reading restrict page for blogs too. :)
4. Okay. Hm, could i do i manually? Or would you recommend against it?

5. Could i somehow tell all blogs to use standardsettings and not allow the owner to change it? My users would be confused by Meta and Comments and Articles.

I'm kind of trying to remove as much options as possible. :) I love the possibilities with this Mod, but there are lots of features which are to advanced for my community.
I think it would be great to choose what you would like to use and not, and if you don't want to use it then it isn't visible in the settings page (except the one where you choose if you want to see it or not). ^^
Just my thoughts though, my members aren't used to lots and lots of options and configuration, so i have to make it as simple as possible. :D

Thanks once more. :)
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Kindred on January 13, 2009, 08:32:30 PM
why would anyone still be using IE6 or FF2?

nothing should ever be restricted to the admin.
Standard functionality would be to only allow a function to be turned off...  if Charles wants to do that.
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Ncen on January 13, 2009, 08:46:16 PM
Because that somebody is on a very old computer with XP servicepack 1, and by some reason you cannot download IE7 then (Microsoft really wants people to upgrade from SP1 i guess). :/ Gosh i hate this computer. ;) About FF2? Good question. :P I'm not entirely sure why i've not upgraded yey. My new computer with Vista and updated IE and FF is currently not working so that's why i have got this old comp out of the closet. ;)
I was so eager to get back online so when i couldn't upgrade IE6 i automatically assumed it was the same with FF i guess. xD Actually i think i'm on FF1.x-something.  >:( Guess i'll have to do something about that later. ;)

I kind of figured, because you can't turn it back on after disabling it i guess? I thought that maybe writing something in Permissions.php could have been easier than coding so the stuff could be turned off.  8) (I'm) Always trying to find the easiest solution (for myself and others). :P

Ps. I'm not entirely sure why i'm using so much smilies, if someones wondering . :P
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: TheDisturbedOne on January 14, 2009, 04:28:59 PM
Quote from: Kindred on January 13, 2009, 08:32:30 PM
why would anyone still be using IE6 or FF2?
Old computer like mine.  I run IE5 (mac) and FF2.  My computer is ancient (2001 I think) and only has 30 GB HD and 500mhz/128MB RAM.  Not to go offtopic...so carry on ;)
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Mia897 on January 14, 2009, 08:34:56 PM
Quote from: Charles Hill on January 13, 2009, 06:57:45 PM
Quote from: Mia897 on January 13, 2009, 06:36:24 PM
Quote from: Charles Hill on January 12, 2009, 06:48:16 PM
Quote from: Mia897 on January 12, 2009, 04:35:28 PM
um i downloaded this on my 1.1.7 version. there were no issues with the upload but for some reason it didnt work. and now this comes up and my forum wont work:

Fatal error: require_once() [function.require]: Failed opening required '/home/webkinza/public_html/webkinzexclusive/zCommunity/Sources/QueryString.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/webkinza/public_html/webkinzexclusive/index.php on line 188


please instruct me on how to fix my forum.

You should have uploaded the zCommunity folder from part 1 to your forum's main directory before installing part 2 through the package manager.

so what should i do?

Upload the zCommunity folder from part 1 to your forum's folder on your server.


Quote from: Innocenzia on January 13, 2009, 03:37:08 PM
Hi, do you have an ETA for how long it will take until BETA? :) I'm considering to try this on my site, but I'm also wondering if i should maybe wait until BETA?

Edit: Okay, i couldn't wait. :P So i installed. ;)

1. Hm, i wonder about the copyright, could that be placed along with the other texts? Now it's kind of floating around in the middle of the page, looking really weird. o: I'm not asking to remove it, just to move it over to SMF and TinyPortal-copyright? :)

2. About permissions, could i somehow restrict some for all users? :(Maybe through Sources/Permissions.php?) O I don't want some of them available for me neither, so that would be great. :o Or remove? something like that?

3. On "Default Settings for New Blogs" i can't uncheck group 9, it has the ID 9, and it just doesn't go through, i uncheck it, and save and then it's back. :(

4. ...And can I completely remove social bookmarks? ... and tags?

By the way, i've tried to find this myself on the CP, but if i missed something, sorry about that..

Thanks!

I do not have an ETA on a beta yet... I'm hoping the next alpha version will be stable enough that the next version I release will be beta.  Shouldn't be long... have had some set backs recently due to the weather in my area... and school started up again this week.

1.  Still working on stabilizing the templates/themes.  Can help out by reporting what the exact problems you are experiencing (and what browser/version you are viewing the page with).
2.  Not sure what you mean by restrict some for some for all users... Just don't give a permission to any membergroups if you don't want anyone to be able to do what that permission allows.
3.  I'll check that out.
4.  There aren't settings to do this... I guess it wouldn't be hard to add code to allow for this admin option, but not high on the priority list.

its still not working. do you think it will take time like a day or two, or does that mean that my forum is gone?
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Charles Hill on January 14, 2009, 10:30:55 PM
Did you backup your files before installing zCommunity?  If so just upload the backups and you'll be fine.  Wait til 0.7.4 Alpha... and please remember that when something says Alpha that means you should be extra careful when using it.  Make sure you really know what you're doing so that if something does go wrong you won't lose anything.
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Mia897 on January 15, 2009, 04:05:43 PM
Quote from: Charles Hill on January 14, 2009, 10:30:55 PM
Did you backup your files before installing zCommunity?  If so just upload the backups and you'll be fine.  Wait til 0.7.4 Alpha... and please remember that when something says Alpha that means you should be extra careful when using it.  Make sure you really know what you're doing so that if something does go wrong you won't lose anything.

how do i upload backups?
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Mia897 on January 15, 2009, 04:28:15 PM
Quote from: Mia897 on January 15, 2009, 04:05:43 PM
Quote from: Charles Hill on January 14, 2009, 10:30:55 PM
Did you backup your files before installing zCommunity?  If so just upload the backups and you'll be fine.  Wait til 0.7.4 Alpha... and please remember that when something says Alpha that means you should be extra careful when using it.  Make sure you really know what you're doing so that if something does go wrong you won't lose anything.

how do i upload backups?

and what backups do i upload?
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Charles Hill on January 15, 2009, 06:22:13 PM
FTP program like filezilla?  Do you not keep backups of the files on your server?
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Mia897 on January 15, 2009, 06:53:20 PM
Quote from: Charles Hill on January 15, 2009, 06:22:13 PM
FTP program like filezilla?  Do you not keep backups of the files on your server?

i do have the files of the packages that i have downloaded. and i have a ftp thing on my host.
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Kindred on January 15, 2009, 10:35:36 PM
before you install ANY mod, you should always take a backup of your files and database.
Title: facing problem!!!!
Post by: ahikmahin on January 16, 2009, 10:01:16 PM
Hallo all,,,,

i need a quick help about this ...

i installed this zcommunity and i am facing this -

" Fatal error: Function name must be a string in /home/****/public_html/****.com/forum/zCommunity/Sources/Load.php on line 435


in my load.php 435 line is -

<<<   $zcFunc['log_error']('Failed to load zCommunity language file: ' . (string) $template_name);    >>>


please i need quick help..cz... now i cant access my forum!!!

** i am not familiar with codes  ::)

thankx in advance
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: coldfusionpower on January 17, 2009, 07:04:32 AM
can this work on smf 2.0.4 ??
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: jkrlvgn on January 17, 2009, 07:12:09 AM
zC does not currently work with 2.0.4b.  I'm fairly sure that Charles is working to make it compatible, but it's not yet been released.
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: ahikmahin on January 17, 2009, 08:28:58 AM
hallo any help about my above issue??  ::)
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Mia897 on January 17, 2009, 09:23:15 AM
Quote from: Kindred on January 15, 2009, 10:35:36 PM
before you install ANY mod, you should always take a backup of your files and database.

well that information would of been helpful to me when i started using SMF.


but anyways, isnt there some way you can explain what to do?
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Kindred on January 17, 2009, 09:30:49 AM
(hint: Backups should considered a vital part of ANY computer task, including your home PC.)

if you don't have a backup, then my suggestion is to make a fresh start with a clean set of forum files.
(You won't lose any data, forum data like messages and members is stored in the database.)

Get the 1.1.7 installation package. Copy every file into your forum directories except for the install files and the Settings.php file.

You now have a fresh forum and can start applying mods the right way (taking backups before each mod and verifying the correct implementation of one mod before you apply the next one)
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Xepernas on January 17, 2009, 11:59:53 AM
Quote from: Charles Hill on January 03, 2009, 02:50:52 PMStill working on the odd Session verification failed error.
Any news on that ?

Haven't been foruming a lot these days, so maybe I missed something. But I don't find any other allusion to that, in these last pages...
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: LaughOften on January 17, 2009, 05:21:54 PM
Hi,

I just added a new theme Headline news and I want to change the blogs to match this but they won't change from the theme default core.

I have to options Clean one and SMF Default and neither one show as the theme I am using.

Any ideas how to get this working?

Thanks in advance!!
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Ncen on January 17, 2009, 05:55:39 PM
I think a theme that grabs most of the .css from the forum theme would be great. Since with a dark theme and white text on the rest of the layout, using either of the two themes looks weird. I would like it to grab .css from my theme first and then the rest (if needed) from the mods theme. :) That would make it simpler to change the css-later. Is this possible? ^^
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Charles Hill on January 17, 2009, 07:53:24 PM
Quote from: Xepernas on January 17, 2009, 11:59:53 AM
Quote from: Charles Hill on January 03, 2009, 02:50:52 PMStill working on the odd Session verification failed error.
Any news on that ?

Haven't been foruming a lot these days, so maybe I missed something. But I don't find any other allusion to that, in these last pages...

I am unable to replicate the problem you were having.  I'll try to replicate it again with a fresh install of 0.7.4 when i get it put together.  You were using Blog Community previously right?  Did you experience the problem on a forum that had BC installed before you installed zCommunity?


Quote from: LaughOften on January 17, 2009, 05:21:54 PM
Hi,

I just added a new theme Headline news and I want to change the blogs to match this but they won't change from the theme default core.

I have to options Clean one and SMF Default and neither one show as the theme I am using.

Any ideas how to get this working?

Thanks in advance!!

Do you have "Toggle all blog pages to display without forum layers" checked (in the Global Blog Settings page of your control panel).

Quote from: Innocenzia on January 17, 2009, 05:55:39 PM
I think a theme that grabs most of the .css from the forum theme would be great. Since with a dark theme and white text on the rest of the layout, using either of the two themes looks weird. I would like it to grab .css from my theme first and then the rest (if needed) from the mods theme. :) That would make it simpler to change the css-later. Is this possible? ^^

In 0.7.3 the css stylesheets for your forum's theme were loaded, but then stylesheets from the zCommunity themes folders were loaded, so if they used the same css classes your forum's css would get overwritten.  I switched this around for 0.7.4 so that the css from zCommunity's themes folders would get overwritten and not your forum's themes' css.
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Xepernas on January 17, 2009, 09:18:11 PM
Quote from: Charles Hill on January 17, 2009, 07:53:24 PM
Quote from: Xepernas on January 17, 2009, 11:59:53 AM
Quote from: Charles Hill on January 03, 2009, 02:50:52 PMStill working on the odd Session verification failed error.
Any news on that ?

Haven't been foruming a lot these days, so maybe I missed something. But I don't find any other allusion to that, in these last pages...

I am unable to replicate the problem you were having.  I'll try to replicate it again with a fresh install of 0.7.4 when i get it put together.  You were using Blog Community previously right?  Did you experience the problem on a forum that had BC installed before you installed zCommunity?
I did have Blog Community, but this error is a new thing. I think I had some issues with Blog Community (some comments would be hidden, and there would be no space between the name of the commentator and "on [date]", you'd look like "charles hillon 18.01.09" or something like that), but I never investigated these much, preferring to wait for the brand new mod instead (and actually adoring the new names built by the added "-on"). Maybe some settings would have solved those. I'll never know.

Anyway, right now I'm following the same strategy : Haven't been fighting or exploring that bug much, preferring to wait and see it it still occures after 0.7.3 de-installation and 0.7.4 installation. Will the update require to erase and re-upload the "part 1" folder too ?
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Ncen on January 17, 2009, 09:22:43 PM
QuoteIn 0.7.3 the css stylesheets for your forum's theme were loaded, but then stylesheets from the zCommunity themes folders were loaded, so if they used the same css classes your forum's css would get overwritten.  I switched this around for 0.7.4 so that the css from zCommunity's themes folders would get overwritten and not your forum's themes' css.

Sounds great, looking forward to that. :)
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: LaughOften on January 18, 2009, 01:26:33 AM
QuoteDo you have "Toggle all blog pages to display without forum layers" checked (in the Global Blog Settings page of your control panel).

I checked and it was not checked so I checked it then did a hard refresh and still the same, no change.
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Charles Hill on January 18, 2009, 02:05:31 AM
QuoteWill the update require to erase and re-upload the "part 1" folder too ?
You will have to delete the old zCommunity folder yes.  Good news though... The installation package will be all one part and all zcomm database tables will be checked and fixed if necessary.  The only problem I've encountered are permissions of the zcommunity folder after installing via the package manager.
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Mia897 on January 18, 2009, 06:24:04 PM
Quote from: Kindred on January 17, 2009, 09:30:49 AM
(hint: Backups should considered a vital part of ANY computer task, including your home PC.)

if you don't have a backup, then my suggestion is to make a fresh start with a clean set of forum files.
(You won't lose any data, forum data like messages and members is stored in the database.)

Get the 1.1.7 installation package. Copy every file into your forum directories except for the install files and the Settings.php file.

You now have a fresh forum and can start applying mods the right way (taking backups before each mod and verifying the correct implementation of one mod before you apply the next one)

i am very dumb with this. so can i haev isntructions on how to move the files to a new smf forum. please. im desperate.
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: LaughOften on January 18, 2009, 06:57:12 PM
Quote from: LaughOften on January 18, 2009, 01:26:33 AM
QuoteDo you have "Toggle all blog pages to display without forum layers" checked (in the Global Blog Settings page of your control panel).

I checked and it was not checked so I checked it then did a hard refresh and still the same, no change.

Well I saw where there was the forum layers to check in each blogs control panel so I unchecked those and unchecked the community page and now everything seems to be working fine!! LOL Thanks for the help!!
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Kindred on January 19, 2009, 08:19:14 AM
Mia,

I gave you instructions.   However, if you are having further problems then start a new thread in the 1.1 support area rather than continuing in this thread which is for support of the zCommunity mod
Quote from: Kindred on January 17, 2009, 09:30:49 AM
Get the 1.1.7 installation package. Copy every file into your forum directories except for the install files and the Settings.php file.
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: ke4obt on January 20, 2009, 07:22:51 AM
Hey Charles,
Any clue on when you'll have 074a package ready to rock.
can't wait. 
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Charles Hill on January 20, 2009, 12:55:24 PM
Still testing it with various things installed before installing zCommunity.  Also going to test it with smf 2.  Theoretically it should work......


Quote from: ahikmahin on January 16, 2009, 10:01:16 PM
Hallo all,,,,

i need a quick help about this ...

i installed this zcommunity and i am facing this -

" Fatal error: Function name must be a string in /home/****/public_html/****.com/forum/zCommunity/Sources/Load.php on line 435


in my load.php 435 line is -

<<<   $zcFunc['log_error']('Failed to load zCommunity language file: ' . (string) $template_name);    >>>


please i need quick help..cz... now i cant access my forum!!!

** i am not familiar with codes  ::)

thankx in advance
Quote from: ahikmahin on January 17, 2009, 08:28:58 AM
hallo any help about my above issue??  ::)
http://www.simplemachines.org/community/index.php?topic=244848.msg1875854#msg1875854
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Lamarck on January 21, 2009, 10:15:59 AM
Any chance of a SMF 2.0 version?? this mod is just what I'm looking for,but I'm using 2.0 beta 4.BTW,GREAT work.
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Charles Hill on January 21, 2009, 12:32:38 PM
Quote from: Lamarck on January 21, 2009, 10:15:59 AM
Any chance of a SMF 2.0 version?? this mod is just what I'm looking for,but I'm using 2.0 beta 4.BTW,GREAT work.
http://degreesofzero.com/dev/test/4/index.php?blog=5.0

Look at the smf link at the bottom ;)
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: coldfusionpower on January 21, 2009, 02:49:02 PM
aha . interesting ..cant wait for the 2.0.4 ! ....
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Charles Hill on January 21, 2009, 03:33:24 PM
What's really cool is that zCommunity (one package) will work with either SMF 1.1.x or SMF 2.0+
I have yet to look at the code of vBulletin, phpBB, and other forum software, but I do plan to make zCommunity for those as well.
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Kindred on January 21, 2009, 05:30:34 PM
2.0 woot woot...   gimme gimme gimme...

I'll test it on a RC1 dev release site with 32000 users too... :)
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: fmofmpls on January 21, 2009, 06:11:26 PM
I had a lot of failures in attempting to uninstall BC before installing ZC. Not sure where to go from here? I want to use ZC, but it looks as if there's too many hurdles to jump over before being able to do so? I'm using the SMF multi-color default themes with a bunch of mods.  :(
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: QueenTiye on January 21, 2009, 09:15:00 PM
I attempted to uninstall BC as well.  Here are the errors I received:

Type     Action     Description
1.    Execute Modification    ./index.php    Test successful
2.    Execute Modification    ./Sources/BoardIndex.php    Test successful
3.    Execute Modification    ./Sources/Display.php    Test successful
4.    Execute Modification    ./Sources/Load.php    Test successful
5.    Execute Modification    ./Sources/ManageBoards.php    Test successful
6.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
7.    Execute Modification    ./Sources/MessageIndex.php    Test successful
8.    Execute Modification    ./Sources/Post.php    Test successful
9.    Execute Modification    ./Sources/Profile.php    Test failed
10.    Execute Modification    ./Sources/QueryString.php    Test successful
11.    Execute Modification    ./Sources/Recent.php    Test successful
12.    Execute Modification    ./Sources/RemoveTopic.php    Test successful
13.    Execute Modification    ./Sources/SplitTopics.php    Test successful
14.    Execute Modification    ./Sources/Subs-Boards.php    Test successful
15.    Execute Modification    ./Sources/Subs-Post.php    Test successful
16.    Execute Modification    ./Sources/Subs.php    Test successful
17.    Execute Modification    ./Sources/Who.php    Test successful
18.    Execute Modification    ./Themes/default/languages/index.english-utf8.php    Skipping file
19.    Execute Modification    ./Themes/default/languages/index.english.php    Test successful
20.    Execute Modification    ./Themes/default/languages/index.english_british-utf8.php    Skipping file
21.    Execute Modification    ./Themes/default/languages/index.english_british.php    Skipping file
22.    Execute Modification    ./Themes/default/index.template.php    Test failed
23.    Execute Modification    ./Themes/default/ManageBoards.template.php    Test successful
24.    Execute Modification    ./Themes/default/Post.template.php    Test successful
25.    Execute Modification    ./Themes/default/Profile.template.php    Test successful
26.    Execute Modification    ./Themes/default/SendTopic.template.php    Test successful
27.    Execute Modification    ./Themes/default/SplitTopics.template.php    Test successful
28.    Execute Modification    ./Themes/default/style.css    Test successful
29.    Execute Modification    ./Themes/default/TPBlockLayout.template.php    Skipping file

QT
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: MummiesOnline on January 21, 2009, 09:16:45 PM
Hi
I have installed this mod today and I must say "FABULOUS"!!!!

I would like to add a tab though to my "OutlineOmega_115" theme though.

I have tried doing it but can't figure it out.

Any help is greatly appreciated.

TIA
Kirsty
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Charles Hill on January 21, 2009, 09:54:23 PM
Hold for 0.7.4... I'll be releasing it this evening.  I have not tested zCommunity on SMF 2.0 Beta nearly as much as SMF 1.1.x, so there might be some issues I haven't found yet.

For uninstalling Blog Community:

Just like with any other modification for SMF... you'll need to look at the installation package for the mod and do the opposite of what the installation instructions say for the files that the package manager fails on.  First download those files off your server to your computer, then make the necessary uninstall edits, then run the uninstall from your forum's package manager for that mod, then upload the edited files.
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: fmofmpls on January 21, 2009, 10:17:54 PM
Quote from: Charles Hill on January 21, 2009, 09:54:23 PM
Just like with any other modification for SMF... you'll need to look at the installation package for the mod and do the opposite of what the installation instructions say for the files that the package manager fails on. 

Okay, I can do that, but where is the mod page at for BC? I need to get the instructions for a manual install/uninstall.
Title: Re: zCommunity 0.7.3 Alpha Now available!
Post by: Charles Hill on January 21, 2009, 10:26:23 PM
Quote from: fmofmpls on January 21, 2009, 10:17:54 PM
Quote from: Charles Hill on January 21, 2009, 09:54:23 PM
Just like with any other modification for SMF... you'll need to look at the installation package for the mod and do the opposite of what the installation instructions say for the files that the package manager fails on. 

Okay, I can do that, but where is the mod page at for BC? I need to get the instructions for a manual install/uninstall.

I've attached the install package for Blog Community 2.0.2 Beta
Title: Re: zCommunity 0.7.4 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: fmofmpls on January 21, 2009, 10:47:38 PM
Quote from: Charles Hill on January 21, 2009, 10:26:23 PM
I've attached the install package for Blog Community 2.0.2 Beta

Thank you! Now where can I find the manual edit instructions at? Is there a parser somewhere that actually works? The one I used to use has seemed to stop working?
Title: Re: zCommunity 0.7.4 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on January 21, 2009, 10:49:42 PM
Quote from: fmofmpls on January 21, 2009, 10:47:38 PM
Quote from: Charles Hill on January 21, 2009, 10:26:23 PM
I've attached the install package for Blog Community 2.0.2 Beta

Thank you! Now where can I find the manual edit instructions at? Is there a parser somewhere that actually works? The one I used to use has seemed to stop working?

Sorry I don't know of any :(  You could try searching simple machines' forum though... might get lucky and find one.
Title: Re: zCommunity 0.7.4 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Kindred on January 22, 2009, 01:03:29 AM
First run QA of zCommunity 0.7.4 alpha

Ok.

Installled cleanly into SMF 2.0 RC1
(yes, I had to run the install_db_edits manually by direct access.)

It slides nicely into the current theme.

Immediate notes:  in the blog control panel sub menu, when you are IN a category, the bordering | | marks between the menu items for the category you are in are missing (i.e. active category has no borders)

Attempting to post a comment on a blog entry, I get:
Parse error: syntax error, unexpected T_ARRAY in /site.../zCommunity/Sources/Subs-Comments.php on line 150

clicking RSS feed or RSS Articles feed takes me to:
http://site.com/index.php?zc=.xml;type=rss;get=articles
and geenrate the following error:
Fatal error: Function name must be a string in /site.../zCommunity/Sources/XML.php on line 283
Clicking RSS Comments feed generates a successful XML, which is empty, since I have not been able to submit a comment.


Question: How do I edit a blog entry once it is made (i.e. I made a typo...)
I am an admin, plus I checked the permissions to make sure that the other group I am in has access to all of the edit capabilities.

I chose "add a poll", and entered a poll with options. I click post... but can not find the poll anywhere.
(once I chose"Show polls in sidebar" they appeared. Perhaps this should be noted somewhere? However, I still can not seem to GET to the poll in order to vote in it.)

Users allowed to post articles list (Question: shouldn't the user who started the blog be included on this list by default?)

Permissions screen:
Can view any blog_a  (Question: is this the correct text?)


I'm running EZportal...   I forget... do you have block code available for that or an add-on mod to link someone's profile to their blog and/or blog posts (tied in with smf contributions (i.e. forum posts)?)

Another note about EZPortal, I have a left column set to appear on "All Actions and Boards", but the zCommunity pages do not respect this. (I assume because of the separate templates?)

Suggestion:   IN smf2.0 at least, add a link in the forum admin > modifications section that links to the blog control panel.

Suggestion: in the blog specific internal navigation list, separate the interna nav like the SMF breadcrumbs (i.e. using >> between items like Main>> Kindred's blog)

Suggestion: Use the term "Blog Entry", "Blog Post" or "Post" instead of "article" since article tends to mean something more along the lines of news rather than blog.

note: Having the blog breadcrumbs in a menubar under the main forum breadcrumbs is odd...   either combine the blgo breadcrumbs into the forum breadcrumb trail or hide the forum list/trail and use only the zCommunity trail.

Question: How does one post Community News articles rather than blog specific articles?

Title: Re: zCommunity 0.7.4 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on January 22, 2009, 01:45:12 AM
QuoteImmediate notes:  in the blog control panel sub menu, when you are IN a category, the bordering | | marks between the menu items for the category you are in are missing (i.e. active category has no borders)
edit-- Figured out the problem here and I have corrected it.

Quote
Attempting to post a comment on a blog entry, I get:
Parse error: syntax error, unexpected T_ARRAY in /site.../zCommunity/Sources/Subs-Comments.php on line 150
Minor syntax error goof.  Forgot a comma.

Quoteclicking RSS feed or RSS Articles feed takes me to:
http://site.com/index.php?zc=.xml;type=rss;get=articles
and geenrate the following error:
Fatal error: Function name must be a string in /site.../zCommunity/Sources/XML.php on line 283
Was using $func for a few minor functions like strpos and substr... Changed it to use the natural php versions.

QuoteQuestion: How do I edit a blog entry once it is made (i.e. I made a typo...)
I am an admin, plus I checked the permissions to make sure that the other group I am in has access to all of the edit capabilities.
When viewing an article you should see a "gear icon" which, when you hover over it, disappears and shows you various options you have (edit, delete, lock, etc).

QuoteI chose "add a poll", and entered a poll with options. I click post... but can not find the poll anywhere.
(once I chose"Show polls in sidebar" they appeared. Perhaps this should be noted somewhere? However, I still can not seem to GET to the poll in order to vote in it.)
The creator of a poll is not allowed to vote in it.  Where would be a good place to put a note about having to turn the Polls window on?  Maybe put an italics notice at the bottom of the post form for the poll if the Polls window is disabled for that blog?

QuoteUsers allowed to post articles list (Question: shouldn't the user who started the blog be included on this list by default?)
The owner of a blog is always allowed to post.  Having them on the users allowed to post articles list would be rather redundant I think.

Quote
Permissions screen:
Can view any blog_a  (Question: is this the correct text?)
Yes I had recently redone quite a few txt strings to avoid using any smf txt strings and to maintain uniformity with txt variables names within zCommunity.  I guess I missed one :(

QuoteI'm running EZportal...   I forget... do you have block code available for that or an add-on mod to link someone's profile to their blog and/or blog posts (tied in with smf contributions (i.e. forum posts)?)
I do not have block code available for any of the portal systems for SMF... yet.  What I think I'll do is have the code available at Degrees of Zero in the documentation section once the code is available.

QuoteAnother note about EZPortal, I have a left column set to appear on "All Actions and Boards", but the zCommunity pages do not respect this. (I assume because of the separate templates?)
zCommunity does interesting stuff with the templates, and I haven't tested it completely with the various portal systems that are available for SMF.  The differences between SMF 1.1.x and SMF 2 make this especially difficult.

Quote
Suggestion:   IN smf2.0 at least, add a link in the forum admin > modifications section that links to the blog control panel.
I thought I figured that out, but I guess I didn't.  I'll have to keep messing with SMF 2.

QuoteSuggestion: in the blog specific internal navigation list, separate the interna nav like the SMF breadcrumbs (i.e. using >> between items like Main>> Kindred's blog)
Not sure what you mean.

QuoteSuggestion: Use the term "Blog Entry", "Blog Post" or "Post" instead of "article" since article tends to mean something more along the lines of news rather than blog.
Dunno about that one....

Quotenote: Having the blog breadcrumbs in a menubar under the main forum breadcrumbs is odd...   either combine the blgo breadcrumbs into the forum breadcrumb trail or hide the forum list/trail and use only the zCommunity trail.
Good idea.

QuoteQuestion: How does one post Community News articles rather than blog specific articles?
Enable the News block on the community page (go to the Community Page tab of your control panel) and then go to the actual Community Page and you'll see a link to Post News.
Title: Re: zCommunity 0.7.4 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Kindred on January 22, 2009, 02:32:51 AM
Quote from: Charles Hill on January 22, 2009, 01:45:12 AM
QuoteImmediate notes:  in the blog control panel sub menu, when you are IN a category, the bordering | | marks between the menu items for the category you are in are missing (i.e. active category has no borders)
You mean there are gaps between each sub menu item?  That means that some necessary class(es) are missing from the css stylesheet(s).  What theme were you using?
'DOH!   yup...   it was a theme thing.  I am using a new test theme. It displays correctly when the smf theme is set to default and the zCommunity is set to default.

Quote
Quote
Attempting to post a comment on a blog entry, I get:
Parse error: syntax error, unexpected T_ARRAY in /site.../zCommunity/Sources/Subs-Comments.php on line 150
Minor syntax error goof.  Forgot a comma.
ok...   where should I put it? :)  or do you have an updated file...

Quote
Quoteclicking RSS feed or RSS Articles feed takes me to:
http://site.com/index.php?zc=.xml;type=rss;get=articles
and geenrate the following error:
Fatal error: Function name must be a string in /site.../zCommunity/Sources/XML.php on line 283
Was using $func for a few minor functions like strpos and substr... Changed it to use the natural php versions.
Ok.. updated file?

Quote
QuoteQuestion: How do I edit a blog entry once it is made (i.e. I made a typo...)
I am an admin, plus I checked the permissions to make sure that the other group I am in has access to all of the edit capabilities.
When viewing an article you should see a "gear icon" which, when you hover over it, disappears and shows you various options you have (edit, delete, lock, etc).
another theme issue....   when I switched SMF back to the default SMF theme, this appeared.

Quote
QuoteI chose "add a poll", and entered a poll with options. I click post... but can not find the poll anywhere.
(once I chose"Show polls in sidebar" they appeared. Perhaps this should be noted somewhere? However, I still can not seem to GET to the poll in order to vote in it.)
The creator of a poll is not allowed to vote in it.  Where would be a good place to put a note about having to turn the Polls window on?  Maybe put an italics notice at the bottom of the post form for the poll if the Polls window is disabled for that blog?
Hmmm....   why is the creator not allowed to vote?
Yes...   I think italics is the polls window is disabled would be useful.

Quote
QuoteUsers allowed to post articles list (Question: shouldn't the user who started the blog be included on this list by default?)
The owner of a blog is always allowed to post.  Having them on the users allowed to post articles list would be rather redundant I think.
Ok...  that's what I figured, but it might not be clear. Again, maybe a smalltext statement stating the these poster permissions are in addition to the blog owner? I know users, and they get confused over the smallest things.

Quote
Quote
Permissions screen:
Can view any blog_a  (Question: is this the correct text?)
Yes I had recently redone quite a few txt strings to avoid using any smf txt strings and to maintain uniformity with txt variables names within zCommunity.  I guess I missed one :(
Ok...   what was it intended to be?

Quote
QuoteI'm running EZportal...   I forget... do you have block code available for that or an add-on mod to link someone's profile to their blog and/or blog posts (tied in with smf contributions (i.e. forum posts)?)
I do not have block code available for any of the portal systems for SMF... yet.  What I think I'll do is have the code available at Degrees of Zero in the documentation section once the code is available.

QuoteAnother note about EZPortal, I have a left column set to appear on "All Actions and Boards", but the zCommunity pages do not respect this. (I assume because of the separate templates?)
zCommunity does interesting stuff with the templates, and I haven't tested it completely with the various portal systems that are available for SMF.  The differences between SMF 1.1.x and SMF 2 make this especially difficult.
that's cool...   wasn't really concerned about it, since mods on top of mods always have some odd behaviors and it's not actually your responsibility to make your mod work with every other mod. Just something to look at (which is sounds like you are doing.)

Quote
Quote
Suggestion:   IN smf2.0 at least, add a link in the forum admin > modifications section that links to the blog control panel.
I thought I figured that out, but I guess I didn't.  I'll have to keep messing with SMF 2.
No worries...   actually adding admin menu items in smf 2.0 is fairly simple. (just adding to an array)

Quote
QuoteSuggestion: in the blog specific internal navigation list, separate the interna nav like the SMF breadcrumbs (i.e. using >> between items like Main>> Kindred's blog)
Not sure what you mean.
Turns out to be more theme issues.
http://site.com/index.php?zc=bcp;u=2;blog=1.0
Although, in the blog control panel section of the individual blog, it does have a blank left column headed by a tabbed menu showing "Write Post" and "Go to Blog" and then an empty column beneath that.
Also, in the same screen, the main control menu (to the right) overlaps the first line of the options below it (on the starting screen, that is the set of radio buttons asking hidden or shown).

Quote
QuoteSuggestion: Use the term "Blog Entry", "Blog Post" or "Post" instead of "article" since article tends to mean something more along the lines of news rather than blog.
Dunno about that one....
Just a suggestion... it's easy enough to change it myself for my own preference. The thing is that I use the term articles for actual articles on the site, so blogs don't (In my opinion) count the same as articles.

Quote
Quotenote: Having the blog breadcrumbs in a menubar under the main forum breadcrumbs is odd...   either combine the blgo breadcrumbs into the forum breadcrumb trail or hide the forum list/trail and use only the zCommunity trail.
Good idea.

Quote
QuoteQuestion: How does one post Community News articles rather than blog specific articles?
Enable the News block on the community page (go to the Community Page tab of your control panel) and then go to the actual Community Page and you'll see a link to Post News.
[/quote]
most excellent!  I missed that the first time through. Using your explanation let me enable it and post.

This addition definitely should be looked at for inclusion with the various portals (FelPortal, ezPortal, TinyPortal) and possibly some external stuff like SSI functions (actually one may solve the other... creation of SSI-like functions to display most recent, etc. would allow it to be included as block in any of the portal systems or even on outside HTML pages)
(yes, I know you're still in alpha and here I come offering suggestions for major additions... LOL)
I think the main addition I would code in (and may end up doing so, if I get the time) is to add a link in a user's profile to their blog...  and possibly an icon link in the mini-profile used for posts (SMF's display.template.php).   I have not looked deep into the code or database yet...   but I suspect that a user's ID can be used to generate a query of which blogs belong to that user....   or even better, this information can be added into the $user_info and/or $context array(s) for potential use throughout the forum.
Title: Re: zCommunity 0.7.4 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on January 22, 2009, 02:40:24 AM
My FTP is being slow at the moment and I am very tired.  I'll finish testing the changes tomorrow and update it on the mod site.
Title: Re: zCommunity 0.7.4 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: ke4obt on January 22, 2009, 02:54:37 AM
Quick question?
do all img tags have alt tags so blind users can use this blog?
also the gear img talked about above, how would a blind user get  it to open? is it a dropdown menu?
thanks Flip
Title: Re: zCommunity 0.7.4 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: jkrlvgn on January 22, 2009, 03:55:04 AM
*blinks*

I don't want to sound like a complete jerk, but I never thought that blind people would be using something like this.  I'm sure that all the images can have img tags, but wouldn't the images in the menus cause issues, or at least extend the problems with the site taking forever because of the numerous image tags (on some themes, not all, I'm sure)..?

As far as the gear icon goes, it's a CSS thing...so, you'd have to navigate your mouse over it to bring up any options from there.

If I may ask, how blind are we talking about here?  so blind that everything is read in an audio-type fashion, or just legally blind, where you can still see, but only from VERY close (using a projector/magnifying screen to see, etc..)?


Either way...it shouldn't be hard for Charles to add the stuff in, but...wow.  A completely different perspective.
Title: Re: zCommunity 0.7.4 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: ke4obt on January 22, 2009, 06:15:14 AM
Well, I'm totaly 100 percent blind and do use a screen reader and the default theme is quite easy to navagate, to date the only part of the forum that gives me any problems is the stats area at the bottom of the forum index page.
the layout is all wrong, but working on that.

You'd be very surprised just how many blind people are out here on the web these days. we even have closed sites (pay for use) for blind and visually impaired folks.

well back to work, got to figuar out the stats area, not looking good for what I want it to do.
Boo-Hoo, Cry-Cry
Title: How do I access the Blog setup in Admin?
Post by: jayman2 on January 22, 2009, 08:44:36 AM
I just installed this mod on my smf 2b4 default forum.  I don't see where to access the blog or setup up section.
Title: Re: zCommunity 0.7.4 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: fmofmpls on January 22, 2009, 11:33:53 AM
Quote from: Charles Hill on January 21, 2009, 10:49:42 PM
Quote from: fmofmpls on January 21, 2009, 10:47:38 PM
Quote from: Charles Hill on January 21, 2009, 10:26:23 PM
I've attached the install package for Blog Community 2.0.2 Beta

Thank you! Now where can I find the manual edit instructions at? Is there a parser somewhere that actually works? The one I used to use has seemed to stop working?

Sorry I don't know of any :(  You could try searching simple machines' forum though... might get lucky and find one.


Found one! Provided all the necessary manual edit codes needed to cleanly erase BC. Done!

Here it is for those who might be in the same boat - http://resourcez.biz/PackageParser/
Title: Re: zCommunity 0.7.4 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on January 22, 2009, 02:10:10 PM
Quote from: ke4obt on January 22, 2009, 02:54:37 AM
Quick question?
do all img tags have alt tags so blind users can use this blog?
also the gear img talked about above, how would a blind user get  it to open? is it a dropdown menu?
thanks Flip

All the img tags have at least alt="".  However, there are quite a few that do not have text in the alt attribute.  I'll add them :)

Quote from: jayman2 on January 22, 2009, 08:44:36 AM
I just installed this mod on my smf 2b4 default forum.  I don't see where to access the blog or setup up section.

Did you upload install_db_edits.php to your forum folder and then access it directly via a browser?  Nothing in zCommunity will be activated until at least blogMode is added to the _settings table of your forum (which is done by the install_db_edits.php file along with all the other necessary db edits).
Title: Re: zCommunity 0.7.4 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Lamarck on January 22, 2009, 04:19:43 PM
I am testing this in 2.0b4.

I have problems with templates (also,I have the problems that someone posted here early): I can't run any template that is not the default in my forum.Even if I select "clean" template,I only get my default template.Any help?.
BTW,can every blog have his own template? can SMF templates be used in blogs,such as the default one,but without being by default?.

Thanks.
Title: Re: zCommunity 0.7.4 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on January 22, 2009, 04:26:53 PM
Quote from: Lamarck on January 22, 2009, 04:19:43 PM
I am testing this in 2.0b4.

I have problems with templates (also,I have the problems that someone posted here early): I can't run any template that is not the default in my forum.Even if I select "clean" template,I only get my default template.Any help?.
BTW,can every blog have his own template? can SMF templates be used in blogs,such as the default one,but without being by default?.

Thanks.

A zCommunity page has to be "layerless" (without the forum template layers) to use the Clean - One theme.  This is because there isn't a Clean - One theme for your forum (just zCommunity).  Yes every blog can have its own theme.  You'll have to either make some new ones yourself or wait til others make some.  To make zCommunity use your forum's theme, you'll have to make a zCommunity theme that looks the same as the rest of your forum.
Title: Re: zCommunity 0.7.4 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: LaughOften on January 22, 2009, 05:27:36 PM
I am using zCommunity and I have Headline news theme set as my default theme for my forum and I set it for default in the blog settings and it now uses this theme for the community blogs.

You have to make sure you go into the global settings and each bloggers settings and make sure you uncheck the block for forum layers to get this to work properly.

So how do we get other themes to show up in zCommunity to be able to have folks use them as well. I have other themes for the forum but they do not show in the community.

Thanks!!! :)
Title: Re: zCommunity 0.7.4 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: cubetgio on January 22, 2009, 05:33:01 PM
Hi Charles,

I didn't notice this :    :-[

"Upload the zCommunity folder (from the compressed archive package that ends with __files) to your forum's main directory *BEFORE* installing the changes to your SMF Forum via the package manager installation package."

Then i delete the files concerned by installation of the package and i replace them by the backups files(~) but i still get this message:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Is it talking to you ?

Please help, more then 1000 people 'll be waiting for the forum(vers 1.1.7). :'(

http://forum.ceue.be

thanks,
Giovanni



Title: Re: zCommunity 0.7.4 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on January 22, 2009, 06:19:46 PM
QuoteSo how do we get other themes to show up in zCommunity to be able to have folks use them as well. I have other themes for the forum but they do not show in the community.
To make zCommunity use your forum's theme, you'll have to make a zCommunity theme that looks the same as the rest of your forum.

Quote from: cubetgio on January 22, 2009, 05:33:01 PM
Hi Charles,

I didn't notice this :    :-[

"Upload the zCommunity folder (from the compressed archive package that ends with __files) to your forum's main directory *BEFORE* installing the changes to your SMF Forum via the package manager installation package."

Then i delete the files concerned by installation of the package and i replace them by the backups files(~) but i still get this message:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Is it talking to you ?

Please help, more then 1000 people 'll be waiting for the forum(vers 1.1.7). :'(

http://forum.ceue.be

thanks,
Giovanni


Uh......... I have no idea how to help you... There could have been any number of things you messed up that were unrelated to zCommunity.  Some of those backup files might have caused several other mods you had installed to break.  It doesn't sound like the problems are zCommunity related.
Title: Re: zCommunity 0.7.4 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: alex30 on January 22, 2009, 06:28:20 PM
Guys how to enable this mod in Admin panel?
Title: Re: zCommunity 0.7.4 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Lamarck on January 22, 2009, 07:04:46 PM
Two things that would be nice:

1-With "show forum layers" enabled,It would be nice that,inside blogs,It didn't show the header.Is it possible? I mean...use the default template BUT without header.

2-The possibility to put "blocks" in two columns (right and left),not only right OR left.Even up and down too,but right and left is ok.
Title: Re: zCommunity 0.7.4 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Petee on January 22, 2009, 08:03:46 PM
I cant seem to set permissions. I can click the checkbox, but it doesn't really save.  Guests seem to be enabled by default, but if I log out, it tells me there are no blogs to view. I log in and can see them.
Title: Re: zCommunity 0.7.4 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on January 22, 2009, 08:09:33 PM
Quote from: alex30 on January 22, 2009, 06:28:20 PM
Guys how to enable this mod in Admin panel?
SMF version?

Quote from: Petee on January 22, 2009, 08:03:46 PM
I cant seem to set permissions. I can click the checkbox, but it doesn't really save.  Guests seem to be enabled by default, but if I log out, it tells me there are no blogs to view. I log in and can see them.
SMF version?  Also, there are a number of things that can make a blog invisible to a user (blog could be hidden, the user's member group could not have access to that blog and the individual user doesn't have access).
Title: Re: zCommunity 0.7.4 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: jayman2 on January 22, 2009, 09:56:39 PM
I finally got the mod up and running.  It's a fantastic Blog mod.  The only problem that I've found is that after I create a  blog with the first entry, I get an error when trying to add a second entry.  You can "preview" the 2nd entry just fine, but when you try to post it, you get this error:

Parse error: syntax error, unexpected T_ARRAY in /homepages/35/d171960345/htdocs/mywebsite/zCommunity/Sources/Subs-Comments.php on line 150

This is what's on line 150:  array(

Does anyone know how I can correct this?
Title: Re: zCommunity 0.7.4 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: LaughOften on January 22, 2009, 10:03:44 PM
Quote from: Charles Hill on January 22, 2009, 06:19:46 PM
QuoteSo how do we get other themes to show up in zCommunity to be able to have folks use them as well. I have other themes for the forum but they do not show in the community.
To make zCommunity use your forum's theme, you'll have to make a zCommunity theme that looks the same as the rest of your forum.

I already have the blogs using my default theme. My question is:  I want all of the themes I have to offer on my forum available for members to choose in their blogs but it only shows Clean and default. How can you offer all of the themes you have available on your forum in the blogs??

EX: Clean, Default, Dilber, Headlins, Blue Ace, etc.

Thanks  :)

Title: Re: zCommunity 0.7.4 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Kindred on January 22, 2009, 10:05:35 PM
and he answered you...   you will have to create zCommunity versions of those themes.
Title: Re: zCommunity 0.7.5 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on January 22, 2009, 10:59:47 PM
Quote from: jayman2 on January 22, 2009, 09:56:39 PM
I finally got the mod up and running.  It's a fantastic Blog mod.  The only problem that I've found is that after I create a  blog with the first entry, I get an error when trying to add a second entry.  You can "preview" the 2nd entry just fine, but when you try to post it, you get this error:

Parse error: syntax error, unexpected T_ARRAY in /homepages/35/d171960345/htdocs/mywebsite/zCommunity/Sources/Subs-Comments.php on line 150

This is what's on line 150:  array(

Does anyone know how I can correct this?


This bug has been fixed in 0.7.5 Alpha (which is now available)
Title: Re: zCommunity 0.7.5 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: jayman2 on January 22, 2009, 11:05:07 PM
Quote from: Charles Hill on January 22, 2009, 10:59:47 PM
Quote from: jayman2 on January 22, 2009, 09:56:39 PM
I finally got the mod up and running.  It's a fantastic Blog mod.  The only problem that I've found is that after I create a  blog with the first entry, I get an error when trying to add a second entry.  You can "preview" the 2nd entry just fine, but when you try to post it, you get this error:

Parse error: syntax error, unexpected T_ARRAY in /homepages/35/d171960345/htdocs/mywebsite/zCommunity/Sources/Subs-Comments.php on line 150

This is what's on line 150:  array(

Does anyone know how I can correct this?


This bug has been fixed in 0.7.5 Alpha (which is now available)
I was able to fix it.  There was a missing comma.  The only other problem I've found is that when you create a poll, it doesn't show up anywhere.  But that's no big thing.  I'll just disable the poll feature.

This is one of the best mods I've found so far.
Title: Re: zCommunity 0.7.5 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on January 22, 2009, 11:08:17 PM
Quote from: jayman2 on January 22, 2009, 11:05:07 PM
Quote from: Charles Hill on January 22, 2009, 10:59:47 PM
Quote from: jayman2 on January 22, 2009, 09:56:39 PM
I finally got the mod up and running.  It's a fantastic Blog mod.  The only problem that I've found is that after I create a  blog with the first entry, I get an error when trying to add a second entry.  You can "preview" the 2nd entry just fine, but when you try to post it, you get this error:

Parse error: syntax error, unexpected T_ARRAY in /homepages/35/d171960345/htdocs/mywebsite/zCommunity/Sources/Subs-Comments.php on line 150

This is what's on line 150:  array(

Does anyone know how I can correct this?


This bug has been fixed in 0.7.5 Alpha (which is now available)
I was able to fix it.  There was a missing comma.  The only other problem I've found is that when you create a poll, it doesn't show up anywhere.  But that's no big thing.  I'll just disable the poll feature.

This is one of the best mods I've found so far.

You have to enable a blog's Poll window for it to be visible.  What I did to make this more intuitive for 0.7.5 was to not add the Start Poll link to your options if a blog's Poll window is disabled.
Title: Re: zCommunity 0.7.4 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: LaughOften on January 23, 2009, 09:37:23 AM
Quote from: Kindred on January 22, 2009, 10:05:35 PM
and he answered you...   you will have to create zCommunity versions of those themes.

I guess I misunderstood him....Geeez........I hope you have a uh...Nice day!!!
Title: Re: zCommunity 0.7.5 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: jayman2 on January 23, 2009, 10:03:14 AM
I'm trying disable the poll feature of my Blog.  I've gone into the admin configuration and unchecked everything in the poll section, but the poll option still appears on the right hand side of my blogs.  I don't have any use for polls in my blog.   Besides, I already have the poll feature in my board.  Can anyone tell me how to stop this from showing?

Thanks in advance.
Title: Re: zCommunity 0.7.5 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on January 23, 2009, 01:22:48 PM
Quote from: jayman2 on January 23, 2009, 10:03:14 AM
I'm trying disable the poll feature of my Blog.  I've gone into the admin configuration and unchecked everything in the poll section, but the poll option still appears on the right hand side of my blogs.  I don't have any use for polls in my blog.   Besides, I already have the poll feature in my board.  Can anyone tell me how to stop this from showing?

Thanks in advance.
Just don't allow users to post polls (it's a permission in the Permission tab of your control panel), and leave the Polls window disabled for your blog(s).


Quote from: LaughOften on January 23, 2009, 09:37:23 AM
Quote from: Kindred on January 22, 2009, 10:05:35 PM
and he answered you...   you will have to create zCommunity versions of those themes.

I guess I misunderstood him....Geeez........I hope you have a uh...Nice day!!!
Lol... come on now.  Let's not get overly sensitive :)
Title: Re: zCommunity 0.7.5 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Lamarck on January 23, 2009, 02:37:38 PM
Quote2-The possibility to put "blocks" in two columns (right and left),not only right OR left.Even up and down too,but right and left is ok.

Please,is this possible? can anyone help me?

BTW: I made two templates for zCommunity and I will work in the spanish translation when I pass my exams.Where can I submit those templates for share?.Thanks.
Title: Re: zCommunity 0.7.5 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on January 23, 2009, 02:51:00 PM
Quote from: Lamarck on January 23, 2009, 02:37:38 PM
Quote2-The possibility to put "blocks" in two columns (right and left),not only right OR left.Even up and down too,but right and left is ok.

Please,is this possible? can anyone help me?

BTW: I made two templates for zCommunity and I will work in the spanish translation when I pass my exams.Where can I submit those templates for share?.Thanks.

Anything is possible.  I'll put it on the list.  It's not high on the list right now, though.

I am presently working on project pages for zCommunity on my website.  There will be a place for plug-ins and themes.  Before you ask me for an ETA on that, I really cannot say yet.  Presently working on a secure downloads set of scripts (download keys, etc).  Just keep checking here and my site for updates on this.
Title: Re: zCommunity 0.7.5 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: alex30 on January 23, 2009, 04:53:55 PM
Charles Hill

We are using 1.1.7 version.
Title: Re: zCommunity 0.7.5 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on January 23, 2009, 07:34:23 PM
In your forum's admin area you should see zCommunity section header in the admin nav menu... then you should the Control Panel link.  In the Global Blog Settings tab of your control panel you will find the Blog mode setting (disabled, single blog mode, single blog mode (hidden), blogging community mode).
Title: Re: zCommunity 0.7.5 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Lamarck on January 23, 2009, 07:54:27 PM
I don't know why,but with alpha 0.75 I get a blank screen when I trie to go index.php?zc after installing it  >:(

Ok,solved ^^.
Title: Re: zCommunity 0.7.5 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Stef001 on January 24, 2009, 09:47:19 AM
Hello,

How can i manage that is see the smiley row when i write an article.

Thanks Stef.
Title: Re: zCommunity 0.7.5 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: fmofmpls on January 24, 2009, 10:16:28 AM
Installed zcommunity according to instructions on smf 1.1.7 with the files folder being uploaded first, then installed the install folder via package manager with no failures and ended with a screen of death. HELP!

Here's what I get - Fatal error: require_once() [function.require]: Failed opening required '/home/monster/public_html/test_forum2/zCommunity/Sources/QueryString.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/monster/public_html/test_forum2/index.php on line 188
Title: Re: zCommunity 0.7.5 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Lamarck on January 24, 2009, 10:20:30 AM
When I click Who is Online (in my forum),I get this:

Quote
                                    Table 'b9_222711_silvanost.blog_blogs' doesn't exist
Archivo: /home/vol3/byethost9.com/b9_222711/silvanost.byethost31.com/htdocs/foro/Sources/Who.php
Línea: 528          


One more thing:

How can I allow html in custom blocks? I know about "security issues",but I have a small forum only with friends,so no problem.Can someone help me to do it? It must be easy,but I don't have php knowledge.
Title: Re: zCommunity 0.7.5 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: geano on January 24, 2009, 10:57:41 AM
I thought I saw something similar somewhere on one of the forums, but cannot find it... here goes:
SMF 2 RC1
Zc 0.7.5 alpha
Yep, I know it's only approved up to 4beta, but, WTH ;) ...
Install goes well... seems to want to work... so far as I can see but,
  cannot delete a blog.
delete produces IE7 response
QuoteHTTP 500 
   Most likely causes:
The website is under maintenance.
The website has a programming error.
upon refresh IE7 produces
QuoteFatal error: Call to undefined function: template_bcp_above() in /home/myserveraccountname/public_html/CHIPSontheWEBnet/Box111/zCommunity/Themes/default/index.template.php on line 210
FFox error:
QuoteDatabase Error
Table 'myserveraccoutname_smf2.smf2_blog_links' doesn't exist
File: /home/myserveraccountname/public_html/CHIPSontheWEBnet/Box111/zCommunity/Sources/Subs-Blogs.php
Line: 442
and smf2.blog_links doesn't in fact exist. ???
I note that the BCB tables don't appear to space properly vertically in IE7, menu drops about 15px into the table body, if you follow me...
When I view /themes/whichever/index_template.php, I have an indication of an error beginning at
Quote// main area
echo '
<td valign="top" width="', !empty($context['zc']['side_bar_left']) || !empty($context['zc']['side_bar_right']) ? '76%" style="padding-right:10px;"' : '100%"', '>';

if (!empty($context['blog_control_panel']))
  template_BCP_above();
elseif (!empty($context['zc']['errors']) && empty($context['zc']['error']))
  template_errorTable();
but I'm too much of a novice to figure out if that is relevant, or what's wrong, though I suspect they may be related. function 'template_BCP_above' does appear to be defined elsewhere.
Title: Re: zCommunity 0.7.5 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Petee on January 24, 2009, 12:49:26 PM
Is there any code available yet that displays an Archive list of Community News links?  I am looking for something that I can put in a TP block with just a running list of href links to the News Titles.

Also, is it easy enough to pull out the built-in "Most Recent" and "Archive" windows and put that code into a TP block?
Title: Re: zCommunity 0.7.5 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on January 24, 2009, 01:53:10 PM
QuoteFFox error:
Quote

    Database Error
    Table 'myserveraccoutname_smf2.smf2_blog_links' doesn't exist
    File: /home/myserveraccountname/public_html/CHIPSontheWEBnet/Box111/zCommunity/Sources/Subs-Blogs.php
    Line: 442

and smf2.blog_links doesn't in fact exist.

I recently removed the links window entirely because it was redundant due to the fact you could very easily replicate it with a custom window.

In zCommunity/Sources/Subs-Blogs.php .... find the following and delete it:
// delete links
$zcFunc['db_query']("
DELETE FROM {$db_prefix}blog_links
WHERE blog_id IN ({array_int:blogs})", __FILE__, __LINE__,
array(
'blogs' => $blogs
)
);



QuoteI note that the BCB tables don't appear to space properly vertically in IE7, menu drops about 15px into the table body, if you follow me...
When I view /themes/whichever/index_template.php, I have an indication of an error beginning at
Quote

    // main area
     echo '
     <td valign="top" width="', !empty($context['zc']['side_bar_left']) || !empty($context['zc']['side_bar_right']) ? '76%" style="padding-right:10px;"' : '100%"', '>';
     
     if (!empty($context['blog_control_panel']))
      template_BCP_above();
     elseif (!empty($context['zc']['errors']) && empty($context['zc']['error']))
      template_errorTable();

but I'm too much of a novice to figure out if that is relevant, or what's wrong, though I suspect they may be related. function 'template_BCP_above' does appear to be defined elsewhere.

Not sure what you are talking about?


Quote from: Petee on January 24, 2009, 12:49:26 PM
Is there any code available yet that displays an Archive list of Community News links?  I am looking for something that I can put in a TP block with just a running list of href links to the News Titles.

Also, is it easy enough to pull out the built-in "Most Recent" and "Archive" windows and put that code into a TP block?

The code is not difficult, but you'll have to call a few zCommunity functions to load user info and to make sure people only see what they are allowed to see.
Title: Re: zCommunity 0.7.5 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Sudhakar Arjunan on January 24, 2009, 04:07:58 PM
Hi Charles, when i had upgraded 2.0.4 i have missed your mod.

Now i found the mod is upgraded to 2.0.4.

But your not strictly says its still in Alpha.

My Forum had a huge load, over 8000 registrations and 60000 topics.

Is that all the issues were fixed and when it will be a stable for me to work with it.
Title: Re: zCommunity 0.7.5 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on January 24, 2009, 04:19:54 PM
Quote from: A.SK on January 24, 2009, 04:07:58 PM
Hi Charles, when i had upgraded 2.0.4 i have missed your mod.

Now i found the mod is upgraded to 2.0.4.

But your not strictly says its still in Alpha.

My Forum had a huge load, over 8000 registrations and 60000 topics.

Is that all the issues were fixed and when it will be a stable for me to work with it.

Yes you should wait until there's a stable version.
Title: Re: zCommunity 0.7.5 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Sudhakar Arjunan on January 24, 2009, 07:21:30 PM
Quote from: Charles Hill on January 24, 2009, 04:19:54 PM

Yes you should wait until there's a stable version.

Will be waiting for it.

Currently for all our moderators, we have given a individual blog system.
Title: Re: zCommunity 0.7.5 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on January 24, 2009, 11:46:32 PM
Quote from: Lamarck on January 24, 2009, 10:20:30 AM
When I click Who is Online (in my forum),I get this:

Quote
                                    Table 'b9_222711_silvanost.blog_blogs' doesn't exist
Archivo: /home/vol3/byethost9.com/b9_222711/silvanost.byethost31.com/htdocs/foro/Sources/Who.php
Línea: 528          


One more thing:

How can I allow html in custom blocks? I know about "security issues",but I have a small forum only with friends,so no problem.Can someone help me to do it? It must be easy,but I don't have php knowledge.

Did you install the necessary database edits using install_db_edits.php?

I'll figure out a good way to allow html/php in custom windows and eventually custom community page blocks eventually, but it's not high on the priority list at the moment.

Quote from: fmofmpls on January 24, 2009, 10:16:28 AM
Installed zcommunity according to instructions on smf 1.1.7 with the files folder being uploaded first, then installed the install folder via package manager with no failures and ended with a screen of death. HELP!

Here's what I get - Fatal error: require_once() [function.require]: Failed opening required '/home/monster/public_html/test_forum2/zCommunity/Sources/QueryString.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/monster/public_html/test_forum2/index.php on line 188

Did you upload the zCommunity folder to your forum's folder on your server?

Quote from: Normally on January 24, 2009, 09:47:19 AM
Hello,

How can i manage that is see the smiley row when i write an article.

Thanks Stef.

The problem is that it's rather difficult to get the necessary information about what bbc tags and smileys to actually use, because that information is within the Post.template.php file of SMF 1.1x and I believe it's in a large function in the sources files of SMF 2.0... I might be able to figure out a way to have a manually-run function from the zCommunity control panel that could "import" the information to a special file, and then load the information from that file whenever the zCommunity post form is loaded.  I'll work on it.
Title: Re: zCommunity 0.7.5 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Stef001 on January 25, 2009, 07:18:10 AM
Quote from: Normally on January 24, 2009, 09:47:19 AM
Hello,

How can i manage that is see the smiley row when i write an article.

Thanks Stef.
Quote
The problem is that it's rather difficult to get the necessary information about what bbc tags and smileys to actually use, because that information is within the Post.template.php file of SMF 1.1x and I believe it's in a large function in the sources files of SMF 2.0... I might be able to figure out a way to have a manually-run function from the zCommunity control panel that could "import" the information to a special file, and then load the information from that file whenever the zCommunity post form is loaded.  I'll work on it.

Thanks i wait for it.

Stef.
Title: Re: zCommunity 0.7.5 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Stef001 on January 25, 2009, 09:37:48 AM
I have in the faultlog this messages.
can someone help me to solve this problems.
   
http://www.kaartenleggen.nl/index.php?blog=1.0
8: Undefined index: online8
Bestand: /home/kaarten/domains/kaartenleggen.nl/public_html/zCommunity/Sources/Blog.php
Regel: 865

http://www.kaartenleggen.nl/index.php?zc=sbh;help=blog_tags
8: Undefined index: close_window
Bestand: /home/kaarten/domains/kaartenleggen.nl/public_html/Themes/default/Help.template.php (popup sub template - eval?)
Regel: 32

http://www.kaartenleggen.nl/index.php?zc
8: Undefined offset: 525
Bestand: /home/kaarten/domains/kaartenleggen.nl/public_html/zCommunity/Themes/default/Community.template.php
Regel: 185

http://www.kaartenleggen.nl/index.php?zc
8: Undefined offset: 211
Bestand: /home/kaarten/domains/kaartenleggen.nl/public_html/zCommunity/Themes/default/Community.template.php
Regel: 185

Thanks
Title: Re: zCommunity 0.7.5 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Lamarck on January 25, 2009, 12:00:02 PM
QuoteDid you install the necessary database edits using install_db_edits.php?

Yes,of course I did it (zcommunity is working wityhout problems).That error shows when someone is looking an article inside a blog.Maybe a problem in who.php edits made by the mod?.
Title: Re: zCommunity 0.7.5 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on January 25, 2009, 03:44:00 PM
Quote from: Normally on January 25, 2009, 09:37:48 AM
I have in the faultlog this messages.
can someone help me to solve this problems.
   
http://www.kaartenleggen.nl/index.php?blog=1.0
8: Undefined index: online8
Bestand: /home/kaarten/domains/kaartenleggen.nl/public_html/zCommunity/Sources/Blog.php
Regel: 865

http://www.kaartenleggen.nl/index.php?zc=sbh;help=blog_tags
8: Undefined index: close_window
Bestand: /home/kaarten/domains/kaartenleggen.nl/public_html/Themes/default/Help.template.php (popup sub template - eval?)
Regel: 32

http://www.kaartenleggen.nl/index.php?zc
8: Undefined offset: 525
Bestand: /home/kaarten/domains/kaartenleggen.nl/public_html/zCommunity/Themes/default/Community.template.php
Regel: 185

http://www.kaartenleggen.nl/index.php?zc
8: Undefined offset: 211
Bestand: /home/kaarten/domains/kaartenleggen.nl/public_html/zCommunity/Themes/default/Community.template.php
Regel: 185

Thanks

Thanks, I missed some $txt variables.  I'll find those last couple I missed and change them.



Quote from: Lamarck on January 24, 2009, 10:20:30 AM
When I click Who is Online (in my forum),I get this:

Quote
                                    Table 'b9_222711_silvanost.blog_blogs' doesn't exist
Archivo: /home/vol3/byethost9.com/b9_222711/silvanost.byethost31.com/htdocs/foro/Sources/Who.php
Línea: 528          


One more thing:

How can I allow html in custom blocks? I know about "security issues",but I have a small forum only with friends,so no problem.Can someone help me to do it? It must be easy,but I don't have php knowledge.

Figured out what the problem was.  SMF 2.0 uses {db_prefix} instead of {$db_prefix} in all database queries.  I'll change everything now :)
Title: Re: zCommunity 0.7.5 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Stef001 on January 25, 2009, 04:17:45 PM
QuoteThanks, I missed some $txt variables.  I'll find those last couple I missed and change them.

When do you think that you have the missing $txt variables fixt?
I am also busy to translate your mod in Dutch.
When i have translate i send them to you.

Stef
Title: Re: zCommunity 0.7.5 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: LaughOften on January 26, 2009, 06:27:12 PM
Where is the modify for the blogs?? I have a member wanting to edit his blogs and neither of us have any way to do this.

Thanks!!
Title: Re: zCommunity 0.7.5 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on January 26, 2009, 06:42:26 PM
Quote from: LaughOften on January 26, 2009, 06:27:12 PM
Where is the modify for the blogs?? I have a member wanting to edit his blogs and neither of us have any way to do this.

Thanks!!

What do you mean?  Edit articles?  Hover over the gear icon on the article and click the notepad with the pencil icon.
Title: Re: zCommunity 0.7.5 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: LaughOften on January 26, 2009, 06:53:03 PM
I thought that was how to do it but for some reason that and the Bookmarking options are not showing anymore.
Title: Re: zCommunity 0.7.5 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Kindred on January 26, 2009, 06:55:50 PM
Laugh....   did you switch themes?  I noticed that the gear and bookmark only appeared for me when both the forum and the community were set to "default" theme
Title: Re: zCommunity 0.7.5 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on January 26, 2009, 06:57:15 PM
I moved the basic css for zcommunity into its own css file in the zcommunity default theme folder.  It will always be loaded regardless of what theme(s) you're using.  I've been shuffling things around and doing a lot of debugging and testing, so hopefully we're getting close to something stable :)
Title: Re: zCommunity 0.7.5 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: LaughOften on January 26, 2009, 07:33:23 PM
Yes, I have added a few new themes. I have the forum default set to Headline news and the Community is also the same.

It was there before because I see I edited my articles on 1/2 but no one has access to modify them now lol

I still have 0.7.3 installed

Title: Re: zCommunity 0.7.5 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: LaughOften on January 26, 2009, 08:52:29 PM
Okay I went back into global settings and checked the block for the forum layers and saved. I went into the blogs and now I can see the place to modufy and the bookmarks.

So the only way to use a custom theme is to not check this but in doing so it removes the bookmarks and the gear icon.

Is there a way around this?
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on January 26, 2009, 10:59:20 PM
Updated to 0.7.6 Alpha.
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: r3ck on January 27, 2009, 04:38:10 AM
I haven't figured out how to delete individual blog posts... is there something I'm missing?

I can only delete entire blogs...  ::)

Thank you for your hard work :)
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on January 27, 2009, 04:41:25 AM
Mouse over the gear icon on an article or comment and click the trash can icon to delete it.
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: r3ck on January 27, 2009, 05:02:16 AM
Strange I don't have that icon showing. Just looked at your screenshots and definitely don't see that icon on mine... here's a screenshot.

Oh wow, the functionality is there... but the icon isn't showing... like rolling over an invisible link...

I'm using 2.0 Beta 4 w/a custom theme.

Thnx for your help.
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on January 27, 2009, 05:06:27 AM
Are you using 0.7.6 Alpha?  If not I recommend you upgrade.  Make sure that when you upgrade, you delete the old zCommunity folder and upload the new one.
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: r3ck on January 27, 2009, 05:20:30 AM
Just upgraded... still same problem

When I highlight everything you can see it's there... and I can delete it if i'm careful and hover over the right part... but just can't see the icons... any idea?

Attached...
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: r3ck on January 27, 2009, 05:33:55 AM
I changed the theme to "SMF Default Theme - Core" and it works in there... but it also does not work in my  "Classic YaBB SE Theme" included with SMF... thoughts?

I'm using this template:
http://www.dzinerstudio.com/index.php?action=tpmod;dl=item62 (http://www.dzinerstudio.com/index.php?action=tpmod;dl=item62)
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: jayman2 on January 27, 2009, 07:54:14 AM
I don't know if this question has been addressed or not, but is there a way to limit users to just creating only one blog each?  I don't want my users to get carried away and create an unlimited number of blogs. 

I have this mod installed on my smf 2b4 and I think it's one of the best mods available. 
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Kindred on January 27, 2009, 08:37:22 AM
r3ck,

If you had read just a few posts above your own...   or read my test results on 2.0, you would have noted that I have alreayd mentioned that the gear icon ONLY appears on default/default combination with 2.0.

I assume it's a theme/CSS thing which can be resolved fairly easily on each custom theme, but it has to be resolved by each installation
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: LaughOften on January 27, 2009, 08:45:46 AM
Quote from: Kindred on January 27, 2009, 08:37:22 AM
r3ck,

If you had read just a few posts above your own...   or read my test results on 2.0, you would have noted that I have alreayd mentioned that the gear icon ONLY appears on default/default combination with 2.0.

I assume it's a theme/CSS thing which can be resolved fairly easily on each custom theme, but it has to be resolved by each installation

What mofification would we need to add to be adle to use this with 1.1.7 and a custome theme to be able to see the gears and bookmarks??

Also to update you have to delete the xConnumity file then upload the diles folder, then use the package manager on the second folder is this correct?

Will it save all the blogs that we already have?

Thanks alot!!  :)
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: TheDisturbedOne on January 27, 2009, 08:51:05 AM
Quote from: LaughOften on January 27, 2009, 08:45:46 AM
Quote from: Kindred on January 27, 2009, 08:37:22 AM
r3ck,

If you had read just a few posts above your own...   or read my test results on 2.0, you would have noted that I have alreayd mentioned that the gear icon ONLY appears on default/default combination with 2.0.

I assume it's a theme/CSS thing which can be resolved fairly easily on each custom theme, but it has to be resolved by each installation

What mofification would we need to add to be adle to use this with 1.1.7 and a custome theme to be able to see the gears and bookmarks??

Also to update you have to delete the xConnumity file then upload the diles folder, then use the package manager on the second folder is this correct?

Will it save all the blogs that we already have?

Thanks alot!!  :)
I had this problem.  Make sure that you do all the index.template.php edits.  I think the one that you need is the ?fin or something like that, but do all of them.
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on January 27, 2009, 09:50:21 AM
If it's not working for you, then the index.template.php edits for your theme(s) are not being made properly when you are installing.  I separated out the zc specific css into its own file, which is always loaded for zcomm pages..... so you shouldn't have the missing icons problem, unless you are missing the necessary code in your forum's index.template.php file(s).
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Andree on January 27, 2009, 10:14:03 AM
Problem with Global Blog Settings:
An Error Has Occurred!
The database value you're trying to insert does not exist: owner_name

in logs: Type of error: Critical
http://localhost/smf2/index.php?zc=bcp;u=1;sa=adminOnlyOptions;sesc
The database value you're trying to insert does not exist: owner_name
Function: zcUpdateGlobalSettings
File: Z:/home/localhost/www/smf2/zCommunity/Sources/Subs.php
Line: 1261

smf version: SMF 2.0 Beta 4
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on January 27, 2009, 10:46:17 AM
Quote from: Andree on January 27, 2009, 10:14:03 AM
Problem with Global Blog Settings:
An Error Has Occurred!
The database value you're trying to insert does not exist: owner_name

in logs: Type of error: Critical
http://localhost/smf2/index.php?zc=bcp;u=1;sa=adminOnlyOptions;sesc
The database value you're trying to insert does not exist: owner_name
Function: zcUpdateGlobalSettings
File: Z:/home/localhost/www/smf2/zCommunity/Sources/Subs.php
Line: 1261

smf version: SMF 2.0 Beta 4

What database type and version are you running?
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: geano on January 27, 2009, 10:52:09 AM
Upgraded to 0.7.6. Seemed to go ok... but looks related to Andree's I couldn't detect which error produced since forum crashed. MySql... 5.0.51a-community--- same one that's been working, recent upgrade...
Global Blog Settings on save produces server 500 error... :-[
??? ?noted... also had seemed to cause some type css error with font size on initial install, which reverted to normal after 'going home' tab.
Also killed user's avatar....
So, was gonna uninstall, remove, and repeat..
Uninstall broke the forum, et. al.
Thank the Gods of Cyberspace I'd saved all my originals,0.7.5 and db... was able to re-upload them and original db backup and finally got forum and zComm 7.0.5 restored... and all seems well.. ???

Nope, I have no clue what I might have missed... something terrible happened...
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on January 27, 2009, 11:15:57 AM
It is critically important that you deleted the old zCommunity folder and uploaded the zCommunity folder from the zCommunity_0_7_6_alpha__files.zip archive.  There are a lot of things that were changed.  Beyond that being the issue, I don't know what might've caused that problem... unless the uninstall didn't remove all the zComm code from previous version(s) or the new install didn't make all the necessary edits.
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Andree on January 27, 2009, 11:18:04 AM
MySQL 5.0.45-community-nt
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: geano on January 27, 2009, 11:28:31 AM
Quote from: Charles Hill on January 27, 2009, 11:15:57 AM
It is critically important that you deleted the old zCommunity folder and uploaded the zCommunity folder from the zCommunity_0_7_6_alpha__files.zip archive.  There are a lot of things that were changed.  Beyond that being the issue, I don't know what might've caused that problem... unless the uninstall didn't remove all the zComm code from previous version(s) or the new install didn't make all the necessary edits.
Did all that. Like I said, good thing I had backed up everything.  Think I'll watch this board and your site awhile before going through that hour from hell again...
Mike
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Andree on January 27, 2009, 02:15:31 PM
with MySQL 4.1.16-max - I got the same error

additional:
Type of error: Undefined,
8: Undefined index: close_window
File:.........../Themes/default/Help.template.php (eval?)
Line: 32,
additional:
no text for pop-up window "Blog Mode" on page Global Blog Settings.
Sorry for bad English, i am Russian
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: flamechica on January 27, 2009, 02:30:07 PM
I am getting an error when trying to create a blog from a test account to see how this mod works.

Here is the error
QuoteFatal error: Call to undefined function template_BCP_above() in /home/rsdlaugh/public_html/smf/zCommunity/Themes/default/index.template.php on line 210

When I ignored the error (which I assume I will see it again) the blog started, but instead of saying "Test User's Blog" it says "Test User&#039;s Blog" and when I try to access it as Test User it says "You are not allowed to view this blog in the blog control panel."

I am using SMF 1.1.7   Please help  :)
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Kindred on January 27, 2009, 03:47:39 PM
geano...   do note that this mod is is ALPHA mode...   which means that there ARE going to be issues and it REALLY should not be used on a live site unless you know how to debug and recode.


Also...   I am going to request this as someone who is trying to follow the reports and keep an eye on Charles' progress...    when you make a bug report, PLEASE indicate the version of SMF AND the version of the mod that you are making the report on.
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Andree on January 27, 2009, 04:18:28 PM
smf ver. 2.0.4, zCommunity 0.7.6, WAMP (MySQL 4.1.16-max), database name: smf2, table prefix: smf
error:
Type of error: Database
http://localhost/smf2/index.php?action=profile;u=2
Database error: Table 'smf2.blog_blogs' doesn't exist
File: z:/home/localhost/www/smf2/Sources/Who.php
Line: 516

Type of error: Undefined
http://localhost/smf2/index.php?action=profile;u=2
8: Undefined variable: db_prefix
File: z:/home/localhost/www/smf2/Sources/Who.php
Line: 509
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: TheDisturbedOne on January 27, 2009, 05:48:19 PM
Charles,
I don't know if this was something that you intended on doing, but my theme linktree doesn't show anything now, with the new update.
And I'm back to zC, BC seemed not powerful enough, so I'm just back to this ;)
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: geano on January 27, 2009, 05:52:48 PM
Quote from: Kindred on January 27, 2009, 03:47:39 PM
geano...   do note that this mod is is ALPHA mode...   which means that there ARE going to be issues and it REALLY should not be used on a live site unless you know how to debug and recode.


Also...   I am going to request this as someone who is trying to follow the reports and keep an eye on Charles' progress...    when you make a bug report, PLEASE indicate the version of SMF AND the version of the mod that you are making the report on.
Aye, Aye, Kindred... Being Alpha is part of the fun... perhaps my note was a bit 'colder' than I intended... (running this whole thing as an experiment at http://chipsontheweb.net/Box111 (http://chipsontheweb.net/Box111) and there is little going on at present)

BTW... this mod's working fine on SMF2.0 RC1, as the 7.5 alpha... and that Global Settings was the only issue with .6alpha ... the other issues occurred when I tried to uninstall the .6mod.
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on January 27, 2009, 06:11:14 PM
Quote from: Andree on January 27, 2009, 04:18:28 PM
smf ver. 2.0.4, zCommunity 0.7.6, WAMP (MySQL 4.1.16-max), database name: smf2, table prefix: smf
error:
Type of error: Database
http://localhost/smf2/index.php?action=profile;u=2
Database error: Table 'smf2.blog_blogs' doesn't exist
File: z:/home/localhost/www/smf2/Sources/Who.php
Line: 516

Type of error: Undefined
http://localhost/smf2/index.php?action=profile;u=2
8: Undefined variable: db_prefix
File: z:/home/localhost/www/smf2/Sources/Who.php
Line: 509

In the zCommunity code in Who.php change all the instances of {$db_prefix} to {db_prefix}

If the first error still occurs, then check to see if your blog_blogs table exists in phpmyadmin.


Quote from: flamechica on January 27, 2009, 02:30:07 PM
I am getting an error when trying to create a blog from a test account to see how this mod works.

Here is the error
QuoteFatal error: Call to undefined function template_BCP_above() in /home/rsdlaugh/public_html/smf/zCommunity/Themes/default/index.template.php on line 210

When I ignored the error (which I assume I will see it again) the blog started, but instead of saying "Test User's Blog" it says "Test User's Blog" and when I try to access it as Test User it says "You are not allowed to view this blog in the blog control panel."

I am using SMF 1.1.7   Please help  :)

SMF version = ?
PHP version = ?
zCommunity version = ?
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: ʟink on January 27, 2009, 06:42:26 PM
First of all, I am so thrilled that this is finally available for 2.0 Beta 4! Thank you so much!
However, when I try to save the Global Blog Settings (index.php?zc=bcp;u=1;sa=adminOnlyOptions), it gives me this error:
An Error Has Occurred!
The database value you're trying to insert does not exist: owner_name

Where would I modify the database, or is this a bug?
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on January 27, 2009, 06:51:04 PM
Quote from: linkgamer3 on January 27, 2009, 06:42:26 PM
First of all, I am so thrilled that this is finally available for 2.0 Beta 4! Thank you so much!
However, when I try to save the Global Blog Settings (index.php?zc=bcp;u=1;sa=adminOnlyOptions), it gives me this error:
An Error Has Occurred!
The database value you're trying to insert does not exist: owner_name

Where would I modify the database, or is this a bug?

What PHP version is your server running?
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: ʟink on January 27, 2009, 07:02:30 PM
PHP Version 5.2.8
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on January 27, 2009, 07:15:47 PM
Quote from: linkgamer3 on January 27, 2009, 06:42:26 PM
First of all, I am so thrilled that this is finally available for 2.0 Beta 4! Thank you so much!
However, when I try to save the Global Blog Settings (index.php?zc=bcp;u=1;sa=adminOnlyOptions), it gives me this error:
An Error Has Occurred!
The database value you're trying to insert does not exist: owner_name

Where would I modify the database, or is this a bug?

In zCommunity/Subs-Blog.php .... find the following:
addslashes($zcFunc['htmlspecialchars'](stripslashes(zcFormatTextSpecialMeanings($zc['settings']['base_new_blogs_name']) . $num_of_blogs)))

Replace with the following:
addslashes($zcFunc['htmlspecialchars'](stripslashes(zcFormatTextSpecialMeanings($zc['settings']['base_new_blogs_name']) . $num_of_blogs), ENT_QUOTES))
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: ʟink on January 27, 2009, 07:21:42 PM
I'm still getting the error. Doesn't that just mean I have to add a row to the database somewhere?
Or might it have something to do with this option?
Base name to use when creating new blogs
{special:owner_name} is replaced by the blog owner's name

EDIT: It does, I removed that input field in Opera's source editor, then applied changes, submitted the form and it worked perfectly.
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on January 27, 2009, 07:27:40 PM
Quote from: linkgamer3 on January 27, 2009, 07:21:42 PM
Or might it have something to do with this option?
Base name to use when creating new blogs
{special:owner_name} is replaced by the blog owner's name

Ya that's what I was thinking.... I am not getting the error though, so it's very difficult to debug.
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: ormuz on January 27, 2009, 08:47:20 PM
I image that the upgrade from blog community is just an uninstall and instal de new package, with no data lost, right?
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on January 27, 2009, 09:15:51 PM
Quote from: ormuz on January 27, 2009, 08:47:20 PM
I image that the upgrade from blog community is just an uninstall and instal de new package, with no data lost, right?
zCommunity using different database tables so you'll have to use the import board function to import the old blogs.
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: flamechica on January 28, 2009, 08:51:46 AM
Quote from: Charles Hill on January 27, 2009, 07:15:47 PM
Quote from: flamechica on January 27, 2009, 02:30:07 PM
I am getting an error when trying to create a blog from a test account to see how this mod works.

Here is the error
QuoteFatal error: Call to undefined function template_BCP_above() in /home/rsdlaugh/public_html/smf/zCommunity/Themes/default/index.template.php on line 210

When I ignored the error (which I assume I will see it again) the blog started, but instead of saying "Test User's Blog" it says "Test User's Blog" and when I try to access it as Test User it says "You are not allowed to view this blog in the blog control panel."

I am using SMF 1.1.7   Please help  :)

SMF version = ?
PHP version = ?
zCommunity version = ?

I said I was using SMF 1.1.7

PHP version 5.2.8

I didn't know there was more than 1 version of the zCommunity, since I only saw one offered on the mod site. I am using 0.7.6 Alpha....as it is the only blogging mod for SMF 1.1.7 unless I am missing something somewhere. If there is a stable version of this mod or any blogging mod, that would be great.

Also, some of my text from earlier came out different then what I had typed. It was supposed to say that when I set up the blog it comes out as Test User &#039;s Blog (without the space between User and &#039;s).
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on January 28, 2009, 09:38:17 AM
I would like to address any complaints / issues anyone might have with this mod and its compatibility with other mods like SimplePortal, ezPortal, TinyPortal, etc...

SimplePortal, TinyPortal, ezPortal are modifications for SMF... and as such I cannot be expected to be able to make zCommunity work 100% perfectly with them.

Also in response to some of the reports of theme / template issues with various browsers...

I have tested zCommunity in all the latest versions of all the major browsers on Windows Vista and it seems ok.  I have limited access to a Windows XP machine and will test zCommunity with that as well.  If you could please tell me what versions you are using, that would help me improve backwards compatibility with older browsers.

I don't have a Mac computer, although I have tested zCommunity in Safari on Windows Vista and it seems alright.  Again if you could please give detailed information about the browser version(s) and operating system(s) of the computers being viewed on that would help.  There are sites I can use to view screen shots of my website through the eyes of various operating systems / browsers, but I am limited by the # of screen shots I can take a day.  Whenever you are reporting an issue you are having with themes/templates or anything, please... A screen shot of the problem with a brief explanation of what you think it should look like would be very helpful.
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: coldfusionpower on January 28, 2009, 01:37:35 PM
Hi ...

in the custom theme i used, two code is not there ..the other two is there.

<meta name="description" content="', $context['page_title_html_safe'], '" />

<meta name="keywords" content="', $context['meta_keywords'], '" />
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on January 28, 2009, 04:09:48 PM
Quote from: coldfusionpower on January 28, 2009, 01:37:35 PM
Hi ...

in the custom theme i used, two code is not there ..the other two is there.

<meta name="description" content="', $context['page_title_html_safe'], '" />

<meta name="keywords" content="', $context['meta_keywords'], '" />


It is to your benefit to make all the edits to the index.template.php files of your forum... Information about your forum's boards will be put into the description and keywords meta tags when viewing the message index or topics of your forum... There is one edit that can be added to your forum's Sources/Display.php that will add specific topic data when viewing topics as well, but it isn't included in the install package yet.  It's simple so I think I will add it.


About the issues people were having with SMF 2.0... I think I figured it out.  SMF 2.0 reverses magic quotes, but SMF 1.1.x does not... I had added the reversing of magic quotes to the form processing function of zCommunity... I have altered this slightly to only try to reverse it when needed (for SMF 1.1.x when magic quotes is on).  I removed almost all the stripslashes that was going on when loading data from the database and have double checked every place that htmlspecialchars should be happening so that it happens *before* addslashes.  Also, for the un_htmlspecialchars function it will no longer try to use htmlspecialchars_decode from php for PHP versions greater than or equal to 5.2.3.  I think this was part of the problem.  Hopefully this will fix any problems that were happening.
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: runebergen on January 28, 2009, 10:37:25 PM


Hey Charles... I've been busy last few months, and comming back here to this thread now..
Just a simple question...  Is there any versions of the blog mod that can be ran at a prod server ?
I mean, you called one earlier release beta, but it worked like a charm on my test server ;)

Btw, this mod rocks! and I'm so excited to get it out on my site :)

Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on January 28, 2009, 10:40:57 PM
Nothing stable yet.  Works great for me on my test forums and my production site, but I am one person with one setup.  The hardest part is going to be getting the themes/templates to behave properly in a wide variety of browsers types and versions.
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: runebergen on January 29, 2009, 12:31:16 AM

Yeah, the template stuff for my own site i can fix ;)
But would you wait about starting to use it live? 

Since its alpha relase, I guess there migth come a lot of structural changes, that would leave a live site a mess, if things get changed drastically later on in the mod
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on January 29, 2009, 01:22:55 AM
Yes I am in the process of drastically changing things... primarily the template.  The end result of these current changes should make the creation of zcommunity themes a lot easier.
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: locau on January 29, 2009, 03:54:38 AM
Since blog community is gone any ideia when to expect a stable release ?
Title: Re: zCommunity 0.7.6 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Kindred on February 01, 2009, 02:33:33 AM
ok... 2.0 RC1 using 0.7.6 (different server than the previous test)

atempting to import a board (Although I received a server error, (500) each time, I succesffully imported 5 others)
but with this board, I get
Fatal error: Maximum execution time of 30 seconds exceeded in /SITE/Sources/Subs-Db-mysql.php on line 318

When I attempt to save the global settings, I get a 500 error and none of the savings are set.
SITE/index.php?zc=bcp;u=1833;sa=adminOnlyOptions;sesc=#############




Suggestion:   offer an option to allow an Admin to reassign the ownership of a blog to a different user?
Title: Could not locate the necessary zCommunity files. Database edits failed!
Post by: PerryM on February 03, 2009, 01:21:17 AM
Trying to install V 7.6 on Beta 4 with no luck, get the error message:
Could not locate the necessary zCommunity files. Database edits failed!

I've unzipped the zCommunity 0 7 6 alpha___files

On EVERY directory - still get the same error message.

Can anyone help?

Thanks
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on February 03, 2009, 07:51:22 PM
0.7.7 Alpha now available.

Quote from: locau on January 29, 2009, 03:54:38 AM
Since blog community is gone any ideia when to expect a stable release ?

Nope.  Just have to wait and see.

Quote from: Kindred on February 01, 2009, 02:33:33 AM
ok... 2.0 RC1 using 0.7.6 (different server than the previous test)

atempting to import a board (Although I received a server error, (500) each time, I succesffully imported 5 others)
but with this board, I get
Fatal error: Maximum execution time of 30 seconds exceeded in /SITE/Sources/Subs-Db-mysql.php on line 318

When I attempt to save the global settings, I get a 500 error and none of the savings are set.
SITE/index.php?zc=bcp;u=1833;sa=adminOnlyOptions;sesc=#############




Suggestion:   offer an option to allow an Admin to reassign the ownership of a blog to a different user?

I will have to develop my own method of breaking up tasks such as importing boards / topics and community maintenance so that operations won't time out.

I added a change owner function in the Blog Settings tab for blogs.  This is accessible for users who "Can change the ownership of individual blogs" which is a new permission (super admin should be able to do this automatically of course).

Quote from: PerryM on February 03, 2009, 01:21:17 AM
Trying to install V 7.6 on Beta 4 with no luck, get the error message:
Could not locate the necessary zCommunity files. Database edits failed!

I've unzipped the zCommunity 0 7 6 alpha___files

On EVERY directory - still get the same error message.

Can anyone help?

Thanks

Is the zCommunity directory located in your forum's main directory?  (.../forum/zCommunity)
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: jayman2 on February 03, 2009, 10:01:04 PM
I've got this great mod running on my test forum and I have just one problem.  When you go to the blog page, the only avatar that displays, is the administrator's.  Down the left hand side of the listed blogs there is nothing showing, except for the admin's avatar.  Is there somewhere that I can enable the avatars for all members?

Thanks in advance.
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: PerryM on February 03, 2009, 11:39:03 PM
Quote from: Charles Hill on February 03, 2009, 07:51:22 PM
0.7.7 Alpha now available.

Quote from: locau on January 29, 2009, 03:54:38 AM
Since blog community is gone any ideia when to expect a stable release ?

Nope.  Just have to wait and see.

Quote from: Kindred on February 01, 2009, 02:33:33 AM
ok... 2.0 RC1 using 0.7.6 (different server than the previous test)

atempting to import a board (Although I received a server error, (500) each time, I succesffully imported 5 others)
but with this board, I get
Fatal error: Maximum execution time of 30 seconds exceeded in /SITE/Sources/Subs-Db-mysql.php on line 318

When I attempt to save the global settings, I get a 500 error and none of the savings are set.
SITE/index.php?zc=bcp;u=1833;sa=adminOnlyOptions;sesc=#############




Suggestion:   offer an option to allow an Admin to reassign the ownership of a blog to a different user?

I will have to develop my own method of breaking up tasks such as importing boards / topics and community maintenance so that operations won't time out.

I added a change owner function in the Blog Settings tab for blogs.  This is accessible for users who "Can change the ownership of individual blogs" which is a new permission (super admin should be able to do this automatically of course).

Quote from: PerryM on February 03, 2009, 01:21:17 AM
Trying to install V 7.6 on Beta 4 with no luck, get the error message:
Could not locate the necessary zCommunity files. Database edits failed!

I've unzipped the zCommunity 0 7 6 alpha___files

On EVERY directory - still get the same error message.

Can anyone help?

Thanks

Is the zCommunity directory located in your forum's main directory?  (.../forum/zCommunity)

Hi, thanks for the help.

Sadly the new .077 release has the same bug - I've copied the unzipped folder "zCommunity_0_7_7_alpha_files to every directory within smf that I can think of and I still get the same error.

Either the documentation is wrong or its just a bug.  I don't think I can copy it to more folders - a waste of time.
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on February 04, 2009, 12:58:50 AM
Quote from: jayman2 on February 03, 2009, 10:01:04 PM
I've got this great mod running on my test forum and I have just one problem.  When you go to the blog page, the only avatar that displays, is the administrator's.  Down the left hand side of the listed blogs there is nothing showing, except for the admin's avatar.  Is there somewhere that I can enable the avatars for all members?

Thanks in advance.

A screen shot would give me an idea of what's going on exactly.


@ PerryM ... where is the zCommunity folder located relative to your forum's primary index.php file?
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: PerryM on February 04, 2009, 01:05:57 AM
Quote from: Charles Hill on February 04, 2009, 12:58:50 AM
Quote from: jayman2 on February 03, 2009, 10:01:04 PM
I've got this great mod running on my test forum and I have just one problem.  When you go to the blog page, the only avatar that displays, is the administrator's.  Down the left hand side of the listed blogs there is nothing showing, except for the admin's avatar.  Is there somewhere that I can enable the avatars for all members?

Thanks in advance.

A screen shot would give me an idea of what's going on exactly.


@ PerryM ... where is the zCommunity folder located relative to your forum's primary index.php file?

I did copy over the zCommunity folder to every folder in smf and finally got it to install without an error - not sure where it should really go.  I'm now hunting to find the Blog stuff - no luck after 15 minutes - will keep on trying.

Finally stumbled on the Blog CP and clicked the Import button and get the error message:

An Error Has Occurred!
Session verification failed. Please try logging out and back in again, and then try again. 


I sure am not having much luck with this module.

Tried to modify the "Blog Settings" and get the error:

The following error(s) occurred:
must be unique.
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Kindred on February 04, 2009, 01:18:53 AM
Odd...   I upgraded to 0.7.7
now I can't even get into the blog section.
SITE.COM/community/index.php?zc

gives me the message "Error!" and reloaded the forum front page

I found a way to get in, but after trying one more import, the "blog" link in the menu is gone and there does not seem to be any way to get it back.   Attempting to go back a page and save the blog as "enabled" has no effect at all
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on February 04, 2009, 01:22:44 AM
Quote from: Kindred on February 04, 2009, 01:18:53 AM
Odd...   I upgraded to 0.7.7
now I can't even get into the blog section.
SITE.COM/community/index.php?zc

gives me the message "Error!" and reloaded the forum front page

When does it give the error message?   It gives an error message then reloads the forum board index?  I'm confused...

QuoteTried to modify the "Blog Settings" and get the error:

The following error(s) occurred:
must be unique.

Ya the $txt['blogName'] variable doesn't exist... missed it when I was rewriting the names of all the txt variables.  It's supposed to be $txt['b391'].  As for why the error occurred... Two blogs cannot have the same name.
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Kindred on February 04, 2009, 01:31:00 AM
well, I clicked "Blog" in the menu, and the title tag (in the browser title bar) said "Error!"

I had a link at the bottom of the screen that said "blogs not intitialized, blick here to go to blog admin..." or something along those lines.
I clicked that and went to the blog admin.
Attempted one more board import and got the 30 second timeout warning, used the back arrow and then clicked manage blogs to see what I could so with the existing blog... this resulted in the blog menu item disappearing and every attempt to get back into the blog section results in a reload of the forum index.


-edit- oh, how VERY odd....   I looked at the server and the zCommunity directory had been completely removed.
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on February 04, 2009, 01:33:46 AM
I suggest emptying out the blog_blogs, blog_articles, blog_comments, blog_polls, blog_log_polls, blog_log_articles, blog_log_blogs tables in your DB.  There was probably a problem with half importing a board to the blog tables...  I mentioned that I need to devise a method for chopping up the importing of blogs/topics into smaller tasks so that you don't get the time-out problem.

@ that edit... ya that's really weird.... There's no code in the package-info.xml that would suggest doing anything with the zCommunity folder.
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Kindred on February 04, 2009, 01:52:11 AM
ok... so, I restored the files along with my custom theme...

with the exception of not being able to import one of the pre-existing smf boards into the blogs, it seems to be correctly working now... And THANKS for adding the "reassign owner" function.
I was able to import the blogs of 8 users who had been the moderators of the "blog board" in SMF. 
Title: I like it, I like it
Post by: PerryM on February 04, 2009, 01:54:03 AM
Wow!  I like this thing.

Hopefully the last major bugs will be out in a week so I can incorporate it into a new chat room I'm releasing.

This is going to be fantastic.

Would be nice to hook up the spelling button.
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on February 04, 2009, 02:11:37 AM
Glad you like it :)

There's still a lot of functions / scripts I need to get done to get this thing stand-alone.  There's so much that goes into making a large scale stand-alone script it's ridiculous.  I want to get this thing to that point because I have a website / brand idea that I want to get going, but it requires a script like zCommunity (but a stand-alone version) for it to work.
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: jayman2 on February 04, 2009, 09:03:25 AM
Quote from: Charles Hill on February 04, 2009, 12:58:50 AM
Quote from: jayman2 on February 03, 2009, 10:01:04 PM
I've got this great mod running on my test forum and I have just one problem.  When you go to the blog page, the only avatar that displays, is the administrator's.  Down the left hand side of the listed blogs there is nothing showing, except for the admin's avatar.  Is there somewhere that I can enable the avatars for all members?

Thanks in advance.

A screen shot would give me an idea of what's going on exactly.


@ PerryM ... where is the zCommunity folder located relative to your forum's primary index.php file?
Here's a screen shot of my blogs page.  The entry with the picture is the admin's.  The other's are just test users I created.  Their avatar's won't show.  Any ideas?  Thanks.
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on February 04, 2009, 09:21:25 AM
Quote from: jayman2 on February 04, 2009, 09:03:25 AM
Quote from: Charles Hill on February 04, 2009, 12:58:50 AM
Quote from: jayman2 on February 03, 2009, 10:01:04 PM
I've got this great mod running on my test forum and I have just one problem.  When you go to the blog page, the only avatar that displays, is the administrator's.  Down the left hand side of the listed blogs there is nothing showing, except for the admin's avatar.  Is there somewhere that I can enable the avatars for all members?

Thanks in advance.

A screen shot would give me an idea of what's going on exactly.


@ PerryM ... where is the zCommunity folder located relative to your forum's primary index.php file?
Here's a screen shot of my blogs page.  The entry with the picture is the admin's.  The other's are just test users I created.  Their avatar's won't show.  Any ideas?  Thanks.


How are their avatars set up?  (is the image uploaded from a computer to the server or is it taken from a remote address)
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: jayman2 on February 04, 2009, 09:49:40 AM
Quote from: Charles Hill on February 04, 2009, 09:21:25 AM
Quote from: jayman2 on February 04, 2009, 09:03:25 AM
Quote from: Charles Hill on February 04, 2009, 12:58:50 AM
Quote from: jayman2 on February 03, 2009, 10:01:04 PM
I've got this great mod running on my test forum and I have just one problem.  When you go to the blog page, the only avatar that displays, is the administrator's.  Down the left hand side of the listed blogs there is nothing showing, except for the admin's avatar.  Is there somewhere that I can enable the avatars for all members?

Thanks in advance.

A screen shot would give me an idea of what's going on exactly.


@ PerryM ... where is the zCommunity folder located relative to your forum's primary index.php file?
Here's a screen shot of my blogs page.  The entry with the picture is the admin's.  The other's are just test users I created.  Their avatar's won't show.  Any ideas?  Thanks.


How are their avatars set up?  (is the image uploaded from a computer to the server or is it taken from a remote address)
The admin avatar was uploaded from my computer.  The other 2 user's avatar are from the smf installation.
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Andree on February 04, 2009, 11:56:24 AM
Problem with permission. Blogger can't access to the blog's control panel. Сan't create an article in his blog, but can edit.
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: PfalzNacht on February 04, 2009, 12:53:37 PM
Where can i set that the zCommunity is my "homepage" instead of the Forum itself?

When i'm ready with all, i will translate the whole blog into german-utf8, and upload the files.  ;)
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on February 04, 2009, 12:59:47 PM
Quote from: Andree on February 04, 2009, 11:56:24 AM
Problem with permission. Blogger can't access to the blog's control panel. Сan't create an article in his blog, but can edit.


What's the problem?

Quote from: The Crusader on February 04, 2009, 12:53:37 PM
Where can i set that the zCommunity is my "homepage" instead of the Forum itself?

When i'm ready with all, i will translate the whole blog into german-utf8, and upload the files.  ;)

You have to edit some things in your smf sources files and the main index.php.  I'll make a Tips & Tricks section which will contain a How To for doing this (can't give an ETA on this right now, though).
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: PfalzNacht on February 04, 2009, 01:02:16 PM
Quote from: Charles Hill on February 04, 2009, 12:59:47 PM
You have to edit some things in your smf sources files and the main index.php.  I'll make a Tips & Tricks section which will contain a How To for doing this (can't give an ETA on this right now, though).

Thanks!

Can you please say what to edit?

I don't need e complete tutorial, only a short input. ;-)
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Andree on February 04, 2009, 01:13:41 PM
absolutely all permissions for user - on, but user can't create an article in his blog - You are not allowed to post articles
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on February 04, 2009, 02:18:22 PM
Quote from: Andree on February 04, 2009, 01:13:41 PM
absolutely all permissions for user - on, but user can't create an article in his blog - You are not allowed to post articles

Are you sure they are the owner (you can see who the owner is in the Blog Settings tab for that blog in the control panel)?  If they aren't the owner they have to be on the "Users allowed to post articles" list or be in a member group that is allowed to post articles (look under the Posting Restrictions tab of the blog in the control panel for the allowed to post articles lists).

Quote from: The Crusader on February 04, 2009, 01:02:16 PM
Quote from: Charles Hill on February 04, 2009, 12:59:47 PM
You have to edit some things in your smf sources files and the main index.php.  I'll make a Tips & Tricks section which will contain a How To for doing this (can't give an ETA on this right now, though).

Thanks!

Can you please say what to edit?

I don't need e complete tutorial, only a short input. ;-)

I'll try to write up some simple instructions some time today.
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: PfalzNacht on February 04, 2009, 02:20:11 PM
Ok thanks!!  ;)
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Andree on February 04, 2009, 03:02:40 PM
Yes, they are the owner. and can't create an article in his blog, but can edit article
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: mikemikemike on February 04, 2009, 03:42:40 PM
Hoi Charles,

Great mode. I have installed te latest version of zc.
But i have a problem with tinyportal 0.98

I can't hide the blogs..

Maybe you have an idea how i can do that.

Thanx
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Kindred on February 05, 2009, 01:45:25 AM
ok. 0.7.7 installed

the blogs that I imported from boards assigned me as owner.
I then used the re=assign function to assign the correct owners of the blogs.

however, the owners can not see the "write article" links or the "blog admin" link...   it looks like the system doesn't really se them as the owner.

Also, each time someone goes to a blog, I get the following set of errors in my logs

http://SITE/index.php?zc 

2: copy(/SITE/zCommunity/Themes/greyscale/info.php~) [<a href='function.copy'>function.copy</a>]: failed to open stream: Permission denied
File: /SITE/zCommunity/Sources/Subs-Files.php
Line: 44 

2: unlink(/SITE/zCommunity/Themes/greyscale/info.php) [<a href='function.unlink'>function.unlink</a>]: Permission denied
File: /SITE/zCommunity/Sources/Subs-Files.php
Line: 45 

2: fopen(/SITE/zCommunity/Themes/greyscale/info.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: File exists
File: /SITE/zCommunity/Sources/Subs-Files.php
Line: 46 

2: fwrite(): supplied argument is not a valid stream resource
File: /SITE/zCommunity/Sources/Subs-Files.php
Line: 47 

2: fclose(): supplied argument is not a valid stream resource
File: /SITE/zCommunity/Sources/Subs-Files.php
Line: 48 


and
http://SITE/index.php?blog=1.0 
8: Undefined index: rtm1
File: /SITE/zCommunity/Sources/Blog.php
Line: 1288 



Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on February 05, 2009, 01:56:44 AM
Quote from: Kindred on February 05, 2009, 01:45:25 AM
ok. 0.7.7 installed

the blogs that I imported from boards assigned me as owner.
I then used the re=assign function to assign the correct owners of the blogs.

however, the owners can not see the "write article" links or the "blog admin" link...   it looks like the system doesn't really se them as the owner.

Also, each time someone goes to a blog, I get the following set of errors in my logs

http://SITE/index.php?zc 

2: copy(/SITE/zCommunity/Themes/greyscale/info.php~) [<a href='function.copy'>function.copy</a>]: failed to open stream: Permission denied
File: /SITE/zCommunity/Sources/Subs-Files.php
Line: 44 

2: unlink(/SITE/zCommunity/Themes/greyscale/info.php) [<a href='function.unlink'>function.unlink</a>]: Permission denied
File: /SITE/zCommunity/Sources/Subs-Files.php
Line: 45 

2: fopen(/SITE/zCommunity/Themes/greyscale/info.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: File exists
File: /SITE/zCommunity/Sources/Subs-Files.php
Line: 46 

2: fwrite(): supplied argument is not a valid stream resource
File: /SITE/zCommunity/Sources/Subs-Files.php
Line: 47 

2: fclose(): supplied argument is not a valid stream resource
File: /SITE/zCommunity/Sources/Subs-Files.php
Line: 48 


and
http://SITE/index.php?blog=1.0 
8: Undefined index: rtm1
File: /SITE/zCommunity/Sources/Blog.php
Line: 1288 





Ya I suppose I neglected to test things thoroughly from varying user perspectives...  I'll run some tests and debug things for non-admin users.  As for the file function errors... I am not all that experienced with file permissions and such... yet.  I am about to get to work on finishing off the processing of file uploads via zCommunity's form processing function, so I'll figure it out.
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: mandukar on February 05, 2009, 05:37:37 AM
Quotethe blogs that I imported from boards assigned me as owner.
I then used the re=assign function to assign the correct owners of the blogs.

however, the owners can not see the "write article" links or the "blog admin" link...   it looks like the system doesn't really se them as the owner.
I get that problem too. Yeah it does seem that the write permission isn't added to the permission list for regula user's.
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: jayman2 on February 05, 2009, 05:45:03 AM
Quote from: jayman2 on February 04, 2009, 09:03:25 AM
Quote from: Charles Hill on February 04, 2009, 12:58:50 AM
Quote from: jayman2 on February 03, 2009, 10:01:04 PM
I've got this great mod running on my test forum and I have just one problem.  When you go to the blog page, the only avatar that displays, is the administrator's.  Down the left hand side of the listed blogs there is nothing showing, except for the admin's avatar.  Is there somewhere that I can enable the avatars for all members?

Thanks in advance.

A screen shot would give me an idea of what's going on exactly.


@ PerryM ... where is the zCommunity folder located relative to your forum's primary index.php file?
Here's a screen shot of my blogs page.  The entry with the picture is the admin's.  The other's are just test users I created.  Their avatar's won't show.  Any ideas?  Thanks.
OK, on my test smf 2b4 forum, I just uploaded avatars for my test users and they show on the blog page just fine.  It's the avatars that come with smf and you select from your profile pages that don't show up in the blog.  They show up in the forums just fine.  Anyone else having this problem?
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Lamarck on February 05, 2009, 06:29:53 PM
I  updated from 0.75 to 0.77 and now some options in control panel doesn't show properly (the template is "cutted",for example in themes,preferences,global settings,etc).
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Ambasador on February 06, 2009, 06:10:05 AM
Hi, thanks for the zCommunity, the mod is really great, though it might be a bit better if it had smf's wysiwyg post box.

Cheers!
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: jayman2 on February 06, 2009, 07:20:46 AM
Quote from: jayman2 on February 05, 2009, 05:45:03 AM
Quote from: jayman2 on February 04, 2009, 09:03:25 AM
Quote from: Charles Hill on February 04, 2009, 12:58:50 AM
Quote from: jayman2 on February 03, 2009, 10:01:04 PM
I've got this great mod running on my test forum and I have just one problem.  When you go to the blog page, the only avatar that displays, is the administrator's.  Down the left hand side of the listed blogs there is nothing showing, except for the admin's avatar.  Is there somewhere that I can enable the avatars for all members?

Thanks in advance.

A screen shot would give me an idea of what's going on exactly.


@ PerryM ... where is the zCommunity folder located relative to your forum's primary index.php file?
Here's a screen shot of my blogs page.  The entry with the picture is the admin's.  The other's are just test users I created.  Their avatar's won't show.  Any ideas?  Thanks.
OK, on my test smf 2b4 forum, I just uploaded avatars for my test users and they show on the blog page just fine.  It's the avatars that come with smf and you select from your profile pages that don't show up in the blog.  They show up in the forums just fine.  Anyone else having this problem?
Anyone?
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on February 06, 2009, 09:15:01 AM
Had issues with my web host all day yesterday... couldn't get anything done.

Quote from: Lamarck on February 05, 2009, 06:29:53 PM
I  updated from 0.75 to 0.77 and now some options in control panel doesn't show properly (the template is "cutted",for example in themes,preferences,global settings,etc).

Screenshot and browser version / operating system?

Quote from: Ambasador on February 06, 2009, 06:10:05 AM
Hi, thanks for the zCommunity, the mod is really great, though it might be a bit better if it had smf's wysiwyg post box.

Cheers!

Going to be a while before I implement a wysiwyg editor...

Quote from: mandukar on February 05, 2009, 05:37:37 AM
Quotethe blogs that I imported from boards assigned me as owner.
I then used the re=assign function to assign the correct owners of the blogs.

however, the owners can not see the "write article" links or the "blog admin" link...   it looks like the system doesn't really se them as the owner.
I get that problem too. Yeah it does seem that the write permission isn't added to the permission list for regula user's.

Found the problem... In zCommunity/zc.php ... Find the following and delete it:
$context['is_blog_owner'] = false;

Find the following in zCommunity/Sources/Load.php:
if (empty($blog) && empty($article))
return false;


Paste the following code after the above code:


$context['is_blog_owner'] = false;



@jayman2 ... still working on it.
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: PfalzNacht on February 06, 2009, 09:24:57 AM
When you are in time, can you please tell me how to make it that the zCommunity is my default page, and the forum is like action=forum?  ;)
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on February 06, 2009, 09:29:20 AM
What version of SMF are you using, Crusader?
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: PfalzNacht on February 06, 2009, 09:39:15 AM
I'm using SMF 2 RC1.
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: jayman2 on February 06, 2009, 10:02:08 AM
Thanks Charles,
It's a great mod.  Just this avatar problem that's got me stumped.
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on February 06, 2009, 10:44:45 AM
@ The Crusader ... I don't have SMF 2 RC1 and I haven't made zcomm be the default forum page with the board index being at action=forum on any versions of SMF 2.  If I recall correctly, the only places you should have to change anything are SMF's Sources/Load.php and SMF's main index.php.  I don't really have time to look at SMF 2's code to figure this out right now.  :(
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: PfalzNacht on February 06, 2009, 12:32:39 PM
Hmm, at your page is the startpage the zCommunity and the forum is action=forum.  ;)

How you did this?
Only by edit the Load.php and the index.php?

I'll try it out, and when i got it i will post the changes.  ;)
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: mikemikemike on February 06, 2009, 01:03:04 PM
Quote from: Andree on February 04, 2009, 01:13:41 PM
absolutely all permissions for user - on, but user can't create an article in his blog - You are not allowed to post articles

Hi I have the same problem to. The permissions works not correct. I haveall permissions for user - on too, but can't write an artikel.
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Andree on February 06, 2009, 01:42:14 PM
1. on the community mainpage i can't sort article by any parameter - redirect to forum main page
2. variable b622 occurs twice in the text Post.english.php on line 47 and 50.
3. when i go to blogs - active tab is home. See picture.

Sorry for bad english
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Andree on February 06, 2009, 02:09:17 PM
no text, only numbers 319, 301, 29.
see picture
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on February 06, 2009, 02:15:22 PM
Quote from: Andree on February 06, 2009, 02:09:17 PM
no text, only numbers 319, 301, 29.
see picture

Thanks that's just a text string issue... guess I missed a few spots where smf's text strings are still used instead of all zcomm strings.

Quote from: mikemikemike on February 06, 2009, 01:03:04 PM
Quote from: Andree on February 04, 2009, 01:13:41 PM
absolutely all permissions for user - on, but user can't create an article in his blog - You are not allowed to post articles

Hi I have the same problem to. The permissions works not correct. I haveall permissions for user - on too, but can't write an artikel.
http://www.simplemachines.org/community/index.php?topic=244848.msg1915934#msg1915934

Quote from: Andree on February 06, 2009, 01:42:14 PM
1. on the community mainpage i can't sort article by any parameter - redirect to forum main page
2. variable b622 occurs twice in the text Post.english.php on line 47 and 50.
3. when i go to blogs - active tab is home. See picture.

Sorry for bad english

1.  Change $context['zc']['zCommunity_is_home'] = true; back to $context['zc']['zCommunity_is_home'] = false;  (located in zCommunity/zc.php)

2.  Not sure what the problem is?  Need more info

3.  I assume you're using SMF 2?  I haven't figured out SMF 2's menus yet... You'd think everything would be located in one place... but noooooo... sigh
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Andree on February 06, 2009, 02:22:46 PM
1. when i edit article - alt text for code button is Red, i simply removed the line 50
2. another missed text.see picture
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on February 06, 2009, 03:02:13 PM
Yup I found them all.  They were in options arrays of various settings.  Thanks :)
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Tiribulus on February 06, 2009, 08:15:18 PM
When I extract the zip package I have no folders at all and hence not one that ends with _files. Thinking I was misunderstanding something I installed it anyway and it doesn't show up anywhere except in the admin CP.

I may need some enlightenment on how to install this or it won't work with my very tweaked theme.
Thanks
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Kindred on February 06, 2009, 08:56:40 PM
There are two zip files...   one called   ***_files.   THAT is the one that you have to manually upload to your server before you install the package.

As for your theme, I can say, almost certainly, that it won't work completely without further tweaks
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Tiribulus on February 06, 2009, 09:36:48 PM
Quote from: Kindred on February 06, 2009, 08:56:40 PM
There are two zip files...   one called   ***_files.   THAT is the one that you have to manually upload to your server before you install the package.

As for your theme, I can say, almost certainly, that it won't work completely without further tweaks

Well, aren't I jist a ninny :-[

Lemme try that.
Thanks
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Tiribulus on February 06, 2009, 10:01:43 PM
Best I can tell it installed, all the admin stuff is there, I enabled it and set permissions for everybody, but it doesn't show up in anybody's profile. Oh well.

This looks like a colossal amount of very hard work went into developing it, but I don't really need it and at the moment it isn't worth what it looks like I'm going to have to go through to get it working.
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Kindred on February 06, 2009, 10:30:51 PM
that is correct...  I do not believe there is any link in the forum profile yet...   that is something that Charles has mentioned but has not done (if I am correct)
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Tiribulus on February 06, 2009, 10:49:01 PM
Quote from: Kindred on February 06, 2009, 10:30:51 PM
that is correct...  I do not believe there is any link in the forum profile yet...   that is something that Charles has mentioned but has not done (if I am correct)

How do you use it then? I couldn't find it anywhere. I thought I read  somewhere in this thread that you were supposed to start a blog in your profile. Does it have anything to do with importing the boards or whatever that setting I saw was?
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on February 06, 2009, 10:50:51 PM
Quote from: Tiribulus on February 06, 2009, 10:49:01 PM
Quote from: Kindred on February 06, 2009, 10:30:51 PM
that is correct...  I do not believe there is any link in the forum profile yet...   that is something that Charles has mentioned but has not done (if I am correct)

How do you use it then? I couldn't find it anywhere. I thought I read  somewhere in this thread that you were supposed to start a blog in your profile. Does it have anything to do with importing the boards or whatever that setting I saw was?

Go to the Blogs tab from your forum's main navigation menu... Or you can reach it via the address bar...   .../index.php?zc    should be self explanatory from there.



edit.....

Quote from: Kindred on February 06, 2009, 10:30:51 PM
that is correct...  I do not believe there is any link in the forum profile yet...   that is something that Charles has mentioned but has not done (if I am correct)

You are correct.  I haven't added that yet....  I've been hesitant to make modifications to SMF's code.  Less is more I think.  Though having information from your site's zCommunity in the user profiles could be very helpful.
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Kindred on February 06, 2009, 11:41:53 PM
SMF Media Gallery has done a nice job of adding a profile tab for the user's galleries and images...   You might take a look at how they did that.

(mind you, this is for 2.0RC1)


<file name="$sourcedir/Profile.php">
<operation>
<search position="before"><![CDATA[ 'activateaccount' => array(
'file' => 'Profile-Actions.php',
'function' => 'activateAccount',
'sc' => 'get',
'select' => 'summary',
'permission' => array(
'own' => array(),
'any' => array('moderate_forum'),
),
),
),
),]]></search>
<add><![CDATA[
// SMF Media Gallery changes
'mgallery' => array(
'title' => $txt['mgallery_gallery'],
'areas' => array(
'mgallery' => array(
'file' => 'MGallery-Sub.php',
'function' => 'MGal_Profile_Summary',
'label' => $txt['mgallery_profile_sum'],
'permission' => array(
'own' => array('mgallery_viewprofile'),
'any' => array('mgallery_viewprofile'),
),
'load_member' => true,
),
'mgalitems' => array(
'file' => 'MGallery-Sub.php',
'function' => 'MGal_Profile_ViewItems',
'label' => $txt['mgallery_view_items'],
'permission' => array(
'own' => array('mgallery_viewprofile'),
'any' => array('mgallery_viewprofile'),
),
'load_member' => true,
),
'mgalcoms' => array(
'file' => 'MGallery-Sub.php',
'function' => 'MGal_Profile_ViewComs',
'label' => $txt['mgallery_view_coms'],
'permission' => array(
'own' => array('mgallery_viewprofile'),
'any' => array('mgallery_viewprofile'),
),
'load_member' => true,
),
),
),]]></add>
</operation>
</file>
</modification>

[ /code]
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: dry3210 on February 09, 2009, 12:47:09 PM
After upgrading to 0.7.7 Alpha I seem to have lost my side window with the archive.  I have the settings checked to show the side window (or unchecked really to not hide it) and have archive checked and it doesn't show.

Any ideas?  Maybe I missed some setting somewhere or something
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: dry3210 on February 09, 2009, 12:57:16 PM
Actually, it would seem it won't let me post writings either.  It just clears everything out and says I need a title and body entered even though I did.

I checked the error log and woah..

http://www.dry3210.com/index.php?zc=post;blog=1;article 
8: Undefined index: rand_string
File: /dry3210.com/zCommunity/Sources/Post.php
Line: 495

http://www.dry3210.com/index.php?zc 
2: max() [<a href='function.max'>function.max</a>]: Array must contain atleast one element
File: /dry3210.com/zCommunity/Sources/Blog.php
Line: 981

http://www.dry3210.com/index.php?zc 
8: Undefined index: num_recent_entries
File: /dry3210.com/zCommunity/Sources/Blog.php
Line: 652

http://www.dry3210.com/index.php?zc 
2: max() [<a href='function.max'>function.max</a>]: Array must contain atleast one element
File: /dry3210.com/zCommunity/Sources/Settings.php
Line: 923

And several hundred pages of that and more. 

I uninstalled the old version before installing the new but perhaps I need to clear out the database also...which means I'll lose all my previous blogs
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on February 09, 2009, 01:05:54 PM
You updated the files yes?  Also... what version did you upgrade *from*?

PHP version?
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: PfalzNacht on February 09, 2009, 01:18:38 PM
Ist it possible to use php in a sidebar?

I want to show with SSI the recent_posts and other stuff?

Or can we make this as a little plugin?
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on February 09, 2009, 01:23:25 PM
Quote from: The Crusader on February 09, 2009, 01:18:38 PM
Ist it possible to use php in a sidebar?

I want to show with SSI the recent_posts and other stuff?

Or can we make this as a little plugin?

I'll get to work on that... I want to make it a standard feature (allow for php or html or both in articles, comments, side windows, custom blocks).  There will be permissions for this of course.

As a side note... I finally fixed that weird Session Verification failed error that was occurring when importing SMF boards :)
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: PfalzNacht on February 09, 2009, 01:32:11 PM
What do you think how long do you need to make php and/or html possible in a block?  ;)

Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on February 09, 2009, 01:39:20 PM
Well I haven't made the custom blocks (for the community page) yet.  And I still have a couple tricky bugs to tackle (including better compatibility with Internet Explorer ack!).  Couldn't say how long it'll take...
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: dry3210 on February 09, 2009, 04:42:51 PM
Quote from: Charles Hill on February 09, 2009, 01:05:54 PM
You updated the files yes?  Also... what version did you upgrade *from*?

PHP version?

I uninstalled it through SMF and deleted the zCommunity folder then uploaded the new zCommunity folder and installed the new 0.7.7 Alpha.  I can't remember the previous version but the blog was only maybe 2-3 weeks old tops so I'd assume it was whatever version before 0.7.7 Alpha

PHP 5
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Xepernas on February 09, 2009, 06:19:52 PM
Quote from: Charles Hill on February 09, 2009, 01:23:25 PMAs a side note... I finally fixed that weird Session Verification failed error that was occurring when importing SMF boards :)
Oh very cool, that. You mean for 0.7.8, though ?
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Kindred on February 10, 2009, 09:11:21 AM
hmmm....  0.7.7 still having some "saving" issues.

I can not change the default access permissions for blogs...   nor can I change the actual blog's access permissions.

So, the only people who can access the blogs right now are guests, and 3 of the 12 member groups (oddly enough).  Regular members can not access any of the blogs.
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: mikemikemike on February 11, 2009, 08:58:20 AM
HI Charles,

When i configured my blog en fill in a name en description and save it. I will see the description only in Firefox but not in IE.

How can i set an description of the blog on the community page?
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on February 11, 2009, 09:25:57 AM
Quote from: Kindred on February 10, 2009, 09:11:21 AM
hmmm....  0.7.7 still having some "saving" issues.

I can not change the default access permissions for blogs...   nor can I change the actual blog's access permissions.

So, the only people who can access the blogs right now are guests, and 3 of the 12 member groups (oddly enough).  Regular members can not access any of the blogs.

Some of the stuff in zCommunity/zc.php needed rearranging.  I've been doing a lot of testing as different member types with different permissions and as guests in all 4 modes.  Think I got all the kinks worked out.  Fixed a ton of little things and a couple big things.

Quote from: mikemikemike on February 11, 2009, 08:58:20 AM
HI Charles,

When i configured my blog en fill in a name en description and save it. I will see the description only in Firefox but not in IE.

How can i set an description of the blog on the community page?

A lot of the dhtml stuff like 'view description' I have hidden from IE users because IE doesn't like to do some things properly.

Quote from: Xepernas on February 09, 2009, 06:19:52 PM
Quote from: Charles Hill on February 09, 2009, 01:23:25 PMAs a side note... I finally fixed that weird Session Verification failed error that was occurring when importing SMF boards :)
Oh very cool, that. You mean for 0.7.8, though ?

Yes that fix will be in 0.7.8
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Lamarck on February 11, 2009, 11:57:47 AM
Just a question: will you release upgrade scripts with alpha versions,or we will have to wait until betas or RCs?
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on February 11, 2009, 12:20:12 PM
Still shuffling things around and making large changes, so no there won't be upgrade scripts.  There are very few changes made to the SMF files anyways, so it shouldn't be horribly inconvenient.
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Fentablar on February 11, 2009, 07:39:09 PM
I'm currently running Blog Community 2.0.2 -- If I remove that package and install zCommunity, will it recognize my existing blogs?
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: ʟink on February 11, 2009, 09:11:33 PM
Ummm...I'm really stumped on what I'm doing wrong. I reinstalled the entire forum on my site to try to fix this error, but my efforts were in vain. I'm getting this error when I try to click the "Blogs" tab.
Page request Error
The page you have requested does not exist.

What am I doing wrong? Or is this a bug?
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on February 11, 2009, 10:16:28 PM
Quote from: Fentablar on February 11, 2009, 07:39:09 PM
I'm currently running Blog Community 2.0.2 -- If I remove that package and install zCommunity, will it recognize my existing blogs?

Your old blogs will become regular boards in your forum, and you'll have to use the import SMF boards function in the control panel to import them to the zCommunity database tables.  I would hold off on using zcomm on a production site, though (especially if you've got blogs with substantial amount of content).

Quote from: linkgamer3 on February 11, 2009, 09:11:33 PM
Ummm...I'm really stumped on what I'm doing wrong. I reinstalled the entire forum on my site to try to fix this error, but my efforts were in vain. I'm getting this error when I try to click the "Blogs" tab.
Page request Error
The page you have requested does not exist.

What am I doing wrong? Or is this a bug?

What SMF version are you running?
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: dry3210 on February 11, 2009, 10:54:00 PM
Well I installed it on a "test" site I have that has SMF 1.1.8. Tiny Portal and SMF Media Gallery installed and I have the same issues..

1. Lots of the same errors
2. I type in a topic and body and post and it clears it and says I need to enter those things in
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: ʟink on February 12, 2009, 12:15:29 AM
Quote from: Charles Hill on February 11, 2009, 10:16:28 PM
Quote from: Fentablar on February 11, 2009, 07:39:09 PM
I'm currently running Blog Community 2.0.2 -- If I remove that package and install zCommunity, will it recognize my existing blogs?

Your old blogs will become regular boards in your forum, and you'll have to use the import SMF boards function in the control panel to import them to the zCommunity database tables.  I would hold off on using zcomm on a production site, though (especially if you've got blogs with substantial amount of content).

Quote from: linkgamer3 on February 11, 2009, 09:11:33 PM
Ummm...I'm really stumped on what I'm doing wrong. I reinstalled the entire forum on my site to try to fix this error, but my efforts were in vain. I'm getting this error when I try to click the "Blogs" tab.
Page request Error
The page you have requested does not exist.

What am I doing wrong? Or is this a bug?

What SMF version are you running?
2.0 RC1
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Fentablar on February 12, 2009, 04:11:30 AM
Quote from: Charles Hill on February 11, 2009, 10:16:28 PM
Your old blogs will become regular boards in your forum, and you'll have to use the import SMF boards function in the control panel to import them to the zCommunity database tables.  I would hold off on using zcomm on a production site, though (especially if you've got blogs with substantial amount of content).

Thanks for your reply, Charles.  I have a replica site that I am going to test with using this release, but I certainly understand your reservations about moving forward in production with the current iteration.
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Smoothbrain on February 12, 2009, 12:38:26 PM
Hello Charles I have a couple of questions, a couple minor and one major:

First before I do anything else like upload the latest version etc.  I will ask the major question. 

I am trying to narrow down the source of an issue I am having at my board:
http://bandalumni.startlogic.com
The problem is as follows.  I (and others report this as well) open a browser window (I use IE7) and log into my site.  If I then subsequently close out of the browser and open a new browser I wind up seeing the following problems.
1.  I can not access the admin center.
2.  I can not reply to posts.
3.  I can not log out.
4.  It has also been reported to me that registering is sometimes an issue.
the error I receive is a Session Verification error.
To clear this issue I can clear my temp internet files.

I apologize if this is not an issue with your mod but I am trying to narrow it down and I am thinking it is either your mod or possibly a conflict with the TP mod.  I also saw you mention something about a Session Ver error and was wondering if I finally found my answer.

I also have a couple minor questions well one maybe.  If I do upgrade my zComm to latest version are the manual instructions same as for previous version? I have a custom skin I am inserting the bits into.  Thanks for all your help.

Smooth aka Heather
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: dry3210 on February 12, 2009, 01:00:28 PM
Maybe I should just install the previous version and hope that works again as it didn't have any issues for me and displayed nicer.  Only....I don't have it saved anywhere.  Anyway I can get it?
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Charles Hill on February 12, 2009, 01:58:43 PM
Quote from: Smoothbrain on February 12, 2009, 12:38:26 PM
Hello Charles I have a couple of questions, a couple minor and one major:

First before I do anything else like upload the latest version etc.  I will ask the major question. 

I am trying to narrow down the source of an issue I am having at my board:
http://bandalumni.startlogic.com
The problem is as follows.  I (and others report this as well) open a browser window (I use IE7) and log into my site.  If I then subsequently close out of the browser and open a new browser I wind up seeing the following problems.
1.  I can not access the admin center.
2.  I can not reply to posts.
3.  I can not log out.
4.  It has also been reported to me that registering is sometimes an issue.
the error I receive is a Session Verification error.
To clear this issue I can clear my temp internet files.

I apologize if this is not an issue with your mod but I am trying to narrow it down and I am thinking it is either your mod or possibly a conflict with the TP mod.  I also saw you mention something about a Session Ver error and was wondering if I finally found my answer.

I also have a couple minor questions well one maybe.  If I do upgrade my zComm to latest version are the manual instructions same as for previous version? I have a custom skin I am inserting the bits into.  Thanks for all your help.

Smooth aka Heather

No you shouldn't be having issues like that because of zcomm... that's most likely a problem with another mod you've installed.  The session verification error was occurring when importing an smf board to the zcommunity database tables.  I am pretty sure the installation package for zcomm's 0.7.8 will be the same as 0.7.7... can't be 100% sure on that because I don't have time to read every line of code in it at the moment.

Quote from: dry3210 on February 12, 2009, 01:00:28 PM
Maybe I should just install the previous version and hope that works again as it didn't have any issues for me and displayed nicer.  Only....I don't have it saved anywhere.  Anyway I can get it?
Patience... almost done with 0.7.8... have to finish incrementing the import board function and one last bug I have to fix...
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: Kindred on February 12, 2009, 05:45:22 PM
SMF 2.0 RC1, 0.7.7alpha

Ok. in addition to fopen and other file related error messages:

I have the permissions issue (changes to group permissions are not saved... The check boxes get checked, but are cleared as soon as you clikc "save"... and the data is not written to the database.   I have manually edited the permissions in the database, but those are not reflected in the checkboxes either.

Also, when a user tries to delete an article in his personal blog, it says that not allowed to del community news..
and I'm not allowed to edit community news either...
When I try edit article it says :
You are not allowed to %s.

Which is true, for permissions... I am not using community news, so all permissions for that are disabled... but what he is doing are rleated to his personal blog articles, not community news articles.

-edit-- I think I may know why I am getting so many file errors...    under 0.7.6, I added a theme called greyscale. when I upgraded to 0.7.7, the directory is there... and the database references the greyscale theme, but there is no option in the blog admin to use the greyscale theme or even to add a theme...

Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: dry3210 on February 13, 2009, 12:11:17 PM
Quote from: Charles Hill on February 12, 2009, 01:58:43 PM
Patience... almost done with 0.7.8... have to finish incrementing the import board function and one last bug I have to fix...

Alright.  Was just hoping to have a working version in the mean time but no big.  I'll wait. 
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: ʟink on February 13, 2009, 02:19:19 PM
Quote from: linkgamer3 on February 11, 2009, 09:11:33 PM
Ummm...I'm really stumped on what I'm doing wrong. I reinstalled the entire forum on my site to try to fix this error, but my efforts were in vain. I'm getting this error when I try to click the "Blogs" tab.
Page request Error
The page you have requested does not exist.

What am I doing wrong? Or is this a bug?
Ok, I found a fix...of sorts...If I specify something else along with the URL, the main blog page will come up. For example, http://whatninja.com/index.php?zc will not work, however, http://whatninja.com/index.php?zc;theme=2 will work. Any suggestions on a real fix though? Please?
Title: Re: zCommunity 0.7.8 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on February 13, 2009, 09:25:02 PM
0.7.8 Alpha now available.  Tested on fresh install of SMF RC1 and SMF 1.1.8, worked great.
Title: Re: zCommunity 0.7.8 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Kindred on February 13, 2009, 11:27:40 PM
Charles,

I still have the one problem:
-- Global blog settings are not saved.  Some are, some are not, but the default permissions definitely are NOT saved. The checkboxes get checked, I clikc save and the checkboxes become unchecled. In addition, the checkboxes for not reflect the manual database entries I was forced to add in order to make permissions work.

The fopen, fwrite and fclose issues seem to have been due to a mi-set of the new theme that I added. I have not seen then since the install of 0.7.8 and the correction of the theme installation.

question on permissions for users who belong to multiple groups:
Are permissions inclusive (i.e. if ONE of the groups that a user belongs to HAS a permission does that mean that the user will have that permission) or exclusive (i.e. if ONE of the groups that a user belongs to DOES NOT HAVE a permission does that mean that the user will not have that permission)
Title: Re: zCommunity 0.7.8 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: ~Killer~ on February 14, 2009, 07:05:58 AM
This doesn't work properly on 2B4, can someone assist me please? :'(
Title: Re: zCommunity 0.7.8 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Kindred on February 14, 2009, 08:11:30 AM
you know "doesn't work properly" is not at all helpful
DESCRIBE *ACTUAL* issues.

Also, update to RC1
Title: Re: zCommunity 0.7.8 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: PfalzNacht on February 14, 2009, 08:23:31 AM
Does now html and php works in a custom side block? 
Title: Re: zCommunity 0.7.8 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on February 14, 2009, 10:23:31 AM
Quote from: Kindred on February 13, 2009, 11:27:40 PM
Charles,

I still have the one problem:
-- Global blog settings are not saved.  Some are, some are not, but the default permissions definitely are NOT saved. The checkboxes get checked, I clikc save and the checkboxes become unchecled. In addition, the checkboxes for not reflect the manual database entries I was forced to add in order to make permissions work.

The fopen, fwrite and fclose issues seem to have been due to a mi-set of the new theme that I added. I have not seen then since the install of 0.7.8 and the correction of the theme installation.

question on permissions for users who belong to multiple groups:
Are permissions inclusive (i.e. if ONE of the groups that a user belongs to HAS a permission does that mean that the user will have that permission) or exclusive (i.e. if ONE of the groups that a user belongs to DOES NOT HAVE a permission does that mean that the user will not have that permission)

I tested permissions and global settings, and had no problems saving them on a fresh install of SMF 2 RC1.

Yes @ the fopen stuff.. If some of the themes or plugins you have installed have the same names for their IDs or settings IDs, then the files are rewritten where necessary to avoid any future conflicts.  I still have to run some tests on these functions to get them to work properly in all cases.

Permissions should be inclusive.



Quote from: ~Killer~ on February 14, 2009, 07:05:58 AM
This doesn't work properly on 2B4, can someone assist me please? :'(

What is happening?  Do you have any other mods installed?  Please try to provide more information when asking for support.

Quote from: The Crusader on February 14, 2009, 08:23:31 AM
Does now html and php works in a custom side block? 

No not yet, sorry.  This last version was more of a large bug fix.
Title: Re: zCommunity 0.7.8 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: robinrobin on February 14, 2009, 10:48:27 AM
So there are no upgrade instructions?

If i make custom changes to the files i have to re-do them every time because You're not letting us know which files You changed.

Will all articles go away too every time we upgrade?
Title: Re: zCommunity 0.7.8 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: PfalzNacht on February 14, 2009, 12:00:19 PM
@ Charles Hill:

which theme is this on yout site?
Is this your own theme?
Title: Re: zCommunity 0.7.8 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Andree on February 14, 2009, 01:04:27 PM
smf 2.0 rc1, zcomm 0.7.8
Fatal error: Function name must be a string in Z:\home\localhost\www\zsmf\zCommunity\Sources\Subs.php on line 526

in log:

http://localhost/zsmf/index.php?zc
8: Undefined variable: zcFunc
File: Z:/home/localhost/www/zsmf/zCommunity/Sources/Subs.php
Line: 526


new code in 0.7.8
$return = $array['avatar'] == '' ? ($array['id_attach'] > 0 ? '<img src="' . (empty($array['attachment_type']) ? $scripturl . '?action=dlattach;attach=' . $array['id_attach'] . ';type=avatar' : $modSettings['custom_avatar_url'] . '/' . $array['filename']) . '"' . $avatar_width . $avatar_height . ' alt="" class="avatar" border="0" />' : '') : (stristr($array['avatar'], 'http://') ? '<img src="' . $array['avatar'] . '"' . $avatar_width . $avatar_height . ' alt="" class="avatar" border="0" />' : '<img src="' . $modSettings['avatar_url'] . '/' . $zcFunc['htmlspecialchars']($array['avatar']) . '"' . $avatar_width . $avatar_height . ' alt="" class="avatar" border="0" />');


in 0.7.7 was
$return = $array['avatar'] == '' ? ($array['id_attach'] > 0 ? '<img src="' . (empty($array['attachment_type']) ? $scripturl . '?action=dlattach;attach=' . $array['id_attach'] . ';type=avatar' : $modSettings['custom_avatar_url'] . '/' . $array['filename']) . '"' . $avatar_width . $avatar_height . ' alt="" class="avatar" border="0" />' : '') : (stristr($array['avatar'], 'http://') ? '<img src="' . $array['avatar'] . '"' . $avatar_width . $avatar_height . ' alt="" class="avatar" border="0" />' : '<img src="' . $modSettings['avatar_url'] . '/' . htmlspecialchars($array['avatar']) . '"' . $avatar_width . $avatar_height . ' alt="" class="avatar" border="0" />');

Title: Re: zCommunity 0.7.8 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Andree on February 14, 2009, 01:13:37 PM
see picture
Title: Re: zCommunity 0.7.8 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on February 14, 2009, 01:40:23 PM
Quote from: robinrobin on February 14, 2009, 10:48:27 AM
So there are no upgrade instructions?

If i make custom changes to the files i have to re-do them every time because You're not letting us know which files You changed.

Will all articles go away too every time we upgrade?

The info in your database will be unchanged when you upgrade.  This is still in an alpha version... There are too many changes for me to keep track.  If I were to do that, this would takes a very very very long time.  I would wait on making too many custom themes or modifications of your own until later versions.

Quote from: Andree on February 14, 2009, 01:04:27 PM
smf 2.0 rc1, zcomm 0.7.8
Fatal error: Function name must be a string in Z:\home\localhost\www\zsmf\zCommunity\Sources\Subs.php on line 526

in log:

http://localhost/zsmf/index.php?zc
8: Undefined variable: zcFunc
File: Z:/home/localhost/www/zsmf/zCommunity/Sources/Subs.php
Line: 526


new code in 0.7.8
$return = $array['avatar'] == '' ? ($array['id_attach'] > 0 ? '<img src="' . (empty($array['attachment_type']) ? $scripturl . '?action=dlattach;attach=' . $array['id_attach'] . ';type=avatar' : $modSettings['custom_avatar_url'] . '/' . $array['filename']) . '"' . $avatar_width . $avatar_height . ' alt="" class="avatar" border="0" />' : '') : (stristr($array['avatar'], 'http://') ? '<img src="' . $array['avatar'] . '"' . $avatar_width . $avatar_height . ' alt="" class="avatar" border="0" />' : '<img src="' . $modSettings['avatar_url'] . '/' . $zcFunc['htmlspecialchars']($array['avatar']) . '"' . $avatar_width . $avatar_height . ' alt="" class="avatar" border="0" />');


in 0.7.7 was
$return = $array['avatar'] == '' ? ($array['id_attach'] > 0 ? '<img src="' . (empty($array['attachment_type']) ? $scripturl . '?action=dlattach;attach=' . $array['id_attach'] . ';type=avatar' : $modSettings['custom_avatar_url'] . '/' . $array['filename']) . '"' . $avatar_width . $avatar_height . ' alt="" class="avatar" border="0" />' : '') : (stristr($array['avatar'], 'http://') ? '<img src="' . $array['avatar'] . '"' . $avatar_width . $avatar_height . ' alt="" class="avatar" border="0" />' : '<img src="' . $modSettings['avatar_url'] . '/' . htmlspecialchars($array['avatar']) . '"' . $avatar_width . $avatar_height . ' alt="" class="avatar" border="0" />');



In zCommunity/Sources/Subs.php ...

Find the following:
list($avatar_width, $avatar_height)

Add the following *before* the above code:
global $zcFunc;


Quote from: Andree on February 14, 2009, 01:13:37 PM
see picture

What's the problem?
Title: Re: zCommunity 0.7.8 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Andree on February 14, 2009, 01:44:59 PM
QuoteWhat's the problem?
must be "Code". Or no?
Title: Re: zCommunity 0.7.8 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on February 14, 2009, 04:17:59 PM
Quote from: The Crusader on February 14, 2009, 12:00:19 PM
@ Charles Hill:

which theme is this on yout site?
Is this your own theme?

Ya that's a theme I made.

Quote from: Andree on February 14, 2009, 01:44:59 PM
QuoteWhat's the problem?
must be "Code". Or no?

Figured out what problem you were referring to... fixed it :)


A large problem was discovered with the detecting of missing columns for a few of the database tables.  I figured it out.  Also I fixed the few other minor bugs that were discovered.

I'll have 0.7.9 ready in a bit.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: ~Killer~ on February 14, 2009, 05:46:33 PM
0.7.9 out :)

On a clean install it isn't working for me, it just throws up an error (can't see it now, deleted the files, will test again in a bit). And do I have to overwrite all of my files, meaning all edits/mods I'll have to do again?
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on February 14, 2009, 07:57:50 PM
Quote from: ~Killer~ on February 14, 2009, 05:46:33 PM
0.7.9 out :)

On a clean install it isn't working for me, it just throws up an error (can't see it now, deleted the files, will test again in a bit). And do I have to overwrite all of my files, meaning all edits/mods I'll have to do again?

When/where?  What version of SMF?  Yes you have to delete the whole zCommunity folder and upload the new one.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: qubbah on February 14, 2009, 10:05:20 PM
is there any code for simple portal or tp to show latest article in blog? TQ
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on February 14, 2009, 10:34:07 PM
Quote from: qubbah on February 14, 2009, 10:05:20 PM
is there any code for simple portal or tp to show latest article in blog? TQ

Nope not yet.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: dry3210 on February 15, 2009, 12:55:12 AM
Ok so I completely uninstalled 0.7.7 and deleted the files

I then uploaded the 0.7.9 files and then installed the smf files for it.

Everything looks how it looked back BEFORE I put 0.7.7 on (which is good, I liked how that looked)

However when I fill in a subject and an entry and try to post it, it clears it all out and then says I can't post it without filling those items in. 

I only get one error now

8: Undefined index: rand_string
File: dry3210.com/zCommunity/Sources/Post.php
Line: 498
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on February 15, 2009, 01:30:20 AM
Quote from: dry3210 on February 15, 2009, 12:55:12 AM
Ok so I completely uninstalled 0.7.7 and deleted the files

I then uploaded the 0.7.9 files and then installed the smf files for it.

Everything looks how it looked back BEFORE I put 0.7.7 on (which is good, I liked how that looked)

However when I fill in a subject and an entry and try to post it, it clears it all out and then says I can't post it without filling those items in. 

I only get one error now

8: Undefined index: rand_string
File: dry3210.com/zCommunity/Sources/Post.php
Line: 498

What is the state of these php settings on your server (where smf is)?

session.hash_function
session.save_path
session.use_only_cookies

@ Kindred ... couldn't replicate the difficulties you were having with permissions.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: PfalzNacht on February 15, 2009, 01:19:45 PM
@ Charles:

what is the Syntax to develop little plug-ins?

You can pm or email me, because i want to help you with some things.  ;)
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Andree on February 15, 2009, 01:39:27 PM
error in log:

8: Undefined index: show_pm_popup
File: /usr/home/**/****/***/public_html/zCommunity/zc.php
Line: 794
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on February 15, 2009, 01:45:26 PM
Quote from: The Crusader on February 15, 2009, 01:19:45 PM
@ Charles:

what is the Syntax to develop little plug-ins?

You can pm or email me, because i want to help you with some things.  ;)

The syntax will be quite apparent in the contact forms plug-in I've already made (and am using on DoZ).  I just need to finish developing the downloads system plug-in to distribute said contact forms plug-in ;)
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: PfalzNacht on February 15, 2009, 03:06:57 PM
Ok, then i will wait until you will be ready to release your first plug-in.  ;)
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: ~Killer~ on February 15, 2009, 03:58:11 PM
Okay, I'm running 2.0 BETA 4.
I've tried 0.7.7 and 0.7.9, neither work. 0.7.7 just comes up with a template parse error, but within 0.7.9 I cannot access anything to do with it on my forum, when it says "Click here to be taken to the blog control panel" or something like that, it just takes me to my forum home page, what should I do? :'(
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: jayman2 on February 15, 2009, 05:46:26 PM
I'm running smf 1.1.8 and I'm can't upload any version of zcommunity except 0.7.4.  Whenever I try to upload any other version I get this error:
The package you tried to upload either is not a valid package or has become corrupted.

I've redownloaded it several times and it will unpack without any errors, but package manager just can't upload it.  I have 0.7.4 installed and running great except the blog won't display any avatars that came with the smf installation.  If I upload an avatar from my pc, they display in the blog just fine.  Is there any other way to upload the new version so I can install the latest version of zcommunity?
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: ~Killer~ on February 15, 2009, 05:58:19 PM
JayMan2, it's got to be in a new folder in your root forum directory called "zCommunity", (the "_files"), then you upload the main via Package Manager...
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: jayman2 on February 15, 2009, 06:06:10 PM
Quote from: ~Killer~ on February 15, 2009, 05:58:19 PM
JayMan2, it's got to be in a new folder in your root forum directory called "zCommunity", (the "_files"), then you upload the main via Package Manager...
Thanks for your reply.  I know how to install it.  I have it running just fine on 2 sites.   I just cant upload any version except v0.7.4 thru Package Manager in smf 1.1.8.  I can only upload v0.7.4 thru Package Manager.  I would be happy with 0.7.4 if it wasn't for the avatar problem.  I would like to upgrade to the latest version of zc.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Masterjts on February 15, 2009, 06:24:37 PM
Quote
The following error(s) occurred:
Subject cannot be blank.
Body cannot be blank.

I installed a fresh copy of SMF RC1 2.0 and ZCommunity 0.7.9A. Whenever I go to create a new Article or post a comment to an existing article I get the error message Above. If I retype the information in the new page then it posts normally. Any ideas on what is causing this problem?

http://www.obelisks.net/forum/index.php?zc
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: GQCritic on February 15, 2009, 06:29:53 PM
Quote from: Masterjts on February 15, 2009, 06:24:37 PM
Quote
The following error(s) occurred:
Subject cannot be blank.
Body cannot be blank.

I installed a fresh copy of SMF RC1 2.0 and ZCommunity 0.7.9A. Whenever I go to create a new Article or post a comment to an existing article I get the error message Above. If I retype the information in the new page then it posts normally. Any ideas on what is causing this problem?

http://www.obelisks.net/forum/index.php?zc

I'm pretty sure it's a bug. A lot of people have reported this issue (including myself).
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Masterjts on February 15, 2009, 07:06:47 PM
Thats a little reassuring since I now know its not my problem but also a little disappointing since it will stay broken until a new version is released.

I love the mod sofar (except for that deal breaking bug where you loose your entire post and get that error message.)
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Kindred on February 15, 2009, 07:56:52 PM
0.7.9 posting and commenting works for me ....
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: dry3210 on February 15, 2009, 09:10:02 PM
Quote from: Charles Hill on February 15, 2009, 01:30:20 AM
Quote from: dry3210 on February 15, 2009, 12:55:12 AM
Ok so I completely uninstalled 0.7.7 and deleted the files

I then uploaded the 0.7.9 files and then installed the smf files for it.

Everything looks how it looked back BEFORE I put 0.7.7 on (which is good, I liked how that looked)

However when I fill in a subject and an entry and try to post it, it clears it all out and then says I can't post it without filling those items in. 

I only get one error now

8: Undefined index: rand_string
File: dry3210.com/zCommunity/Sources/Post.php
Line: 498

What is the state of these php settings on your server (where smf is)?

session.hash_function
session.save_path
session.use_only_cookies

@ Kindred ... couldn't replicate the difficulties you were having with permissions.

thats not even English to me. 
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on February 15, 2009, 10:08:14 PM
Quote from: ~Killer~ on February 15, 2009, 03:58:11 PM
Okay, I'm running 2.0 BETA 4.
I've tried 0.7.7 and 0.7.9, neither work. 0.7.7 just comes up with a template parse error, but within 0.7.9 I cannot access anything to do with it on my forum, when it says "Click here to be taken to the blog control panel" or something like that, it just takes me to my forum home page, what should I do? :'(

SMF 2 has its own caching system... so the cache has to be cleared after initially installing zCommunity.  I forgot to add the code that clears the cache to the install_db_edits.php file.. go to your admin area and save your settings somewhere the zCommunity stuff should work then.

Quote from: dry3210 on February 15, 2009, 09:10:02 PM
Quote from: Charles Hill on February 15, 2009, 01:30:20 AM
Quote from: dry3210 on February 15, 2009, 12:55:12 AM
Ok so I completely uninstalled 0.7.7 and deleted the files

I then uploaded the 0.7.9 files and then installed the smf files for it.

Everything looks how it looked back BEFORE I put 0.7.7 on (which is good, I liked how that looked)

However when I fill in a subject and an entry and try to post it, it clears it all out and then says I can't post it without filling those items in. 

I only get one error now

8: Undefined index: rand_string
File: dry3210.com/zCommunity/Sources/Post.php
Line: 498

What is the state of these php settings on your server (where smf is)?

session.hash_function
session.save_path
session.use_only_cookies

@ Kindred ... couldn't replicate the difficulties you were having with permissions.

thats not even English to me. 

I think the problem some people are experiencing with the posting is due to those 3 php settings... I will investigate further and try to figure out a solution.

Quote from: jayman2 on February 15, 2009, 06:06:10 PM
Quote from: ~Killer~ on February 15, 2009, 05:58:19 PM
JayMan2, it's got to be in a new folder in your root forum directory called "zCommunity", (the "_files"), then you upload the main via Package Manager...
Thanks for your reply.  I know how to install it.  I have it running just fine on 2 sites.   I just cant upload any version except v0.7.4 thru Package Manager in smf 1.1.8.  I can only upload v0.7.4 thru Package Manager.  I would be happy with 0.7.4 if it wasn't for the avatar problem.  I would like to upgrade to the latest version of zc.

What do you mean you can't install the later versions?  What problem is occurring and when/where?
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on February 15, 2009, 11:36:56 PM
Instead of wasting a lot of time figuring out what exactly is going wrong with the $_SESSION global, I am using another method of doing the same thing... Should work for those of you who were experiencing difficulties with it.  Rather than force you all to wait for the next version I've attached the altered Post.php so that you can get it working.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Masterjts on February 15, 2009, 11:57:43 PM
That fixes the problem for me but creates another problem that is extremely minor. Under the new individual blog settings there are two save buttons. The bottom save button does nothing but refresh the page. The top save button works normally.

This fix works fine for me. Thank you very much.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on February 16, 2009, 12:00:37 AM
Quote from: Masterjts on February 15, 2009, 11:57:43 PM
That fixes the problem for me but creates another problem that is extremely minor. Under the new individual blog settings there are two save buttons. The bottom save button does nothing but refresh the page. The top save button works normally.

This fix works fine for me. Thank you very much.

That has nothing to do with Post.php

That is an unrelated issue, that I will look at right now.


edit---

Could someone who was having the problems with posting try the Post.php attached to THIS message and tell me if it works for them or not.  Thanks :)
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Masterjts on February 16, 2009, 12:29:14 AM
That brings back the "field can not be blank" error for me. Although I am not sure if that is the "posting" problem you are referring to.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on February 16, 2009, 12:58:22 AM
Ya that's the posting problem I was referring to... Blah... Will keep playing around with it, but if anyone wants a temp fix for that problem use the Post.php from that other reply.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: GQCritic on February 16, 2009, 01:13:22 AM
I'm guessing the problem that I'm having with blog permissions not saving is related to this bug also?
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on February 16, 2009, 01:14:46 AM
No not at all.  What version of zCommunity and SMF?
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: GQCritic on February 16, 2009, 01:19:05 AM
Quote from: Charles Hill on February 16, 2009, 01:14:46 AM
No not at all.  What version of zCommunity and SMF?

zCommunity 0.7.9 Alpha
Smf 2.0 RC 1



I can check the blog permissions checkboxes that allow membergroups to have access to blogs, but then when the page refreshes after I click save, the boxes are no longer checked and nothing is changed in the database.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: mikemikemike on February 16, 2009, 03:07:48 AM
Hi Charless, I have a problem with the bcc code. When I typing an article en want to make it bold of set an image. Normally you must select the text or image (or other) en put the Bcc code button (bold, image etc). En then it put an html code around the text.

In the ZC (I have now version 0.7.9) it set the html code at the end of the (completely) article text.  I hope you can fix it in the new version of ZC. Maybe it is possible to set more text options (text color, attachment etc) so de writer have more options to present her/his blog article.

Maybe it is an idea ( I hope it is possible),  Can you make a option in the blogs so everyone can change the background of his/her blog (by default background I can set, or attachment or both).
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: ~Killer~ on February 16, 2009, 05:24:15 AM
So can anyone help with my issue? (Page 61).
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Kindred on February 16, 2009, 07:45:30 AM
Hey GQ...

that's the same issue I am having (although I am NOT having any problem with posting.)
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: jayman2 on February 16, 2009, 09:57:26 AM
I finally got zc 0.7.9 installed.  I didn't recieve any error messages during the install.  Everything on my forum seems to be working the same, but when I click on the "blog" button, I get this error:

Fatal error: require_once() [function.require]: Failed opening required '/zc.php' (include_path='.:/usr/lib/php5') in /homepages/35/d171960345/htdocs/mywebsite.com/index.php on line 310

This is what appears on line 310 of my index.php:

// zC_START() function is where everything in the blog community starts...
      require_once($zc_dir . '/zc.php');
      return 'zC_START';

Has anyone else seen this problem, or know what's causing it?

Thanks in advance.


Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: dry3210 on February 16, 2009, 10:35:46 AM
Quote from: Charles Hill on February 15, 2009, 11:36:56 PM
Instead of wasting a lot of time figuring out what exactly is going wrong with the $_SESSION global, I am using another method of doing the same thing... Should work for those of you who were experiencing difficulties with it.  Rather than force you all to wait for the next version I've attached the altered Post.php so that you can get it working.

That did it for me.  Works now.  And as far as I can tell so far theres no errors coming up.

Good stuff.  Thanks for not making me wait for the next version too! 
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: qubbah on February 16, 2009, 11:44:51 AM
i didnt see where can i edit the artcile has been posted?
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on February 16, 2009, 11:59:09 AM
Quote from: jayman2 on February 16, 2009, 09:57:26 AM
I finally got zc 0.7.9 installed.  I didn't recieve any error messages during the install.  Everything on my forum seems to be working the same, but when I click on the "blog" button, I get this error:

Fatal error: require_once() [function.require]: Failed opening required '/zc.php' (include_path='.:/usr/lib/php5') in /homepages/35/d171960345/htdocs/mywebsite.com/index.php on line 310

This is what appears on line 310 of my index.php:

// zC_START() function is where everything in the blog community starts...
      require_once($zc_dir . '/zc.php');
      return 'zC_START';

Has anyone else seen this problem, or know what's causing it?

Thanks in advance.




You've got the old code for zCommunity in your forum's index.php... you have to uninstall all the edits from that file and then install the correct edits.   The edits for that file are located in other_1_1_x.xml (if using smf 1.1.x) or other_2.xml (if using smf2).

Quote from: qubbah on February 16, 2009, 11:44:51 AM
i didnt see where can i edit the artcile has been posted?

Hover over the gear icon on an article or comment in your blog and a bunch of icons will appear with the appropriate actions possible for you.  If this is not appearing, you need to make sure that the edits were made properly to whatever forum theme you were using (the index.template.php file of the theme... forum/Themes/default/index.template.php for example).

Quote from: Kindred on February 16, 2009, 07:45:30 AM
Hey GQ...

that's the same issue I am having (although I am NOT having any problem with posting.)

I just installed a fresh smf 2 rc1 on my server... I'll test it right now.

Quote from: mikemikemike on February 16, 2009, 03:07:48 AM
Hi Charless, I have a problem with the bcc code. When I typing an article en want to make it bold of set an image. Normally you must select the text or image (or other) en put the Bcc code button (bold, image etc). En then it put an html code around the text.

In the ZC (I have now version 0.7.9) it set the html code at the end of the (completely) article text.  I hope you can fix it in the new version of ZC. Maybe it is possible to set more text options (text color, attachment etc) so de writer have more options to present her/his blog article.

Maybe it is an idea ( I hope it is possible),  Can you make a option in the blogs so everyone can change the background of his/her blog (by default background I can set, or attachment or both).


Not entirely sure what you are saying :(

Quote from: ~Killer~ on February 15, 2009, 03:58:11 PM
Okay, I'm running 2.0 BETA 4.
I've tried 0.7.7 and 0.7.9, neither work. 0.7.7 just comes up with a template parse error, but within 0.7.9 I cannot access anything to do with it on my forum, when it says "Click here to be taken to the blog control panel" or something like that, it just takes me to my forum home page, what should I do? :'(

I did answer this:

"SMF 2 has its own caching system... so the cache has to be cleared after initially installing zCommunity.  I forgot to add the code that clears the cache to the install_db_edits.php file.. go to your admin area and save your settings somewhere the zCommunity stuff should work then."


edit---
I just tested the permissions area... had no problems at all.  Where/when exactly are you having difficulties?  (Kindred and GQCritic)
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Kindred on February 16, 2009, 02:40:42 PM
Hi Charles,

I can give you a temp admin account if you'd like to see it...   but the short of it is:

Blog Control Panel > Global Blog Settings
http://SITE/index.php?zc=bcp;u=1833;sa=adminOnlyOptions

Default Settings for new blogs
currently selected, 4 of the user groups
click "check all"
All checkboxes are selected
click "Save"
page refreshes with only the foru check boxes selected again...

Looking in the database, none of the changes were recorded.

(I have previously gone into the database via myphpadmin and edited the value to include ALL groups, but that is not reflected in the checkboxes either)


The same thing happens in the individual blog control panel, for the specific blog permissions.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: GQCritic on February 16, 2009, 03:14:53 PM
Quote from: Kindred on February 16, 2009, 02:40:42 PM
Hi Charles,

I can give you a temp admin account if you'd like to see it...   but the short of it is:

Blog Control Panel > Global Blog Settings
http://SITE/index.php?zc=bcp;u=1833;sa=adminOnlyOptions

Default Settings for new blogs
currently selected, 4 of the user groups
click "check all"
All checkboxes are selected
click "Save"
page refreshes with only the foru check boxes selected again...

Looking in the database, none of the changes were recorded.

(I have previously gone into the database via myphpadmin and edited the value to include ALL groups, but that is not reflected in the checkboxes either)


The same thing happens in the individual blog control panel, for the specific blog permissions.



Yep, exact same thing here.

:)
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: ~Killer~ on February 16, 2009, 03:51:34 PM
Hello, are you all deaf to me here? I can click on the Blog Button, but it sends me to my forum home, and I have nothing viewable in the Admin Panel for it...
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on February 16, 2009, 04:34:09 PM
@ ~Killer~ ...  I have answered you twice... If what I suggested didn't work let me know.

@ Kindred and GQCritic ... weird... I just tested all that stuff as well, and it all works.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Kindred on February 16, 2009, 04:46:27 PM
yup... I believed you when you said that you had tested it. :)
However, it appears to be something with our configuration.
I am running on a dedicated server... and I have several other mods, including ezportal installed...   

As I said, I am willing to give you a temp admin account and FTP access to look into this if you would like.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on February 16, 2009, 04:47:49 PM
Quote from: Kindred on February 16, 2009, 04:46:27 PM
yup... I believed you when you said that you had tested it. :)
However, it appears to be something with our configuration.
I am running on a dedicated server... and I have several other mods, including ezportal installed...  

As I said, I am willing to give you a temp admin account and FTP access to look into this if you would like.


Well I don't have time to do it right now, but we could try that in a couple hours or so when I have some time.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: jayman2 on February 16, 2009, 06:41:16 PM
QuoteYou've got the old code for zCommunity in your forum's index.php... you have to uninstall all the edits from that file and then install the correct edits.   The edits for that file are located in other_1_1_x.xml (if using smf 1.1.x) or other_2.xml (if using smf2).
Charles, I did what you instructed and removed all of the zc edits from my index.php.  Then I add the first part of the code that initializes the zc community.

When I added the 2nd part to load the blog, I keep getting a require error.  I'm using smf 2b4 and I'm trying to get zC v0.7.9 running.  This is the code that I'm trying to use in my index.php:

// entering the blogging community...
   elseif (isset($modSettings['zc_mode']) && isset($zc['main_dir']) && empty($_REQUEST['action']) && (isset($_REQUEST['zc']) || !empty($_REQUEST['blog']) || !empty($_REQUEST['article'])))
   {
      return 'zC_START';
   }

This give me the error, referring to this code.   Is this what I should be using?  I don't know anything about php programming, but I was playing around with the code and I was able to get the blog to load up, but then I had other problems, like I couldn't log off of the forum.  Any suggestions?
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on February 16, 2009, 06:56:54 PM
There should be one other bit of code in the index.php above that.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: jayman2 on February 16, 2009, 07:01:35 PM
Quote from: Charles Hill on February 16, 2009, 06:56:54 PM
There should be one other bit of code in the index.php above that.
Yes, I added that part first.  It's when I add this last part that I start having problems.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on February 16, 2009, 07:06:06 PM
Could you copy/paste that part of your index.php also?
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: jayman2 on February 16, 2009, 07:14:29 PM
Quote from: Charles Hill on February 16, 2009, 07:06:06 PM
Could you copy/paste that part of your index.php also?
Here's that section:

   // Load the current theme.  (note that ?theme=1 will also work, may be used for guest theming.)
   loadTheme();

   // Check if the user should be disallowed access.
   is_not_banned();

   if (isset($modSettings['zc_mode']))
   {
      global $context, $boarddir;
      global $zc, $zcFunc, $blog_info, $blog, $article, $comment, $poll, $draft;

      // initialize zCommunity...
      if (file_exists($boarddir . '/zCommunity/zc.php'))
      {
         require_once($boarddir . '/zCommunity/zc.php');
         zc_init();
      }
      else
         unset($modSettings['zc_mode']);
   }

   if (isset($modSettings['blogMode']))
   {
      global $context, $boarddir, $boardurl;
      global $zc_dir, $zc_sources_dir, $zc_includes_url, $zc_themes_url, $zc_themes_dir;
      global $zc_settings, $blog_info, $blog, $article, $comment, $poll, $draft;

         // detect SMF version....
      if (substr($modSettings['smfVersion'], 0, 3) == '2.0')
         $context['zc']['smf_version'] = '2.0';
      elseif (substr($modSettings['smfVersion'], 0, 3) == '1.1')
         $context['zc']['smf_version'] = '1.1.x';
      else
         $context['zc']['smf_version'] = false;
   }

   // If we are in a topic and don't have permission to approve it then duck out now.
   if (!empty($topic) && empty($board_info['cur_topic_approved']) && !allowedTo('approve_posts') && ($user_info['id'] != $board_info['cur_topic_starter'] || $user_info['is_guest']))
      fatal_lang_error('not_a_topic', false);

   // Do some logging, unless this is an attachment, avatar, theme option or XML feed.
   if (empty($_REQUEST['action']) || !in_array($_REQUEST['action'], array('dlattach', 'jsoption', '.xml', 'xmlhttp', 'verificationcode')))
   {
      // Log this user as online.
      writeLog();

      // Track forum statistics and hits...?
      if (!empty($modSettings['hitStats']))
         trackStats(array('hits' => '+'));
   }

   //SPortal
   sportal_init();

   // Is the forum in maintenance mode? (doesn't apply to administrators.)
   if (!empty($maintenance) && !allowedTo('admin_forum'))
   {
      // You can only login.... otherwise, you're getting the "maintenance mode" display.
      if (isset($_REQUEST['action']) && ($_REQUEST['action'] == 'login2' || $_REQUEST['action'] == 'logout'))
      {
         require_once($sourcedir . '/LogInOut.php');
         return $_REQUEST['action'] == 'login2' ? 'Login2' : 'Logout';
      }
      // Don't even try it, sonny.
      else
      {
         require_once($sourcedir . '/Subs-Auth.php');
         return 'InMaintenance';
      }
   }
   // 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', 'help', 'smstats', '.xml', 'mailq', 'verificationcode', 'openidreturn',))))
   {
      require_once($sourcedir . '/Subs-Auth.php');
      return 'KickGuest';
   }
   // Check for arcade actions
   // IBPArcade v2.x.x Games support
   elseif (isset($_REQUEST['act']) && strtolower($_REQUEST['act']) == 'arcade')
   {
      $_REQUEST['action'] = 'arcade';

      if (isset($_REQUEST['do']) && $_REQUEST['do'] == 'newscore')
         $_REQUEST['sa'] = 'ibpsubmit2';

      require_once($sourcedir . '/Arcade.php');
      return 'Arcade';
   }
   // IBPArcade v3.x.x Games support
   elseif (isset($_REQUEST['autocom']) && $_REQUEST['autocom'] == 'arcade')
   {
      $_REQUEST['action'] = 'arcade';

      if (isset($_REQUEST['do']) && $_REQUEST['do'] == 'savescore')
         $_REQUEST['sa'] = 'ibpsubmit3';

      elseif (isset($_REQUEST['do']) && $_REQUEST['do'] = 'verifyscore')
         $_REQUEST['sa'] = 'ibpverify';

      require_once($sourcedir . '/Arcade.php');
      return 'Arcade';
   }
   elseif (isset($_REQUEST['play']))
   {
      $_REQUEST['game'] = $_REQUEST['play'];
      unset($_REQUEST['play']);
      $_REQUEST['sa'] = 'play';

      require_once($sourcedir . '/Arcade.php');
      return 'Arcade';
   }
   elseif (isset($_REQUEST['highscore']))
   {
      $_REQUEST['game'] = $_REQUEST['highscore'];
      unset($_REQUEST['highscore']);
      $_REQUEST['sa'] = 'highscore';

      require_once($sourcedir . '/Arcade.php');
      return 'Arcade';
   }
   elseif ((isset($_REQUEST['game']) || isset($_REQUEST['match'])) && !isset($_REQUEST['action']))
   {
      require_once($sourcedir . '/Arcade.php');
      return 'Arcade';
   }
   elseif (empty($_REQUEST['action']))
   // entering the blogging community...
      elseif (isset($modSettings['zc_mode']) && isset($zc['main_dir']) && empty($_REQUEST['action']) && (isset($_REQUEST['zc']) || !empty($_REQUEST['blog']) || !empty($_REQUEST['article'])))
      {
         return 'zC_START';
      }

   {

   // Action and board are both empty... SPortal!
      if (empty($board) && empty($topic) && !empty($modSettings['portalactive']))
      {
         require_once($sourcedir . '/SPortal2.php');
         return 'SPortal';
      }
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on February 16, 2009, 07:39:50 PM
Try this modified version of that code snippet you pasted above:

// Load the current theme.  (note that ?theme=1 will also work, may be used for guest theming.)
   loadTheme();

   // Check if the user should be disallowed access.
   is_not_banned();

   if (isset($modSettings['zc_mode']))
   {
      global $context, $boarddir;
      global $zc, $zcFunc, $blog_info, $blog, $article, $comment, $poll, $draft;

      // initialize zCommunity...
      if (file_exists($boarddir . '/zCommunity/zc.php'))
      {
         require_once($boarddir . '/zCommunity/zc.php');
         zc_init();
      }
      else
         unset($modSettings['zc_mode']);
   }

   // If we are in a topic and don't have permission to approve it then duck out now.
   if (!empty($topic) && empty($board_info['cur_topic_approved']) && !allowedTo('approve_posts') && ($user_info['id'] != $board_info['cur_topic_starter'] || $user_info['is_guest']))
      fatal_lang_error('not_a_topic', false);

   // Do some logging, unless this is an attachment, avatar, theme option or XML feed.
   if (empty($_REQUEST['action']) || !in_array($_REQUEST['action'], array('dlattach', 'jsoption', '.xml', 'xmlhttp', 'verificationcode')))
   {
      // Log this user as online.
      writeLog();

      // Track forum statistics and hits...?
      if (!empty($modSettings['hitStats']))
         trackStats(array('hits' => '+'));
   }

   //SPortal
   sportal_init();

   // Is the forum in maintenance mode? (doesn't apply to administrators.)
   if (!empty($maintenance) && !allowedTo('admin_forum'))
   {
      // You can only login.... otherwise, you're getting the "maintenance mode" display.
      if (isset($_REQUEST['action']) && ($_REQUEST['action'] == 'login2' || $_REQUEST['action'] == 'logout'))
      {
         require_once($sourcedir . '/LogInOut.php');
         return $_REQUEST['action'] == 'login2' ? 'Login2' : 'Logout';
      }
      // Don't even try it, sonny.
      else
      {
         require_once($sourcedir . '/Subs-Auth.php');
         return 'InMaintenance';
      }
   }
   // 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', 'help', 'smstats', '.xml', 'mailq', 'verificationcode', 'openidreturn',))))
   {
      require_once($sourcedir . '/Subs-Auth.php');
      return 'KickGuest';
   }
   // Check for arcade actions
   // IBPArcade v2.x.x Games support
   elseif (isset($_REQUEST['act']) && strtolower($_REQUEST['act']) == 'arcade')
   {
      $_REQUEST['action'] = 'arcade';

      if (isset($_REQUEST['do']) && $_REQUEST['do'] == 'newscore')
         $_REQUEST['sa'] = 'ibpsubmit2';

      require_once($sourcedir . '/Arcade.php');
      return 'Arcade';
   }
   // IBPArcade v3.x.x Games support
   elseif (isset($_REQUEST['autocom']) && $_REQUEST['autocom'] == 'arcade')
   {
      $_REQUEST['action'] = 'arcade';

      if (isset($_REQUEST['do']) && $_REQUEST['do'] == 'savescore')
         $_REQUEST['sa'] = 'ibpsubmit3';

      elseif (isset($_REQUEST['do']) && $_REQUEST['do'] = 'verifyscore')
         $_REQUEST['sa'] = 'ibpverify';

      require_once($sourcedir . '/Arcade.php');
      return 'Arcade';
   }
   elseif (isset($_REQUEST['play']))
   {
      $_REQUEST['game'] = $_REQUEST['play'];
      unset($_REQUEST['play']);
$_REQUEST['sa'] = 'play';

require_once($sourcedir . '/Arcade.php');
return 'Arcade';
}
elseif (isset($_REQUEST['highscore']))
{
$_REQUEST['game'] = $_REQUEST['highscore'];
unset($_REQUEST['highscore']);
$_REQUEST['sa'] = 'highscore';

require_once($sourcedir . '/Arcade.php');
return 'Arcade';
}
elseif ((isset($_REQUEST['game']) || isset($_REQUEST['match'])) && !isset($_REQUEST['action']))
{
require_once($sourcedir . '/Arcade.php');
return 'Arcade';
}
// entering the blogging community...
elseif (isset($modSettings['zc_mode']) && isset($zc['main_dir']) && empty($_REQUEST['action']) && (isset($_REQUEST['zc']) || !empty($_REQUEST['blog']) || !empty($_REQUEST['article'])))
{
return 'zC_START';
}
elseif (empty($_REQUEST['action']))
{
// Action and board are both empty... SPortal!
if (empty($board) && empty($topic) && !empty($modSettings['portalactive']))
{
require_once($sourcedir . '/SPortal2.php');
return 'SPortal';
}
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: jayman2 on February 16, 2009, 07:46:26 PM
That fixed it, Charles.  I can't thank you enough for the great mod and the great support.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on February 16, 2009, 07:48:11 PM
You're welcome :)
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: ~Killer~ on February 17, 2009, 04:51:03 AM
Well regarding my previous experience, that no-one helped me out with, zCommunity didn't work well with PortaMX, maybe you could fix that, PortaMX just overridden zCommunity.

Although now, I have enabled the Blogs, yet members still cannot access it... :'(
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on February 17, 2009, 01:47:24 PM
Quote from: ~Killer~ on February 17, 2009, 04:51:03 AM
Well regarding my previous experience, that no-one helped me out with, zCommunity didn't work well with PortaMX, maybe you could fix that, PortaMX just overridden zCommunity.

Although now, I have enabled the Blogs, yet members still cannot access it... :'(

Have you assigned permissions to member groups via the Permissions page in your Blog Control Panel?   About PortaMX... I will look at that to see what might be causing the incompatibility.  Could just be that you've edited some files manually and now the package manager cannot find where to make the edits.



On a side note... it looks like there aren't any major bugs left... and relatively few minor bugs.  Next version will be 0.8.0 Beta.  Been cleaning up the code here and there, as well as adding some extra touches.  Crusader, you will be pleased to know that I added the ability to set the content of custom windows as Normal text, Raw HTML, or PHP (provided the user has the necessary permissions).  I added two permissions to go with this added feature (can use raw HTML in custom windows ... can use php in custom windows).  :)

If anyone else has any things they would like added to the core of zCommunity, now would be a good time to mention your ideas :D
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: ~Killer~ on February 17, 2009, 02:27:31 PM
Can't wait for BETA now :D
And I tried it on a clean install of SMF, PortaMX and zCommunity, same issue...

Yes I have set the permissions, and they still can't access it :'(
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: PfalzNacht on February 17, 2009, 03:47:59 PM
Today i wanted to install the zCommunity 0.7.9, but now i will wait until 0.8beta is released.  ;)
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Lamarck on February 18, 2009, 12:22:11 PM
Wow,that will be a nice addition.Well,a thing that was mentioned before: put blocks/windows on left and/or right (and even things on footer or header...I'm thinking for example in the possibility to put custom windows with html on header to add a custom banner and stuff like that).
Also,It would be nice more options for user to customize the template.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on February 18, 2009, 01:42:12 PM
Quote from: Lamarck on February 18, 2009, 12:22:11 PM
Wow,that will be a nice addition.Well,a thing that was mentioned before: put blocks/windows on left and/or right (and even things on footer or header...I'm thinking for example in the possibility to put custom windows with html on header to add a custom banner and stuff like that).
Also,It would be nice more options for user to customize the template.


Well remember that in allowing a user to use raw HTML you are opening up possible security issues.  I will definitely be adding an option for "allowed HTML tags" in custom windows (and auto clean out risky html tags).  Allowing just any user to use PHP in a custom window is definitely a bad idea... I could write up a sanitize-php function, but that would be quite complex to say the least.
Title: Re: zCommunity 0.7.7 Alpha Now available! (now supports SMF 2.0 Beta 4)
Post by: jayman2 on February 18, 2009, 02:14:36 PM
Quote from: linkgamer3 on February 13, 2009, 02:19:19 PM
Quote from: linkgamer3 on February 11, 2009, 09:11:33 PM
Ummm...I'm really stumped on what I'm doing wrong. I reinstalled the entire forum on my site to try to fix this error, but my efforts were in vain. I'm getting this error when I try to click the "Blogs" tab.
Page request Error
The page you have requested does not exist.

What am I doing wrong? Or is this a bug?
Ok, I found a fix...of sorts...If I specify something else along with the URL, the main blog page will come up. For example, http://whatninja.com/index.php?zc will not work, however, http://whatninja.com/index.php?zc;theme=2 will work. Any suggestions on a real fix though? Please?
I just did a fresh install of smf 2.0 rc1 on another test site and the first mod I installed was zc 07.9.  It installed without any errors, but when I clicked on the blogs menu option, I got the same message.

What I did was edit my subs.php file like this:

         'zcommunity' => array(
            'title' => !empty($txt['b1a']) ? $txt['b1a'] : 'Blogs',
            'href' => $scripturl . '?zc;theme=1',
            'show' => !empty($context['zc']['show_zc_nav']),
            'sub_buttons' => array(
            ),
         ),

This is on the default theme.  I would imagine as long as you don't allow your users to change themes, this should work just fine.  If you want to use another theme for your board, you would just change the number following "theme=.  I hope this helps someone.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on February 18, 2009, 02:23:26 PM
Interesting solution.  I'll have to take the time one day to completely follow the logic of SMF 2 RC1's code...
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: cubetgio on February 23, 2009, 02:54:14 AM
I: Impossible to change the default setting In global blog setting,

"New blogs will be visible to the following member groups by default"

II: general users can't have acces in article edit/write   mode. Only 1 link appear, it's the "subscribe" link ???

Can you help me
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: PfalzNacht on February 23, 2009, 06:45:11 AM
Hey Charles, when will 0.8 be released?  :D

I wait for it.  ;)
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on February 23, 2009, 01:12:49 PM
Quote from: cubetgio on February 23, 2009, 02:54:14 AM
I: Impossible to change the default setting In global blog setting,

"New blogs will be visible to the following member groups by default"

II: general users can't have acces in article edit/write   mode. Only 1 link appear, it's the "subscribe" link ???

Can you help me

I am fairly certain that these issues do not exist in 0.8.0 Beta... but I am only testing this on one configuration of PHP, so we'll just have to see.


Quote from: The Crusader on February 23, 2009, 06:45:11 AM
Hey Charles, when will 0.8 be released?  :D

I wait for it.  ;)

I've been really sick for the past few days, so I haven't been able to get done as much as I would have liked.  I have been making significant optimizations and improvements to the templates and the sources files.  I can't give a release time on 0.8.0 Beta, but it shouldn't be much longer...
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Nibogo on February 23, 2009, 09:32:56 PM
Hi charles , I have some little questions:

1. You can integrate the SMF 2.0 WYSIWYG with the zCommunity?? Is really simple and really I think of will be a nice feature

2. Maybe you should add something like the rate that topic feature or create a plug-in for rate articles

3. Will be pretty a search feature for blogs , I think of the SMF Search can`t find results in blogs
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: beltazar on February 25, 2009, 04:55:45 PM
I'm using SMF 1.1.8, zCommunity 0.7.9alpha
i got this error while import from SMF

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 '313' at line 1
File: /home/ldgtuhan/public_html/komunitas/zCommunity/Sources/Import-smf.php
Line: 248

what should I do ?


Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Dianna on February 26, 2009, 02:32:08 AM
Hi Charles,

I'm sorta like the person above....I'm using SMF 1.1.8 and when I try to install the zcommunity v0.7.9 as instructed to upload the files folder first before installing the install folder. I'm trying to upload via the package manager. I'm getting an error message saying the the package is not valid or has become corrupt.

Everyone else seems to be having luck, is it just me?  Am I doing something wrong? Do I need to load the files folder manually via FTP to my server?

Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: andyv123 on February 26, 2009, 05:29:15 AM
I have SMF 1.1.8 and I did a manual install with no problems. I do however have problems when I add a new member group, that member group can only see their own blogs they make, even if I set permissions for that member group to be able to view all blogs. I tried this same thing again on a clean install of 1.1.8 with only zcommunity on it, still when I make a new member group, that member group can only view their own blogs and nobody else's. Any suggestions?
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Kindred on February 26, 2009, 07:39:11 AM
Dianna,

You do not use the package manager to upload the files archive/folder...    you do that via FTP or your cpanel file manager.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: PfalzNacht on February 26, 2009, 08:56:09 AM
In my heavily modded Forum everything works fine, the import, the permissions, create new blogs, everything.

But i'm waiting until 0.8 is released, because i'm need the custom side blocks.  ;)

And i have 1 question: where can i delete the News. I know where i can post nee News, but i don't see anything to delete News. Maybe i need glasses.  :D :P
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on February 26, 2009, 02:21:28 PM
Quote from: beltazar on February 25, 2009, 04:55:45 PM
I'm using SMF 1.1.8, zCommunity 0.7.9alpha
i got this error while import from SMF

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 '313' at line 1
File: /home/ldgtuhan/public_html/komunitas/zCommunity/Sources/Import-smf.php
Line: 248

what should I do ?




Just looked through that code... don't see anything that should be throwing a syntax error.  You sure you updated the zCommunity files?


Quote from: Dianna on February 26, 2009, 02:32:08 AM
Hi Charles,

I'm sorta like the person above....I'm using SMF 1.1.8 and when I try to install the zcommunity v0.7.9 as instructed to upload the files folder first before installing the install folder. I'm trying to upload via the package manager. I'm getting an error message saying the the package is not valid or has become corrupt.

Everyone else seems to be having luck, is it just me?  Am I doing something wrong? Do I need to load the files folder manually via FTP to my server?



Kindred is correct.  You have to upload the zCommunity folder from the larger of the two zip archives directly to your forum's main directory.


Quote from: andyv123 on February 26, 2009, 05:29:15 AM
I have SMF 1.1.8 and I did a manual install with no problems. I do however have problems when I add a new member group, that member group can only see their own blogs they make, even if I set permissions for that member group to be able to view all blogs. I tried this same thing again on a clean install of 1.1.8 with only zcommunity on it, still when I make a new member group, that member group can only view their own blogs and nobody else's. Any suggestions?

Each blog has its own list of groups that are allowed access.  When you create a new member group in your forum (after creating a blog or blogs), that new member group is not added to all the blogs allowed groups lists.  You'll have to add them manually.  Can be kind of a pain........ but I am having trouble thinking of a way to easily add the new member group to all the blogs' allowed access lists... I'll keep it in mind until I figure out the best solution.


Quote from: The Crusader on February 26, 2009, 08:56:09 AM
In my heavily modded Forum everything works fine, the import, the permissions, create new blogs, everything.

But i'm waiting until 0.8 is released, because i'm need the custom side blocks.  ;)

And i have 1 question: where can i delete the News. I know where i can post nee News, but i don't see anything to delete News. Maybe i need glasses.  :D :P

There should be a delete icon on the news article just like other blog articles.  Mouse over the gear icon and it should be there.


Quote from: NIBOGO on February 23, 2009, 09:32:56 PM
Hi charles , I have some little questions:

1. You can integrate the SMF 2.0 WYSIWYG with the zCommunity?? Is really simple and really I think of will be a nice feature

2. Maybe you should add something like the rate that topic feature or create a plug-in for rate articles

3. Will be pretty a search feature for blogs , I think of the SMF Search can`t find results in blogs

1.  I will look into it eventually.

2.  This will be a plug-in

3.  I will create a search feature from scratch eventually.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: PfalzNacht on February 26, 2009, 02:26:34 PM
Oh, i'm sorry.

I use a custom template, and there weren't these buttons.  ;)
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: andyv123 on February 26, 2009, 03:36:06 PM
Why not just have all member groups allowed to view all blogs, then make a field for "not allowed groups"? Also I'm having trouble with allowing these other member groups. I've already set the permissions for them and it still doesn't work - I go to create a new blog with a different member after doing this and the newly created member group can still only view their own blogs. Is this database work that needs to be done? If so what field do I add the member group ID to for it to be allowed?
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on February 26, 2009, 06:24:56 PM
Quote from: andyv123 on February 26, 2009, 03:36:06 PM
Why not just have all member groups allowed to view all blogs, then make a field for "not allowed groups"? Also I'm having trouble with allowing these other member groups. I've already set the permissions for them and it still doesn't work - I go to create a new blog with a different member after doing this and the newly created member group can still only view their own blogs. Is this database work that needs to be done? If so what field do I add the member group ID to for it to be allowed?

Go to the Global Blog Settings tab in your control panel... Look for the section "Default Settings for New Blogs" .... you'll see the multi-check setting field for the groups all new blogs will allow access to by default.  After you create a new member group, you have to save this setting again with the new member group checked, so that all new blogs will allow access to that member group.  But like i was saying this is not retroactive to older blogs.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Dianna on February 27, 2009, 03:28:57 AM
Thanks Kindred and Charles.  I just realized that's what I was suppose to do.  So, I just uploaded the _files folder to my root directory where my forum is located. I unzipped the folder and put the entire folder which included the zcommunity folder inside and the readme and license text.  I went through the package manager to upload the install folder.  It looks like it installs okay except I'm getting an error message that says

"Could not locate the necessary zCommunity files. Database edits failed!" 
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: andyv123 on February 27, 2009, 06:44:04 AM
I was able to edit a couple files to ensure all my custom usergroups would be able to view the new and old blogs, yay!

On the blogs settings, how can I remove the articles and comments, and social bookmarking options from displaying? Also the save button for changing the ownership of a blog (the save button displays for everyone I noticed)

I'm almost finished with what I'm working on and I've been making the user interface alot more intuitive as my site's targeted to primarily kids (which meant removing alot of options). if anyone would like to see the end result let me know and I'll post images.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: LinK187 on February 27, 2009, 11:35:39 AM
Hi, I don't have the time to sift 64 pages so I'll just post my problem. If the answer is posted, please just post a link to the answer instead of biting my head off.

I've used the parser on the mod page to manually edit my custom theme's index.template.php . For some reason the "blogs" link does not appear. I've attached a screen shot.

Any help is much appreciated.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: beltazar on February 27, 2009, 12:27:13 PM
Quote from: Charles Hill on February 26, 2009, 02:21:28 PM
Quote from: beltazar on February 25, 2009, 04:55:45 PM
I'm using SMF 1.1.8, zCommunity 0.7.9alpha
i got this error while import from SMF

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 '313' at line 1
File: /home/ldgtuhan/public_html/komunitas/zCommunity/Sources/Import-smf.php
Line: 248

what should I do ?


Just looked through that code... don't see anything that should be throwing a syntax error.  You sure you updated the zCommunity files?


Yes, I'm sure.
I've tried uninstall, re-download & re-install. still have the same problem

while ($_REQUEST['start'] < $max_moderators)
{
// get all moderators
$request = $zcFunc['db_query']("
SELECT {tbl:moderators::column:id_member} AS id_member
FROM {db_prefix}{table:moderators}
WHERE {tbl:moderators::column:id_board} = {int:board_id}
AND {tbl:moderators::column:id_member} > " . $_REQUEST['start'] . "
Line 248 --->    AND {tbl:moderators::column:id_member} <= " . $_REQUEST['start'] + $increment, __FILE__, __LINE__,
array(
'board_id' => (int) $board
)
);


Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Kindred on February 27, 2009, 01:25:46 PM
Quote from: LinK187 on February 27, 2009, 11:35:39 AM
Hi, I don't have the time to sift 64 pages so I'll just post my problem. If the answer is posted, please just post a link to the answer instead of biting my head off.

I've used the parser on the mod page to manually edit my custom theme's index.template.php . For some reason the "blogs" link does not appear. I've attached a screen shot.

Any help is much appreciated.

Geez Link...    so just because you're feeling lazy, we shouldn't be? :P


Anyway, you have two choices   a) You did not actually put the correct code into your theme's index.template.php and/or b) You are using something other than "English" (and English UTF-8 is not the same as "English")
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: LinK187 on February 27, 2009, 01:31:03 PM
Quote from: Kindred on February 27, 2009, 01:25:46 PM
Quote from: LinK187 on February 27, 2009, 11:35:39 AM
Hi, I don't have the time to sift 64 pages so I'll just post my problem. If the answer is posted, please just post a link to the answer instead of biting my head off.

I've used the parser on the mod page to manually edit my custom theme's index.template.php . For some reason the "blogs" link does not appear. I've attached a screen shot.

Any help is much appreciated.

Geez Link...    so just because you're feeling lazy, we shouldn't be? :P


Anyway, you have two choices   a) You did not actually put the correct code into your theme's index.template.php and/or b) You are using something other than "English" (and English UTF-8 is not the same as "English")

I'm using english because 90% of the mods don't have proper language files for utf-8 and it's annoying making them myself. I'll attach my index.template.php .
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Kindred on February 27, 2009, 02:31:18 PM
hmmm....   the code looks right.   The only other thing I can think of.   Does your custom theme have a modifications.english.php in it?
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: abbyh on February 28, 2009, 03:17:44 AM
I also got error message after installing zCommunity. My SMF version is 1.1.8. I upload first the _files file at my FTP and extract it in my cPanel. Have I done it right? Then install the smf_install file to my smf package manager. If I click the zCommunity control panel at my admin settings, this error appears..

Database Error
Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation 'ifnull'
File: /home/abbyh/public_html/nlelp/zCommunity/Sources/ControlPanel.php
Line: 378 
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: LinK187 on February 28, 2009, 03:23:30 AM
Quote from: Kindred on February 27, 2009, 02:31:18 PM
hmmm....   the code looks right.   The only other thing I can think of.   Does your custom theme have a modifications.english.php in it?

Nope, only ThemeStrings.english.php and english/french files for smg. I do really want to sort this out. If anyone thinks they can fix it, I'll hook you up with an admin account and ftp access.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on February 28, 2009, 04:22:36 PM
Quote from: Dianna on February 27, 2009, 03:28:57 AM
Thanks Kindred and Charles.  I just realized that's what I was suppose to do.  So, I just uploaded the _files folder to my root directory where my forum is located. I unzipped the folder and put the entire folder which included the zcommunity folder inside and the readme and license text.  I went through the package manager to upload the install folder.  It looks like it installs okay except I'm getting an error message that says

"Could not locate the necessary zCommunity files. Database edits failed!" 


Try to run the install_db_edits.php file directly from your forum's main folder.  Upload it to your forum's root directory and then access it directly with your browser.


Quote from: LinK187 on February 27, 2009, 11:35:39 AM
Hi, I don't have the time to sift 64 pages so I'll just post my problem. If the answer is posted, please just post a link to the answer instead of biting my head off.

I've used the parser on the mod page to manually edit my custom theme's index.template.php . For some reason the "blogs" link does not appear. I've attached a screen shot.

Any help is much appreciated.

Well zCommunity has its own language file system... So even if you don't have a lang file for your language, it'll default to english (which is included with zCommunity).  I'm assuming the Blogs menu tab shows up for your default theme?  If not you should check to make sure the edits were made properly to your forum's index.php file.  If it does show up for the default theme then would you mind copy/pasting a large chunk of your custom theme's index.template.php so that I can see what the problem might be?


Quote from: andyv123 on February 27, 2009, 06:44:04 AM
I was able to edit a couple files to ensure all my custom usergroups would be able to view the new and old blogs, yay!

On the blogs settings, how can I remove the articles and comments, and social bookmarking options from displaying? Also the save button for changing the ownership of a blog (the save button displays for everyone I noticed)

I'm almost finished with what I'm working on and I've been making the user interface alot more intuitive as my site's targeted to primarily kids (which meant removing alot of options). if anyone would like to see the end result let me know and I'll post images.

I had the thought the other day to make zCommunity almost infinitely flexible in that you can allow all the options possible, just ones you need, or almost none.  I've been overhauling a lot of things from 0.7.9 to 0.8.0, so it should be a lot easier to accomplish this.


Quote from: abbyh on February 28, 2009, 03:17:44 AM
I also got error message after installing zCommunity. My SMF version is 1.1.8. I upload first the _files file at my FTP and extract it in my cPanel. Have I done it right? Then install the smf_install file to my smf package manager. If I click the zCommunity control panel at my admin settings, this error appears..

Database Error
Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation 'ifnull'
File: /home/abbyh/public_html/nlelp/zCommunity/Sources/ControlPanel.php
Line: 378 

This is a new one... I have yet to see this error, so I don't have a solution for you at the moment.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: LinK187 on February 28, 2009, 10:21:16 PM
QuoteWell zCommunity has its own language file system... So even if you don't have a lang file for your language, it'll default to english (which is included with zCommunity).  I'm assuming the Blogs menu tab shows up for your default theme?  If not you should check to make sure the edits were made properly to your forum's index.php file.  If it does show up for the default theme then would you mind copy/pasting a large chunk of your custom theme's index.template.php so that I can see what the problem might be?

It shows up fine with the default theme.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: abbyh on February 28, 2009, 11:21:50 PM
Can someone help me how to locate the Line 378 on my files? I don't know how.

Quote from: abbyh on February 28, 2009, 03:17:44 AM
I also got error message after installing zCommunity. My SMF version is 1.1.8. I upload first the _files file at my FTP and extract it in my cPanel. Have I done it right? Then install the smf_install file to my smf package manager. If I click the zCommunity control panel at my admin settings, this error appears..

Database Error
Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation 'ifnull'
File: /home/abbyh/public_html/nlelp/zCommunity/Sources/ControlPanel.php
Line: 378 
Quote from: Charles Hill on February 28, 2009, 04:22:36 PM
This is a new one... I have yet to see this error, so I don't have a solution for you at the moment.

I think this error has something to do at PHPMy admin database. I hope somebody will help me figure it out.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: abbyh on March 01, 2009, 12:42:09 AM
Resolved this myself.


Change all the character settings of all smf_blog_ tables at PHPMyAdmin from utf8_unicode_ci to utf8_general_ci. Obviously was a lot of work but everything's running correctly now and I can able to view the control panel of vCommunity.



I would like to ask one more help. How can I add a tab at the main menu bar so that users can click and access the Blog community right away?

Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: LinK187 on March 01, 2009, 05:10:55 AM
QuoteI would like to ask one more help. How can I add a tab at the main menu bar so that users can click and access the Blog community right away?

The answer to this questions may be a workaround suitable for my problem as well.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: abbyh on March 01, 2009, 10:42:52 AM
My theme is Blackberry. I added this code at index.template.php and somehow adds a tab button lined up with the menu bars.

Don't know if it will work with the other templates. But for my site, this is good for the meantime.           

// Show the [blog] button.
               echo '<li><a' , $current_action=='blog' ? ' class="current"' : '' , ' href="', $scripturl, '?zc"><span>' , $txt['b1a'] , '</span></a></li>';


I added this before       // Show the [help] button.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: LinK187 on March 01, 2009, 10:45:00 AM
Quote from: abbyh on March 01, 2009, 10:42:52 AM
My theme is Blackberry. I added this code at index.template.php and somehow adds a tab button lined up with the menu bars.

Don't know if it will work with the other templates. But for my site, this is good for the meantime.           

// Show the [blog] button.
               echo '<li><a' , $current_action=='blog' ? ' class="current"' : '' , ' href="', $scripturl, '?zc"><span>' , $txt['b1a'] , '</span></a></li>';


I added this before       // Show the [help] button.

How does adding a comment effect anything at all?
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on March 01, 2009, 01:28:21 PM
I believe abbyh was saying that he added:
// Show the [blog] button.
               echo '<li><a' , $current_action=='blog' ? ' class="current"' : '' , ' href="', $scripturl, '?zc"><span>' , $txt['b1a'] , '</span></a></li>';


Before the following:
      // Show the [help] button.


@ abbyh ... Thank you for sharing your solution with us (for the utf-8 problem you were experiencing)
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Lamarck on March 01, 2009, 04:59:14 PM
One thing...will the template system change very much in 0.80beta?? I mean..If I make a custom template for 0.79alfa,will it work with the next version?. Just for wait until it's released or start working now.

Thanks.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on March 01, 2009, 10:14:51 PM
Quote from: Lamarck on March 01, 2009, 04:59:14 PM
One thing...will the template system change very much in 0.80beta?? I mean..If I make a custom template for 0.79alfa,will it work with the next version?. Just for wait until it's released or start working now.

Thanks.

The template system is remaining the same... the templates are changing a lot though... For example, I made a generic list template function which will now be used to display ALL of the lists in zCommunity.  Also, I made a generic form template which is used for almost all the forms.  The template_zc_sandwich functions have been changed slightly and are used in a lot more places.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: LinK187 on March 01, 2009, 10:50:24 PM
Quote from: Charles Hill on March 01, 2009, 01:28:21 PM
I believe abbyh was saying that he added:
// Show the [blog] button.
               echo '<li><a' , $current_action=='blog' ? ' class="current"' : '' , ' href="', $scripturl, '?zc"><span>' , $txt['b1a'] , '</span></a></li>';


Before the following:
      // Show the [help] button.


@ abbyh ... Thank you for sharing your solution with us (for the utf-8 problem you were experiencing)

The attached screen shot is what happens when I use that code.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: LinK187 on March 02, 2009, 11:52:14 AM
Additional issues:

Visual:
-The Blog Control Panel does not look like a link and i doubt my users would clue in. I would like to make it underlined and diff color. (see attached screen shot)
-The "blogs" button is messed up (see prev post)

Major Malfunction: Any time a new article or comment is posted, the user (regardless of member group) gets an error saying the title can't be blank or the comment can't be blank, after retyping the blog/comment it then works.

I also have several of this error in the forum error log:
Quoteglobalmod   Today at 12:29:28 PM 
*.*.*.*     385e4d55419ede35092fd6f6837ac4ce 
http://****/****/index.php?zc=post;blog=3;article 
8: Undefined index: rand_string
File: /home/****/public_html/****/****/zCommunity/Sources/Post.php
Line: 498
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: jkrlvgn on March 02, 2009, 03:34:49 PM
@LinK187:  Quick question on your menu problem.  Are you using SMF 2.0?  If so, then you need to modify the "Subs.php" to add on to the menu up at the top for your theme.

As far as the issue with not knowing a link from another link:  ...I can guarantee you that unless your users are stupid (god hopes that they're not), they'll move their mouse over where it says "Blog Control Panel".  It will clearly be a link when their cursor changes form an arrow to the hand (or whatever else their mouse might change into).  You can go into the source code and customize the link yourself pretty easily, if you want it to be underlined and a different color.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: LinK187 on March 02, 2009, 03:40:23 PM
Quote from: jkrlvgn on March 02, 2009, 03:34:49 PM
@LinK187:  Quick question on your menu problem.  Are you using SMF 2.0?  If so, then you need to modify the "Subs.php" to add on to the menu up at the top for your theme.

1.1.8

QuoteAs far as the issue with not knowing a link from another link:  ...I can guarantee you that unless your users are stupid (god hopes that they're not), they'll move their mouse over where it says "Blog Control Panel".  It will clearly be a link when their cursor changes form an arrow to the hand (or whatever else their mouse might change into).  You can go into the source code and customize the link yourself pretty easily, if you want it to be underlined and a different color.

Clearly you don't administrate any public sites. I had to stare and scavenge for it and I'm the admin. 90% of my users will be oblivious. I just want to know what value to change and in which file to look for it.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: jkrlvgn on March 02, 2009, 03:43:55 PM
Mmk.  Give me the theme name, then, too, and I'll upload and give you exact instructions on what to do with what.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: LinK187 on March 02, 2009, 03:49:46 PM
Quote from: jkrlvgn on March 02, 2009, 03:43:55 PM
Mmk.  Give me the theme name, then, too, and I'll upload and give you exact instructions on what to do with what.

It's a hybrid of multiple themes. I can attach a zip or rar of the theme folder if you need it.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: jkrlvgn on March 02, 2009, 03:51:06 PM
Yes, then.  give me access to the theme so that I can make it work for you.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: LinK187 on March 02, 2009, 03:53:07 PM
I will post a rar of the folder and you can post the modifications required. That way I know what has been done and how to modify in the future if need be. Will upload soon, just need to finish a few other things first.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: LinK187 on March 02, 2009, 04:40:26 PM
Attached is the theme folder. I've pmed you the pw to unrar it.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: jkrlvgn on March 02, 2009, 05:44:20 PM
Open up your index.template.php file in your LondonBass theme.

Code (Search For) Select

// Show the [home] button.
echo ($current_action=='home' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td align="center" valign="top" class="maintab_' , $current_action == 'home' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '">' , $txt[103] , '</a>
</td>' , $current_action == 'home' ? '<td class="maintab_active_' . $last . '"> </td>' : '';


Code (Add Underneath) Select

// Show the [blog] button.
echo ($current_action=='blog' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td align="center" valign="top" class="maintab_' , $current_action == 'blog' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?zc">' , $txt['b1a'] , '</a>
</td>' , $current_action == 'blog' ? '<td class="maintab_active_' . $last . '"> </td>' : '';


Just to let you know, whenever you're dealing with a custom theme, you can usually handle the buttons by looking at how the other buttons are created.  Some themes do this much differently than others, so you want to really pay attention.

If you want to see it functioning, you can click here (http://www.realmhost.com/test2/index.php) and you can see it with your theme.  The only errors I got were from mods I didn't install that you have installed (like mgallery and yshout).  Everything else was good.

---


As far as changing the link so that it shows underlined and somehow more obvious:

Open up the "style.css" file in your LondonBass theme folder.
Go to the very end of the file, and add the following:

Code (Add Me!) Select

#bcpnotice
{
color: red;
text-decoration: underline;
font-size: 15px;
}


Save and upload the file.

Go into the zCommunity folder on your server.
Go into the Languages folder.
Open the "index.english.php" file.
Code (Search for) Select

$txt['b3002'] = 'Blog Control Panel';


Code (Replace with) Select

$txt['b3002'] = '<div id="bcpnotice">Blog Control Panel</div>';



Easy peasy.  If you've modded the rest of the theme yourself, this should have been a breeze for you.  If there's a specific way that you want to show the BCP a little better, lemme know, and I'll make up some CSS code for you.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: LinK187 on March 02, 2009, 06:16:07 PM
Quote from: jkrlvgn on March 02, 2009, 05:44:20 PM
Open up your index.template.php file in your LondonBass theme.

Code (Search For) Select

// Show the [home] button.
echo ($current_action=='home' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td align="center" valign="top" class="maintab_' , $current_action == 'home' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '">' , $txt[103] , '</a>
</td>' , $current_action == 'home' ? '<td class="maintab_active_' . $last . '"> </td>' : '';


Code (Add Underneath) Select

// Show the [blog] button.
echo ($current_action=='blog' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td align="center" valign="top" class="maintab_' , $current_action == 'blog' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?zc">' , $txt['b1a'] , '</a>
</td>' , $current_action == 'blog' ? '<td class="maintab_active_' . $last . '"> </td>' : '';


Just to let you know, whenever you're dealing with a custom theme, you can usually handle the buttons by looking at how the other buttons are created.  Some themes do this much differently than others, so you want to really pay attention.

If you want to see it functioning, you can click here (http://www.realmhost.com/test2/index.php) and you can see it with your theme.  The only errors I got were from mods I didn't install that you have installed (like mgallery and yshout).  Everything else was good.

---


As far as changing the link so that it shows underlined and somehow more obvious:

Open up the "style.css" file in your LondonBass theme folder.
Go to the very end of the file, and add the following:

Code (Add Me!) Select

#bcpnotice
{
color: red;
text-decoration: underline;
font-size: 15px;
}


Save and upload the file.

Go into the zCommunity folder on your server.
Go into the Languages folder.
Open the "index.english.php" file.
Code (Search for) Select

$txt['b3002'] = 'Blog Control Panel';


Code (Replace with) Select

$txt['b3002'] = '<div id="bcpnotice">Blog Control Panel</div>';



Easy peasy.  If you've modded the rest of the theme yourself, this should have been a breeze for you.  If there's a specific way that you want to show the BCP a little better, lemme know, and I'll make up some CSS code for you.

Thx very much! Worked just as you said, except I chose #9EE255 instead of red so that it would go with the theme.

Now that my visual problems are solved, what about the error I mentioned in this post: http://www.simplemachines.org/community/index.php?topic=244848.msg1958147#msg1958147

Any help is much appreciated.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: jkrlvgn on March 02, 2009, 06:28:40 PM
Actually, I goofed on something.  *LOL*

Go to the zCommunity folder, and open up zc.php

Code (Search for) Select

// Blog Control Panel link...
if (!$user_info['is_guest'])
$context['zc']['extra_links'][] = '<a href="'. $scripturl .'?zc=bcp" rel="nofollow">' . $txt['b3002'] . '</a>';


Code (Replace with) Select

// Blog Control Panel link...
if (!$user_info['is_guest'])
$context['zc']['extra_links'][] = '<a href="'. $scripturl .'?zc=bcp" rel="nofollow">' . $txt['b30021'] . '</a>';


Save and upload.

Then go to the Languages folder, and open up index.english.php

Code (Search for) Select

$txt['b3002'] = '<div id="bcpnotice">Blog Control Panel</div>';


Code (Replace with) Select

$txt['b3002'] = 'Blog Control Panel';
$txt['b30021'] = '<div id="bcpnotice">Blog Control Panel</div>';


...trust me, it'll look goofy if you don't change that.


As far as your other error....I'm not getting that specific error at all. register at the link from the other post, and try it out, but I didn't get anything like that when I was using a test account.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on March 02, 2009, 06:32:40 PM
The error with posting is because you have register_globals ON... The problem does not occur if register_globals is OFF.  I changed things a bit for 0.8.0 Beta so this shouldn't matter... but you should always turn register_globals OFF anyways, just for security reasons.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: LinK187 on March 02, 2009, 06:43:47 PM
Quote from: jkrlvgn on March 02, 2009, 06:28:40 PM
Actually, I goofed on something.  *LOL*

Go to the zCommunity folder, and open up zc.php

Code (Search for) Select

// Blog Control Panel link...
if (!$user_info['is_guest'])
$context['zc']['extra_links'][] = '<a href="'. $scripturl .'?zc=bcp" rel="nofollow">' . $txt['b3002'] . '</a>';


Code (Replace with) Select

// Blog Control Panel link...
if (!$user_info['is_guest'])
$context['zc']['extra_links'][] = '<a href="'. $scripturl .'?zc=bcp" rel="nofollow">' . $txt['b30021'] . '</a>';


Save and upload.

Then go to the Languages folder, and open up index.english.php

Code (Search for) Select

$txt['b3002'] = '<div id="bcpnotice">Blog Control Panel</div>';


Code (Replace with) Select

$txt['b3002'] = 'Blog Control Panel';
$txt['b30021'] = '<div id="bcpnotice">Blog Control Panel</div>';


...trust me, it'll look goofy if you don't change that.


As far as your other error....I'm not getting that specific error at all. register at the link from the other post, and try it out, but I didn't get anything like that when I was using a test account.

Done

Quote from: Charles Hill on March 02, 2009, 06:32:40 PM
The error with posting is because you have register_globals ON... The problem does not occur if register_globals is OFF.  I changed things a bit for 0.8.0 Beta so this shouldn't matter... but you should always turn register_globals OFF anyways, just for security reasons.

This is a clickable option in smf somewhere? in zcommunity somewhere? or something I need to do server side?
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on March 02, 2009, 07:13:23 PM
register_globals is a PHP setting that you have to change with your server.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: LinK187 on March 02, 2009, 07:15:18 PM
Quote from: Charles Hill on March 02, 2009, 07:13:23 PM
register_globals is a PHP setting that you have to change with your server.

Is that doable via a .htaccess file?
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: abbyh on March 03, 2009, 01:10:45 AM
Quote from: Charles Hill on March 02, 2009, 07:13:23 PM
register_globals is a PHP setting that you have to change with your server.

This problem is the same as me. I'm also waiting foe the answer.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on March 03, 2009, 01:35:19 AM
Quote from: abbyh on March 03, 2009, 01:10:45 AM
Quote from: Charles Hill on March 02, 2009, 07:13:23 PM
register_globals is a PHP setting that you have to change with your server.

This problem is the same as me. I'm also waiting foe the answer.

Well I changed the way I use $_SESSION so that it won't be a multi-dimensional array.  Hopefully it'll work perfectly for everyone.  This change is in 0.8.0 Beta which is not available yet.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: LinK187 on March 03, 2009, 09:53:42 AM
Quote from: Charles Hill on March 03, 2009, 01:35:19 AM
Quote from: abbyh on March 03, 2009, 01:10:45 AM
Quote from: Charles Hill on March 02, 2009, 07:13:23 PM
register_globals is a PHP setting that you have to change with your server.

This problem is the same as me. I'm also waiting foe the answer.

Well I changed the way I use $_SESSION so that it won't be a multi-dimensional array.  Hopefully it'll work perfectly for everyone.  This change is in 0.8.0 Beta which is not available yet.

Perhaps telling us how to turn off register_globals might be more useful in the meantime. Can this be done in a .htaccess file? via cpanel? If you know the source of the problem, you must know how to perform the solution as well.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on March 03, 2009, 01:20:59 PM
add the following to your .htaccess file:
php_flag register_globals off
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: LinK187 on March 03, 2009, 02:52:10 PM
Quote from: Charles Hill on March 03, 2009, 01:20:59 PM
add the following to your .htaccess file:
php_flag register_globals off

Thx! Everything works fine now, that I can see. One question tho, what is the "tags" space for when one is composing an article?
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on March 03, 2009, 02:58:53 PM
Tags are just a way of organizing articles.  In 0.8.0 I took it a step further and added Related Articles which uses the tags in an article to find other articles with the same tags.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: LinK187 on March 03, 2009, 03:04:15 PM
Quote from: Charles Hill on March 03, 2009, 02:58:53 PM
Tags are just a way of organizing articles.  In 0.8.0 I took it a step further and added Related Articles which uses the tags in an article to find other articles with the same tags.

So it's just a meta thing then?
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on March 03, 2009, 03:32:21 PM
No.... think of tags as categories for articles.  If you enable the tags window on a blog (or on the community page), and there are tags in use, you'll see a list of all the tags as links.  When you click one of those links it'll take you to a page with a list of articles that use that tag.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: TommyJoe on March 03, 2009, 05:55:50 PM
I am using SMF 2.0 RC1 and would so much like to user the blogs.

Are there any sites that users would list that I can go and see
their site in operation besides the test site.

Actually the Alpha version scares me in screwing up my site!

Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Kindred on March 03, 2009, 06:16:57 PM
I am using the alpha version on www.40konline.com/community
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: GazOutEast on March 05, 2009, 01:06:53 PM
Hi Charles - You are (or will be) a Legend

This software rocks man - just put it into an already heavily modded 2.0 RC1 install and it went in clean as a whistle - no errors and no problems.
See it here - post announcing the arrival to our members (http://www.buildaskill.com/board/index.php?article=1.0)

Thanks - really love this and I know our members will too.

Found one thing which I'm not sure if it's a bug or a feature - when setting up my own blog and doing the "in-blog" group permissions, I tried to make my blog visible to all groups, but every time I did so and saved it, it would refresh with only the groups I am a member of showing as enabled.
Can you shed some light on that?  It's got me well confused.

Keep up the GREAT work on this

Gaz
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on March 05, 2009, 01:23:54 PM
Ya some people have had issues with saving in some areas of zCommunity with the alpha versions.  I have done extensive testing and work since 0.7.9, though... hopefully you won't have the same problems with 0.8.0 Beta.  It's not ready yet sorry :(
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: GazOutEast on March 05, 2009, 02:08:22 PM
No problems - just wasn't sure if it was me needing stronger specs - I love this more the more I play with it.

Just wondering too (not an immediate worry) any chance the post editor can be brought up to the same version as the embedded one in 2.0 RC1?  I really like the new WYSIWYG functionality.

Gaz
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: GazOutEast on March 06, 2009, 06:07:08 AM
Hi Charles - have been doing some digging on the global blog permissions not saving

What I now notice is that the global permissions group table is only for new blogs created after saving the new settings - it would therefore appear that the settings for old defaults are overwriting or over-riding the new settings, and that the old defaults appear to be getting picked up from the group membership of the admin logged in to do the install - this then means the system only recognises that admins groups and all others are ignored (including guest, which an admin cannot be a member of)

The same seems to be true in user's personal blog permission settings - with a test user that has different group memberships to my admin, when the test user creates a blog, the default group permissions are for the groups that the test user is a member of.

a few pages back in the thread, someone mentioned that the default table should have all groups enabled as default and the admin/user should then select which ones they want to deny permissions for.  I think this would be a far better solution too, and would remove a level of tech savviness needed by inexperienced users - I'm all for simplification when it comes to not giving users a reason to not play.

The other thing I noticed in testing and watching the database permissions table -> global permissions -> default allowed groups is that -
- if only a few groups, or all groups manually checked, are saved, the data field has a three-value array ( 2,0,0 )
- if the select all checkbox is used, that data array drops to two values ( 2,0 )
(they don't have brackets in the database - just added them here for clarity)
Is this indicative of anything regarding the save error?

Thanks
Gaz
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: GazOutEast on March 06, 2009, 07:30:15 AM
Charles - I've enabled all registered users in all groups to be able to comment on all blogs ...

... but there is no comment form amd no link to a comment form.  I cannot find anywhere for a user to add a comment to a blog article.

How is it done?

Gaz

------------------------

:o edit - OK, found it, and think this has to be logged as a bug

In the individual blog control panel -> Blog Settings -> Articles & Comments -> "Display comments to articles on the main blog page"

- If this is unchecked, then the comments link does not appear on the article (on the home page nor on the single article page) and there is no way to add comments.

- If this is checked, then the comment count and the link to "write comment" appears at both levels (home page and individual article), but then so do the comments, which could lead to HUGE lengthy home pages that could severely tax server resources on busy sites. 

There is no setting in Global Settings to stop comments appearing on blog home pages, and the incorrectly titled checkbox in local-blog settings turns them off completely, which I think could be a misplaced function from the preceding "Hide comments entirely" checkbox.

Could you look into this and advise please.

Many thanks
Gaz
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: LinK187 on March 06, 2009, 09:17:21 AM
Gaz, I don't have any of the problems you have. It's likely not to do with the coding but something with your host.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: qubbah on March 07, 2009, 11:53:18 AM
Quote from: Charles Hill on September 12, 2008, 01:05:04 PM
In the blog control panel.. in the Admin-only blog options sub menu... "Hide blog boards on the board index"

I cant find it...
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: LinK187 on March 07, 2009, 08:43:56 PM
@jkrlvgn: Since you helped me with that button thing, would you also be able to help me with one more thing about the same button?

The problem is, it doesn't actually press down (visually) like the other buttons. See the following screenies:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.londonbass.com%2Fforum%2520pics%2FSMF%2520Forum%2FBlogs%2520Button%2FUntitled.jpg&hash=66880cbc3bd5ad0192b359201b501bd539089028) (http://www.londonbass.com/forum%20pics/SMF%20Forum/Blogs%20Button/Untitled.jpg)

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.londonbass.com%2Fforum%2520pics%2FSMF%2520Forum%2FBlogs%2520Button%2FUntitled2.jpg&hash=78cae80302eecb86595a0b93643b0f01b7bea269) (http://www.londonbass.com/forum%20pics/SMF%20Forum/Blogs%20Button/Untitled2.jpg)
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Lady Night Owl on March 08, 2009, 05:24:56 AM
Quote from: jayman2 on February 18, 2009, 02:14:36 PM
Quote from: linkgamer3 on February 13, 2009, 02:19:19 PM
Quote from: linkgamer3 on February 11, 2009, 09:11:33 PM
Ummm...I'm really stumped on what I'm doing wrong. I reinstalled the entire forum on my site to try to fix this error, but my efforts were in vain. I'm getting this error when I try to click the "Blogs" tab.
Page request Error
The page you have requested does not exist.

What am I doing wrong? Or is this a bug?
Ok, I found a fix...of sorts...If I specify something else along with the URL, the main blog page will come up. For example, http://whatninja.com/index.php?zc will not work, however, http://whatninja.com/index.php?zc;theme=2 will work. Any suggestions on a real fix though? Please?
I just did a fresh install of smf 2.0 rc1 on another test site and the first mod I installed was zc 07.9.  It installed without any errors, but when I clicked on the blogs menu option, I got the same message.

What I did was edit my subs.php file like this:

         'zcommunity' => array(
            'title' => !empty($txt['b1a']) ? $txt['b1a'] : 'Blogs',
            'href' => $scripturl . '?zc;theme=1',
            'show' => !empty($context['zc']['show_zc_nav']),
            'sub_buttons' => array(
            ),
         ),

This is on the default theme.  I would imagine as long as you don't allow your users to change themes, this should work just fine.  If you want to use another theme for your board, you would just change the number following "theme=.  I hope this helps someone.


Thank you!!! This was driving me nuts.

If you want this to work on any theme, just don't specify a number ;)


'zcommunity' => array(
'title' => !empty($txt['b1a']) ? $txt['b1a'] : 'Blogs',
'href' => $scripturl . '?zc;theme',
'show' => !empty($context['zc']['show_zc_nav']),
'sub_buttons' => array(
),
),


Only downside is that some of the buttons won't look right like "go to top" in the blogs or the menu in the control panel. But there is a remedy for that :)


And like some others, I'm also having trouble with getting the permission settings to save properly in global blog settings and access restrictions. Also the "more options" link on polls isn't working.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: LinK187 on March 08, 2009, 10:54:12 AM
I have pages of this error and don't know why.

QuoteGuest   Today at 09:34:56 AM 
66.249.70.252     4ea16997970299f2d9f2397be1595d9e 
http://londonbass.com/forum/index.php?blog=1.0;date=2009.3 
8: Undefined index: show_load_time
File: /****/****/****/****/forum/Themes/LondonBass/languages/MGallery.english.php (eval?)
Line: 544

It's not always the mgallery.english.php so I've concluded there's nothing wrong with the mod seeing as the errors began when zcommunity was installed.
The other file that list this problem is:

QuoteFile: /home/gordonj/public_html/londonbass/forum/Themes/default/languages/Modifications.english.php (eval?)

Some how it's also having a problem at line 544. Regardless the error seems to occur any time anyone clicks on anything in the blog section.

What does it mean?
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Fabis94 on March 08, 2009, 12:15:30 PM
I want to install this on a custom theme, but i have trouble editing the index.template.php because i can't find where to put some edits.

Could someone change the index.template.php as this Blog requires?
Here it is:

<?php
// Version: 1.1; index

/* This template is, perhaps, the most important template in the theme. It
contains the main template layer that displays the header and footer of
the forum, namely with main_above and main_below. It also contains the
menu sub template, which appropriately displays the menu; the init sub
template, which is there to set the theme up; (init can be missing.) and
the linktree sub template, which sorts out the link tree.

The init sub template should load any data and set any hardcoded options.

The main_above sub template is what is shown above the main content, and
should contain anything that should be shown up there.

The main_below sub template, conversely, is shown after the main content.
It should probably contain the copyright statement and some other things.

The linktree sub template should display the link tree, using the data
in the $context['linktree'] variable.

The menu sub template should display all the relevant buttons the user
wants and or needs.

For more information on the templating system, please see the site at:
http://www.simplemachines.org/
*/

// Initialize the template... mainly little settings.
function template_init()
{
global $context$settings$options$txt;

/* Use images from default theme when using templates from the default theme?
if this is 'always', images from the default theme will be used.
if this is 'defaults', images from the default theme will only be used with default templates.
if this is 'never' or isn't set at all, images from the default theme will not be used. */
$settings['use_default_images'] = 'never';

/* What document type definition is being used? (for font size and other issues.)
'xhtml' for an XHTML 1.0 document type definition.
'html' for an HTML 4.01 document type definition. */
$settings['doctype'] = 'xhtml';

/* The version this template/theme is for.
This should probably be the version of SMF it was created for. */
$settings['theme_version'] = '1.1';

/* Set a setting that tells the theme that it can render the tabs. */
$settings['use_tabs'] = true;

/* Use plain buttons - as oppossed to text buttons? */
$settings['use_buttons'] = true;

/* Show sticky and lock status seperate from topic icons? */
$settings['seperate_sticky_lock'] = true;

/* Call to Theme String for languages  */
 loadLanguage('ThemeStrings');
 
  // Color changer
if(!$context['user']['is_guest'] && isset($_POST['options']['theme_color']))
{
include_once($GLOBALS['sourcedir'] . '/Profile.php');
makeThemeChanges($context['user']['id'], $settings['theme_id']);
$options['theme_color'] = $_POST['options']['theme_color'];
}
elseif ($context['user']['is_guest'])
{
if (isset($_POST['options']['theme_color']))
{
  $_SESSION['theme_color'] = $_POST['options']['theme_color'];
  $options['theme_color'] = $_SESSION['theme_color'];
}
elseif (isset($_SESSION['theme_color']))
  $options['theme_color'] = $_SESSION['theme_color'];
}
}

// The main sub template above the content.
function template_main_above()
{
global $context$settings$options$scripturl$txt$modSettings$boardurl;

// Show right to left and the character set for ease of translating.
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"'
$context['right_to_left'] ? ' dir="rtl"' '''><head>
<meta http-equiv="Content-Type" content="text/html; charset='
$context['character_set'], '" />
<meta name="description" content="'
$context['page_title'], '" />
<meta name="keywords" content="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />
<script language="JavaScript" type="text/javascript" src="'
$settings['default_theme_url'], '/script.js?rc2p"></script>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var smf_theme_url = "'
$settings['theme_url'], '";
var smf_images_url = "'
$settings['images_url'], '";
var smf_scripturl = "'
$scripturl'";
// ]]></script>
<title>'
$context['page_title'], '</title>';

// Any color set by user?
if (isset($options['theme_color']))
$settings['theme_main_color'] = $options['theme_color'];

// If not set, or if not allowed to set
if(!isset($options['theme_color']) || (isset($settings['allow_color_change']) && $settings['allow_color_change'] == 'no'))
{
// Defaults.
$options['theme_color'] = isset($settings['theme_main_color']) ? $settings['theme_main_color'] : 'Jade';
$settings['theme_main_color'] = $options['theme_color'];
}

// The ?fin11 part of this link is just here to make sure browsers don't cache it wrongly.
echo '
<link rel="stylesheet" type="text/css" href="'
$settings['theme_url'], '/style.css?fin11" />
<link rel="stylesheet" type="text/css" href="'
$settings['theme_url'], '/style_' $settings['theme_main_color'] , '.css?fin11" />
<script language="JavaScript" type="text/javascript" src="'
$settings['theme_url'], '/newscollapse.js"></script>
<link rel="stylesheet" type="text/css" href="'
$settings['default_theme_url'], '/print.css?fin11" media="print" />';

// for ie!
 if($context['browser']['is_ie'])
echo '
 <link rel="stylesheet" type="text/css" href="'
$settings['theme_url'], '/ie.css?fin11" />';

 // for ie6!
 if($context['browser']['is_ie6'])
echo '
 <link rel="stylesheet" type="text/css" href="'
$settings['theme_url'], '/ie6.css?fin11" />';
 
 // for webkits!
 if($context['browser']['is_safari'])
echo '
 <link rel="stylesheet" type="text/css" href="'
$settings['theme_url'], '/webkit.css?fin11" />';
 
 // for opera!
 if($context['browser']['is_opera'])
echo '
 <link rel="stylesheet" type="text/css" href="'
$settings['theme_url'], '/opera.css?fin11" />';  

/* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)
Thus, in Internet Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.
Note that this is affected by whether IE 6 is in standards compliance mode.. if not, it will also be big.
Standards compliance mode happens when you use xhtml... */
if ($context['browser']['needs_size_fix'])
echo '
<link rel="stylesheet" type="text/css" href="'
$settings['default_theme_url'], '/fonts-compat.css" />';

// Show all the relative links, such as help, search, contents, and the like.
echo '
<link rel="help" href="'
$scripturl'?action=help" target="_blank" />
<link rel="search" href="' 
$scripturl '?action=search" />
<link rel="contents" href="'
$scripturl'" />';

// If RSS feeds are enabled, advertise the presence of one.
if (!empty($modSettings['xmlnews_enable']))
echo '
<link rel="alternate" type="application/rss+xml" title="'
$context['forum_name'], ' - RSS" href="'$scripturl'?type=rss;action=.xml" />';

// If we're viewing a topic, these should be the previous and next topics, respectively.
if (!empty($context['current_topic']))
echo '
<link rel="prev" href="'
$scripturl'?topic='$context['current_topic'], '.0;prev_next=prev" />
<link rel="next" href="'
$scripturl'?topic='$context['current_topic'], '.0;prev_next=next" />';

// If we're in a board, or a topic for that matter, the index will be the board's index.
if (!empty($context['current_board']))
echo '
<link rel="index" href="' 
$scripturl '?board=' $context['current_board'] . '.0" />';


// We'll have to use the cookie to remember the header...
if ($context['user']['is_guest'])
$options['collapse_header'] = !empty($_COOKIE['upshrink']);

// Output any remaining HTML headers. (from mods, maybe?)
echo $context['html_headers'], '
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var current_header = '
, empty($options['collapse_header']) ? 'false' 'true'';

function shrinkHeader(mode)
{'
;

// Guests don't have theme options!!
if ($context['user']['is_guest'])
echo '
document.cookie = "upshrink=" + (mode ? 1 : 0);'
;
else
echo '
smf_setThemeOption("collapse_header", mode ? 1 : 0, null, "'
$context['session_id'], '");';

echo '
document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");

document.getElementById("upshrinkHeader").style.display = mode ? "none" : "";

current_header = mode;
}
// ]]></script>'
;

// the routine for the info center upshrink
echo '
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var current_header_ic = '
, empty($options['collapse_header_ic']) ? 'false' 'true'';

function shrinkHeaderIC(mode)
{'
;

if ($context['user']['is_guest'])
echo '
document.cookie = "upshrinkIC=" + (mode ? 1 : 0);'
;
else
echo '
smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, null, "'
$context['session_id'], '");';

echo '
document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse.gif");

document.getElementById("upshrinkHeaderIC").style.display = mode ? "none" : "";

current_header_ic = mode;
}
// ]]></script>'
;

echo '
</head>
<body>
   <div id="wrapper">
   
                             <div style="text-align: center; background: #3E3E3E;">'
;
// color selection box

{
if (isset($settings['allow_color_change']) && $settings['allow_color_change'] == 'bars')
echo '
<form action="'
$scripturl'" method="post" >
<input style="cursor: pointer; font-size: 2px; width:100px;"                              type="submit" class="changerB" value="Bronze"    name="options[theme_color]" />
<input style="cursor: pointer; font-size: 2px; width:100px; margin: 0 0 0 30px;" type="submit" class="changerG" value="Graphite"    name="options[theme_color]" />
<input style="cursor: pointer; font-size: 2px; width:100px; margin: 0 0 0 30px;" type="submit" class="changerJ" value="Jade"         name="options[theme_color]" />
<input style="cursor: pointer; font-size: 2px; width:100px; margin: 0 0 0 30px;" type="submit" class="changerM" value="Malachite" name="options[theme_color]" />
<input style="cursor: pointer; font-size: 2px; width:100px; margin: 0 0 0 30px;" type="submit" class="changerO" value="Opal"     name="options[theme_color]" />
<input style="cursor: pointer; font-size: 2px; width:100px; margin: 0 0 0 30px;" type="submit" class="changerR" value="Ruby"     name="options[theme_color]" />
</form>'
;
}
echo '
</div>
   
      <div id="header">
   <div id="logo"><a href="'
.$scripturl.'" title=""></a></div>';
     echo '
</div>
<div id="toolbar">
'
,template_menu(),'
</div>
   <table id="userinfo"><tr>'
;
                  
if (!empty($context['user']['avatar']))
echo '
<td id="avbox" width="2%">'
$context['user']['avatar']['image'], '</td>';

echo '
<td width="30%" style="margin: 6px 0 0 0;"><span class="middletext2">'
;

// If the user is logged in, display stuff like their name, new messages, etc.
if ($context['user']['is_logged'])
{
echo '
<b>'
,$txt['hey2'],' '$context['user']['name'], '</b><br />';

// Only tell them about their messages if they can read their messages!
if ($context['allow_pm'])
echo ' <a href="'$scripturl'?action=pm"><b>'$context['user']['messages'], ' '$context['user']['messages'] != $txt[153] : $txt[471], '</b></a>'$txt['newmessages4'], ' '$context['user']['unread_messages'], ' '$context['user']['unread_messages'] == $txt['newmessages0'] : $txt['newmessages1'] , '.<br />';

echo '
<a href="'
$scripturl'?action=unread"><b>',$txt['showunread2'],'</b>&nbsp;/</a>
<a href="'
$scripturl'?action=unreadreplies"><b>',$txt['showreplies2'],'</b>&nbsp;/</a>
<a href="'
$scripturl'?action=profile;sa=showPosts"><b>',$txt['ownposts2'],'</b></a><br />';

if (isset($context['user']['awaiting_mod']))
echo '<br /><a href="' $scripturl '?action=warnpmman">' $context['user']['awaiting_mod'] . '</a><br />';

}
// Otherwise they're a guest - send them a lovely greeting...
else
echo'  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;',$txt['welcome_forum'];

// Now, onto our second set of info, are they logged in again?
if ($context['user']['is_logged'])
{
echo
         ' 
$context['current_time'], '';

echo ' </span>';
}
// Otherwise they're a guest - this time ask them to either register or login - lazy bums...
else
{
echo ' </span>
<script language="JavaScript" type="text/javascript" src="'
$settings['default_theme_url'], '/sha1.js"></script>

<form id="logprime" action="'
$scripturl'?action=login2" method="post" accept-charset="'$context['character_set'], '" class="middletext" style="margin: 3px 1ex 1px 8px;"', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' $context['session_id'] . '\');"' '''>
<input type="text" name="user" size="10" /> <input type="password" name="passwrd" size="10" />
<select name="cookielength">
<option value="60">'
$txt['smf53'], '</option>
<option value="1440">'
$txt['smf47'], '</option>
<option value="10080">'
$txt['smf48'], '</option>
<option value="43200">'
$txt['smf49'], '</option>
<option value="-1" selected="selected">'
$txt['smf50'], '</option>
</select>
<input id="toplog" type="submit" value="'
$txt[34], '" /><br />
<span class="middletext">&nbsp;&nbsp;&nbsp;&nbsp;'
$txt['smf52'], '</span>
<input type="hidden" name="hash_passwrd" value="" />
</form>'
;
}

echo '
</td>'
;
echo '
   </tr></table>'
;
   
   
// Show a random news item? (or you could pick one from news_lines...)
    
if (!empty($settings['enable_news'])) {
    
echo '<div id="news"><div id="newslines"><b>'.'News:'.'</b><br />'$context['random_news_line'] , '</div></div>';
    
}

else  {
    
echo '<div id="news"><div id="newslines">

<form action="'
$scripturl'?action=search2" method="post" accept-charset="'$context['character_set'], '" style="margin: 20px 0 0 150px;">
<a href="'
$scripturl'?action=search;advanced"><img src="'.$settings['images_url'].'/filter.gif" align="middle" style="margin: 0 1ex;" alt="" /></a>
<input class="biginput" type="text" name="search" value="'
$txt[182], '..." onfocus="this.value = \'\';" onblur="if(this.value==\'\') this.value=\''$txt[182], '...\';" style="width: 170px;" /> ';

// Search within current topic?
if (!empty($context['current_topic']))
echo '
<input type="hidden" name="topic" value="'
$context['current_topic'], '" />';

// If we're on a certain board, limit it to this board ;).
elseif (!empty($context['current_board']))
echo '
<input type="hidden" name="brd['
$context['current_board'], ']" value="'$context['current_board'], '" />';

echo '
</form><br />

</div></div>'
;
    
}
   
echo '<div id="mainarea">';
}

function 
template_main_below()
{
global $context$settings$options$scripturl$txt$user_info;

        echo 
'
      </div>
<div id="footer">
         
          <br />Theme by <a href="http://www.dzinerstudio.com">DzinerStudio,</a> <a href="http://www.akria.org/forum">Kazos</a> and <a href="http://www.dzinerstudio.com">Antechinus</a><br /> 
  '
theme_copyright(), '';

// Show the load time?
if ($context['show_load_time'])
echo ' | &nbsp;'$txt['smf301'], $context['load_time'], $txt['smf302'], $context['load_queries'], $txt['smf302b'];

echo '
</div>
   </div>
</body></html>'
;
}

// Show a linktree. This is that thing that shows "My Community | General Category | General Discussion"..
function theme_linktree()
{
global $context$settings$options;

echo '<div class="nav" style="font-size: smaller; margin-bottom: 1ex; margin-top: 3ex;">';

// Each tree item has a URL and name. Some may have extra_before and extra_after.
foreach ($context['linktree'] as $link_num => $tree)
{
// Show something before the link?
if (isset($tree['extra_before']))
echo $tree['extra_before'];

// Show the link, including a URL if it should have one.
echo '<b>'$settings['linktree_link'] && isset($tree['url']) ? '<a href="' $tree['url'] . '" class="nav">' $tree['name'] . '</a>' $tree['name'], '</b>';

// Show something after the link...?
if (isset($tree['extra_after']))
echo $tree['extra_after'];

// Don't show a separator for the last one.
if ($link_num != count($context['linktree']) - 1)
echo '&nbsp;>&nbsp;';
}

echo '</div>';
}

// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
global $context$settings$options$scripturl$txt;

// Work out where we currently are.
$current_action 'home';
if (in_array($context['current_action'], array('admin''ban''boardrecount''cleanperms''detailedversion''dumpdb''featuresettings''featuresettings2''findmember''maintain''manageattachments''manageboards''managecalendar''managesearch''membergroups''modlog''news''optimizetables''packageget''packages''permissions''pgdownload''postsettings''regcenter''repairboards''reports''serversettings''serversettings2''smileys''viewErrorLog''viewmembers')))
$current_action 'admin';
if (in_array($context['current_action'], array('search''admin''calendar''profile''mlist''register''login''help''pm')))
$current_action $context['current_action'];
if ($context['current_action'] == 'search2')
$current_action 'search';

if ($context['current_action'] == 'theme')
$current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' 'profile' 'admin';

// Are we using right-to-left orientation?
if ($context['right_to_left'])
{
$first 'last';
$last 'first';
}
else
{
$first 'first';
$last 'last';
}

// Show the start of the tab section.

 echo '
             
                 <div id="menu">
                     <ul class="menu">
                     
                             <li class="level1"><a href="'
$scripturl'" class="level1"><span><span class="title">' $txt[103] , '</span></span></a></li>';

                 
// Show the [Help] button.
                 
echo
                             <li class="level1"><a href="'
$scripturl'?action=help" class="level1"><span><span class="title">' $txt[119] , '</span></span></a></li>';  

                 
// How about the [search] button?
                 
if ($context['allow_search'])
                 echo 
'
                             <li class="level1"><a href="'
$scripturl'?action=search" class="level1"><span><span class="title">' $txt[182] , '</span></span></a></li>';

                 
// Is the user allowed to administrate at all? ([admin])
                 
if ($context['allow_admin'])
                 echo 
'
                             <li class="level1"><a href="'
$scripturl'?action=admin" class="level1"><span><span class="title">' $txt[2] , '</span></span></a>
 <ul>                             
                             <li><a href="'
$scripturl'?action=packages" class="level2"><span>' $txt['packages'] , '</span></a></li>
                             <li><a href="'
$scripturl'?action=theme;sesc='$context['session_id'],';sa=edit" class="level2"><span>' $txt['modtheme'] , '</span></a></li>
 <li><a href="'
$scripturl'?action=maintain" class="level2"><span>' $txt['maintain'] , '</span></a></li>
 <li><a href="'
$scripturl'?action=news" class="level2"><span>' $txt['newsand'] , '</span></a></li>
 </ul>
 </li>'
;
                             
                 
// Edit Profile... [profile]
                 
if ($context['allow_edit_profile'])
                 echo 
'
                             <li class="level1"><a href="'
$scripturl'?action=profile" class="level1"><span><span class="title">' $txt[79] , '</span></span></a>
                             <ul>                             
                             <li><a href="'
$scripturl'?action=profile;sa=forumProfile" class="level2"><span>' $txt['forpro'] , '</span></a></li>
                             <li><a href="'
$scripturl'?action=profile;sa=theme" class="level2"><span>' $txt['layout'] , '</span></a></li>
 <li><a href="'
$scripturl'?action=profile;sa=account" class="level2"><span>' $txt['account2'] , '</span></a></li>
 <li><a href="'
$scripturl'?action=profile;sa=notification" class="level2"><span>' $txt['notification2'] , '</span></a></li>
 </ul>
 </li>'
;


                 
// Go to PM center... [pm]
                 
if ($context['user']['is_logged'] && $context['allow_pm'])
                 echo 
'
                             <li class="level1"><a href="'
$scripturl'?action=pm" class="level1"><span><span class="title">' $txt['messages'] , ' '$context['user']['unread_messages'] > '[<strong>'$context['user']['unread_messages'] . '</strong>]' '' '</span></span></a>
                             <ul>
                             <li><a href="'
$scripturl'?action=pm;f=outbox" class="level2"><span>' $txt['outbox'] , '</span></a></li>
                             <li><a href="'
$scripturl'?action=pm;sa=send" class="level2"><span>' $txt['sendmess'] , '</span></a></li>
 <li><a href="'
$scripturl'?action=pm;sa=pmprefs" class="level2"><span>' $txt['pm_options'] , '</span></a></li>
 <li><a href="'
$scripturl'?action=pm;sa=search" class="level2"><span>' $txt['searchmess'] , '</span></a></li>
                             </ul>
 </li>'
;                 

                 
// the [Recent Posts] button
                 
echo '
                             <li class="level1"><a href="'
$scripturl'?action=recent" class="level1"><span><span class="title">' $txt['latest2'] , '</span></span></a>
                             <ul>'
;
 if ($context['allow_calendar'])
 echo'
 <li><a href="index.php?action=calendar" class="level2"><span>' 
$txt['viewcal'] , '</span></a></li>';  
 if ($context['allow_memberlist'] && $context['user']['is_logged'])
 echo'  
                             <li><a href="'
$scripturl'?action=mlist" class="level2"><span>' $txt['viewlist'] , '</span></a></li>                             
                             <li><a href="'
$scripturl'?action=mlist;sa=search" class="level2"><span>' $txt['searchlist'] , '</span></a></li>';  
                 echo
'    </ul>
 </li>'
;

// If the user is a guest, show [login] button.
                 
if ($context['user']['is_guest'])
                 echo 
'
                             <li class="level1"><a href="'
$scripturl'?action=login" class="level1"><span><span class="title">' $txt[34] , '</span></span></a></li>';
                           
                 
// If the user is a guest, also show [register] button.
                 
if ($context['user']['is_guest'])
                 echo 
'
                             <li class="level1"><a href="'
$scripturl'?action=register" class="level1"><span><span class="title">' $txt[97] , '</span></span></a></li>';  
                                         
                 
// Otherwise, they might want to [logout]...
                 
if ($context['user']['is_logged'])
                 echo 
'
                             <li class="level1"><a href="'
$scripturl'?action=logout;sesc='$context['session_id'], '" class="level1"><span><span class="title">' $txt[108] , '</span></span></a></li>';

         echo 
'
                     </ul>
                 </div>'
;


}

// Generate a strip of buttons.
function template_button_strip($button_strip$direction 'top'$force_reset false$custom_td '')
{
global $settings$buttons$context$txt$scripturl;

// Create the buttons...
foreach ($button_strip as $key => $value)
{
if (isset($value['test']) && empty($context[$value['test']]))
{
unset($button_strip[$key]);
continue;
}
elseif (!isset($buttons[$key]) || $force_reset)
$buttons[$key] = '<a href="' $value['url'] . '" ' .( isset($value['custom']) ? $value['custom'] : '') . '>' $txt[$value['text']] . '</a>';

$button_strip[$key] = $buttons[$key];
}

if (empty($button_strip))
return '<td>&nbsp;</td>';

echo '
<td class="'
$direction == 'top' 'main' 'mirror''tab_' $context['right_to_left'] ? 'last' 'first' '">&nbsp;</td>
<td class="'
$direction == 'top' 'main' 'mirror''tab_back">'implode(' &nbsp;|&nbsp; '$button_strip) , '</td>
<td class="'
$direction == 'top' 'main' 'mirror''tab_' $context['right_to_left'] ? 'first' 'last' '">&nbsp;</td>';
}

?>



The Theme is MysticMulti
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: andyv123 on March 09, 2009, 06:30:26 AM
How can I remove the second "save" button that displays for everyone on the blog edit page? Some of my members click the wrong save button and lose all of their work...
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: LinK187 on March 09, 2009, 04:39:14 PM
Quote from: andyv123 on March 09, 2009, 06:30:26 AM
How can I remove the second "save" button that displays for everyone on the blog edit page? Some of my members click the wrong save button and lose all of their work...

I would also like to know the answer to this, as well as my other 2 unanswered questions. :)
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Lady Night Owl on March 09, 2009, 05:03:14 PM
Quote from: LinK187 on March 09, 2009, 04:39:14 PM
Quote from: andyv123 on March 09, 2009, 06:30:26 AM
How can I remove the second "save" button that displays for everyone on the blog edit page? Some of my members click the wrong save button and lose all of their work...

I would also like to know the answer to this, as well as my other 2 unanswered questions. :)

I think I saw Charles say somewhere that the duplicate save button is for the plug-ins, but he's working on setting it up so that the button won't show if no plug-ins are installed.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: LinK187 on March 09, 2009, 05:05:58 PM
Quote from: Lady Night Owl on March 09, 2009, 05:03:14 PM
Quote from: LinK187 on March 09, 2009, 04:39:14 PM
Quote from: andyv123 on March 09, 2009, 06:30:26 AM
How can I remove the second "save" button that displays for everyone on the blog edit page? Some of my members click the wrong save button and lose all of their work...

I would also like to know the answer to this, as well as my other 2 unanswered questions. :)

I think I saw Charles say somewhere that the duplicate save button is for the plug-ins, but he's working on setting it up so that the button won't show if no plug-ins are installed.

Perhaps just a visual discrimination would be better.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: andyv123 on March 09, 2009, 07:16:41 PM
The save button does have a purpose, but only to those that can change the ownership of blogs. For some reason the save button shows up even when a person doesn't have the option to change ownership.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on March 09, 2009, 07:21:33 PM
No that extra Save button at the bottom of the Blog Settings page is for plugin settings for blogs (which you have none right now because you have no plugins).  The bug is that it shouldn't show up at all if you have no blog by blog settings for plugins.  I fixed it for 0.8.0 Beta.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: LinK187 on March 09, 2009, 08:24:53 PM
Quote from: Charles Hill on March 09, 2009, 07:21:33 PM
No that extra Save button at the bottom of the Blog Settings page is for plugin settings for blogs (which you have none right now because you have no plugins).  The bug is that it shouldn't show up at all if you have no blog by blog settings for plugins.  I fixed it for 0.8.0 Beta.

Ah he speaks! Fancy checking this post out? http://www.simplemachines.org/community/index.php?topic=244848.msg1966506#msg1966506
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on March 09, 2009, 08:35:54 PM
That's just a missing variable.  Should be boolean (true/false) for whether or not to show the # of database queries and load time for the current page at the bottom.  Look in index.template.php for the theme you're using in zCommunity.  The variable itself should be set in zc.php somewhere.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: LinK187 on March 09, 2009, 09:07:24 PM
If i send you my index.template.php would you be able to point it out for me and advise what lines to add to zc.php and where?
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Fabis94 on March 10, 2009, 10:47:25 AM
Could you guys help me? I can't find where to put some of the adjustments for my Custom theme:


<?php
// Version: 1.1; index

/*   This template is, perhaps, the most important template in the theme. It
   contains the main template layer that displays the header and footer of
   the forum, namely with main_above and main_below. It also contains the
   menu sub template, which appropriately displays the menu; the init sub
   template, which is there to set the theme up; (init can be missing.) and
   the linktree sub template, which sorts out the link tree.

   The init sub template should load any data and set any hardcoded options.

   The main_above sub template is what is shown above the main content, and
   should contain anything that should be shown up there.

   The main_below sub template, conversely, is shown after the main content.
   It should probably contain the copyright statement and some other things.

   The linktree sub template should display the link tree, using the data
   in the $context['linktree'] variable.

   The menu sub template should display all the relevant buttons the user
   wants and or needs.

   For more information on the templating system, please see the site at:
   http://www.simplemachines.org/
*/

// Initialize the template... mainly little settings.
function template_init()
{
   global 
$context$settings$options$txt;

   
/* Use images from default theme when using templates from the default theme?
      if this is 'always', images from the default theme will be used.
      if this is 'defaults', images from the default theme will only be used with default templates.
      if this is 'never' or isn't set at all, images from the default theme will not be used. */
   
$settings['use_default_images'] = 'never';

   
/* What document type definition is being used? (for font size and other issues.)
      'xhtml' for an XHTML 1.0 document type definition.
      'html' for an HTML 4.01 document type definition. */
   
$settings['doctype'] = 'xhtml';

   
/* The version this template/theme is for.
      This should probably be the version of SMF it was created for. */
   
$settings['theme_version'] = '1.1';

   
/* Set a setting that tells the theme that it can render the tabs. */
   
$settings['use_tabs'] = true;

   
/* Use plain buttons - as oppossed to text buttons? */
   
$settings['use_buttons'] = true;

   
/* Show sticky and lock status seperate from topic icons? */
   
$settings['seperate_sticky_lock'] = true;
   
   
/* Call to Theme String for languages  */
    
loadLanguage('ThemeStrings');
    
     
// Color changer
   
if(!$context['user']['is_guest'] && isset($_POST['options']['theme_color']))
   {
      include_once(
$GLOBALS['sourcedir'] . '/Profile.php');
      
makeThemeChanges($context['user']['id'], $settings['theme_id']);
      
$options['theme_color'] = $_POST['options']['theme_color'];
   }
   elseif (
$context['user']['is_guest'])
   {
      if (isset(
$_POST['options']['theme_color']))
      {
        
$_SESSION['theme_color'] = $_POST['options']['theme_color'];
        
$options['theme_color'] = $_SESSION['theme_color'];
      }
      elseif (isset(
$_SESSION['theme_color']))
        
$options['theme_color'] = $_SESSION['theme_color'];
   }   
}

// The main sub template above the content.
function template_main_above()
{
   global 
$context$settings$options$scripturl$txt$modSettings$boardurl;

   
// Show right to left and the character set for ease of translating.
   
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"'
$context['right_to_left'] ? ' dir="rtl"' '''><head>
   <meta http-equiv="Content-Type" content="text/html; charset='
$context['character_set'], '" />
   <meta name="description" content="'
$context['page_title'], '" />
   <meta name="keywords" content="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />
   <script language="JavaScript" type="text/javascript" src="'
$settings['default_theme_url'], '/script.js?rc2p"></script>
   <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
      var smf_theme_url = "'
$settings['theme_url'], '";
      var smf_images_url = "'
$settings['images_url'], '";
      var smf_scripturl = "'
$scripturl'";
   // ]]></script>
   <title>'
$context['page_title'], '</title>';
   
   
// Any color set by user?
   
if (isset($options['theme_color']))
      
$settings['theme_main_color'] = $options['theme_color'];

   
// If not set, or if not allowed to set
   
if(!isset($options['theme_color']) || (isset($settings['allow_color_change']) && $settings['allow_color_change'] == 'no'))
   {
      
// Defaults.
      
$options['theme_color'] = isset($settings['theme_main_color']) ? $settings['theme_main_color'] : 'Jade';
      
$settings['theme_main_color'] = $options['theme_color'];
   }

   
// The ?fin11 part of this link is just here to make sure browsers don't cache it wrongly.
   
echo '
   <link rel="stylesheet" type="text/css" href="'
$settings['theme_url'], '/style.css?fin11" />
   <link rel="stylesheet" type="text/css" href="'
$settings['theme_url'], '/style_' $settings['theme_main_color'] , '.css?fin11" />
   <script language="JavaScript" type="text/javascript" src="'
$settings['theme_url'], '/newscollapse.js"></script>
   <link rel="stylesheet" type="text/css" href="'
$settings['default_theme_url'], '/print.css?fin11" media="print" />';
   
   
// for ie!
    
if($context['browser']['is_ie'])
      echo 
'
    <link rel="stylesheet" type="text/css" href="'
$settings['theme_url'], '/ie.css?fin11" />';
   
    
// for ie6!
    
if($context['browser']['is_ie6'])
      echo 
'
    <link rel="stylesheet" type="text/css" href="'
$settings['theme_url'], '/ie6.css?fin11" />';
    
    
// for webkits!
    
if($context['browser']['is_safari'])
      echo 
'
    <link rel="stylesheet" type="text/css" href="'
$settings['theme_url'], '/webkit.css?fin11" />';
    
    
// for opera!
    
if($context['browser']['is_opera'])
      echo 
'
    <link rel="stylesheet" type="text/css" href="'
$settings['theme_url'], '/opera.css?fin11" />';    

   
/* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)
      Thus, in Internet Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.
      Note that this is affected by whether IE 6 is in standards compliance mode.. if not, it will also be big.
      Standards compliance mode happens when you use xhtml... */
   
if ($context['browser']['needs_size_fix'])
      echo 
'
   <link rel="stylesheet" type="text/css" href="'
$settings['default_theme_url'], '/fonts-compat.css" />';

   
// Show all the relative links, such as help, search, contents, and the like.
   
echo '
   <link rel="help" href="'
$scripturl'?action=help" target="_blank" />
   <link rel="search" href="' 
$scripturl '?action=search" />
   <link rel="contents" href="'
$scripturl'" />';

   
// If RSS feeds are enabled, advertise the presence of one.
   
if (!empty($modSettings['xmlnews_enable']))
      echo 
'
   <link rel="alternate" type="application/rss+xml" title="'
$context['forum_name'], ' - RSS" href="'$scripturl'?type=rss;action=.xml" />';

   
// If we're viewing a topic, these should be the previous and next topics, respectively.
   
if (!empty($context['current_topic']))
      echo 
'
   <link rel="prev" href="'
$scripturl'?topic='$context['current_topic'], '.0;prev_next=prev" />
   <link rel="next" href="'
$scripturl'?topic='$context['current_topic'], '.0;prev_next=next" />';

   
// If we're in a board, or a topic for that matter, the index will be the board's index.
   
if (!empty($context['current_board']))
      echo 
'
   <link rel="index" href="' 
$scripturl '?board=' $context['current_board'] . '.0" />';


   
// We'll have to use the cookie to remember the header...
   
if ($context['user']['is_guest'])
      
$options['collapse_header'] = !empty($_COOKIE['upshrink']);

   
// Output any remaining HTML headers. (from mods, maybe?)
   
echo $context['html_headers'], '
   <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
      var current_header = '
, empty($options['collapse_header']) ? 'false' 'true'';

      function shrinkHeader(mode)
      {'
;

   
// Guests don't have theme options!!
   
if ($context['user']['is_guest'])
      echo 
'
         document.cookie = "upshrink=" + (mode ? 1 : 0);'
;
   else
      echo 
'
         smf_setThemeOption("collapse_header", mode ? 1 : 0, null, "'
$context['session_id'], '");';

   echo 
'
         document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");

         document.getElementById("upshrinkHeader").style.display = mode ? "none" : "";

         current_header = mode;
      }
   // ]]></script>'
;

   
// the routine for the info center upshrink
   
echo '
      <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
         var current_header_ic = '
, empty($options['collapse_header_ic']) ? 'false' 'true'';

         function shrinkHeaderIC(mode)
         {'
;

   if (
$context['user']['is_guest'])
      echo 
'
            document.cookie = "upshrinkIC=" + (mode ? 1 : 0);'
;
   else
      echo 
'
            smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, null, "'
$context['session_id'], '");';

   echo 
'
            document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse.gif");

            document.getElementById("upshrinkHeaderIC").style.display = mode ? "none" : "";

            current_header_ic = mode;
         }
      // ]]></script>'
;

   echo 
'
</head>
<body>
   <div id="wrapper">
   
                             <div style="text-align: center; background: #3E3E3E;">'
;
   
// color selection box
   
   
{      
      if (isset(
$settings['allow_color_change']) && $settings['allow_color_change'] == 'bars')
      echo 
'
            <form action="'
$scripturl'" method="post" >
               <input style="cursor: pointer; font-size: 2px; width:100px;"                              type="submit" class="changerB" value="Bronze"      name="options[theme_color]" />
               <input style="cursor: pointer; font-size: 2px; width:100px; margin: 0 0 0 30px;" type="submit" class="changerG" value="Graphite"      name="options[theme_color]" />
               <input style="cursor: pointer; font-size: 2px; width:100px; margin: 0 0 0 30px;" type="submit" class="changerJ" value="Jade"           name="options[theme_color]" />
               <input style="cursor: pointer; font-size: 2px; width:100px; margin: 0 0 0 30px;" type="submit" class="changerM" value="Malachite"   name="options[theme_color]" />
               <input style="cursor: pointer; font-size: 2px; width:100px; margin: 0 0 0 30px;" type="submit" class="changerO" value="Opal"          name="options[theme_color]" />
               <input style="cursor: pointer; font-size: 2px; width:100px; margin: 0 0 0 30px;" type="submit" class="changerR" value="Ruby"          name="options[theme_color]" />                                                         
            </form>'
;
   }
   echo 
'
   </div>
   
      <div id="header">
      <div id="logo"><a href="'
.$scripturl.'" title=""></a></div>';
                echo 
'
            </div>
   <div id="toolbar">
   '
,template_menu(),'
   </div>
   <table id="userinfo"><tr>'
;   
                        if (!empty(
$context['user']['avatar']))
      echo 
'
                     <td id="avbox" width="2%">'
$context['user']['avatar']['image'], '</td>';

   echo 
'
                     <td width="30%" style="margin: 6px 0 0 0;"><span class="middletext2">'
;

   
// If the user is logged in, display stuff like their name, new messages, etc.
   
if ($context['user']['is_logged'])
   {
      echo 
'
                     <b>'
,$txt['hey2'],' '$context['user']['name'], '</b><br />';

      
// Only tell them about their messages if they can read their messages!
      
if ($context['allow_pm'])
         echo 
' <a href="'$scripturl'?action=pm"><b>'$context['user']['messages'], ' '$context['user']['messages'] != $txt[153] : $txt[471], '</b></a>'$txt['newmessages4'], ' '$context['user']['unread_messages'], ' '$context['user']['unread_messages'] == $txt['newmessages0'] : $txt['newmessages1'] , '.<br />';

      echo 
'
                        <a href="'
$scripturl'?action=unread"><b>',$txt['showunread2'],'</b>&nbsp;/</a>
                        <a href="'
$scripturl'?action=unreadreplies"><b>',$txt['showreplies2'],'</b>&nbsp;/</a>
                        <a href="'
$scripturl'?action=profile;sa=showPosts"><b>',$txt['ownposts2'],'</b></a><br />';

      if (isset(
$context['user']['awaiting_mod']))
         echo 
'<br /><a href="' $scripturl '?action=warnpmman">' $context['user']['awaiting_mod'] . '</a><br />';

   }
   
// Otherwise they're a guest - send them a lovely greeting...
   
else
      echo
'  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;',$txt['welcome_forum'];

   
// Now, onto our second set of info, are they logged in again?
   
if ($context['user']['is_logged'])
   {
      echo

               ' 
$context['current_time'], '';
      
      echo 
'            </span>';
   }
   
// Otherwise they're a guest - this time ask them to either register or login - lazy bums...
   
else
   {
      echo 
'            </span>
                        <script language="JavaScript" type="text/javascript" src="'
$settings['default_theme_url'], '/sha1.js"></script>

                        <form id="logprime" action="'
$scripturl'?action=login2" method="post" accept-charset="'$context['character_set'], '" class="middletext" style="margin: 3px 1ex 1px 8px;"', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' $context['session_id'] . '\');"' '''>
                           <input type="text" name="user" size="10" /> <input type="password" name="passwrd" size="10" />
                           <select name="cookielength">
                              <option value="60">'
$txt['smf53'], '</option>
                              <option value="1440">'
$txt['smf47'], '</option>
                              <option value="10080">'
$txt['smf48'], '</option>
                              <option value="43200">'
$txt['smf49'], '</option>
                              <option value="-1" selected="selected">'
$txt['smf50'], '</option>
                           </select>
                           <input id="toplog" type="submit" value="'
$txt[34], '" /><br />
                           <span class="middletext">&nbsp;&nbsp;&nbsp;&nbsp;'
$txt['smf52'], '</span>
                           <input type="hidden" name="hash_passwrd" value="" />
                        </form>'
;
   }

   echo 
'
                     </td>'
;
   echo 
'
   </tr></table>'
;
   
   
// Show a random news item? (or you could pick one from news_lines...)
             
if (!empty($settings['enable_news'])) {
                echo 
'<div id="news"><div id="newslines"><b>'.'News:'.'</b><br />'$context['random_news_line'] , '</div></div>';               
                }
               
   else       {
                echo 
'<div id="news"><div id="newslines">
               
               <form action="'
$scripturl'?action=search2" method="post" accept-charset="'$context['character_set'], '" style="margin: 20px 0 0 150px;">
                  <a href="'
$scripturl'?action=search;advanced"><img src="'.$settings['images_url'].'/filter.gif" align="middle" style="margin: 0 1ex;" alt="" /></a>
                        <input class="biginput" type="text" name="search" value="'
$txt[182], '..." onfocus="this.value = \'\';" onblur="if(this.value==\'\') this.value=\''$txt[182], '...\';" style="width: 170px;" /> ';

   
// Search within current topic?
   
if (!empty($context['current_topic']))
      echo 
'
                  <input type="hidden" name="topic" value="'
$context['current_topic'], '" />';

      
// If we're on a certain board, limit it to this board ;).
   
elseif (!empty($context['current_board']))
      echo 
'
                  <input type="hidden" name="brd['
$context['current_board'], ']" value="'$context['current_board'], '" />';

   echo 
'
               </form><br />
               
               </div></div>'
;               
                }      
   
   echo 
'<div id="mainarea">';
}

function 
template_main_below()
{
   global 
$context$settings$options$scripturl$txt$user_info;

        echo 
'
      </div>
   <div id="footer">
         
          <br />Theme by <a href="http://www.dzinerstudio.com">DzinerStudio,</a> <a href="http://www.akria.org/forum">Kazos</a> and <a href="http://www.dzinerstudio.com">Antechinus</a><br /> 
        '
theme_copyright(), '';

      
// Show the load time?
   
if ($context['show_load_time'])
      echo 
' | &nbsp;'$txt['smf301'], $context['load_time'], $txt['smf302'], $context['load_queries'], $txt['smf302b'];

   echo 
'
   </div>
   </div>
</body></html>'
;
}

// Show a linktree. This is that thing that shows "My Community | General Category | General Discussion"..
function theme_linktree()
{
   global 
$context$settings$options;

   echo 
'<div class="nav" style="font-size: smaller; margin-bottom: 1ex; margin-top: 3ex;">';

   
// Each tree item has a URL and name. Some may have extra_before and extra_after.
   
foreach ($context['linktree'] as $link_num => $tree)
   {
      
// Show something before the link?
      
if (isset($tree['extra_before']))
         echo 
$tree['extra_before'];

      
// Show the link, including a URL if it should have one.
      
echo '<b>'$settings['linktree_link'] && isset($tree['url']) ? '<a href="' $tree['url'] . '" class="nav">' $tree['name'] . '</a>' $tree['name'], '</b>';

      
// Show something after the link...?
      
if (isset($tree['extra_after']))
         echo 
$tree['extra_after'];

      
// Don't show a separator for the last one.
      
if ($link_num != count($context['linktree']) - 1)
         echo 
'&nbsp;>&nbsp;';
   }

   echo 
'</div>';
}

// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
   global 
$context$settings$options$scripturl$txt;

   
// Work out where we currently are.
   
$current_action 'home';
   if (
in_array($context['current_action'], array('admin''ban''boardrecount''cleanperms''detailedversion''dumpdb''featuresettings''featuresettings2''findmember''maintain''manageattachments''manageboards''managecalendar''managesearch''membergroups''modlog''news''optimizetables''packageget''packages''permissions''pgdownload''postsettings''regcenter''repairboards''reports''serversettings''serversettings2''smileys''viewErrorLog''viewmembers')))
      
$current_action 'admin';
   if (
in_array($context['current_action'], array('search''admin''calendar''profile''mlist''register''login''help''pm')))
      
$current_action $context['current_action'];
   if (
$context['current_action'] == 'search2')
      
$current_action 'search';

   if (
$context['current_action'] == 'theme')
      
$current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' 'profile' 'admin';

   
// Are we using right-to-left orientation?
   
if ($context['right_to_left'])
   {
      
$first 'last';
      
$last 'first';
   }
   else
   {
      
$first 'first';
      
$last 'last';
   }

   
// Show the start of the tab section.

    
echo '
                
                 <div id="menu">
                     <ul class="menu">
                     
                             <li class="level1"><a href="'
$scripturl'" class="level1"><span><span class="title">' $txt[103] , '</span></span></a></li>';            

                 
// Show the [Help] button.
                 
echo
                             <li class="level1"><a href="'
$scripturl'?action=help" class="level1"><span><span class="title">' $txt[119] , '</span></span></a></li>';                

                 
// How about the [search] button?
                 
if ($context['allow_search'])
                 echo 
'
                             <li class="level1"><a href="'
$scripturl'?action=search" class="level1"><span><span class="title">' $txt[182] , '</span></span></a></li>';

                 
// Is the user allowed to administrate at all? ([admin])
                 
if ($context['allow_admin'])
                 echo 
'
                             <li class="level1"><a href="'
$scripturl'?action=admin" class="level1"><span><span class="title">' $txt[2] , '</span></span></a>
                      <ul>                             
                             <li><a href="'
$scripturl'?action=packages" class="level2"><span>' $txt['packages'] , '</span></a></li>
                             <li><a href="'
$scripturl'?action=theme;sesc='$context['session_id'],';sa=edit" class="level2"><span>' $txt['modtheme'] , '</span></a></li>
                      <li><a href="'
$scripturl'?action=maintain" class="level2"><span>' $txt['maintain'] , '</span></a></li>
                      <li><a href="'
$scripturl'?action=news" class="level2"><span>' $txt['newsand'] , '</span></a></li>
                      </ul>
                      </li>'
;
                             
                 
// Edit Profile... [profile]
                 
if ($context['allow_edit_profile'])
                 echo 
'
                             <li class="level1"><a href="'
$scripturl'?action=profile" class="level1"><span><span class="title">' $txt[79] , '</span></span></a>
                             <ul>                             
                             <li><a href="'
$scripturl'?action=profile;sa=forumProfile" class="level2"><span>' $txt['forpro'] , '</span></a></li>
                             <li><a href="'
$scripturl'?action=profile;sa=theme" class="level2"><span>' $txt['layout'] , '</span></a></li>
                      <li><a href="'
$scripturl'?action=profile;sa=account" class="level2"><span>' $txt['account2'] , '</span></a></li>
                      <li><a href="'
$scripturl'?action=profile;sa=notification" class="level2"><span>' $txt['notification2'] , '</span></a></li>
                      </ul>
                      </li>'
;


                 
// Go to PM center... [pm]
                 
if ($context['user']['is_logged'] && $context['allow_pm'])
                 echo 
'
                             <li class="level1"><a href="'
$scripturl'?action=pm" class="level1"><span><span class="title">' $txt['messages'] , ' '$context['user']['unread_messages'] > '[<strong>'$context['user']['unread_messages'] . '</strong>]' '' '</span></span></a>
                             <ul>
                             <li><a href="'
$scripturl'?action=pm;f=outbox" class="level2"><span>' $txt['outbox'] , '</span></a></li>
                             <li><a href="'
$scripturl'?action=pm;sa=send" class="level2"><span>' $txt['sendmess'] , '</span></a></li>
                      <li><a href="'
$scripturl'?action=pm;sa=pmprefs" class="level2"><span>' $txt['pm_options'] , '</span></a></li>
                      <li><a href="'
$scripturl'?action=pm;sa=search" class="level2"><span>' $txt['searchmess'] , '</span></a></li>
                             </ul>
                      </li>'
;                 

                 
// the [Recent Posts] button
                 
echo '
                             <li class="level1"><a href="'
$scripturl'?action=recent" class="level1"><span><span class="title">' $txt['latest2'] , '</span></span></a>
                             <ul>'
;
             if (
$context['allow_calendar'])
             echo
'
                      <li><a href="index.php?action=calendar" class="level2"><span>' 
$txt['viewcal'] , '</span></a></li>';          
             if (
$context['allow_memberlist'] && $context['user']['is_logged'])
             echo
'          
                             <li><a href="'
$scripturl'?action=mlist" class="level2"><span>' $txt['viewlist'] , '</span></a></li>                             
                             <li><a href="'
$scripturl'?action=mlist;sa=search" class="level2"><span>' $txt['searchlist'] , '</span></a></li>';          
                 echo
'    </ul>
                      </li>'
;

            
// If the user is a guest, show [login] button.
                 
if ($context['user']['is_guest'])
                 echo 
'
                             <li class="level1"><a href="'
$scripturl'?action=login" class="level1"><span><span class="title">' $txt[34] , '</span></span></a></li>';
                           
                 
// If the user is a guest, also show [register] button.
                 
if ($context['user']['is_guest'])
                 echo 
'
                             <li class="level1"><a href="'
$scripturl'?action=register" class="level1"><span><span class="title">' $txt[97] , '</span></span></a></li>';          
                                         
                 
// Otherwise, they might want to [logout]...
                 
if ($context['user']['is_logged'])
                 echo 
'
                             <li class="level1"><a href="'
$scripturl'?action=logout;sesc='$context['session_id'], '" class="level1"><span><span class="title">' $txt[108] , '</span></span></a></li>';

         echo 
'
                     </ul>
                 </div>'
;


}

// Generate a strip of buttons.
function template_button_strip($button_strip$direction 'top'$force_reset false$custom_td '')
{
   global 
$settings$buttons$context$txt$scripturl;

   
// Create the buttons...
   
foreach ($button_strip as $key => $value)
   {
      if (isset(
$value['test']) && empty($context[$value['test']]))
      {
         unset(
$button_strip[$key]);
         continue;
      }
      elseif (!isset(
$buttons[$key]) || $force_reset)
         
$buttons[$key] = '<a href="' $value['url'] . '" ' .( isset($value['custom']) ? $value['custom'] : '') . '>' $txt[$value['text']] . '</a>';

      
$button_strip[$key] = $buttons[$key];
   }

   if (empty(
$button_strip))
      return 
'<td>&nbsp;</td>';

   echo 
'
      <td class="'
$direction == 'top' 'main' 'mirror''tab_' $context['right_to_left'] ? 'last' 'first' '">&nbsp;</td>
      <td class="'
$direction == 'top' 'main' 'mirror''tab_back">'implode(' &nbsp;|&nbsp; '$button_strip) , '</td>
      <td class="'
$direction == 'top' 'main' 'mirror''tab_' $context['right_to_left'] ? 'first' 'last' '">&nbsp;</td>';
}

?>
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: andyv123 on March 11, 2009, 02:12:11 AM
Is there a quick fix so I can just delete the not-needed save button? I've already done alot of modifications to the theme of zcommunity and I don't think an update to 8.0 will do me any good.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: robinrobin on March 11, 2009, 10:15:43 PM
That's the exact same bug i reported a while ago Gaz. =O) It's bound to be fixed when several people report it! Read that Charles? lol ;)

Anyways, i wanna mention something that has been bugging me for a while. As you can see on this page (http://www.buildaskill.com/board/index.php?article=1.0) for example, all actual article- and comment-areas have a scroll-bar to their right which only scrolls ONE pixel. It is quite disturbing to have there since it just takes up space and makes things look a lot less clean. Is there a fix to this??? I think i only noticed this in the Clean theme...
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Zeruda on March 13, 2009, 05:18:04 AM
Forgive me for asking a stupid question, but how do I set global categories and/or tags? I've looked all over the place in the Blog Control Panel, but I'm not seeing an option for it. I want to make it so that there is a set list of tags and categories that will show up in every single blog. Any help would be greatly appreciated!
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: robinrobin on March 13, 2009, 11:34:30 AM
Quote from: Zeruda on March 13, 2009, 05:18:04 AM
Forgive me for asking a stupid question, but how do I set global categories and/or tags? I've looked all over the place in the Blog Control Panel, but I'm not seeing an option for it. I want to make it so that there is a set list of tags and categories that will show up in every single blog. Any help would be greatly appreciated!

Uh, but what's the point of having blogs that all share the same tag(s)? Simply viewing the main community page already shows all blogs in your community. Why have tags that link to all of them at the same time? That's not what tags are for i think.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Zeruda on March 13, 2009, 02:28:18 PM
Quote from: robinrobin on March 13, 2009, 11:34:30 AM
Quote from: Zeruda on March 13, 2009, 05:18:04 AM
Forgive me for asking a stupid question, but how do I set global categories and/or tags? I've looked all over the place in the Blog Control Panel, but I'm not seeing an option for it. I want to make it so that there is a set list of tags and categories that will show up in every single blog. Any help would be greatly appreciated!

Uh, but what's the point of having blogs that all share the same tag(s)? Simply viewing the main community page already shows all blogs in your community. Why have tags that link to all of them at the same time? That's not what tags are for i think.
Because that's what I want. :) If that's not possible, I still want the same for categories, and I cannot for the life of me figure out how to set global categories.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on March 13, 2009, 02:58:52 PM
What you want is what you want :)

You cannot set global categories...... yet... I'll keep it in mind... I have bigger fish to fry at the moment though.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Zeruda on March 14, 2009, 11:11:17 PM
Quote from: Charles Hill on March 13, 2009, 02:58:52 PM
What you want is what you want :)

You cannot set global categories...... yet... I'll keep it in mind... I have bigger fish to fry at the moment though.
Ah, okay then. It'd be a nice additional option for whenever the next update comes along. :) Keep up the great work.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: robinrobin on March 16, 2009, 10:57:08 AM
I think i found a "typo" in 0.7.7. The window that pops up when you click on Subscribe while viewing an article says "Are you sure you wish to enable notification of new articles for this blog?". Shouldn't it be "...of new comments for this article?" ? I don't really see the point of actually subscribing to comments at all, but the URL while hovering the Subscribe-link while viewing a blog and while viewing an article differs, which is why i presume that they have different functions:

Blogs: [root]/index.php?zc=notify;sa=on;blog=6.0;sesc=123;from=blog,6,0

"Are you sure you wish to enable notification of new articles for this blog?"

Articles: [root]/index.php?zc=notify;sa=on;blog=6.0;sesc=123;from=article,12,0

"Are you sure you wish to enable notification of new articles for this blog?"

Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on March 16, 2009, 11:35:51 AM
The Subscribe link in the Options window (or just below the link tree when no windows are being displayed) is the subscribe link for the blog you're viewing ... The subscribe link for articles is the little globe icon that becomes visible when you hover over the gear icon on an article.  The from=article,12,0 or from=blog,6,0 parts of the URLs are for redirecting you back to the page that you came from originally when you clicked it.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: robinrobin on March 16, 2009, 11:45:46 AM
Ooooh, i see. Hehe, keeping my eyes out for no good here, lol. ;) Thanks for explaining, Charles!
Title: Re: zCommunity 0.8.0 Beta Now available! (now supports SMF 2.0 RC1)
Post by: Charles Hill on March 17, 2009, 02:09:17 AM
0.8.0 Beta now available :)
Title: Re: zCommunity 0.8.0 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: mrtrc266 on March 17, 2009, 02:26:44 AM
Hello, I just install this MOD on RC1 as per the instructions, uploaded the zCommunity folder to my root directory and then uploaded zCommunity_0_8_0_beta__smf_install via the Package Manager.

When I click "Apply Mod" I don't get any test failed, then I click "Install Now" and I get this message...

"Database updated successfully!
Click here to view your control panel"

Then I click "Click here to view your control panel" and it takes me back to Board Index page and nothing happens.

Then when I go back to the Package Manager it gives me the option to Apply the Mod again as if it was not installed?

Any ideas?

Thanks in advance.
Title: Re: zCommunity 0.8.0 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Xavi-Nena on March 17, 2009, 02:39:42 AM
Wonderful mod features...I have hit a few bumps in the road as follows:

1 - I have no blog link in admin [see missing_admin_text.JPG] I'm an idiot I didnt even realize it had its own section...i was used to blog community...any idea how to get rid of that space where the blog community text used to be in admin?

2 - I have areas showing misaligned [see misalignment_in_cp.JPG]

3 - The layout in some areas of blog admin are funny [ see pics funny1, 2 and 3]

4 - I cannot for the life of me find how to edit my posts?
Title: Re: zCommunity 0.8.0 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Xavi-Nena on March 17, 2009, 02:45:31 AM
Quote from: Charles Hill on March 17, 2009, 02:09:17 AM
0.8.0 Beta now available :)

It appears I would have loaded this zcommunity as you were posting the updated version....

in order to switch from 0.7.9 to 0.8.0 will i have to uninstall all over again and reinstall?

and if so does this mean I have to remove the zip files that ended in '_files.zip' manually again and add them again?

thanks :)

===================
===================

edited added:
is there a way to display the RSS feed and image as it was in blog community?
and the rss feed this zcommunity is giving me for my blog is not working. I get this message: XML error: not well-formed (invalid token) at line 195
Title: Re: zCommunity 0.8.0 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: TommyJoe on March 17, 2009, 09:51:45 AM
Quote from: mrtrc266 on March 17, 2009, 02:26:44 AM
Hello, I just install this MOD on RC1 as per the instructions, uploaded the zCommunity folder to my root directory and then uploaded zCommunity_0_8_0_beta__smf_install via the Package Manager.

When I click "Apply Mod" I don't get any test failed, then I click "Install Now" and I get this message...

"Database updated successfully!
Click here to view your control panel"

Then I click "Click here to view your control panel" and it takes me back to Board Index page and nothing happens.

Then when I go back to the Package Manager it gives me the option to Apply the Mod again as if it was not installed?

Any ideas?

Thanks in advance.

I just posted almost the exact thing on the degreesof zero forum.

http://degreesofzero.com/index.php/topic,422.msg1640.html#msg1640 (http://degreesofzero.com/index.php/topic,422.msg1640.html#msg1640)
Title: Re: zCommunity 0.8.0 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: shaitanfr on March 17, 2009, 10:03:02 AM
Same problem as mrtrc266 with SMF 1.1.8

Quote"Database updated successfully!
Click here to view your control panel"

Then I click "Click here to view your control panel" and it takes me back to Board Index page and nothing happens.

Then when I go back to the Package Manager it gives me the option to Apply the Mod again as if it was not installed?


Edit: I have edited index.php,  Subs/php, Who.php, Index.template.php
No one line added by the package. Somtehing is wrong with the install script but I don't find what.
Title: Re: zCommunity 0.8.0 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Ambasador on March 17, 2009, 10:07:55 AM
Same here ;)
Title: Re: zCommunity 0.8.0 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: TommyJoe on March 17, 2009, 10:25:03 AM
Has anyone tried the manual install?
Title: Re: zCommunity 0.8.0 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: shaitanfr on March 17, 2009, 10:44:38 AM
No, manual install should work by I prefer waiting a fixed version. I have checked all files in the Install package, tried my package parser, I don't find an error.
Title: Re: zCommunity 0.8.0 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: robinrobin on March 17, 2009, 11:31:05 AM
Aaaww.. =( I who was so happy for Charles with the release of B8! There's always something bugging that guy, literally, lol. Take your time Charles! We're not going anywhere. =O)
Title: Re: zCommunity 0.8.0 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Charles Hill on March 17, 2009, 12:20:42 PM
I tested this on blank SMF 1.1.8 and blank SMF RC1... If you are having problems could you please post your PHP version as well as SMF version?
Title: Re: zCommunity 0.8.0 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: mrtrc266 on March 17, 2009, 12:34:36 PM
My problem above...Is on a fresh install of SMF RC1 / PHP 5.2.8 trying to install  zCommunity 0.8.0 

http://www.simplemachines.org/community/index.php?topic=244848.msg1979083#msg1979083


Title: Re: zCommunity 0.8.0 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: TommyJoe on March 17, 2009, 12:39:50 PM
SMF 2.0 RC1

PHP version     5.2.8
MySQL version    5.0.67-community

Just FYI, 0.7.9 installed perfectly and uninstalled perfectly.

Hope this helps!
Title: Re: zCommunity 0.8.0 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: anduriell on March 17, 2009, 12:41:26 PM
same problem here

Blank 1.1.8 and 2.0 rc1
php 5.2.4
mysql  5.0.67
Title: Re: zCommunity 0.8.0 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: shaitanfr on March 17, 2009, 01:04:31 PM
Same Problem
Smf 1.1.8 with toon of Mods, 
PHP version 5.2.8
Phpinfo http://195.144.11.40/phpinfo.php
Title: Re: zCommunity 0.8.0 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: oistarbwoy on March 17, 2009, 02:01:14 PM
i have the same problem

i dont know what version my php is.

i am using smf 2.0 rc1
Title: Re: zCommunity 0.8.0 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: jayman2 on March 17, 2009, 03:22:41 PM
Same exact problem here also.  I just installed on my test 1.1.8 local machine.

I just checked the 4 files that the package installer states that are going to be modified.  They have not been touched.  If you go back to "Browse packages", zc is still not listed as installed.
Title: Re: zCommunity 0.8.0 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: robinrobin on March 17, 2009, 03:33:54 PM
While you're at it Charles, i'd like to ask you something. I have zC on a separate page, as in; i don't have any buttons or anything on my forum that links to the zC page. And when i log in and out on the zC page i get referred to the forum. Is this something you can change or should i change it myself? Because i remember that there have been folks who have asked you if they could use zC separately, and using zC without a button linking to it in a forum could be a first step, but then the zC page can't send users to the forum when they log in and out.
Title: Re: zCommunity 0.8.0 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Charles Hill on March 17, 2009, 03:59:09 PM
So I think I figured out what the cause for the installing issues was... Though I didn't have the same problems any of you did.  Also I found a couple minor things that I will fix.  I'll probably have that ready by this evening...

@ robinrobin ... I have been working on making zCommunity be able to stand by itself without SMF, but also be able to integrate with both SMF 1.1.x and SMF 2.0... There isn't much left for me to do for that to happen.  When I convert degreesofzero.com to zCommunity only on the main domain with SMF on a sub domain as a support forum, you'll know it won't be long.
Title: Re: zCommunity 0.8.0 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: TommyJoe on March 17, 2009, 04:04:15 PM
Quote from: Charles Hill on March 17, 2009, 03:59:09 PM
So I think I figured out what the cause for the installing issues was... Though I didn't have the same problems any of you did.  Also I found a couple minor things that I will fix.  I'll probably have that ready by this evening...

@ robinrobin ... I have been working on making zCommunity be able to stand by itself without SMF, but also be able to integrate with both SMF 1.1.x and SMF 2.0... There isn't much left for me to do for that to happen.  When I convert degreesofzero.com to zCommunity only on the main domain with SMF on a sub domain as a support forum, you'll know it won't be long.

Thank you Sir Charles!
Title: Re: zCommunity 0.8.0 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Ncen on March 17, 2009, 05:09:06 PM
Quote from: Charles Hill on March 17, 2009, 03:59:09 PM
So I think I figured out what the cause for the installing issues was... Though I didn't have the same problems any of you did.  Also I found a couple minor things that I will fix.  I'll probably have that ready by this evening...

So there's going to be another release (0.8.1) today? :D
Title: Re: zCommunity 0.8.0 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: jayman2 on March 17, 2009, 05:46:06 PM
Quote from: Innocenzia on March 17, 2009, 05:09:06 PM
Quote from: Charles Hill on March 17, 2009, 03:59:09 PM
So I think I figured out what the cause for the installing issues was... Though I didn't have the same problems any of you did.  Also I found a couple minor things that I will fix.  I'll probably have that ready by this evening...

So there's going to be another release (0.8.1) today? :D
Looks like it.
Title: Re: zCommunity 0.8.0 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Citizen Erased on March 17, 2009, 06:29:54 PM
Hi (is my first post here!)

I have two questions:

1) can a zCommunity's blog have multiple authors/admins like blogger or wordpress?

I really need something like that, because I plan to move my blogger's blogs to zC in the future, and I'm not the only author in none of them.

2) can the visitors make comments in the blogs? (sorry if the question was answered... 69 pages are too much and y didn't install any versions yet).

An advice: there's a problem with WP/SMF integration; a WP admin can change the password of any user of SMF, and I think this is an enormous security problem. Try not to make the same mistake with your future integretion zC/SMF...

bye.
Title: Re: zCommunity 0.8.0 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Charles Hill on March 17, 2009, 07:32:55 PM
Sorry I won't have time to get it done this evening.

@ macphisto ... Yea there is pretty much unlimited flexibility in what you can do with blogs in zCommunity.  Ya you can make comments.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Charles Hill on March 18, 2009, 02:22:19 PM
0.8.1 Beta has installation fix and a couple other minor bug fixes.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: TommyJoe on March 18, 2009, 03:03:47 PM
I have a question Charles, since I manually added the 0.8.0 what is going to happen when I try to install 0.8.1?

Should I edit them out before trying or will it correct itself?

Thanks

TommyJoe

Edit, I just deleted the 0.80 package, removed the zCommunity directory, Install the NEW zCommunity directory,
uploaded the package. It worked perfect.

Good Job Charles.

Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Xavi-Nena on March 18, 2009, 05:15:23 PM
Quote from: NenaGb on March 17, 2009, 02:45:31 AM
Quote from: Charles Hill on March 17, 2009, 02:09:17 AM
0.8.0 Beta now available :)

It appears I would have loaded this zcommunity as you were posting the updated version....

in order to switch from 0.7.9 to 0.8.0 will i have to uninstall all over again and reinstall?

and if so does this mean I have to remove the zip files that ended in '_files.zip' manually again and add them again?

thanks :)

===================
===================

edited added:
is there a way to display the RSS feed and image as it was in blog community?
and the rss feed this zcommunity is giving me for my blog is not working. I get this message: XML error: not well-formed (invalid token) at line 195

Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Xavi-Nena on March 18, 2009, 05:16:21 PM
Quote from: NenaGb on March 17, 2009, 02:39:42 AM
Wonderful mod features...I have hit a few bumps in the road as follows:

1 - I have no blog link in admin [see missing_admin_text.JPG] I'm an idiot I didnt even realize it had its own section...i was used to blog community...any idea how to get rid of that space where the blog community text used to be in admin?

2 - I have areas showing misaligned [see misalignment_in_cp.JPG]

3 - The layout in some areas of blog admin are funny [ see pics funny1, 2 and 3]

4 - I cannot for the life of me find how to edit my posts?

anyone have any advice for these issues above?

see link for attached images: http://www.simplemachines.org/community/index.php?topic=244848.msg1979097#msg1979097
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: mrtrc266 on March 18, 2009, 05:18:11 PM
The 8.1 version installed clean.

Only problem I see is that when I try to delete an article I get a blank page 500 internal error.

And in the error log I get these..

Undefined index: total
File: /public_html/testrc1/zCommunity/Sources/Subs-db-mysql.php
Line: 546 

Undefined index: cookie_never_expire
File:/public_html/testrc1/zCommunity/Sources/Subs-smf.php
Line: 124 

Undefined index: link_templates
File: /public_html/testrc1/zCommunity/Languages/Errors.english.php
Line: 25 

Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: GQCritic on March 18, 2009, 05:35:02 PM
Just updated and am getting this error:

Undefined index: zc_mode
File: /public_html/zCommunity/Sources/Load.php
Line: 535
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: PfalzNacht on March 18, 2009, 05:41:49 PM
Charles, is it now possible to add any custom php or html side window? 
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: jayman2 on March 18, 2009, 06:43:29 PM
Here's a strange one.

My problem is my zCommunity directory.  I uploaded the latest zc folder and now when I go to my forum, I get a "Hacking attempt" page. If I rename it, I'm  able to bring up my smf install.  Then I named it back and refreshed the page and I got the same hacking attempt message. again.  As long as it's renamed, all is well.  As long as there's a zc folder, I get the error.  This has never happened before with other versions of zc. 

Any thoughts?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: blath on March 18, 2009, 08:01:20 PM
Yay! Many Thanks Charles. :) Congrats on getting the Beta out. :D

Anyhoo I encountered this error when I added a photo (via the insert html location ) to my profile. And clicked the author name (me) on the main community (blogs) page.


Fatal error: Call to undefined function: zc_plugin_slot() in /home/blath1/public_html/blath/bbs/zCommunity/Sources/Who.php on line 217


And when author (me) is clicked 'inside' a blog article. I get this error.

Table 'blath1_smf1.smf_blog_blog_blogs' doesn't exist
File: /home/blath1/public_html/blath/bbs/Sources/Who.php
Line: 434


When I removed the photo it worked normally ie showed the profile (no picture) no error. :)  - I'm not really worried about the picture. Just an FYI  :)

Though when I removed the photo to test the 'in article author click' I got the first error line 217 above. But it went to normal when I reloaded (it seemed to go for an older cache page I guess).

I'm running 1.18
PHP version: 4.4.9
and zCommunity 8.1 beta

Don't forget to rest, relax, & sleep.
- blath
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: blath on March 18, 2009, 09:50:48 PM
Found another one. This one is odd and more weird FYI regarding the general SMF "who is online" function.

I can't seem to replicate it.

It just occurred after I gave guests, who had by default ability to view a blog, the ability to view the "community".  I'm just saying this as I'm not even sure that's the problem as I originally thought it was a sudden problem with the 'Ad Management' mod (smfads ver 2.3 by Jerm ). (but right now it's back to happily working as it was / it wasn't having problems before I just thought it might of been the cause when trying to fix the error)

The error seemed to be fixed after I logged out and than logged back in.

This is what the error looked like when I tried to access the "who's online function" via either clicking the icon or the ' # of guest, # users online'.



Table 'blath1_smf1.smf_blog_blog_articles' doesn't exist
File: /home/blath1/public_html/blath/bbs/Sources/Who.php
Line: 407


.. I just tried to replicate the problem thinking it might be after I adjust the community viewing settings and got this..

Fatal error: Call to undefined function: zc_plugin_slot() in /home/blath1/public_html/blath/bbs/zCommunity/Sources/Who.php on line 217


(though to be honest I was hoping to recreate the 407 error) :(

uh oh I can't seem to shake this error now. Maybe it will go away when everyone's off my system. I just have to wait..

hmm I can access who is online via admin, even when people are on and ad management is running. (so most likely not smfads )..

now I can access it normally. No 217 error. :D  heh I'm not going to try to replicate that again. :D  It was probably a cache problem perhaps in terms of resetting it. :D

This one is just a weird FYI. For those wanting to try to replicate it.. I seem to have luck when modifying the community viewing settings (viewing settings work by the way so no worries on that) than trying a 'who is online'.

- blath out. :)
Title: Re: zCommunity 0.8.0 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: dwd2000 on March 18, 2009, 11:02:10 PM
Quote from: mrtrc266 on March 17, 2009, 02:26:44 AM
Hello, I just install this MOD on RC1 as per the instructions, uploaded the zCommunity folder to my root directory and then uploaded zCommunity_0_8_0_beta__smf_install via the Package Manager.

When I click "Apply Mod" I don't get any test failed, then I click "Install Now" and I get this message...

"Database updated successfully!
Click here to view your control panel"

Then I click "Click here to view your control panel" and it takes me back to Board Index page and nothing happens.

Then when I go back to the Package Manager it gives me the option to Apply the Mod again as if it was not installed? (didn't happen to me)

Any ideas?

Thanks in advance.

Actually, this happened with 0.8.1

ERROR LOG:
8: Undefined index: zc_mode
File: .../zCommunity/Sources/Load.php

Uninstalled previous version, removed separate folder, uploaded separate folder, installed new version.

QuoteApache version   2.2.11 (Unix)
PHP version   5.2.8
MySQL version   5.0.67-community
Architecture   x86_64
Operating system   Linux
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: GQCritic on March 19, 2009, 12:12:28 AM
Quote from: dwd2000 on March 18, 2009, 11:02:10 PM
Quote from: mrtrc266 on March 17, 2009, 02:26:44 AM
Hello, I just install this MOD on RC1 as per the instructions, uploaded the zCommunity folder to my root directory and then uploaded zCommunity_0_8_0_beta__smf_install via the Package Manager.

When I click "Apply Mod" I don't get any test failed, then I click "Install Now" and I get this message...

"Database updated successfully!
Click here to view your control panel"

Then I click "Click here to view your control panel" and it takes me back to Board Index page and nothing happens.

Then when I go back to the Package Manager it gives me the option to Apply the Mod again as if it was not installed? (didn't happen to me)

Any ideas?

Thanks in advance.

Actually, this happened with 0.8.1

ERROR LOG:
8: Undefined index: zc_mode
File: .../zCommunity/Sources/Load.php

Uninstalled previous version, removed separate folder, uploaded separate folder, installed new version.

QuoteApache version   2.2.11 (Unix)
PHP version   5.2.8
MySQL version   5.0.67-community
Architecture   x86_64
Operating system   Linux

The same thing happened to me.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Charles Hill on March 19, 2009, 02:23:05 AM
Quote from: The Crusader on March 18, 2009, 05:41:49 PM
Charles, is it now possible to add any custom php or html side window? 

Yes.

Quote from: jayman2 on March 18, 2009, 06:43:29 PM
Here's a strange one.

My problem is my zCommunity directory.  I uploaded the latest zc folder and now when I go to my forum, I get a "Hacking attempt" page. If I rename it, I'm  able to bring up my smf install.  Then I named it back and refreshed the page and I got the same hacking attempt message. again.  As long as it's renamed, all is well.  As long as there's a zc folder, I get the error.  This has never happened before with other versions of zc. 

Any thoughts?

You sure you updated everything (edits to SMF files / completely delete old zCommunity folder and replace with new) ?

Quote from: blath on March 18, 2009, 09:50:48 PM
Found another one. This one is odd and more weird FYI regarding the general SMF "who is online" function.

I can't seem to replicate it.

It just occurred after I gave guests, who had by default ability to view a blog, the ability to view the "community".  I'm just saying this as I'm not even sure that's the problem as I originally thought it was a sudden problem with the 'Ad Management' mod (smfads ver 2.3 by Jerm ). (but right now it's back to happily working as it was / it wasn't having problems before I just thought it might of been the cause when trying to fix the error)

The error seemed to be fixed after I logged out and than logged back in.

This is what the error looked like when I tried to access the "who's online function" via either clicking the icon or the ' # of guest, # users online'.



Table 'blath1_smf1.smf_blog_blog_articles' doesn't exist
File: /home/blath1/public_html/blath/bbs/Sources/Who.php
Line: 407


.. I just tried to replicate the problem thinking it might be after I adjust the community viewing settings and got this..

Fatal error: Call to undefined function: zc_plugin_slot() in /home/blath1/public_html/blath/bbs/zCommunity/Sources/Who.php on line 217


(though to be honest I was hoping to recreate the 407 error) :(

uh oh I can't seem to shake this error now. Maybe it will go away when everyone's off my system. I just have to wait..

hmm I can access who is online via admin, even when people are on and ad management is running. (so most likely not smfads )..

now I can access it normally. No 217 error. :D  heh I'm not going to try to replicate that again. :D  It was probably a cache problem perhaps in terms of resetting it. :D

This one is just a weird FYI. For those wanting to try to replicate it.. I seem to have luck when modifying the community viewing settings (viewing settings work by the way so no worries on that) than trying a 'who is online'.

- blath out. :)

Bug with the code added to SMF Who.php file.  Change {db_prefix}blog_articles and {db_prefix}blog_blogs to {db_prefix}articles and {db_prefix}blogs respectively.  Additionally change stripslashes( to $zcFunc['un_htmlspecialchars']( and change censorText( to zc_censor_text(

Quote from: GQCritic on March 18, 2009, 05:35:02 PM
Just updated and am getting this error:

Undefined index: zc_mode
File: /public_html/zCommunity/Sources/Load.php
Line: 535


Go to global settings tab in control panel and save.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: damnitmike on March 19, 2009, 09:41:16 AM
Ok, here's a biggy.....Missing this little gif,

zCommunity/Themes/default/images/arrow_up.gif


Awesome work Charles!!! A Killer Mod!!!
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: dwd2000 on March 19, 2009, 10:24:41 AM
QuoteQuote from: GQCritic on Yesterday at 05:35:02 PM

    Just updated and am getting this error:

    Undefined index: zc_mode
    File: /public_html/zCommunity/Sources/Load.php
    Line: 535


Go to global settings tab in control panel and save.

Global Settings?
I'm not sure what global settings you're talking about.
If these settings are within the zCommunity script, then I can't do it, because I just get routed to the index.
I'm using SMF 2.0 RC1
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: fext on March 19, 2009, 10:40:26 AM
Hi Charles - this might be a silly question but how do I update to the latest version of the blog community? And will I lose any posts I have made on my blogs?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: GQCritic on March 19, 2009, 11:57:00 AM
Quote from: dwd2000 on March 19, 2009, 10:24:41 AM
QuoteQuote from: GQCritic on Yesterday at 05:35:02 PM

    Just updated and am getting this error:

    Undefined index: zc_mode
    File: /public_html/zCommunity/Sources/Load.php
    Line: 535


Go to global settings tab in control panel and save.

Global Settings?
I'm not sure what global settings you're talking about.
If these settings are within the zCommunity script, then I can't do it, because I just get routed to the index.
I'm using SMF 2.0 RC1

Yep, I can't get to them either...
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Charles Hill on March 19, 2009, 01:22:39 PM
Quote from: damnitmike on March 19, 2009, 09:41:16 AM
Ok, here's a biggy.....Missing this little gif,

zCommunity/Themes/default/images/arrow_up.gif


Awesome work Charles!!! A Killer Mod!!!

I got rid of that image.  Text is used instead.

Quote from: Youngiiie on March 19, 2009, 10:40:26 AM
Hi Charles - this might be a silly question but how do I update to the latest version of the blog community? And will I lose any posts I have made on my blogs?

You won't lose your data.

Quote from: dwd2000 on March 19, 2009, 10:24:41 AM
QuoteQuote from: GQCritic on Yesterday at 05:35:02 PM

    Just updated and am getting this error:

    Undefined index: zc_mode
    File: /public_html/zCommunity/Sources/Load.php
    Line: 535


Go to global settings tab in control panel and save.

Global Settings?
I'm not sure what global settings you're talking about.
If these settings are within the zCommunity script, then I can't do it, because I just get routed to the index.
I'm using SMF 2.0 RC1

What does your forum's index.php look like?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: GQCritic on March 19, 2009, 04:30:35 PM
Quote from: Charles Hill on March 19, 2009, 01:22:39 PM
Quote from: damnitmike on March 19, 2009, 09:41:16 AM
Ok, here's a biggy.....Missing this little gif,

zCommunity/Themes/default/images/arrow_up.gif


Awesome work Charles!!! A Killer Mod!!!

I got rid of that image.  Text is used instead.

Quote from: Youngiiie on March 19, 2009, 10:40:26 AM
Hi Charles - this might be a silly question but how do I update to the latest version of the blog community? And will I lose any posts I have made on my blogs?

You won't lose your data.

Quote from: dwd2000 on March 19, 2009, 10:24:41 AM
QuoteQuote from: GQCritic on Yesterday at 05:35:02 PM

    Just updated and am getting this error:

    Undefined index: zc_mode
    File: /public_html/zCommunity/Sources/Load.php
    Line: 535


Go to global settings tab in control panel and save.

Global Settings?
I'm not sure what global settings you're talking about.
If these settings are within the zCommunity script, then I can't do it, because I just get routed to the index.
I'm using SMF 2.0 RC1

What does your forum's index.php look like?

Here you go.

It looks like the appropriate edits are there... I don't see anything glaringly obvious....
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: fext on March 19, 2009, 09:15:51 PM
So do I just uninstall the package and delete the original zcommunity folder and reinstall?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: dwd2000 on March 19, 2009, 10:43:13 PM
QuoteWhat does your forum's index.php look like?

I am also using EZPortal.

Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Charles Hill on March 19, 2009, 11:48:20 PM
Quote from: GQCritic on March 19, 2009, 04:30:35 PM
Here you go.

It looks like the appropriate edits are there... I don't see anything glaringly obvious....

Quote from: dwd2000 on March 19, 2009, 10:43:13 PM
QuoteWhat does your forum's index.php look like?

I am also using EZPortal.



Both of you need to remove the following from your index.php:
if (isset($modSettings['zc_mode']))
{
global $context, $boarddir;
global $zc, $zcFunc, $blog_info, $blog, $article, $comment, $poll, $draft;

// initialize zCommunity...
if (file_exists($boarddir . '/zCommunity/zc.php'))
{
require_once($boarddir . '/zCommunity/zc.php');
zc_init();
}
else
unset($modSettings['zc_mode']);
}


Quote from: Youngiiie on March 19, 2009, 09:15:51 PM
So do I just uninstall the package and delete the original zcommunity folder and reinstall?

Yes.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: dwd2000 on March 20, 2009, 01:34:04 AM
QuoteBoth of you need to remove the following from your index.php:
Code: [Select]
if (isset($modSettings['zc_mode']))
   {
      global $context, $boarddir;
      global $zc, $zcFunc, $blog_info, $blog, $article, $comment, $poll, $draft;
     
      // initialize zCommunity...
      if (file_exists($boarddir . '/zCommunity/zc.php'))
      {
         require_once($boarddir . '/zCommunity/zc.php');
         zc_init();
      }
      else
         unset($modSettings['zc_mode']);
   }

Didn't work.  :'(
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: blath on March 20, 2009, 01:51:41 AM
Quote from: Charles Hill on March 19, 2009, 02:23:05 AM

Quote from: blath on March 18, 2009, 09:50:48 PM
Found another one. This one is odd and more weird FYI regarding the general SMF "who is online" function.

...


Bug with the code added to SMF Who.php file.  Change {db_prefix}blog_articles and {db_prefix}blog_blogs to {db_prefix}articles and {db_prefix}blogs respectively.  Additionally change stripslashes( to $zcFunc['un_htmlspecialchars']( and change censorText( to zc_censor_text(


Thank you! :) That seems to have done it as I can't seem to replicate the error. :) Thank you. Don't forget to sleep.
- blath :)
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: snookstah on March 20, 2009, 07:07:08 AM
So, is there a consensus...is this new 0.8.1 Beta stable on SMF 1.1.8?

Charles, is there any ballpark estimate on when an official non-Beta version will be out? Are all the bugs almost solved, or is there still a ways to go?

Is there a guide somewhere on installing to a custom themed forum (mine is SMF Grunge)?

Thanks for all of your work!  :D
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: GQCritic on March 20, 2009, 10:16:19 AM
Quote from: Charles Hill on March 19, 2009, 11:48:20 PM
Quote from: GQCritic on March 19, 2009, 04:30:35 PM
Here you go.

It looks like the appropriate edits are there... I don't see anything glaringly obvious....

Quote from: dwd2000 on March 19, 2009, 10:43:13 PM
QuoteWhat does your forum's index.php look like?

I am also using EZPortal.



Both of you need to remove the following from your index.php:
if (isset($modSettings['zc_mode']))
{
global $context, $boarddir;
global $zc, $zcFunc, $blog_info, $blog, $article, $comment, $poll, $draft;

// initialize zCommunity...
if (file_exists($boarddir . '/zCommunity/zc.php'))
{
require_once($boarddir . '/zCommunity/zc.php');
zc_init();
}
else
unset($modSettings['zc_mode']);
}


Quote from: Youngiiie on March 19, 2009, 09:15:51 PM
So do I just uninstall the package and delete the original zcommunity folder and reinstall?

Yes.


I did what you requested above. It did not work and I am now getting the following errors:



Undefined index: cookie_never_expire
File: /public_html/zCommunity/Sources/Subs-smf.php
Line: 124



Undefined index: link_tree
File: */public_html/zCommunity/Themes/default/index.template.php
Line: 195



2: implode() [<a href='function.implode'>function.implode</a>]: Invalid arguments passed
File: */public_html/zCommunity/Themes/default/index.template.php
Line: 196



Here are those two files, if it helps:
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Xavi-Nena on March 20, 2009, 09:20:55 PM
Few question still:

1 - is there a way to display the RSS feed and image as it was in blog community?

2 - I have areas showing misaligned [see misalignment_in_cp.JPG]

3 - The layout in some areas of blog admin are funny [ see pics funny1, 2 and 3]

4 - Please tell me which file I need to edit to be able to edit the Edit/Delete buttons on each article. Right now they are not showing at all and also the icons to the social bookmarking sites...if you mouse over certain areas the alt text shows but you CANNOT see the the actual place to click you kinda have to hover your mouse to search blind to find it.

anyone have any advice for these issues above?

see link for attached images: http://www.simplemachines.org/community/index.php?topic=244848.msg1979097#msg1979097
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Charles Hill on March 21, 2009, 02:34:04 AM
@ NenaGb ... it sounds like the edits were not undone to your SMF's index.template.php file(s) and the new edits were not installed properly.  Check the index.template.php file(s) for your SMF's theme(s)


Quote from: snookstah on March 20, 2009, 07:07:08 AM
So, is there a consensus...is this new 0.8.1 Beta stable on SMF 1.1.8?

Charles, is there any ballpark estimate on when an official non-Beta version will be out? Are all the bugs almost solved, or is there still a ways to go?

Is there a guide somewhere on installing to a custom themed forum (mine is SMF Grunge)?

Thanks for all of your work!  :D

No real issues yet with 0.8.1 Beta... other than edits not being undone / redone properly via the package manager.

I am estimating 4 weeks until a completely stand-alone version of zCommunity (which would still be beta) ... probably still a ways after that for a final release... but the Beta versions from here on out should be fairly stable.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Xavi-Nena on March 21, 2009, 02:39:56 AM
well im realizing now that my index file seems to be all jacked up...

i have attached it...i am grateful for your help.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Charles Hill on March 21, 2009, 02:45:18 AM
Quote from: NenaGb on March 21, 2009, 02:39:56 AM
well im realizing now that my index file seems to be all jacked up...

i have attached it...i am grateful for your help.

Actually the only thing messed up in the top part of that is the stuff before <?php    Should just remove that.  The stuff in the <head> tags looks ok.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Xavi-Nena on March 21, 2009, 02:51:33 AM
i removed it :) i thought that was pretty goofed up...

any suggestions for why i am getting these bugs?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Evo™ on March 21, 2009, 07:17:06 AM
I have SimplePortal installed on my site and this mod appears in the middle of the portal. How can I solve this problem?
www.kralrap.net (http://www.kralrap.net)

My blog address  (http://www.kralrap.net/index.php?zc)
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on March 21, 2009, 06:41:20 PM
Is there a way to manually update from .7.9? Also if i do uninstall/reinstall via package manager, will I lose the existing blogs?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: TommyJoe on March 21, 2009, 09:50:59 PM
I only have one question so far, where can I change the color code to make the menu bar a little darker?
It is almost transparent. I would like to make it at least as dark as the 2.0rc1 menu bars!

Thanks

TommyJoe
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: blath on March 22, 2009, 03:30:38 AM
Hiya, :)
Encountered an odd error. I wouldn't call it a high priority as a simple work around is just a quick explanation on my part kind of thing.

In the blog articles a single backslash \ gets repeated, so it looks like this \\ after I save. It also will double \\ even when I put the single \ in a code or quote bracket.
http://blath.com/bbs/index.php?article=11.0

Fortunately the rest of the system doesn't suffer from it. I had to check as I realized that I probably never typed \ in a message yet. :)
http://blath.com/bbs/index.php?topic=425.0

Anyway something for the wack a mole list, Though no rush as I prefer you to rest and target any more serious ones that people are facing. :)

Enjoy the Spring Season Charles, :)
- blath
SMF 1.1.8
PHP 4.4.9
zCommunity 8.1 w/ SMF Who.php file fix.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: fext on March 22, 2009, 11:42:09 AM
Quote from: Charles Hill on March 19, 2009, 11:48:20 PM

Quote from: Youngiiie on March 19, 2009, 09:15:51 PM
So do I just uninstall the package and delete the original zcommunity folder and reinstall?

Yes.

Well that never worked - completely messed up my site - I am now in the process of trying to fix the issues that this mod has created.

I lost my navigation and portal index - seems the DB update does not work as desired.

I have attached the resulting DB entries - see if you can see hwat damage has been done - I think it is just an issue with the DB update?

I have removed this now and dropped the blog tables - I have the attached file as back up.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Charles Hill on March 22, 2009, 03:34:28 PM
Quote from: NenaGb on March 21, 2009, 02:51:33 AM
i removed it :) i thought that was pretty goofed up...

any suggestions for why i am getting these bugs?

Not entirely sure... Can get unpredictable styling problems if you have a number of css style sheets for each page (which is the case when displaying zCommunity within your forum's templates).  You'll have to figure out where the conflicts are occurring with your forum's themes.

Quote from: єνσℓυтιση™ on March 21, 2009, 07:17:06 AM
I have SimplePortal installed on my site and this mod appears in the middle of the portal. How can I solve this problem?
www.kralrap.net (http://www.kralrap.net)

My blog address  (http://www.kralrap.net/index.php?zc)

I'll figure out what needs to be done to make it work seamlessly with those other portal mods.

Quote from: LinK187 on March 21, 2009, 06:41:20 PM
Is there a way to manually update from .7.9? Also if i do uninstall/reinstall via package manager, will I lose the existing blogs?

I would recommend manually uninstalling and then installing the new version if you don't want any issues.  The package manager is iffy.  Running install_db_edits.php (after you've updated the zCommunity folder/files) will handle all the db changes for you.  And you will not lose any data.

Quote from: TommyJoe on March 21, 2009, 09:50:59 PM
I only have one question so far, where can I change the color code to make the menu bar a little darker?
It is almost transparent. I would like to make it at least as dark as the 2.0rc1 menu bars!

Thanks

TommyJoe

I assume you mean the navigation menus in the control panel area?  That css is located in zCommunity/Themes/default/css/zc_basics.css

Also there is some additional css for those menus in each zCommunity themes' css folder in style.css

Quote from: Youngiiie on March 22, 2009, 11:42:09 AM
Quote from: Charles Hill on March 19, 2009, 11:48:20 PM

Quote from: Youngiiie on March 19, 2009, 09:15:51 PM
So do I just uninstall the package and delete the original zcommunity folder and reinstall?

Yes.

Well that never worked - completely messed up my site - I am now in the process of trying to fix the issues that this mod has created.

I lost my navigation and portal index - seems the DB update does not work as desired.

I have attached the resulting DB entries - see if you can see hwat damage has been done - I think it is just an issue with the DB update?

I have removed this now and dropped the blog tables - I have the attached file as back up.

What makes you think it's the db updates that didn't work?  Most likely you had problems with modifying your SMF files.  I recommend doing it manually instead of using the package manager if you have other mods installed (particularly portal mods).
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Xavi-Nena on March 22, 2009, 05:07:47 PM
ahhh...was trying to make manual edits and thought i had copy of my index.php but apparently I dont because now im having this issue:

Message: Fatal error: Cannot redeclare smf_main() (previously declared in /home/anypupco/public_html/a-corsotalk/index.php:165) in /home/anypupco/public_html/a-corsotalk/index.php on line 525

Here is my site where im getting this message: http://www.CorsoTalk.com

i have attached my index.php....please help!
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Skhilled on March 22, 2009, 06:06:30 PM
You can rename index.ph~ to index.php. I was just looking at your server and it is only 5 days old. It should take you back to before you made any edits within that time frame.

However, you'll have to redo the edits we spoke of yesterday to fix the default theme again...
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Xavi-Nena on March 22, 2009, 06:11:35 PM
where is that located? i dont see it in the directory the index.php is?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Skhilled on March 22, 2009, 06:16:55 PM
Quote from: NenaGb on March 22, 2009, 06:11:35 PM
where is that located? i dont see it in the directory the index.php is?

Should be in the main forum directory...if that is the one you edited...

EDIT: Sorry, it is "index.php~". The files with the "~" at the end are backup that were made via Forum Maintenance options. You can use those to revert back.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Xavi-Nena on March 22, 2009, 06:36:02 PM
OH THANK YOU THANK YOU THANK YOU THANK YOU SKHILLED!

that fixed it for now :) now i just have to get to the bottom of zcommunity bugs im getting.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Xavi-Nena on March 22, 2009, 07:41:37 PM
Quote from: fmofmpls on January 22, 2009, 11:33:53 AM
Found one! Provided all the necessary manual edit codes needed to cleanly erase BC. Done!

Here it is for those who might be in the same boat - http://resourcez.biz/PackageParser/

THANK YOU for this...
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Kindred on March 22, 2009, 11:15:22 PM
ummm...   just so that you are aware.... that same parser is built into every mod's page here on SMF.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Xavi-Nena on March 23, 2009, 02:52:48 AM
Quote from: Kindred on March 22, 2009, 11:15:22 PM
ummm...   just so that you are aware.... that same parser is built into every mod's page here on SMF.

this may be true but the mod page for the old blog...blog community is no longer available or at least it only takes me to the zcommunity mod which was not what we were trying to uninstall which was the old blog mod BlogCommunity :)
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Xavi-Nena on March 23, 2009, 03:46:59 AM
Ok im not sure what the heck happened but I tried to manually uninstall the last version before 0.8.1 but the old versions disappear and are replaced but the current version only so I do not know what I need to change with my index.php

I have attached it because now I cannot even access my blog at www.corsotalk.com you can visit and see that it takes me to the forum http://corsotalk.com/index.php?action=zc


*** edited:
also have attached the index.template.php because it was suggested someone would need to see this too...both my admin panel and regular blog link both direct me to the forum main page.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: andyv123 on March 23, 2009, 05:17:30 AM
I already have this installed and I like the newest version alot more than what I have. Is there a way to upgrade without deleting all the articles and blogs already in the database???  ???
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: dwd2000 on March 23, 2009, 10:32:15 AM
Quote from: dwd2000 on March 20, 2009, 01:34:04 AM
QuoteBoth of you need to remove the following from your index.php:
Code: [Select]
if (isset($modSettings['zc_mode']))
   {
      global $context, $boarddir;
      global $zc, $zcFunc, $blog_info, $blog, $article, $comment, $poll, $draft;
     
      // initialize zCommunity...
      if (file_exists($boarddir . '/zCommunity/zc.php'))
      {
         require_once($boarddir . '/zCommunity/zc.php');
         zc_init();
      }
      else
         unset($modSettings['zc_mode']);
   }

Didn't work.  :'(

I know you're busy...
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Paracelsus on March 23, 2009, 11:44:08 AM
Charles,

Sorry to ask you this again (too many pages to read and SMFs search engine inside the topic is a piece of crap, since it only returns one result per topic)... but did you manage to make a converter for felblog?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Charles Hill on March 23, 2009, 12:30:25 PM
Quote from: dwd2000 on March 23, 2009, 10:32:15 AM
Quote from: dwd2000 on March 20, 2009, 01:34:04 AM
QuoteBoth of you need to remove the following from your index.php:
Code: [Select]
if (isset($modSettings['zc_mode']))
   {
      global $context, $boarddir;
      global $zc, $zcFunc, $blog_info, $blog, $article, $comment, $poll, $draft;
     
      // initialize zCommunity...
      if (file_exists($boarddir . '/zCommunity/zc.php'))
      {
         require_once($boarddir . '/zCommunity/zc.php');
         zc_init();
      }
      else
         unset($modSettings['zc_mode']);
   }

Didn't work.  :'(

I know you're busy...

You might have more that you need to remove if you have uninstalled/installed more than once.  The package manager is iffy.  Should always double check to make sure the edits were made properly.

Quote from: Paracelsus on March 23, 2009, 11:44:08 AM
Charles,

Sorry to ask you this again (too many pages to read and SMFs search engine inside the topic is a piece of crap, since it only returns one result per topic)... but did you manage to make a converter for felblog?

Nope not yet.

Quote from: andyv123 on March 23, 2009, 05:17:30 AM
I already have this installed and I like the newest version alot more than what I have. Is there a way to upgrade without deleting all the articles and blogs already in the database???  ???

You won't lose the data in your database.  Though if you're using Blog Community (not zCommunity) you'll have to import your old blogs using the SMF boards importer in the Global Settings tab of the control panel.

Quote from: NenaGb on March 23, 2009, 03:46:59 AM
Ok im not sure what the heck happened but I tried to manually uninstall the last version before 0.8.1 but the old versions disappear and are replaced but the current version only so I do not know what I need to change with my index.php

I have attached it because now I cannot even access my blog at www.corsotalk.com you can visit and see that it takes me to the forum http://corsotalk.com/index.php?action=zc


*** edited:
also have attached the index.template.php because it was suggested someone would need to see this too...both my admin panel and regular blog link both direct me to the forum main page.


That index.php doesn't have any code for zCommunity in it.  Look at the other_1_1_x.xml file from the zCommunity_0_8_1_beta__smf_install.zip package.  It tells you what and where to add code to your forum's index.php
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Xavi-Nena on March 23, 2009, 04:43:41 PM
each time i make those changes to the index.php i get this error:

Fatal error: Cannot redeclare smf_main() (previously declared in /home/anypupco/public_html/a-corsotalk/index.php:165) in /home/anypupco/public_html/a-corsotalk/index.php on line 507

i put it in exactly as it instructs and that is what happens?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: shaitanfr on March 23, 2009, 09:50:44 PM
Hello,

I have only one problem with permissions:

I use Community mode.  When I go in access restrictions or posting restrictions, permissions box stay unchecked after I submit. Exactly same issue posted by Kindred: http://www.simplemachines.org/community/index.php?topic=244848.msg1929019#msg1929019

Smf 1.1.8 & TP 0.9.8
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: dwd2000 on March 23, 2009, 10:16:39 PM
QuoteFatal error: Cannot redeclare smf_main() (previously declared in /home/anypupco/public_html/a-corsotalk/index.php:165) in /home/anypupco/public_html/a-corsotalk/index.php on line 507

That is telling me you have it in there more than once. It's happened to me a few times with mods not uninstalling properly. Just go through and check for more than one instance of similar code.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Xavi-Nena on March 23, 2009, 10:57:37 PM
Than I am a complete idiot because i cannot find it and there is not even a line 501 on my index.php

im lost! someone ... anyone please help. here is the code

<?php
/**********************************************************************************
* index.php                                                                       *
***********************************************************************************
* SMF: Simple Machines Forum                                                      *
* Open-Source Project Inspired by Zef Hemel ([email protected])                    *
* =============================================================================== *
* Software Version:           SMF 1.1.8                                           *
* Software by:                Simple Machines (http://www.simplemachines.org)     *
* Copyright 2006-2007 by:     Simple Machines LLC (http://www.simplemachines.org) *
*           2001-2006 by:     Lewis Media (http://www.lewismedia.com)             *
* Support, News, Updates at:  http://www.simplemachines.org                       *
***********************************************************************************
* This program is free software; you may redistribute it and/or modify it under   *
* the terms of the provided license as published by Simple Machines LLC.          *
*                                                                                 *
* This program is distributed in the hope that it is and will be useful, but      *
* WITHOUT ANY WARRANTIES; without even any implied warranty of MERCHANTABILITY    *
* or FITNESS FOR A PARTICULAR PURPOSE.                                            *
*                                                                                 *
* See the "license.txt" file for details of the Simple Machines license.          *
* The latest version can always be found at http://www.simplemachines.org.        *
**********************************************************************************/


/* This, as you have probably guessed, is the crux on which SMF functions.
Everything should start here, so all the setup and security is done
properly.  The most interesting part of this file is the action array in
the smf_main() function.  It is formatted as so:

'action-in-url' => array('Source-File.php', 'FunctionToCall'),

Then, you can access the FunctionToCall() function from Source-File.php
with the URL index.php?action=action-in-url.  Relatively simple, no?
*/

$forum_version 'SMF 1.1.8';

// Get everything started up...
define('SMF'1);
@
set_magic_quotes_runtime(0);
error_reporting(E_ALL);
$time_start microtime();

// Make sure some things simply do not exist.
foreach (array('db_character_set') as $variable)
if (isset($GLOBALS[$variable]))
unset($GLOBALS[$variable]);

// Load the settings...
require_once(dirname(__FILE__) . '/Settings.php');

// And important includes.
require_once($sourcedir '/QueryString.php');
require_once(
$sourcedir '/Subs.php');
require_once(
$sourcedir '/Errors.php');
require_once(
$sourcedir '/Load.php');
require_once(
$sourcedir '/Security.php');
       
// TinyPortal include
       
require_once($sourcedir '/TPortal.php');
if (
file_exists($sourcedir '/LoadAds.php'))
require_once($sourcedir '/LoadAds.php');

// Using an old version of PHP?
if (@version_compare(PHP_VERSION'4.2.3') != 1)
require_once($sourcedir '/Subs-Compat.php');

// If $maintenance is set specifically to 2, then we're upgrading or something.
if (!empty($maintenance) && $maintenance == 2)
db_fatal_error();

// Connect to the MySQL database.
if (empty($db_persist))
$db_connection = @mysql_connect($db_server$db_user$db_passwd);
else
$db_connection = @mysql_pconnect($db_server$db_user$db_passwd);

// Show an error if the connection couldn't be made.
if (!$db_connection || !@mysql_select_db($db_name$db_connection))
db_fatal_error();

// Load the settings from the settings table, and perform operations like optimizing.
reloadSettings();

//Get rid of ?PHPSESSID in the case is a Googlebot any other Spider. Even if is a user (maybe User-Agent extension), will be redirected. Easier this way.
if ($modSettings['ob_googlebot_redirect_phpsessid'] && ob_googlebot_getAgent($_SERVER['HTTP_USER_AGENT'], $spider_name$agent))
{
$actualurl 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
$correcturl preg_replace('/([?&]PHPSESSID=[^&]*)/'''$actualurl);
$correcturl str_replace('index.php&''index.php?'$correcturl);

if ($correcturl != $actualurl) {
header("HTTP/1.1 301 Moved Permanently");
header("Location: " $correcturl);
exit();
}
}

// Clean the request variables, add slashes, etc.
cleanRequest();
$context = array();

// Seed the random generator?
if (empty($modSettings['rand_seed']) || mt_rand(1250) == 69)
smf_seed_generator();

// Determine if this is using WAP, WAP2, or imode.  Technically, we should check that wap comes before application/xhtml or text/html, but this doesn't work in practice as much as it should.
if (isset($_SERVER['HTTP_ACCEPT']) && strpos($_SERVER['HTTP_ACCEPT'], 'application/vnd.wap.xhtml+xml') !== false)
$_REQUEST['wap2'] = 1;
elseif (isset(
$_SERVER['HTTP_ACCEPT']) && strpos($_SERVER['HTTP_ACCEPT'], 'text/vnd.wap.wml') !== false)
{
if (strpos($_SERVER['HTTP_USER_AGENT'], 'DoCoMo/') !== false || strpos($_SERVER['HTTP_USER_AGENT'], 'portalmmm/') !== false)
$_REQUEST['imode'] = 1;
else
$_REQUEST['wap'] = 1;
}

if (!
defined('WIRELESS'))
define('WIRELESS', isset($_REQUEST['wap']) || isset($_REQUEST['wap2']) || isset($_REQUEST['imode']));

// Some settings and headers are different for wireless protocols.
if (WIRELESS)
{
define('WIRELESS_PROTOCOL', isset($_REQUEST['wap']) ? 'wap' : (isset($_REQUEST['wap2']) ? 'wap2' : (isset($_REQUEST['imode']) ? 'imode' '')));

// Some cellphones can't handle output compression...
$modSettings['enableCompressedOutput'] = '0';
// !!! Do we want these hard coded?
$modSettings['defaultMaxMessages'] = 5;
$modSettings['defaultMaxTopics'] = 9;

// Wireless protocol header.
if (WIRELESS_PROTOCOL == 'wap')
header('Content-Type: text/vnd.wap.wml');
}

// Check if compressed output is enabled, supported, and not already being done.
if (!empty($modSettings['enableCompressedOutput']) && !headers_sent() && ob_get_length() == 0)
{
// If zlib is being used, turn off output compression.
if (@ini_get('zlib.output_compression') == '1' || @ini_get('output_handler') == 'ob_gzhandler' || @version_compare(PHP_VERSION'4.2.0') == -1)
$modSettings['enableCompressedOutput'] = '0';
else
ob_start('ob_gzhandler');
}
// This makes it so headers can be sent!
if (empty($modSettings['enableCompressedOutput']))
ob_start();

// Register an error handler.
set_error_handler('error_handler');

// Start the session. (assuming it hasn't already been.)
loadSession();

// What function shall we execute? (done like this for memory's sake.)
call_user_func(smf_main());

// Call obExit specially; we're coming from the main area ;).
obExit(nullnulltrue);

// The main controlling function.
function smf_main()
{
global $modSettings$settings$user_info$board$topic$maintenance$sourcedir;
global $board_info;

// Special case: session keep-alive.
if (isset($_GET['action']) && $_GET['action'] == 'keepalive')
die;

// Load the user's cookie (or set as guest) and load their settings.
loadUserSettings();

// Load the current board's information.
loadBoard();

// Load the current theme.  (note that ?theme=1 will also work, may be used for guest theming.)
loadTheme();

// Check if the user should be disallowed access.
is_not_banned();

// Load the current user's permissions.
loadPermissions();

// Load all the ads up
if (function_exists("loadAds"))
loadAds();


// Do some logging, unless this is an attachment, avatar, theme option or XML feed.
if (empty($_REQUEST['action']) || !in_array($_REQUEST['action'], array('dlattach''jsoption''.xml')))
{
// Log this user as online.
writeLog();

// Track forum statistics and hits...?
if (!empty($modSettings['hitStats']))
trackStats(array('hits' => '+'));
}

        
// TinyPortal
        
TPortal_init();

// pre-processing for Look But No Read (modification)
if (!empty($modSettings['categories_deny_guest_browsing']))
{
$categories_deny_guest_browsing explode(","preg_replace("/[^0-9,]/"""$modSettings['categories_deny_guest_browsing']));
foreach ($categories_deny_guest_browsing as $key => $value) if ($value == "") unset($categories_deny_guest_browsing[$key]);
}
else $categories_deny_guest_browsing[] = '';
if (!empty($modSettings['boards_deny_guest_browsing']))
{
$boards_deny_guest_browsing explode(","preg_replace("/[^0-9,]/"""$modSettings['boards_deny_guest_browsing']));
foreach ($boards_deny_guest_browsing as $key => $value) if ($value == "") unset($boards_deny_guest_browsing[$key]);
}
else $boards_deny_guest_browsing[] = '';

// Is the forum in maintenance mode? (doesn't apply to administrators.)
if (!empty($maintenance) && !allowedTo('admin_forum'))
{
// You can only login.... otherwise, you're getting the "maintenance mode" display.
if (isset($_REQUEST['action']) && ($_REQUEST['action'] == 'login2' || $_REQUEST['action'] == 'logout'))
{
require_once($sourcedir '/LogInOut.php');
return $_REQUEST['action'] == 'login2' 'Login2' 'Logout';
}
// Don't even try it, sonny.
else
{
require_once($sourcedir '/Subs-Auth.php');
return 'InMaintenance';
}
}
// 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';
}
// Check for arcade actions
// IBPArcade v2.x.x Games support
elseif (isset($_REQUEST['act']) && strtolower($_REQUEST['act']) == 'arcade')
{
$_REQUEST['action'] = 'arcade';
$_REQUEST['ibpa'] = 2;

if (isset($_REQUEST['do']) && $_REQUEST['do'] == 'newscore')
$_REQUEST['sa'] = 'ibpsubmit';

require_once($sourcedir '/Arcade.php');
return 'Arcade';   
}
// IBPArcade v3.x.x Games support
elseif (isset($_REQUEST['autocom']) && $_REQUEST['autocom'] == 'arcade')
{
$_REQUEST['action'] = 'arcade';
$_REQUEST['ibpa'] = 3;

if (isset($_REQUEST['do']) && $_REQUEST['do'] == 'savescore')
$_REQUEST['sa'] = 'ibpsubmit';

elseif (isset($_REQUEST['do']) && $_REQUEST['do'] = 'verifyscore')
$_REQUEST['sa'] = 'ibpverify';

require_once($sourcedir '/Arcade.php');
return 'Arcade';   
}
elseif (isset($_REQUEST['play']))
{
$_REQUEST['game'] = $_REQUEST['play'];
unset($_REQUEST['play']);
$_REQUEST['sa'] = 'play';

require_once($sourcedir '/Arcade.php');
return 'Arcade';
}
elseif (isset($_REQUEST['highscore']))
{
$_REQUEST['game'] = $_REQUEST['highscore'];
unset($_REQUEST['highscore']);
$_REQUEST['sa'] = 'highscore';

require_once($sourcedir '/Arcade.php');
return 'Arcade';
}
elseif (isset($_REQUEST['game']) && !isset($_REQUEST['action']))
{
require_once($sourcedir '/Arcade.php');
return 'Arcade';
} 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';
}

// Action and board are both empty... maybe the portal page?
if (empty($board) && empty($topic) && $settings['TPortal_front_type']!='boardindex')
{
require_once($sourcedir '/TPortal.php');
return 'TPortal';
}
if (empty($board) && empty($topic) && $settings['TPortal_front_type']=='boardindex' && (isset($_GET['cat']) || isset($_GET['page'])))
{
require_once($sourcedir '/TPortal.php');
return 'TPortal';
}
// Action and board are still both empty...and no portal startpage - BoardIndex!
elseif (empty($board) && empty($topic) && $settings['TPortal_front_type']=='boardindex')
{
require_once($sourcedir '/BoardIndex.php');
return 'BoardIndex';
}
// Topic is empty, and action is empty.... MessageIndex!
elseif (empty($topic))
{
require_once($sourcedir '/MessageIndex.php');
return 'MessageIndex';
}
// Board is not empty... topic is not empty... action is empty.. Display!
else
{
require_once($sourcedir '/Display.php');
return 'Display';
}
}

// SMF MGallery Changes
if (isset($_REQUEST['action']) && isset($_REQUEST['area']) && $_REQUEST['action'] == 'admin' && $_REQUEST['area'] == 'mgallery')
{
require_once($sourcedir '/MGallery-Admin.php');
return 'MGal_admin_init';
}
// End SMF MGallery changes

// Here's the monstrous $_REQUEST['action'] array - $_REQUEST['action'] => array($file, $function).
$actionArray = array(
'activate' => array('Register.php''Activate'),
'admin' => array('Admin.php''Admin'),
'articles' => array('Articles.php''ArticlesMain'),
'announce' => array('Post.php''AnnounceTopic'),        'arcade' => array('Arcade.php','Arcade'),
'managegames' => array('ManageGames.php''GamesAdmin'),
'arcadecategory' => array('ArcadeSettings.php''ArcadeCategory'),
'arcadesettings' => array('ArcadeSettings.php''ArcadeSettings'),
'ban' => array('ManageBans.php''Ban'),
'boardrecount' => array('Admin.php''AdminBoardRecount'),
'buddy' => array('Subs-Members.php''BuddyListToggle'),

'buddies' => array('Buddies.php''BuddiesMain'),
'calendar' => array('Calendar.php''CalendarMain'),
'cleanperms' => array('Admin.php''CleanupPermissions'),
'collapse' => array('Subs-Boards.php''CollapseCategory'),
'convertentities' => array('Admin.php''ConvertEntities'),
'convertutf8' => array('Admin.php''ConvertUtf8'),
'coppa' => array('Register.php''CoppaForm'),
'deletemsg' => array('RemoveTopic.php''DeleteMessage'),
'deletevisitor' => array('Profile.php''DeleteVisitor'),
'detailedversion' => array('Admin.php''VersionDetail'),
'display' => array('Display.php''Display'),
'dlattach' => array('Display.php''Download'),
'dumpdb' => array('DumpDatabase.php''DumpDatabase2'),
'editpoll' => array('Poll.php''EditPoll'),
'editpoll2' => array('Poll.php''EditPoll2'),
'featuresettings' => array('ModSettings.php''ModifyFeatureSettings'),
'featuresettings2' => array('ModSettings.php''ModifyFeatureSettings2'),
'findmember' => array('Subs-Auth.php''JSMembers'),
'help' => array('Help.php''ShowHelp'),
'helpadmin' => array('Help.php''ShowAdminHelp'),
'im' => array('PersonalMessage.php''MessageMain'),
'jsoption' => array('Themes.php''SetJavaScript'),
'jsmodify' => array('Post.php''JavaScriptModify'),
'links' => array('Links.php''LinksMain'),
'lock' => array('LockTopic.php''LockTopic'),
'lockVoting' => array('Poll.php''LockVoting'),
'login' => array('LogInOut.php''Login'),
'login2' => array('LogInOut.php''Login2'),
'logout' => array('LogInOut.php''Logout'),
'maintain' => array('Admin.php''Maintenance'),
'manageattachments' => array('ManageAttachments.php''ManageAttachments'),
'manageboards' => array('ManageBoards.php''ManageBoards'),
'managecalendar' => array('ManageCalendar.php''ManageCalendar'),
'managesearch' => array('ManageSearch.php''ManageSearch'),
'markasread' => array('Subs-Boards.php''MarkRead'),
'membergroups' => array('ManageMembergroups.php''ModifyMembergroups'),
'mergetopics' => array('SplitTopics.php''MergeTopics'),
'mgallery' => array('MGallery.php''MGallery_init'),
'mlist' => array('Memberlist.php''Memberlist'),
'modifycat' => array('ManageBoards.php''ModifyCat'),
'modifykarma' => array('Karma.php''ModifyKarma'),
'modlog' => array('Modlog.php''ViewModlog'),
'movetopic' => array('MoveTopic.php''MoveTopic'),
'movetopic2' => array('MoveTopic.php''MoveTopic2'),
'news' => array('ManageNews.php''ManageNews'),
'notify' => array('Notify.php''Notify'),
'notifyboard' => array('Notify.php''BoardNotify'),
'optimizetables' => array('Admin.php''OptimizeTables'),
'packageget' => array('PackageGet.php''PackageGet'),
'packages' => array('Packages.php''Packages'),
'permissions' => array('ManagePermissions.php''ModifyPermissions'),
'pgdownload' => array('PackageGet.php''PackageGet'),
'pages' => array('DozenPages.php''DozenPages'),
'pm' => array('PersonalMessage.php''MessageMain'),
'post' => array('Post.php''Post'),
'post2' => array('Post.php''Post2'),
'postsettings' => array('ManagePosts.php''ManagePostSettings'),
'printpage' => array('Printpage.php''PrintTopic'),
'profile' => array('Profile.php''ModifyProfile'),
'profile2' => array('Profile.php''ModifyProfile2'),
'quotefast' => array('Post.php''QuoteFast'),
'quickmod' => array('Subs-Boards.php''QuickModeration'),
'quickmod2' => array('Subs-Boards.php''QuickModeration2'),
'recent' => array('Recent.php''RecentPosts'),
'regcenter' => array('ManageRegistration.php''RegCenter'),
'register' => array('Register.php''Register'),
'register2' => array('Register.php''Register2'),
'reminder' => array('Reminder.php''RemindMe'),
'removetopic2' => array('RemoveTopic.php''RemoveTopic2'),
'removeoldtopics2' => array('RemoveTopic.php''RemoveOldTopics2'),
'removepoll' => array('Poll.php''RemovePoll'),
'repairboards' => array('RepairBoards.php''RepairBoards'),
'reporttm' => array('SendTopic.php''ReportToModerator'),
'reports' => array('Reports.php''ReportsMain'),
'requestmembers' => array('Subs-Auth.php''RequestMembers'),
'search' => array('Search.php''PlushSearch1'),
'search2' => array('Search.php''PlushSearch2'),
'sendtopic' => array('SendTopic.php''SendTopic'),
'serversettings' => array('ManageServer.php''ModifySettings'),
'serversettings2' => array('ManageServer.php''ModifySettings2'),
'smileys' => array('ManageSmileys.php''ManageSmileys'),
'smstats' => array('Stats.php''SMStats'),
'spellcheck' => array('Subs-Post.php''SpellCheck'),
'splittopics' => array('SplitTopics.php''SplitTopics'),
'stats' => array('Stats.php''DisplayStats'),
'sticky' => array('LockTopic.php''Sticky'),
'welcome' => array('WelcomeTopic.php''WelcomeTopic'), 'staff' => array('Staff.php''Staff'),
'theme' => array('Themes.php''ThemesMain'),
'trackip' => array('Profile.php''trackIP'),
'admod' => array('Ads.php''Ads'),
'about:mozilla' => array('Karma.php''BookOfUnknown'),
'about:unknown' => array('Karma.php''BookOfUnknown'),
'unread' => array('Recent.php''UnreadTopics'),
'unreadreplies' => array('Recent.php''UnreadTopics'),
'iobuploads' => array('IOBUploads.php''IOBUploads'),
'viewErrorLog' => array('ManageErrors.php''ViewErrorLog'),
'viewmembers' => array('ManageMembers.php''ViewMembers'),
'viewprofile' => array('Profile.php''ModifyProfile'),
'verificationcode' => array('Register.php''VerificationCode'),
'vote' => array('Poll.php''Vote'),
'viewquery' => array('ViewQuery.php''ViewQuery'),
'who' => array('Who.php''Who'),
'.xml' => array('News.php''ShowXmlFeed'),



'affiliates' => array('smf_affiliates.php''affiliates'),

                
'tpadmin' => array('TPortalAdmin.php''TPortalAdmin'),
                
'forum' => array('BoardIndex.php''BoardIndex'),
                
'tpmod' => array('TPmodules.php''TPmodules'),
);

$i 1;
while (isset($modSettings['CA' $i '_name']))
{
$actionArray[$modSettings['CA' $i '_name']] = array('CustomAction.php''CustomAction');
$i++;
}

// Get the function and file to include - if it's not there, do the board index.
if (!isset($_REQUEST['action']) || !isset($actionArray[$_REQUEST['action']]))
{
// Catch the action with the theme?
if (!empty($settings['catch_action']))
{
require_once($sourcedir '/Themes.php');
return 'WrapAction';
}

// Fall through to the board index then...
require_once($sourcedir '/BoardIndex.php');
return 'BoardIndex';
}

// Otherwise, it was set - so let's go to that action.
require_once($sourcedir '/' $actionArray[$_REQUEST['action']][0]);
return $actionArray[$_REQUEST['action']][1];
}

?>
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Xavi-Nena on March 23, 2009, 11:02:00 PM
Quote from: Charles Hill on March 23, 2009, 12:30:25 PM
That index.php doesn't have any code for zCommunity in it.  Look at the other_1_1_x.xml file from the zCommunity_0_8_1_beta__smf_install.zip package.  It tells you what and where to add code to your forum's index.php

and also Charles said there was no code on there to have a duplicate, all i tried to do was add the index.php code as described on the manual install...i must be hitting the crack pipe because none of this makes sense to me...ahhh
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Xavi-Nena on March 23, 2009, 11:10:02 PM
I tried to put it in again after i updated something else on that page and i got the same error message but this time with the line number being 292 [which has this:    }   elseif (empty($_REQUEST['action']))
on that line....

Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Xavi-Nena on March 24, 2009, 12:58:37 AM
hah ok i had a glitch with my version, at the top it had 1.1.7 info and i changed some things to 1.1.8 and it then allowed me to uninstall so i did, then i upgraded my version of zcommunity....now i have a few questions because it looks so much different than my last version..

should it look like these screen shots? no background, bullets next to strangely aligned options, and on the far left in my user info box under show latest comments there seems to be missing text? and there is no cp controls on the left when i am in blog admin either like there was previously in the other version.

and where do i control the tp blocks? in the last version of zcommunity it was different and didnt show any of my tp blocks which is what i prefer...

suggestions?


***** edited
I just noticed I have a load of errors in my error log...a bit to many to list here but here are a few:

http://corsotalk.com/index.php?zc=bcp
Apply Filter: Only show the errors with the same message
8: Undefined index: current_time
File: /home/anypupco/public_html/a-corsotalk/Themes/default/languages/MGallery.english.php (eval?)
Line: 639

Apply Filter: Only show the error messages of this URL  http://corsotalk.com/index.php?zc
Apply Filter: Only show the errors with the same message
8: Undefined index: allow_edit_profile
File: /home/anypupco/public_html/a-corsotalk/Themes/default/languages/TPortal.english.php (eval?)
Line: 472

http://corsotalk.com/index.php?zc
Apply Filter: Only show the errors with the same message
8: Undefined index: allow_pm
File: /home/anypupco/public_html/a-corsotalk/Themes/default/languages/TPortal.english.php (eval?)
Line: 454

http://corsotalk.com/index.php?zc
Apply Filter: Only show the errors with the same message
8: Undefined index: in_maintenance
File: /home/anypupco/public_html/a-corsotalk/Themes/default/languages/TPortal.english.php (eval?)
Line: 238



there are lots more...i can give log in info to qualified smf member that can help so that you can see the full error log...it seems to have everything to do with lots of the 8: Undefined index: says stuff like current_time, allow_pm, allow_calendar, allow_admin ... etc. if that helps at all.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: shaitanfr on March 24, 2009, 06:46:07 AM
Very very strange. This morning, all section in the forum was linked to the zcommunity  :o

I have all removed for repairing.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: tittiger on March 25, 2009, 06:24:37 PM
Besides the major problem of guests not being able to view the blog despite the permissions looking to be set correctly......


The whole SMF forum is taken over by some parasite.  The SMF forum disappears and is not visible. i.e. the blog becomes the whole forum!

Not good...

Thanks,
Joe

Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Xavi-Nena on March 25, 2009, 08:25:15 PM
Forgive me if i have missed it but any idea when this will be out of beta? No matter how many times i try to install these [either version] I am swarmed with error after error and while I was really looking forward to a blog community for my forum I am past discouraged now even trying to install it on a fresh test site and still getting mounds of errors and missing buttons, and misalignments.

I look forward to when there is a stable functioning version but until then this has cause me more frustration than any other mod i have tried to date and i have been using smf for a few years now and tried tons of mods.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Charles Hill on March 25, 2009, 09:40:36 PM
You all must have a ton of other mods installed that are causing problems, because I've tested this on blank SMF 2.0 RC1 and SMF 1.1.8 and have no problems.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Xavi-Nena on March 25, 2009, 10:53:51 PM
Quote from: Charles Hill on March 25, 2009, 09:40:36 PM
You all must have a ton of other mods installed that are causing problems, because I've tested this on blank SMF 2.0 RC1 and SMF 1.1.8 and have no problems.

QuoteI am past discouraged now even trying to install it on a fresh test site and still getting mounds of errors and missing buttons, and misalignments.

I have tried it on a fresh copy as well...not as many errors but enough to make me uninstall it.

Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Kindred on March 26, 2009, 01:24:07 AM
I have this installed on a fairly heavily modded forum (RC1) with no problems...   so I don't know what's going on with all of you folks. :(
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on March 26, 2009, 07:26:31 PM
QuoteI would recommend manually uninstalling and then installing the new version if you don't want any issues.  The package manager is iffy.  Running install_db_edits.php (after you've updated the zCommunity folder/files) will handle all the db changes for you.  And you will not lose any data.

How do you propose a manual uninstall if the 0.7.9 download is no longer on the mod page in order for me to parse?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Charles Hill on March 26, 2009, 08:55:38 PM
Quote from: LinK187 on March 26, 2009, 07:26:31 PM
QuoteI would recommend manually uninstalling and then installing the new version if you don't want any issues.  The package manager is iffy.  Running install_db_edits.php (after you've updated the zCommunity folder/files) will handle all the db changes for you.  And you will not lose any data.

How do you propose a manual uninstall if the 0.7.9 download is no longer on the mod page in order for me to parse?

You should have a copy of the mod package on your server (look in the Packages directory).
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: cad2au on March 27, 2009, 02:01:17 AM
Does anyone know how to attach a file/image when writing an article in a blog?
As far as I know there's only html tag like (//) to attach an image and this is unfamiliar for user without having knowledge on html.

Is there any other facilities to do attachment when writing an article? For example, attachment function in the forum by browsing the file and attaching it.

Thanks in advance.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on March 28, 2009, 01:59:45 AM
Quote from: Charles Hill on March 26, 2009, 08:55:38 PM
Quote from: LinK187 on March 26, 2009, 07:26:31 PM
QuoteI would recommend manually uninstalling and then installing the new version if you don't want any issues.  The package manager is iffy.  Running install_db_edits.php (after you've updated the zCommunity folder/files) will handle all the db changes for you.  And you will not lose any data.

How do you propose a manual uninstall if the 0.7.9 download is no longer on the mod page in order for me to parse?

You should have a copy of the mod package on your server (look in the Packages directory).

How does this help? The package manger only shows what files are added/modified, not the exact lines of code...
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Skhilled on March 28, 2009, 02:38:14 AM
The Package Manager and the Packages directory (/Packages) are not the same thing. If you look in /Packages on your server you'll find the package you've uploaded and can find the code to modify in it. If it is not there, look in /Packages/backups. Everything you have ever installed has a backup of it in there, unless you've deleted them.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on March 28, 2009, 02:41:28 AM
Quote from: Skhilled on March 28, 2009, 02:38:14 AM
The Package Manager and the Packages directory (/Packages) are not the same thing. If you look in /Packages on your server you'll find the package you've uploaded and can find the code to modify in it. If it is not there, look in /Packages/backups. Everything you have ever installed has a backup of it in there, unless you've deleted them.

You'll need to be more specific. I've never used those files for such a purpose. Which file(s) will display the modifications?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Kindred on March 28, 2009, 07:49:21 AM
the package that you downloaded from smf and uploaded to your server....

Also, in the package manager, you can VIEW the files in the package.   Look for the two XML files in the package. One tells you what files from the mod to use for what version, the other tells you what changes were made in each of the smf source and template files.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Skhilled on March 29, 2009, 04:28:11 AM
To further help, you can use the built-in parser on the download page of every mod as seen in the image below.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on March 29, 2009, 01:56:45 PM
Quote from: Skhilled on March 29, 2009, 04:28:11 AM
To further help, you can use the built-in parser on the download page of every mod as seen in the image below.

I use this parser for every mod. The 0.7.9 download is no longer there; I cannot parse it with that feature. I'll check out the xml files but I'd really prefer a "find" and "replace/add before/add after" kinda deal.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Skhilled on March 29, 2009, 02:39:44 PM
Look in your /Packages to see if it is there. If so, download it and use that. If not, look in /Packages/backups.

Try this parser: http://resourcez.biz/PackageParser/ (http://resourcez.biz/PackageParser/)
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on March 30, 2009, 08:03:58 PM
Ok so I manually removed the modifications I made on pages 65 and 66. Then used package manager to remove the rest. Then deleted the zCommunity folder.

Downloaded 0.8.1 and uploaded the zCommunity folder and the package to the packages folder. Installed the mod via package manager. Then when I went to manually edit my custom index.template.php, I could not find any of the code that needed to be modified or have code added above/below.

If I attach my index.template.php, could someone make the appropriate modifications for me?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Rafferty on March 31, 2009, 12:21:45 AM
1. Unable to set default permissions (reverts back to default every time)

2. When enabled, pressing any board, topic or post in the forum directs straight to the blog page

3. Blog page overwrites TP portal on home page (is there a conflict with TP?)

I have SMF 1.1.8 with TP 1.0.5
Firefox browser
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: shaitanfr on March 31, 2009, 12:43:43 AM
Rafferty, I have exactly the 3 same problems as you.

Smf 1.1.8 TP 0.9.8
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: robinrobin on March 31, 2009, 11:44:33 AM
I'm really glad i stuck with 0.7.7 now. Keep up the good work Charles!
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: samozin on April 01, 2009, 12:14:15 PM
hello  every one
i installed the new release
zCommunity 0.8.1 Beta
then  i uninstalled it i want to get back to
blog_community_2_02_smf11x
but i got that error


Database Error
Unknown column 'bs.value' in 'field list'
File: /home/shutters/public_html/Sources/Blog.php
Line: 542

plz help its urgent

need to get  my blogs back
 
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: samozin on April 01, 2009, 12:29:57 PM
 is it easy to make it  work under the already installed smf theme
like that blog_community

and how ?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: dry3210 on April 01, 2009, 03:22:14 PM
Hmm...upon installing the latest version onto 1.1.8 with TinyPortal my links are all screwy.

For starters the main page is now the blog (main page of the site that is) instead of the main page that I originally set up.  This wasn't the case with the last version of zCommunity

I also now lack "admin", "search", "profile" and "members" but somehow have "Home", "Blog", "Forum", "Help", "Gallery" and "Logout"

And when I click into the other areas beyond the blog I get all my navigational menu's back until I go back into the blog

Any ideas?  I'm assuming it has something to do with a conflict with TinyPortal but I could be wrong.  I'm just guessing
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Evo™ on April 02, 2009, 01:46:01 AM
Quote from: єνσℓυтιση™ on March 21, 2009, 07:17:06 AM
I have SimplePortal installed on my site and this mod appears in the middle of the portal. How can I solve this problem?
www.kralrap.net (http://www.kralrap.net)

My blog address  (http://www.kralrap.net/index.php?zc)
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Ncen on April 03, 2009, 09:43:02 AM
Quote from: Rafferty on March 31, 2009, 12:21:45 AM
1. Unable to set default permissions (reverts back to default every time)

2. When enabled, pressing any board, topic or post in the forum directs straight to the blog page

3. Blog page overwrites TP portal on home page (is there a conflict with TP?)

I have SMF 1.1.8 with TP 1.0.5
Firefox browser

Is this something just these two users have problem with, or is everyone having trouble? I'm worried to install because of it, I have 1.1.8 an TP 0.9.8, and when using Package Manager i get error on only Index.template.php, i can fix that, but i wouldn't want the whole community to go down because of the errors mentioned above...
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: dry3210 on April 03, 2009, 12:31:59 PM
Quote from: dry3210 on April 01, 2009, 03:22:14 PM
Hmm...upon installing the latest version onto 1.1.8 with TinyPortal my links are all screwy.

For starters the main page is now the blog (main page of the site that is) instead of the main page that I originally set up.  This wasn't the case with the last version of zCommunity

I also now lack "admin", "search", "profile" and "members" but somehow have "Home", "Blog", "Forum", "Help", "Gallery" and "Logout"

And when I click into the other areas beyond the blog I get all my navigational menu's back until I go back into the blog

Any ideas?  I'm assuming it has something to do with a conflict with TinyPortal but I could be wrong.  I'm just guessing

I completely uninstalled everything and installed fresh SMF files and reuploaded fresh zCommunity files without Tinyportal and it still messes up the links and takes over the main page for some reason
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Bec on April 03, 2009, 01:02:02 PM
Has anyone actually got this installed and working?

I would love to see it in action before installing to see if its exactly what i want!

From what I  have been reading it might be conflicting with tp... any updates on this??

Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: dry3210 on April 03, 2009, 03:47:45 PM
Quote from: Bec on April 03, 2009, 01:02:02 PM
Has anyone actually got this installed and working?

I would love to see it in action before installing to see if its exactly what i want!

From what I  have been reading it might be conflicting with tp... any updates on this??

The previous version (alpha) I had working just fine.  But then I upgraded
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on April 03, 2009, 06:37:44 PM
Quote from: Bec on April 03, 2009, 01:02:02 PM
Has anyone actually got this installed and working?

I would love to see it in action before installing to see if its exactly what i want!

From what I  have been reading it might be conflicting with tp... any updates on this??



Until someone replies to my prev post, I'm sticking with 0.7.9 :\
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Walgermo on April 03, 2009, 07:23:12 PM
cant get the 0.8.1 beta to work  :(

the innstall goes fine, but when i try to access the control panel to activate it, it hangs and stop responding.

This feature is currently disabled. Use the "Blog Control Panel" to enable it. (when i click "Blog Control Panel" it hangs) On this url http://localhost/smf/index.php?zc=bcp;sa=globalSettings

the title bar says Error! (hint for future version: error codes?)

someone please help ! !

Im using smf v.2.0rc1
packages:
1.   Aeva ~ Auto-Embed Video & Audio   6.2.75 
2.   AjaxChat Integration   3.0 
3.   New Style Message Icon   1.1     
4.   SimplePortal   2.2 
5.   SMF Gallery Lite   2.0.5
6.   zCommunity 0.8.1

Apache Version :
2.2.8 
PHP Version :
5.2.6 
MySQL Version :
5.0.51b 
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Bec on April 03, 2009, 08:50:37 PM
Thanks guys, think Ill wait till its more stable. Thanks for the advice!
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: gibby on April 04, 2009, 06:23:34 AM
Does this work for the latest SMF release?

Anyone got it working?

Thanks

Gibby
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Xavi-Nena on April 05, 2009, 12:43:47 AM
I am having the same troubles, but I also had them with the previous version of zcommunity...

my blog community worked like a breeze in comparison to this zcommunity.

i also have the same versions of smf and tp as you having the issues above with missing links, and the other errors. i hope to see a stable version of this soon..its a good idea but w/out it actually working it just leaves us frustrated and blogless.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Afro on April 06, 2009, 12:13:07 PM
Quote from: dry3210 on April 01, 2009, 03:22:14 PM
Hmm...upon installing the latest version onto 1.1.8 with TinyPortal my links are all screwy.

For starters the main page is now the blog (main page of the site that is) instead of the main page that I originally set up.  This wasn't the case with the last version of zCommunity

I also now lack "admin", "search", "profile" and "members" but somehow have "Home", "Blog", "Forum", "Help", "Gallery" and "Logout"

And when I click into the other areas beyond the blog I get all my navigational menu's back until I go back into the blog

Any ideas?  I'm assuming it has something to do with a conflict with TinyPortal but I could be wrong.  I'm just guessing

This happens to be my problem too.
As son as i click on the bogs, the admin link disappears
plus i have a lot of eval errors on the error log.

any help?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Afro on April 06, 2009, 12:58:09 PM
Another quick question,

i installed this mod on a custom theme.

I have manually edited the index template php of the custom theme.
the major issue now is that i cant save permissions after assigning them, and it send tons of errors to my eror log,,
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: robinrobin on April 06, 2009, 04:07:57 PM
Feature request: Ability to report articles.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on April 07, 2009, 12:42:24 PM
Feature request: do away with zcomunity having it's own theme. Use the existing forum's theme. That way it doesn't visually look like $hit as well would require less modification to one's custom theme index.template.php .

I'm still sticking with 0.7.9 until someone responds to my post on the prev page, or the next version is released.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: dry3210 on April 07, 2009, 01:18:46 PM
Quote from: LinK187 on April 07, 2009, 12:42:24 PM
Feature request: do away with zcomunity having it's own theme. Use the existing forum's theme. That way it doesn't visually look like $hit as well would require less modification to one's custom theme index.template.php .

I'm still sticking with 0.7.9 until someone responds to my post on the prev page, or the next version is released.

I'm actually thinking about going back to that verison (since right now I have it disabled alltogether).  I just have to figure out where I can get the files for it as I only have the SMF install files.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: ormuz on April 07, 2009, 06:59:41 PM
Hi Charlls,

I'm using the last stable version of blog community, and I can't get it to work with pretty urls mod, it seems there are some custom modifications needed on sources/querystring.php but I can't figure out, do u have the solution for this problem answer somewere ?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on April 08, 2009, 12:15:08 AM
Quote from: dry3210 on April 07, 2009, 01:18:46 PM
Quote from: LinK187 on April 07, 2009, 12:42:24 PM
Feature request: do away with zcomunity having it's own theme. Use the existing forum's theme. That way it doesn't visually look like $hit as well would require less modification to one's custom theme index.template.php .

I'm still sticking with 0.7.9 until someone responds to my post on the prev page, or the next version is released.

I'm actually thinking about going back to that verison (since right now I have it disabled alltogether).  I just have to figure out where I can get the files for it as I only have the SMF install files.

On the mod page. See post 1 in this thread.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: dry3210 on April 08, 2009, 11:21:46 AM
Well I just wasted my time uninstalling TinyPortal and installing SimplePortal in hopes it wouldn't have the same issues.  It does. 

Hopefully someone can figure out a fix for it soon so I can start writing pointless things again!
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: damnitmike on April 08, 2009, 02:29:52 PM
I thought I would make a suggestion. And trust me, I'm no pro. But I've been doing installs like this for years.....

I installed the latest zCommunity version 8 on 2 different servers, on 2 different versions of SMF 1.1.8 and 2.0, with both Tiny Portal and Simple Portal, and it works very nicely!

I've found out over time, 9 times out of 10, if I have trouble, it is with the FTP of files....

FTP can throw a ton of ghosts into the mix...

Try a different method of FTP.......If a file is showing an error, FTP and overwrite just that file.

For the community files, I was going to ZIP just the zCommunity folder, not the whole Community install Folder, if I had any trouble. I might suggest trying that. That way you can FTP the zipped community, and extract it quickly and easily inside the file manager.

It might help a few of you, but probably not all....

Hope it helps!
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Charles Hill on April 08, 2009, 02:57:14 PM
There are issues with zCommunity integrating with installations of SMF that have portal systems installed..... I will address these issues, but there are other things I am attempting to accomplish at present.

I have been working on building the stand-alone version of zCommunity.  I've been slimming everything down, trying to make it as efficient and simplified as possible.  Once it's stable enough I'm going to use zCommunity on its own for my main site (degrees of zero) and put the support forum (which will use SMF) on a sub-domain.  I will then finish up the downloads system framework (plug-in) for zCommunity and use that to distribute plug-ins, themes, and zCommunity itself.  Then I'll get back to making zCommunity work much more easily with SMF.

Please understand that this is a giant project and requires a great deal of time.  Thank you for your continued patience.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: dry3210 on April 08, 2009, 03:25:40 PM
damnitmike...you have it working with tinyportal with the latest version of zCommunity?

And glad to see you're going to keep a version for SMF integration Charles Hill!  zCommunity is pretty pimp!
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: damnitmike on April 08, 2009, 06:37:57 PM
Thanks dry3210 for asking.....I went back through my 1.1.8's and they weren't the current zCommunity..... >:( 

Thats my bad bro!!! Sometimes the new versions come out so fast....

But its damn slick in 2.0.......and it installs nice too.....and I had quite a few mods already installed ahead of it.....

Sorry I confused everyone!

Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: dry3210 on April 09, 2009, 12:02:34 AM
Perhaps I should upgrade to 2.0 then!
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: dry3210 on April 09, 2009, 11:36:23 AM
Quote from: dry3210 on April 09, 2009, 12:02:34 AM
Perhaps I should upgrade to 2.0 then!

That didn't work either. Same issue

Can someone upload the 0.7.9 files (I have the SMF install but not the other part) to hold me over till the next release?  Thanks
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Charles Hill on April 09, 2009, 11:53:52 AM
Quote from: dry3210 on April 09, 2009, 11:36:23 AM
Quote from: dry3210 on April 09, 2009, 12:02:34 AM
Perhaps I should upgrade to 2.0 then!

That didn't work either. Same issue

Can someone upload the 0.7.9 files (I have the SMF install but not the other part) to hold me over till the next release?  Thanks
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: dry3210 on April 10, 2009, 12:50:05 PM
Well I installed 0.7.9 alpha onto my newly updated 2.0RC1 SMF with simple portal and it said "Hacking attempt" when I went into the blog

So I figured it was cause I had updated so I downgraded to 1.1.8 again which caused all sorts of issues...where I ended up having to make a new database and just copy over the blog, gallery and simple portal files

Once everything was back up and running I find out that the blog still says "hacking attempt" when I access it but at least I still have my pictures

At this point I give up and will proceed to stab myself in the eye with a pencil so I feel better

I will go back to waiting for a new release and be blogless....and eyeless for that matter
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on April 10, 2009, 07:04:59 PM
drunken edit.. please delete this post.  8)
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Tiribulus on April 10, 2009, 07:44:15 PM
Are all the db tables beginning with smf_blog from this mod?
Thanks
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Charles Hill on April 10, 2009, 08:40:19 PM
Quote from: Tiribulus on April 10, 2009, 07:44:15 PM
Are all the db tables beginning with smf_blog from this mod?
Thanks
Yes
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Tiribulus on April 10, 2009, 09:40:04 PM
Thanks, this is a cool mod though it's not personally useful to me at this time. I uninstalled it a while back and wanted to make sure there wouldn't be a problem with dropping those tables that for some reason it appears didn't uninstall at the same time.
Thanks again.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Xavi-Nena on April 10, 2009, 10:22:18 PM
I have resorted back to blogcommunity for now because it works perfectly for me as needed. I just need one minor alteration to it and it is as the image attached describes.

Can anyone tell me how to get those items relocated where I have it mentioned in the pic?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on April 11, 2009, 02:36:04 AM
Quote from: NenaGb on April 10, 2009, 10:22:18 PM
I have resorted back to blogcommunity for now because it works perfectly for me as needed. I just need one minor alteration to it and it is as the image attached describes.

Can anyone tell me how to get those items relocated where I have it mentioned in the pic?

I don't know the answer specifically, but i'm sure it's as easy as moving a few lines of code to an earlier point in the file(s) responsible for display of the blog content. Charles should have the answer....
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Xavi-Nena on April 11, 2009, 07:01:49 AM
Thank you link, that is kinda what I was thinking and what I was waiting for :) Seems to be the super easy [appearing at least] things that go right over my head on where to locate them.
Title: zCommunity and SimplePortal
Post by: divecall on April 11, 2009, 07:18:06 PM
Hello @ all

First, thank you for this great SMF-Mod.

But i have a little Problem:
I am Using SMF 1.1.5 with SimplePortal and DilberMC-Theme. My problem is that the blog-page always come "under" the portal-page. It allways shows the simpleportal-blocks first and then is coming the blog-side.
My wish is, that the blog has a "own" page, without the blocks from simpleportal, e.g my forum has.

Please, can you help me ?

thank you and sorry: english is not my native language.

Happy eastern
divecall
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Xavi-Nena on April 12, 2009, 11:59:22 AM
I am pretty sure you can select to hide all panels in blog admin to remove those from your blog.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Özgür on April 12, 2009, 12:48:56 PM
If i try the import any board get this error.
There appears to have been a problem with the database. Please try again.
If the problem persists, please contact the site's administrator.
How can i fixed?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Xavi-Nena on April 12, 2009, 04:45:31 PM
Quote from: NenaGb on April 10, 2009, 10:22:18 PM
I have resorted back to blogcommunity for now because it works perfectly for me as needed. I just need one minor alteration to it and it is as the image attached describes.

Can anyone tell me how to get those items relocated where I have it mentioned in the pic?

bump....anyone?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Xavi-Nena on April 12, 2009, 09:04:10 PM
ok it appears these two files have something to do with it...
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Xavi-Nena on April 17, 2009, 01:49:02 AM
anyone at all for my above requests?

and also I know blogcommunity is no longer supported but Im hoping that perhaps I can get some assistance on this one:

Unknown column 'windowID' in 'field list'
File: /home/anypupco/public_html/a-corsotalk/Sources/BlogSettings.php
Line: 489
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Xavi-Nena on April 17, 2009, 02:46:38 AM
Just to clear up my situation a bit, I have 2 sites I am working with the blog mods on, one of them...I have blogcommunity working smoothly on, however one of them I cannot get blogcommunity nor can i get zcommunity to function properly on.

I get this error with zcommunity:
Fatal error: require_once() [function.require]: Failed opening required '/home/anypupco/public_html/a-corsotalk/zCommunity/Sources/Subs-db-mysql.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/anypupco/public_html/a-corsotalk/Packages/temp/install_db_edits.php on line 84

It is the same site/database that I got the previous error I listed in my previous post about BlogCommunity...

I have uninstalled all blog scripts when trying BlogCommunity initially, and remove that when I tried to install zCommunity.

I dont mean to be a bother but I would be very grateful for any further support you have for this mod.

===
edit:
===
I have tried to manually run the install_db_edits.php as suggested in previous posts on here in this thread and I keep getting the same error Could not find the necessary zCommunity sources files. Database edits failed!
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: dry3210 on April 17, 2009, 10:02:49 AM
Well I've been tinkering around with it some more while waiting for the next update and this is what I ended up with

1.1.8 with 0.8.1a and simpleportal installed.  I took it out of "single blog" mode and put it in "community mode" and now it doesn't show up as the main page which is great.  It still does remove a bunch of the links when you go into the blog link though but beyond that it seems to function.

I also can't seem to figure out how to edit it for the "classic" theme but I'm probably going to update to 2.0RC1 and break everything again anyway.

So hopefully those who are also waiting for the next release can use this info to get by with till then
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Charles Hill on April 17, 2009, 02:07:37 PM
@ NenaGb ... sounds like you're just missing some files.  If you have all the files, then something is wrong in the install_db_edits.php file.


I've been mega busy with life, so I haven't gotten as much done as I would like.  Good news is that I've got zCommunity functioning by itself.  I just need to build a few things still (administrative stuff and some user-end stuff).  I've decided that the easiest way to provide SMF-specific integration for zCommunity will be to provide that as a plug-in.  It'll still install and integrate the same way, though.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: probinson77 on April 18, 2009, 04:18:52 AM
Quote from: Özgür´ on April 12, 2009, 12:48:56 PM
If i try the import any board get this error.
There appears to have been a problem with the database. Please try again.
If the problem persists, please contact the site's administrator.
How can i fixed?

I'm having this same problem.  The importer creates the entry on the blog index, but there are no blog entries, and the board remains in SMF.

Anyone have any idea how to fix this?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on April 19, 2009, 09:00:05 PM
So in other words, just use 0.7.9 until the next functional release. :\
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: probinson77 on April 19, 2009, 09:03:54 PM
Quote from: LinK187 on April 19, 2009, 09:00:05 PM
So in other words, just use 0.7.9 until the next functional release. :\

Does the 0.7.9 import function work?  And where would I download it?  0.8.1 is the only version listed on the download page.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on April 19, 2009, 09:35:54 PM
Quote from: probinson77 on April 19, 2009, 09:03:54 PM
Quote from: LinK187 on April 19, 2009, 09:00:05 PM
So in other words, just use 0.7.9 until the next functional release. :\

Does the 0.7.9 import function work?  And where would I download it?  0.8.1 is the only version listed on the download page.

I never tried to use it. But everything else is functional. Of course you have to tweak it a wee bit to look right with your custom theme. But yes works fine.

I can either send it to you on msn or by email. Which do you prefer?


@charles hill: you should add all the prev versions back to the mod page so that people can use the parser when install/uninstalling/upgrading/downgrading between versions as most other mods do.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: probinson77 on April 19, 2009, 10:18:10 PM
Quote from: LinK187 on April 19, 2009, 09:35:54 PM

I never tried to use it. But everything else is functional. Of course you have to tweak it a wee bit to look right with your custom theme. But yes works fine.

I can either send it to you on msn or by email. Which do you prefer?


Email would  be great. Thanks!

I'll give it a shot.  I have about a dozen blogs that were in BlogCommunity on my 1.1.8 forum, and I did an upgrade on my forum to 2.0 RC1 this weekend.  The blogs is the last piece of the upgrade that I need to finish.

Right now, the blogs are showing up as forums, but when I run the importer, it creates the blog, but there are no articles in the blog.  It fails with the same message Özgür´  listed above.  I poked around in the database, and I suppose I could manually create the blogs since I don't have that many, but I really don't want to do that if it can be avoided...
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on April 20, 2009, 12:00:05 AM
Quote from: probinson77 on April 19, 2009, 10:18:10 PM
Quote from: LinK187 on April 19, 2009, 09:35:54 PM

I never tried to use it. But everything else is functional. Of course you have to tweak it a wee bit to look right with your custom theme. But yes works fine.

I can either send it to you on msn or by email. Which do you prefer?


Email would  be great. Thanks!

I'll give it a shot.  I have about a dozen blogs that were in BlogCommunity on my 1.1.8 forum, and I did an upgrade on my forum to 2.0 RC1 this weekend.  The blogs is the last piece of the upgrade that I need to finish.

Right now, the blogs are showing up as forums, but when I run the importer, it creates the blog, but there are no articles in the blog.  It fails with the same message Özgür´  listed above.  I poked around in the database, and I suppose I could manually create the blogs since I don't have that many, but I really don't want to do that if it can be avoided...

And your email is?

Also I'm running smf1.1.8 so i can't vouch for it working fine in 2.0rc1.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: probinson77 on April 20, 2009, 12:52:14 AM
Quote from: LinK187 on April 20, 2009, 12:00:05 AM

And your email is?

Also I'm running smf1.1.8 so i can't vouch for it working fine in 2.0rc1.

Sorry.  Thought I had my email in my profile.

[email protected]
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on April 20, 2009, 12:55:22 AM
Quote from: probinson77 on April 20, 2009, 12:52:14 AM
Quote from: LinK187 on April 20, 2009, 12:00:05 AM

And your email is?

Also I'm running smf1.1.8 so i can't vouch for it working fine in 2.0rc1.

Sorry.  Thought I had my email in my profile.

[email protected]

Sent 8)
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: probinson77 on April 20, 2009, 08:18:05 AM
Thanks!

I'll give this version a try later today and let you know how it goes.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on April 20, 2009, 11:28:56 AM
Quote from: probinson77 on April 20, 2009, 08:18:05 AM
Thanks!

I'll give this version a try later today and let you know how it goes.

NP, if you want to see it in action check out my site: http://www.LondonBass.com .

I've never used the import option due to never needing it. So if that function still doesn't work in 0.7.9, you'll probably have to wait for the next functional release.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: probinson77 on April 20, 2009, 01:30:10 PM
Quote from: LinK187 on April 20, 2009, 11:28:56 AM

NP, if you want to see it in action check out my site: http://www.LondonBass.com (http://www.londonbass.com) .

I've never used the import option due to never needing it. So if that function still doesn't work in 0.7.9, you'll probably have to wait for the next functional release.

Thank you so much, Link!  The SMF importer on 0.7.9 worked beautifully, and all of our blogs are back online and working great!  My users thank you also!   ;D
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on April 20, 2009, 09:37:04 PM
Quote from: probinson77 on April 20, 2009, 01:30:10 PM
Quote from: LinK187 on April 20, 2009, 11:28:56 AM

NP, if you want to see it in action check out my site: http://www.LondonBass.com (http://www.londonbass.com) .

I've never used the import option due to never needing it. So if that function still doesn't work in 0.7.9, you'll probably have to wait for the next functional release.

Thank you so much, Link!  The SMF importer on 0.7.9 worked beautifully, and all of our blogs are back online and working great!  My users thank you also!   ;D

No worries.

@charles: you may wana bass 0.8.2 off of 0.7.9 and ignore what you've done in 0.8.0.

Cheers all the same 8)
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Xavi-Nena on April 20, 2009, 11:30:21 PM
Link im going to go back to 7.9 to and hopefully that will work for me too... i like your set up on your site very much.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Xavi-Nena on April 21, 2009, 05:34:30 AM
woo hoo 7.9 works now with just the few minor errors i had before like missing edit and social network buttons..

anyone know how i can go about fixing these?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: dry3210 on April 21, 2009, 10:22:39 AM
For everyone who's going back to 0.79...are any of you using simpleportal?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: oistarbwoy on April 21, 2009, 12:36:45 PM
help! i installed the latest version of zcommunity and IT works perfectly fine, but i now suddenly get nothing but blank pages when i try to use any othe usual admin function

SO

i cant see the package list to uninstall it and fix my forum... i dont know what to do? help please
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: linphoo on April 22, 2009, 08:47:54 AM
I can't install this mod, I don't know what happens.... I install it the same ganeral mods. it's problem. and then I intall by manual, it's problem,too
smf 1.1.8 +zcommunity 0.8.1. tell me how to do. i'm from thailand. my english isn't good.
thank you for this mod
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: dry3210 on April 22, 2009, 09:20:17 AM
I'm assuming when you set an entry to "Private" then you're the only one who can see it?

Also, the friends thing is a feature if you have multiple bloggers?

I guess theres no way to password protect certain entries or perhaps a permission base system per entry is there?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on April 22, 2009, 10:49:37 AM
Quote from: NenaGb on April 21, 2009, 05:34:30 AM
woo hoo 7.9 works now with just the few minor errors i had before like missing edit and social network buttons..

anyone know how i can go about fixing these?

I had this problem once, but i forget the solution. I'm pretty sure i just reinstalled due to being drunk the first time. :P It also may require some code added to you custom theme's index.template.php.

Quote from: oistarbwoy on April 21, 2009, 12:36:45 PM
help! i installed the latest version of zcommunity and IT works perfectly fine, but i now suddenly get nothing but blank pages when i try to use any othe usual admin function

SO

i cant see the package list to uninstall it and fix my forum... i dont know what to do? help please

use 0.7.9

Quote from: linphoo on April 22, 2009, 08:47:54 AM
I can't install this mod, I don't know what happens.... I install it the same ganeral mods. it's problem. and then I intall by manual, it's problem,too
smf 1.1.8 +zcommunity 0.8.1. tell me how to do. i'm from thailand. my english isn't good.
thank you for this mod

use 0.7.9

Quote from: dry3210 on April 22, 2009, 09:20:17 AM
I'm assuming when you set an entry to "Private" then you're the only one who can see it?

Also, the friends thing is a feature if you have multiple bloggers?

I guess theres no way to password protect certain entries or perhaps a permission base system per entry is there?

Check out your blog control panel.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: somara on April 22, 2009, 07:45:37 PM
Failed to load critical zCommunity settings file.

how can i fix it  ?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: linphoo on April 23, 2009, 07:03:16 AM
i install by general mod. writing files is okey. but finally it shows these sentence "Could not find the necessary zCommunity sources files. Database edits failed! " . i don't uderstand. i install by menual after that  i setup this file"install_db_edits.php" . it shows  the same sentence,too
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Kindred on April 23, 2009, 07:08:20 AM
did you load the FILES section of the mod via FTP?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: linphoo on April 23, 2009, 07:23:06 AM
how to different in setup "zCommunity_0_8_1_beta__files.zip  and zCommunity_0_8_1_beta__smf_install.zip  " please tell me, i don't get. why can't i  setup?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: somara on April 23, 2009, 07:30:51 AM
Quote from: Kindred on April 23, 2009, 07:08:20 AM
did you load the FILES section of the mod via FTP?

i where upload in ftp ?

i am upload zCommunity folder at root directory  ... is it wrong ?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: dry3210 on April 23, 2009, 09:04:57 AM
Quote from: LinK187 on April 22, 2009, 10:49:37 AM

Check out your blog control panel.

I gave the permission for the person to see every blog regardless of settings and tried on both "private" and "friends" and it still doesn't show up on that account 
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on April 23, 2009, 11:50:59 AM
Quote from: somara on April 23, 2009, 07:30:51 AM
Quote from: Kindred on April 23, 2009, 07:08:20 AM
did you load the FILES section of the mod via FTP?

i where upload in ftp ?

i am upload zCommunity folder at root directory  ... is it wrong ?

Extract zCommunity_0_8_1_beta__files.zip and upload the zCommunity folder to your forum root.

Then upload zCommunity_0_8_1_beta__smf_install.zip to your packages folder and install via package manager.

Quote from: dry3210 on April 23, 2009, 09:04:57 AM
Quote from: LinK187 on April 22, 2009, 10:49:37 AM

Check out your blog control panel.

I gave the permission for the person to see every blog regardless of settings and tried on both "private" and "friends" and it still doesn't show up on that account 

When you create each blog it gives you options as to who can see it. If it still fails, I highly recommend downgrading to 0.7.9 .
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: somara on April 23, 2009, 02:11:10 PM

i where upload in ftp ?

i am upload zCommunity folder at root directory  ... is it wrong ?
[/quote]

QuoteExtract zCommunity_0_8_1_beta__files.zip and upload the zCommunity folder to your forum root.

Then upload zCommunity_0_8_1_beta__smf_install.zip to your packages folder and install via package manager.


i make same work ..  but it is not install..

i saw ./Themes/default/index.template.php     Test Unsuccesfull


Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on April 23, 2009, 02:20:12 PM
Quote from: somara on April 23, 2009, 02:11:10 PM

i where upload in ftp ?

i am upload zCommunity folder at root directory  ... is it wrong ?

QuoteExtract zCommunity_0_8_1_beta__files.zip and upload the zCommunity folder to your forum root.

Then upload zCommunity_0_8_1_beta__smf_install.zip to your packages folder and install via package manager.


i make same work ..  but it is not install..

i saw ./Themes/default/index.template.php     Test Unsuccesfull



[/quote]

Not the web server root. The forum root folder. For example: whatever.com/forum would be the forum root.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: denzil69 on April 23, 2009, 04:34:41 PM
smf 1.1.8 - default theme

0.8.1 beta:
manually extracted _files and ftp them to forum root on server
package manager - uploaded install file -
Type Action Description
1. Execute Modification ./index.php Test successful
2. Execute Modification .\Sources/Subs.php Test successful
3. Execute Modification .\Sources/Who.php Test successful
4. Execute Modification .\Themes\default/index.template.php Test failed
5. Execute Code install_db_edits.php


deleted all files then tried the same with 7.9 version:
once again i got

Execute Modification .\Themes\default/index.template.php Test failed

is it worth going ahead with the install anyway?
or have i missed a manual change somewhere?

thanks in advance
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Kindred on April 23, 2009, 06:52:49 PM
you will have to manually apply the failed changes to your index.template.php file(s).
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: denzil69 on April 23, 2009, 07:34:02 PM
thanks for the fast reply,

i was afraid of that.... as its been so long since ive found a mod that i could use, ive forgotten  how to do it!

any hints on how id manually apply the failed changes in index.template.php? or how id even find them?

cheers
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on April 23, 2009, 08:46:45 PM
Quote from: denzil69 on April 23, 2009, 04:34:41 PM
smf 1.1.8 - default theme

0.8.1 beta:
manually extracted _files and ftp them to forum root on server
package manager - uploaded install file -
Type Action Description
1. Execute Modification ./index.php Test successful
2. Execute Modification .\Sources/Subs.php Test successful
3. Execute Modification .\Sources/Who.php Test successful
4. Execute Modification .\Themes\default/index.template.php Test failed
5. Execute Code install_db_edits.php


deleted all files then tried the same with 7.9 version:
once again i got

Execute Modification .\Themes\default/index.template.php Test failed

is it worth going ahead with the install anyway?
or have i missed a manual change somewhere?

thanks in advance

Procede, but you will have to edit your index.template.php manually afterwards. If using 0.7.9, use this to parse it: http://resourcez.biz/PackageParser/index.php

If using 0.8.1, use the parser on the mod page.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: dry3210 on April 24, 2009, 11:14:10 AM
Quote from: LinK187 on April 23, 2009, 11:50:59 AM
When you create each blog it gives you options as to who can see it. If it still fails, I highly recommend downgrading to 0.7.9 .

Thats per blog though, not per entry right?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: denzil69 on April 24, 2009, 12:14:59 PM
hmmmmm strange this.

i went ahead with the 7.9 version install, and all appears to be working fine?
i have not parsed anything yet and all options are there, and the standard layout is intact?

thanks again for the quick replies

edit:
ive just checked all the parts to manually change and they are in my template already?

is this possible?

edit 2:

now we have some fun, just set up a blog and wrote the first post, when i click on publish, preview or save as draft, it goes to an error screen and states that i cannot have a blank title or body.

the title and body boxes were full when i tried to save them???
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: denzil69 on April 24, 2009, 02:10:55 PM
the error message given within the forum error log is:

8: Undefined index: rand_string
File: .....\zCommunity\Sources\Post.php
Line: 498

the odd thing is, it generates 6 duplicate error messages in the log for each error
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on April 25, 2009, 01:55:29 AM
If the entries were already on your custom index.template.php, then you must have already added them. If they were already on your default index.template.php, package manager added them for you.

To get rid of the "blank entry" bug add the following to your .htaccess file:
php_flag register_globals off
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: linphoo on April 25, 2009, 04:57:12 AM
are there mod for ssi.php to show the article blogs in the first page the same as other functions in ssi.php or not

thank for this mod
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: denzil69 on April 25, 2009, 05:28:51 AM
Quote from: LinK187 on April 25, 2009, 01:55:29 AM
If the entries were already on your custom index.template.php, then you must have already added them. If they were already on your default index.template.php, package manager added them for you.

To get rid of the "blank entry" bug add the following to your .htaccess file:
php_flag register_globals off

ive already tried this on htaccess in the website root, and then i removed that and tried htaccess again in the forum folder, both failed to sort the problem.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on April 25, 2009, 07:37:16 PM
Quote from: denzil69 on April 25, 2009, 05:28:51 AM
Quote from: LinK187 on April 25, 2009, 01:55:29 AM
If the entries were already on your custom index.template.php, then you must have already added them. If they were already on your default index.template.php, package manager added them for you.

To get rid of the "blank entry" bug add the following to your .htaccess file:
php_flag register_globals off

ive already tried this on htaccess in the website root, and then i removed that and tried htaccess again in the forum folder, both failed to sort the problem.


Then I have no idea. Adding that line to the htaccess in my forum folder fixed the problem for me. If you're still experienecing problems you'll have to wait for the developer to provide actual support.....I wouldn't hold your breath :P
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: denzil69 on April 26, 2009, 07:02:46 AM
in a final attempt to get this mod to work, heres what ive done.

i deleted the 0.7.9 version manually and uninstalled it via smf forum admin.

ive manually uploaded the files for the new beta version
ive installed via admin part of forum, now i have the blog (to which i can finally post to) however it now is only the blog and all my boards have disappeared from the header bar.

so i click to "import"  a board to test it... importing board fails.

is there anyone out there who has any idea on how to get this mod working?

it looks good but support is lacking, im just waiting for anyone to have a go at getting it to work before i give up on it all together and put it down to being unreliable and full of bugs.

thanks
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on April 26, 2009, 11:58:33 AM
Are you using smf2.0 or 1.1.8?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: denzil69 on April 26, 2009, 05:30:12 PM
smf 1.1.8 links,

with version 0.8.1 the blog comes up and i can post to it (unlike version 0.7.9 - which kept returning me to a blank boxed error screen)
the post shows up, but then becomes the first page of the site (over riding the forum)

so i try to import boards from the forum, which fails, plus the previous and next, post buttons only show the post im already viewing, even when i have three posts on the blog to move between.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on April 26, 2009, 06:00:46 PM
Quote from: denzil69 on April 26, 2009, 05:30:12 PM
smf 1.1.8 links,

with version 0.8.1 the blog comes up and i can post to it (unlike version 0.7.9 - which kept returning me to a blank boxed error screen)
the post shows up, but then becomes the first page of the site (over riding the forum)

so i try to import boards from the forum, which fails, plus the previous and next, post buttons only show the post im already viewing, even when i have three posts on the blog to move between.

Even tho my attempts to assist you have failed. If you chose to try and make it work, I guarantee you'll have more success with 0.7.9 than 0.8.1. I recommend testing a fresh test install with 0.7.9. It may provide insight as to why it's not working on your main site.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: xTwilightx on April 30, 2009, 03:49:04 PM
zCommunity does not support wireless protocals yet. Sorry.

Please help....
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Atheo on April 30, 2009, 04:30:35 PM
Hello,

Great mod! But I am missing my buttons for administration area. How do I fix this? [picture attached]

SMF 2.0 RC1
Mc Dult Theme
Installed fine
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: xTwilightx on April 30, 2009, 04:32:53 PM
Extract the 'Files' archive, go to Themes/default/

And copy the folders within the default folder the Files archive into each of the theme's image folder you have installed.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on April 30, 2009, 04:50:02 PM
Quote from: xTwilightx on April 30, 2009, 03:49:04 PM
zCommunity does not support wireless protocals yet. Sorry.

Please help....

Why would it matter if you're using wireless or pluged in?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Atheo on April 30, 2009, 05:03:26 PM
Quote from: xTwilightx on April 30, 2009, 04:32:53 PM
Extract the 'Files' archive, go to Themes/default/

And copy the folders within the default folder the Files archive into each of the theme's image folder you have installed.

xTwilightx if that was for me it didn't do anything unfortunately.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Charles Hill on April 30, 2009, 06:06:35 PM
If you're trying to view zCommunity pages through a mobile device, it'll tell you  "zCommunity does not support wireless protocals yet. Sorry."

Obviously I'll add easy template support for mobile devices eventually.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Özgür on April 30, 2009, 06:11:51 PM
Quote from: Özgür´ on April 12, 2009, 12:48:56 PM
If i try the import any board get this error.
There appears to have been a problem with the database. Please try again.
If the problem persists, please contact the site's administrator.
How can i fixed?

Have can i fix this issue?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: xTwilightx on April 30, 2009, 07:51:55 PM
Quote from: Charles Hill on April 30, 2009, 06:06:35 PM
If you're trying to view zCommunity pages through a mobile device, it'll tell you  "zCommunity does not support wireless protocals yet. Sorry."

Obviously I'll add easy template support for mobile devices eventually.

Thank you for the response..But one problem..

I'm -not- accessing the site through a mobile device. Only my web browser; FireFox.

http://ncsronline.com

You can see it from there.

I can't access anything...because I get that error.

Edit:

@ the above post..It means that you haven't installed the install archive through package manager yet. One you do that, it'll put the right tables in the database.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on April 30, 2009, 07:58:58 PM
Quote from: xTwilightx on April 30, 2009, 07:51:55 PM
Quote from: Charles Hill on April 30, 2009, 06:06:35 PM
If you're trying to view zCommunity pages through a mobile device, it'll tell you  "zCommunity does not support wireless protocals yet. Sorry."

Obviously I'll add easy template support for mobile devices eventually.

Thank you for the response..But one problem..

I'm -not- accessing the site through a mobile device. Only my web browser; FireFox.

http://ncsronline.com

You can see it from there.

I can't access anything...because I get that error.

Edit:

@ the above post..It means that you haven't installed the install archive through package manager yet. One you do that, it'll put the right tables in the database.

So ur just using a desktop or laptop that is wireless?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Atheo on April 30, 2009, 08:53:54 PM
Quote from: Atheo on April 30, 2009, 04:30:35 PM
Hello,

Great mod! But I am missing my buttons for administration area. How do I fix this? [picture attached]

SMF 2.0 RC1
Mc Dult Theme
Installed fine

I could really use some help on this guys, please?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: xTwilightx on May 01, 2009, 12:45:56 AM
No it isn't wireless either.

Its hooked up through a lan cable. O.o

I don't see what that has to do with a protocol?

I'm thinking wireless means cellphone not a hot spot wireless for a wireless router.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on May 01, 2009, 08:48:06 AM
Quote from: xTwilightx on May 01, 2009, 12:45:56 AM
No it isn't wireless either.

Its hooked up through a lan cable. O.o

I don't see what that has to do with a protocol?

I'm thinking wireless means cellphone not a hot spot wireless for a wireless router.

Perhaps if you could identify the code that determines if you're on a mobile device or not, you could comment it out.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: darklord2 on May 01, 2009, 09:28:30 AM
could you please show me an online demo?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on May 01, 2009, 10:34:31 AM
Quote from: darklord2 on May 01, 2009, 09:28:30 AM
could you please show me an online demo?

http://www.londonbass.com is a working ver of 0.7.9.

0.8.0 and 0.8.1 = FAIL
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: xTwilightx on May 01, 2009, 12:13:00 PM
Quote from: LinK187 on May 01, 2009, 08:48:06 AM
Quote from: xTwilightx on May 01, 2009, 12:45:56 AM
No it isn't wireless either.

Its hooked up through a lan cable. O.o

I don't see what that has to do with a protocol?

I'm thinking wireless means cellphone not a hot spot wireless for a wireless router.

Perhaps if you could identify the code that determines if you're on a mobile device or not, you could comment it out.

I've tried that...but then other errors come up because the zCommunity MySQL tables aren't installed.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on May 01, 2009, 12:22:28 PM
Quote from: xTwilightx on May 01, 2009, 12:13:00 PM
Quote from: LinK187 on May 01, 2009, 08:48:06 AM
Quote from: xTwilightx on May 01, 2009, 12:45:56 AM
No it isn't wireless either.

Its hooked up through a lan cable. O.o

I don't see what that has to do with a protocol?

I'm thinking wireless means cellphone not a hot spot wireless for a wireless router.

Perhaps if you could identify the code that determines if you're on a mobile device or not, you could comment it out.

I've tried that...but then other errors come up because the zCommunity MySQL tables aren't installed.

Perhaps charles can give a better coding solution seeing as he created the mod :p
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: daveaite on May 01, 2009, 04:39:29 PM
Nice job cutting down the file size in the latest update. Uploading via ftp will be quicker. :) :)
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: darklord2 on May 01, 2009, 05:28:02 PM
Quote from: LinK187 on May 01, 2009, 10:34:31 AM


http://www.londonbass.com is a working ver of 0.7.9.

0.8.0 and 0.8.1 = FAIL

Special Thanks  ;)
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Charles Hill on May 01, 2009, 11:02:37 PM
You can play around with a live development version at:
http://degreesofzero.com/dev/_zc/zCommunity/index.php

That is zCommunity as a stand alone web application.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: daveaite on May 01, 2009, 11:21:26 PM
Hey, I was wondering if anyone knew the location of the background color for the menu tabs in zcommunity such as "manage blog, Preferences, Notifications, Global settings..." (I've been playing around with it for hours trying to change it) And then also on my right bar.

I'm using the default theme. What item should i fix in .css files

I attached a pic to show you what I'm talking about.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Charles Hill on May 01, 2009, 11:36:01 PM
Depends on what version you're using.... But try zCommunity/Themes/default/css/style.css or zCommunity/Themes/default/css/zc_basics.css and look for stuff that has to do ul.dropNav2
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: linphoo on May 02, 2009, 04:19:18 AM
THANK YOU FOR THIS MOD

problems I found---->smf 1.1.8+zcommunity 0.8.1 beta

1. when i login, do not show a number of my messages(pm) in linktree of zcommunity,but in smf forum shows (for example=My Messages [1])
2. No change "order of side windows" in the blog main page when I login as admin (Control panel-->Community page--->Side windows-->Order of side Windows


Offer
1. Able to add the bbc code(video,smile,etc) the same as the bbc code in smf forum
2.  Able to upload files (attachment) the same as smf forum
3. Add the Search box (in main page and each blogs)

things that develop(plug in)
-Add function in SSI.php to show the same as other functions in SSI.php

O:)
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Filipina on May 03, 2009, 02:03:39 AM
Hello Charles Hill ... Thanks for the mod I hope you might have an answer for this... I am running 1.1.8 default. I had this mod installed and thought all was going well but there seems to be a problem with the Global Settings "Default Settings for New Blogs". I try and check the boxes so everyone to see the blogs, and when i submit the change the checks go away and I cannot get them to stay. As a result depending on what member group you are in you can or cannot see the blogs... any ideas?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Kindred on May 03, 2009, 10:57:49 AM
Filipina,

If you had read the previous pages or used search, you would have noted that this has been reported a number of times.

The only solution, at the moment is to adjust the permissions manually, in the database.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Filipina on May 03, 2009, 11:05:34 AM
thank you kindred... i did a search of "permissions"  in this topic and the only result I got was the original post from the mod author.  So if the word permissions was used on other pages it is not being picked up in a search of the topic. I did scroll through a number of pages but next time I will make sure to scan them all.   
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Atheo on May 03, 2009, 11:51:49 AM
Hi,

Great mod! I've asked this already but no answer; how do I get the buttons for the blogs to show up? I have none and the text is inline vertically, which is annoying.

I included a picture of what I mean with my last post a few days ago.

Thanks for your help.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on May 03, 2009, 01:02:42 PM
Quote from: Atheo on May 03, 2009, 11:51:49 AM
Hi,

Great mod! I've asked this already but no answer; how do I get the buttons for the blogs to show up? I have none and the text is inline vertically, which is annoying.

I included a picture of what I mean with my last post a few days ago.

Thanks for your help.

Start reading here: http://www.simplemachines.org/community/index.php?topic=244848.msg1958854#msg1958854

The solution is based off of my custom theme, so it may not work for you.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Atheo on May 03, 2009, 01:12:01 PM
LinK187

Thanks for trying to help but I am not talking about the menu bar buttons.

Please see this (http://www.simplemachines.org/community/index.php?action=dlattach;topic=244848.0;attach=96878;image) or my original post on page 77.  Thanks
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Charles Hill on May 03, 2009, 02:08:50 PM
I've had time recently to work on zCommunity... it's coming along very nicely.  Again you can check it out at the following link:
http://degreesofzero.com/dev/_zc/zCommunity/

That's it stand-alone (without SMF), but it will not be difficult to integrate it with SMF.  I've been cleaning up the template side of things so that it'll be a lot easier to work with and much more stable when integrating with SMF.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Özgür on May 03, 2009, 03:23:46 PM
Charless i don't like bump problem. But i wait long time..

Quote from: Özgür´ on April 12, 2009, 12:48:56 PM
If i try the import any board to blog get this error.
There appears to have been a problem with the database. Please try again.
If the problem persists, please contact the site's administrator.

Not show any error log.
How can i fixed?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Charles Hill on May 03, 2009, 03:39:23 PM
Do you see an error in the zCommunity error log that has to do with the zCommunity/Sources/Import-smf.php file?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Özgür on May 03, 2009, 03:50:36 PM
No have any error log.
Hmm. I try all boards. Some boards same error but some board get this 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 '128' at line 1
File: /home/rockayse/public_html/rk/zCommunity/Sources/Import-smf.php
Line: 253
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Charles Hill on May 03, 2009, 04:10:15 PM
What version of zCommunity are you using?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Özgür on May 03, 2009, 04:32:26 PM
Im using 0.8.1 and smf 2.0.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: daveaite on May 03, 2009, 05:38:37 PM
Anyone have any themes for zcommunity to add on to.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on May 03, 2009, 06:23:07 PM
Quote from: daveaite on May 03, 2009, 05:38:37 PM
Anyone have any themes for zcommunity to add on to.

Probly better to just mod it to look like ur forum. Which is kinda odd that it has a separate theme...
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Atheo on May 03, 2009, 06:42:17 PM
Quote from: daveaite on May 03, 2009, 05:38:37 PM
Anyone have any themes for zcommunity to add on to.

If you're able to reproduce the problem I am having then zCommunity will look exactly like your forum...just without an attractive menu.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: linphoo on May 04, 2009, 06:42:11 AM
thank for this mod

problems I found---->smf 1.1.8+zcommunity 0.8.1 beta

1. when i logged in, do not show a number of my messages(pm) in linktree of zcommunity,but in smf forum shows (for example=My Messages [1])
2. not able to  change "order of side windows" in the blog main page when I logged in as admin (Control panel-->Community page--->Side windows-->Order of side Windows

Most Recent  1 Change 
Tags              2 Change 
Archive          3 Change 

no change "order of side windows"
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: dry3210 on May 04, 2009, 09:40:31 AM
Quote from: Charles Hill on May 03, 2009, 02:08:50 PM
I've had time recently to work on zCommunity... it's coming along very nicely.  Again you can check it out at the following link:
http://degreesofzero.com/dev/_zc/zCommunity/

That's it stand-alone (without SMF), but it will not be difficult to integrate it with SMF.  I've been cleaning up the template side of things so that it'll be a lot easier to work with and much more stable when integrating with SMF.

I look forwards to the next one that'll work with SMF.  Good job on things Charles
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Shades. on May 05, 2009, 12:05:36 AM
I'm running SMF 2.0 RC1 and installed the Zcommunity mod a few days ago and everything has been fine until today when a guest was viewing the blogs and I went to the "View Who's Online" link and recieved the following error:
Fatal error: Call to undefined function zc_plugin_slot() in /home/content/a/u/c/myforum/html/zCommunity/Sources/Who.php on line 217

Any help would be appreciated!
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Xavi-Nena on May 06, 2009, 04:30:04 PM
When will a stand alone version be available for download? Of course I would like to get it working with smf as well but a stand alone version ...would that be similar to wordpress mu?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Charles Hill on May 06, 2009, 06:33:07 PM
I don't know when the next version will be available.  Yes it'll be like wordpress MU in that it will be a full, stand-alone web application.  Been very busy with life, so I have no idea when I'll be able to get it done.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: snookstah on May 07, 2009, 05:44:19 AM
Hi. Can someone post their examples of this blog mod functioning in their SMF? That would be awesome, thanks.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Kindred on May 07, 2009, 05:57:37 AM
maybe try reading some of the thread?   There have been at least 10 sites posted in this thread... many for previous requests that ask the exact same thing.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: snookstah on May 12, 2009, 03:59:20 AM
So I just tried to install zCommunity 0.8.1 on my 1.1.8 SMF that has the theme called SMF Grunge.

* I uploaded the zCommunity folder into my forum root directory.
* Then I did the auto-install.
* Then I manually edited the file: /Themes/SMF_Grunge/index.template.php

That's the only file in the /Themes/SMF_Grunge directory that this mod edits.

I have 2 issues:

1) When I go into the zCommunity Control Panel, everything is in white boxes and all of the normal text is also colored white, so I can't read anything unless I highlight the text.

2) Well I had like 5 errors in my Forum Error Log during installation in the following files:
/forum/zCommunity/Sources/Load.php
/forum/Packages/temp/install_db_edits.php

But now when I look I have like 45 additional errors, mostly involving the file:
/forum/Themes/SMF_Grunge/languages/ThemeStrings.english.php (eval?)

But also have errors in:
/forum/zCommunity/Languages/Errors.english.php
/forum/zCommunity/Sources/Subs-smf.php
/forum/zCommunity/Themes/default/index.template.php

Am I doing something horribly wrong, or perhaps this mod does not install to this theme?

I made a backup of my forum so I'll be going back to that soon, I'm in Maintenance Mode right now. Any help would be greatly appreciated. Thanks.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Afro on May 12, 2009, 06:26:37 AM
I nstalled the 0.7.6 version since the lastest version is still on beta mode.

The problem is that i cant seem to delete a blog created by a member.
How do i set that?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Kindred on May 12, 2009, 09:14:12 AM
snookstah,

1- if you got errors on install in load.php, then your MUST manually make those edits.
2- if install_db_edits did not run, then you don't have the database tables that are needed....

(eval means that the error is not actually IN that file, just that it got triggered while running code in that file)

As for the theme....  the blog system uses it's own themes... so there may be some overlap between smf css and the blog css which may be incopatable...   try running on the default smf theme to verify installation is correct and then make a custom theme for the blog that matches your smf theme.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on May 12, 2009, 11:27:16 AM
Solution: use 0.7.9  8)
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: snookstah on May 13, 2009, 01:43:41 AM
Thank you for your suggestions. I don't feel this version of zCommunity is stable enough. I suppose I'll wait for a non-Beta version, if it ever does come out. I'm so disappointed, I was really looking forward to giving my members this blog functionality. Hopefully this mod, or some other mod, will come through soon.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Afro on May 13, 2009, 04:53:08 AM
where do you download plugins for this mod?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Kindred on May 13, 2009, 08:14:08 AM
I do not believe that there are any plugins, currently.   However, one would assume that, when they are made, they will be available on the creator's site.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: inny on May 13, 2009, 10:45:39 AM
Started using this, getting my way in admin options now.

Just one question and one remark

Question: Is it lets say "legal" for the author to move the copyright of zcommunity on the bottom on my forum, along the SMF copyright? it will be always visible but it fits better to my eyes. im not asking to completely remove the copyright

Remark: Had big issues with 0.8.1 and TP, tried various ways to hide the TP blocks in the blog admin area and the test blog i created with no avail. With 0.7.8 its fine

Regards,
Inny
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on May 13, 2009, 02:48:54 PM
Quote from: snookstah on May 13, 2009, 01:43:41 AM
Thank you for your suggestions. I don't feel this version of zCommunity is stable enough. I suppose I'll wait for a non-Beta version, if it ever does come out. I'm so disappointed, I was really looking forward to giving my members this blog functionality. Hopefully this mod, or some other mod, will come through soon.

And again, the solution is: use 0.7.9 :)

It works perfectly. I only had to tweak a few color things to suit my theme.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: budduke on May 14, 2009, 02:13:03 PM
Found a problem with 0.8.1
See attached error log. Am setting mine back to the stable version.
These errors began the second I added the beta version and stopped once I uninstalled it.
I am running 1.1.8 if that helps
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: snookstah on May 18, 2009, 01:54:59 AM
Is this mod dead or what? Did the maker give up on it?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: dry3210 on May 18, 2009, 12:08:08 PM
Quote from: snookstah on May 18, 2009, 01:54:59 AM
Is this mod dead or what? Did the maker give up on it?

Ha ha.  He just posted on May 3rd that he's working on it. 
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: ttuu on May 20, 2009, 05:41:07 AM
i using smf v.1.1.8 and i try to install this mod.
but when i try run install_db_edits.php i get blank page any hader is show and in title page i see "Error!" but i cannot see what is error.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: AlkaSeltxer on May 20, 2009, 07:38:26 PM
I'm using TP 0.9.8 with SMF 1.1.8. After installing zCommunity it does not show my original frontpage I was using on my forum and has been replaced with the blog frontpage. How does one remove the blog from showing as the frontpage and have my original TP frontpage & blocks show?

Hope that's understandable.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: dry3210 on May 21, 2009, 09:13:57 AM
Quote from: Alka-Seltzer on May 20, 2009, 07:38:26 PM
I'm using TP 0.9.8 with SMF 1.1.8. After installing zCommunity it does not show my original frontpage I was using on my forum and has been replaced with the blog frontpage. How does one remove the blog from showing as the frontpage and have my original TP frontpage & blocks show?

Hope that's understandable.

Try switching the blog to community mode instead of individual blog and see if that works.  Thats what I'm doing until another version is released
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: WindsorLive! on May 21, 2009, 11:42:28 AM
Quote from: Charles Hill on May 03, 2009, 02:08:50 PM
I've had time recently to work on zCommunity... it's coming along very nicely.  Again you can check it out at the following link:
http://degreesofzero.com/dev/_zc/zCommunity/

That's it stand-alone (without SMF), but it will not be difficult to integrate it with SMF.  I've been cleaning up the template side of things so that it'll be a lot easier to work with and much more stable when integrating with SMF.

Is it possible to begin with the stand-alone and work it into a theme? I am only using the default theme but am also using Tiny Portal v1.0 beta 3.

My problem is that I cannot remove the portal side blocks when I have it select "Don't show forum template layers on community page" it still displays the portal blocks.

When I am on the blog Community page the header and navbar are not diplaying the same as the forum.

Any help, comments, suggestions?

As for the opinions from Link187
QuoteAnd again, the solution is: use 0.7.9

I am running SMF 1.1.9 and Tiny Portal v1.0 beta 3 with zCommunity 0.8.1

I am also wondering if anyone has an opinion about articles, not sure I like TP's article function.

Have a great day everyone!


Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on May 21, 2009, 12:15:40 PM
Quote from: WindsorLive! on May 21, 2009, 11:42:28 AM
Quote from: Charles Hill on May 03, 2009, 02:08:50 PM
I've had time recently to work on zCommunity... it's coming along very nicely.  Again you can check it out at the following link:
http://degreesofzero.com/dev/_zc/zCommunity/

That's it stand-alone (without SMF), but it will not be difficult to integrate it with SMF.  I've been cleaning up the template side of things so that it'll be a lot easier to work with and much more stable when integrating with SMF.

Is it possible to begin with the stand-alone and work it into a theme? I am only using the default theme but am also using Tiny Portal v1.0 beta 3.

My problem is that I cannot remove the portal side blocks when I have it select "Don't show forum template layers on community page" it still displays the portal blocks.

When I am on the blog Community page the header and navbar are not diplaying the same as the forum.

Any help, comments, suggestions?

As for the opinions from Link187
QuoteAnd again, the solution is: use 0.7.9

I am running SMF 1.1.9 and Tiny Portal v1.0 beta 3 with zCommunity 0.8.1

I am also wondering if anyone has an opinion about articles, not sure I like TP's article function.

Have a great day everyone!




What I meant was, use zcommunity 0.7.9, it was the last ver that actually worked.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: linphoo on May 21, 2009, 09:46:03 PM
setup this mod, zcommunity+smf 1.1.8
-found the problems
- javascript can't run, don't show popup menu to setup system.it's error
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: WindsorLive! on May 22, 2009, 02:45:45 PM
Quote from: LinK187 on May 21, 2009, 12:15:40 PM

What I meant was, use zcommunity 0.7.9, it was the last ver that actually worked.


Since there are several to select from which file should I use?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on May 22, 2009, 03:37:59 PM
Quote from: WindsorLive! on May 22, 2009, 02:45:45 PM
Quote from: LinK187 on May 21, 2009, 12:15:40 PM

What I meant was, use zcommunity 0.7.9, it was the last ver that actually worked.


Since there are several to select from which file should I use?

You've answered your question with the quote.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Afro on May 24, 2009, 11:06:37 AM
I tried to create a category and got this error.

"Unknown column 'member_id' in 'field list'
File: /home/afrowall/public_html/zCommunity/Sources/Subs-CP.php
Line: 131

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.9, while your database is at version 1.1.6. The above error might possibly go away if you execute the latest version of upgrade.php."

Any idea what to do? I am on 1.1.9version fo smf
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on May 24, 2009, 11:42:55 AM
Quote from: afrowall.com on May 24, 2009, 11:06:37 AM
I tried to create a category and got this error.

"Unknown column 'member_id' in 'field list'
File: /home/afrowall/public_html/zCommunity/Sources/Subs-CP.php
Line: 131

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.9, while your database is at version 1.1.6. The above error might possibly go away if you execute the latest version of upgrade.php."

Any idea what to do? I am on 1.1.9version fo smf

Execute upgrade.php from your browser.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: zorro18 on May 25, 2009, 04:01:33 PM
Hi all,

I have installed zcommunity and everything looks fine except this little issue. while user clicks the blog, the following error comes
Quote
There appears to have been a problem with the database. Please try again.
If the problem persists, please contact the site's administrator.

I have given all the required permissions to the user, not really sure what went wrong. However, the user can see the admins blog though.

Have I missed to setup anything while installing? Kindly advice. Your help and suggestions will be sincerely appreciated.

You can test the  site (http://www.andhraconnect.com)
username: test
password: test

Thanks
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Kindred on May 25, 2009, 05:07:42 PM
pnreddy,

version numbers are useful (smf version? zCommunity version?)
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: zorro18 on May 25, 2009, 05:39:45 PM
sorry for that.

SMF 2.0 RC1-1 and zcommunity 0.8.1 beta.

P.S: While installing I have emulated 2.0 RC 1

Thanks a lot for looking into this.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Kindred on May 25, 2009, 07:05:08 PM
as previously recommended, we suggest that you use 0.7.9
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Atheo on May 27, 2009, 01:14:00 PM
Does anyone have a fix for the missing social networking icons, edit, delete, lock, etc icons (i gather this is supposed to be a dropdown menu ?!)?

Please don't just tell me to read the previous posts...I have and that isn't help ...and have read the posts on degreesofzero as well. People are just complaining about the problem or complaining that people are asking. Please just link a solution if one exists and I will thank you publicly. If you don't know don't bash me for asking please.

0.7.9
SMF RC1
NOT 1-1
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: sombra on June 01, 2009, 05:28:09 PM
anyone knows wen well be another fix other version?

or any other blog that works for smf 2.0 rc1-1?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Neverhurry on June 14, 2009, 02:08:48 PM
Hi,

This is a fantastic mod, probably the best mod i ever seen. i am so happy that i found it! I am going to try immediately. I have a few questions:

1. i read that 0.7.9 is the best version now for smf 1.1.8 (maybe for 1.1.9 too), is it right?

2. i read that a standalone zCommunity will be released, how is it? Was it already released somewhere?

3. Can it be integrated with Simple Portal 2.2.2? That means, i would like to display in Simple Portal the latest articles from all the blogs installed, is it possible?

4. or, is it possible to make the default page to the blogs page, so when user hits for example the main domain www.xyz.com, it will show the blogs page as default first HOME page?

so far, only 4 questions. Will have more for sure after. Thank you very very much!
All this best to this great mod!
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on June 14, 2009, 04:09:59 PM
Quote from: neverhurry on June 14, 2009, 02:08:48 PM
Hi,

This is a fantastic mod, probably the best mod i ever seen. i am so happy that i found it! I am going to try immediately. I have a few questions:

1. i read that 0.7.9 is the best version now for smf 1.1.8 (maybe for 1.1.9 too), is it right?

2. i read that a standalone zCommunity will be released, how is it? Was it already released somewhere?

3. Can it be integrated with Simple Portal 2.2.2? That means, i would like to display in Simple Portal the latest articles from all the blogs installed, is it possible?

4. or, is it possible to make the default page to the blogs page, so when user hits for example the main domain www.xyz.com, it will show the blogs page as default first HOME page?

so far, only 4 questions. Will have more for sure after. Thank you very very much!
All this best to this great mod!

I can only answer the first question. Yes it works with 1.1.9 . :)
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Neverhurry on June 15, 2009, 03:18:52 AM
thank you, i hope someone can help to answer the other questions.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Kindred on June 15, 2009, 08:14:10 AM
well...

1- already answered
2- It will be released when Charles says so. It is not released yet.
3- Of course it can and is possible...   that being said, there is nothing PRE-designed to fill SP blocks...   You would have to write the code yourself.
4- That too would require some modification to have the community override SP.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Neverhurry on June 15, 2009, 10:52:00 AM
Quote from: Kindred on June 15, 2009, 08:14:10 AM
well...

4- That too would require some modification to have the community override SP.

Thank you very much for the answer, it is helpful, but the last one, i suppose just smf forum and zCommunity without SP portal, will it be possible to make blogs the default Home page instead of forums? thank you.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on June 15, 2009, 12:42:57 PM
Quote from: neverhurry on June 15, 2009, 10:52:00 AM
Quote from: Kindred on June 15, 2009, 08:14:10 AM
well...

4- That too would require some modification to have the community override SP.

Thank you very much for the answer, it is helpful, but the last one, i suppose just smf forum and zCommunity without SP portal, will it be possible to make blogs the default Home page instead of forums? thank you.

You could just have your domain point to the blogs url instead of the forum folder...
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: sombra on June 17, 2009, 01:59:53 AM
is ther any site thats have this mod ronning to see how it looks with things on it live
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Neverhurry on June 17, 2009, 03:49:38 AM
Quote from: LinK187 on June 15, 2009, 12:42:57 PM
Quote from: neverhurry on June 15, 2009, 10:52:00 AM
Quote from: Kindred on June 15, 2009, 08:14:10 AM
well...

4- That too would require some modification to have the community override SP.

Thank you very much for the answer, it is helpful, but the last one, i suppose just smf forum and zCommunity without SP portal, will it be possible to make blogs the default Home page instead of forums? thank you.

You could just have your domain point to the blogs url instead of the forum folder...

thank you. by default the home url is something like: www.xyz.com/index.php, but zC's url will be www.xyz.com/index.php?zc, that is not very nice for a default url.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Neverhurry on June 17, 2009, 05:20:38 AM
hi,

please anybody know if the latest 0.8.1 Beta allow upload attachment such as pictures?
thanks!
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on June 17, 2009, 08:48:42 AM
Quote from: neverhurry on June 17, 2009, 03:49:38 AM
Quote from: LinK187 on June 15, 2009, 12:42:57 PM
Quote from: neverhurry on June 15, 2009, 10:52:00 AM
Quote from: Kindred on June 15, 2009, 08:14:10 AM
well...

4- That too would require some modification to have the community override SP.

Thank you very much for the answer, it is helpful, but the last one, i suppose just smf forum and zCommunity without SP portal, will it be possible to make blogs the default Home page instead of forums? thank you.

You could just have your domain point to the blogs url instead of the forum folder...

thank you. by default the home url is something like: www.xyz.com/index.php, but zC's url will be www.xyz.com/index.php?zc, that is not very nice for a default url.

no sh1t that's why i suggested to point your domain at it... so typing the url is unneccesary... or u could just reverse the home and blog button codes...

Quote from: neverhurry on June 17, 2009, 05:20:38 AM
hi,

please anybody know if the latest 0.8.1 Beta allow upload attachment such as pictures?
thanks!

Highly unlikely anyone does. use 0.7.9 :)
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Neverhurry on June 17, 2009, 11:33:04 AM
thank you! i found out felblog which supports attachment, but the mod is not here anymore.  >:(
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: robinrobin on June 21, 2009, 07:45:28 AM
I have a humble request:

- Option to make blog-posts count towards members' post-count in the forum (important for forums that rely a lot on post-counts to unlock features)

This might be something that i perhaps could modify myself. It doesn't seem like such an advanced thing to do. Anyone know how i could do this?

Question: Does zC use SSI in a way that you can make a tooltip show the amount of users currently viewing the Blogs?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: robinrobin on June 21, 2009, 07:59:20 AM
Quote from: BoZilla on May 05, 2009, 12:05:36 AM
I'm running SMF 2.0 RC1 and installed the Zcommunity mod a few days ago and everything has been fine until today when a guest was viewing the blogs and I went to the "View Who's Online" link and recieved the following error:
Fatal error: Call to undefined function zc_plugin_slot() in /home/content/a/u/c/myforum/html/zCommunity/Sources/Who.php on line 217

I have a similar problem with that latest version, 0.8.1. Whenever someone is viewing the blogs page, the Who's Online page is completely blank.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Kindred on June 21, 2009, 09:43:52 AM
robin:

1st question...  actually, it's harder than you might think, because the zCommunity stores the blog posts in a completely different table and format. There are a number of places which would have to be modified in the mod and in the basic smf code

2nd question...    as already stated several dozen times. use 0.7.9.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: robinrobin on June 21, 2009, 10:09:08 AM
Well, thank you, Kindred.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: sombra on June 21, 2009, 10:33:21 AM
if i install 7.9 what kind of problems can i confront?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: robinrobin on June 21, 2009, 11:27:43 AM
Quote from: GQCritic on March 20, 2009, 10:16:19 AM
I did what you requested above. It did not work and I am now getting the following errors:


2: implode() [<a href='function.implode'>function.implode</a>]: Invalid arguments passed
File: */public_html/zCommunity/Themes/default/index.template.php
Line: 196


I just noticed the same error in my log too, and would like to report it in version 0.8.1, not as a complaint though.

Type of error: General

...forum/index.php?action=who

2: implode() [<a href='function.implode'>function.implode</a>]: Invalid arguments passed

File: .../zCommunity/Themes/default/index.template.php
Line: 194

Line 194: <td align="left">', implode($context['zc']['link_tree_divider'], $context['zc']['link_tree']), '</td>
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: robinrobin on June 21, 2009, 11:40:46 AM
Well, wow... there's a million billion errors caused by zC 0.8.1 so i sure hope you guys have got those yourselves when you bug-check the mod. Kind of impractical for me to paste them all here. Most of them are "Undefined" though.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on June 21, 2009, 12:44:37 PM
Put it this way. I use 0.7.9 and it works fine. I have no problems. Only tweaks I may have made, if any, were theme related.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: robinrobin on June 21, 2009, 12:51:16 PM
Mine works fine too, always did. The errors doesn't affect anything practical, it seems. But they're there, in the background, and i don't think the devs would or should stop working until the mod is completely error-free.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: robinrobin on June 21, 2009, 01:58:46 PM
The error that says "There appears to have been a problem with the database. Please try again. If the problem persists, please contact the site's administrator." most probably have something to do with the SMF RC1-1 update. Didn't have this before it. Just a hint.

I just noticed; this only seems to affect regular members trying to view their own blogs. Both blogs that were created before the SMF update and after are affected for me.
Title: Re: zCommunity 0.7.9 Alpha Now available! (now supports SMF 2.0 RC1)
Post by: MrMorph on June 21, 2009, 04:53:16 PM
Quote from: GQCritic on February 15, 2009, 06:29:53 PM
Quote from: Masterjts on February 15, 2009, 06:24:37 PM
Quote
The following error(s) occurred:
Subject cannot be blank.
Body cannot be blank.

I installed a fresh copy of SMF RC1 2.0 and ZCommunity 0.7.9A. Whenever I go to create a new Article or post a comment to an existing article I get the error message Above. If I retype the information in the new page then it posts normally. Any ideas on what is causing this problem?

http://www.obelisks.net/forum/index.php?zc

I'm pretty sure it's a bug. A lot of people have reported this issue (including myself).

Is there a fix for this ?  I can't seem to find one...

BTW, I'm using version 0.7.9 on SMF 1.1.9, I had major problems with the newest beta 0.8.1, so I went for the older one as most people seem to think it's better.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: LinK187 on June 21, 2009, 10:52:53 PM
The fix is use 0.7.9 until the dev desides to start working on the mod again. If he ever does...
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: robinrobin on June 22, 2009, 09:05:48 AM
Eh? Charles quit? I doubt he's a quitter.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: MrMorph on June 22, 2009, 09:15:15 AM
Yeah he seems active on his own forum a few days back.  The problem I am having at the moment is the edit and social bookmarkings are not appearing in my theme.  They appear fine in the default theme, but not in my PS-Black theme.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: robinrobin on June 22, 2009, 09:22:39 AM
That must mean that the bookmarking code is in each theme. Why don't you look for the bookmarking code and try comparing that file with the same one of your theme?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: MrMorph on June 22, 2009, 09:26:02 AM
Sounds like a goo idea.  Charles (on his site) refers to a csshover.htc which may have something to do with it - I'm just researching that at the moment.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Charles Hill on June 22, 2009, 10:08:53 AM
MrMorph's issue with posting an article and the error of both primary fields being blank is related to the encryption of the field names using sha1('n' . $field_name . $_SESSION['zc_rand_string'])

The issue is the session variable.  What worked for some people was turning off register_globals through .htaccess

All the errors u're experiencing (the undefined index or some implode errors) are minor, but obviously you would like to have no errors at all.  You can debug those yourself manually by using ctrl+f to find the undefined indexes or variables in zcommunity, wherever they might be.

I am still developing zCommunity.  But as I've said, it is a stand alone web application (CMS), and i'll have to write a  bridge for it to SMF.  Been extremely busy doing free lance work (gotta pay the bills, you know).
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: robinrobin on June 22, 2009, 10:14:22 AM
Charles, did you mean the implode argument error with "session variable" ? Thanks for the help.

I read you with the bills there. I'll get that nice lump of donation-money to you when this recession isn't killing me and my partner.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: MrMorph on June 22, 2009, 11:13:18 AM
Well I fixed the missing bookmarks - my themes index.template.php was just missing loading the style sheets.  Thanks to Robin Robin for pointing me in the right direction.

If anyone else has this problem with different themes then just edit that theme's index.template.php :

Find

// The ?fin11

Add in before it :

if (isset($modSettings['zc_mode']))
{
// load stylesheets?
if (!empty($context['zc']['load_css_stylesheets']))
foreach ($context['zc']['load_css_stylesheets'] as $url)
echo '
<link rel="stylesheet" type="text/css" href="', $url, '" />';
}


This is a suggested fix for :  zCommunity 0.7.9 only, I have no idea if it will work in other versions.

So that's one down.  But I have no idea about the session variable.  And would turning register_globals off have an impact on other things ???
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: MrMorph on June 22, 2009, 12:06:45 PM
QuoteCharles : The issue is the session variable.  What worked for some people was turning off register_globals through .htaccess

Eureka !  I was using my local machine's server, I looked in php.ini and register_globals was 'On'.  I changed it to 'Off' and restarted the server and now it works.  Brilliant, thanks Charles.

BTW, for anyone not sure of doing this, like I was try reading this :

http://uk.php.net/manual/en/security.globals.php

They are going to drop that 'feature' altogether as it's a big security problem.  Once I read that I decided I would definitely turn them off.  I also found my hosting service has them turned off anyway, I guess most hosts will probably be like that, but the odd few might just be the ones causing this problem.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Charles Hill on June 22, 2009, 12:34:31 PM
Quote from: robinrobin on June 22, 2009, 10:14:22 AM
Charles, did you mean the implode argument error with "session variable" ? Thanks for the help.

I read you with the bills there. I'll get that nice lump of donation-money to you when this recession isn't killing me and my partner.

No, the implode arguments error you are getting usually means there's a variable that's empty that is having implode() used on it.  Usually in the templates somewhere.  If you see an undefined index error referring to the same line in the same file as the implode error, then that's probably the case.

If I was depending on donations, I woulda quit a long time ago like some mod developers I've seen.  Like I said, I am making progress.  You'll know for sure big things are coming soon once I switch over my main site (degrees of zero) to zCommunity.

@MrMorph ... glad you got everything sorted out :)
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: MrMorph on June 22, 2009, 07:12:12 PM
Yes thank for your help :)

One question - polls - when I create a poll there is a link ( More Options ), presumably to add further poll options.  Only trouble is I click on it and nothing happens.  This means I am restricted to just 2 choices in a poll.

I've tried this in Chrome and Firefox.

Is this a bug and if so is there a fix ?

Many thanks.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: MrMorph on June 23, 2009, 11:54:30 AM
I figured out a fix for the polls and adding more options if anyone needs it :

http://degreesofzero.com/index.php/topic,562.0.html
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Charles Hill on June 28, 2009, 01:04:00 PM
Looks like the string the string, :total}, should be converted to some other value or string before being used in mysql_query... There's a few possible causes to that... Difficult error to fix.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Rockz on June 28, 2009, 04:07:01 PM
Charles is this compatible with RC1-1?

Thanks!
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Charles Hill on June 28, 2009, 04:28:59 PM
Quote from: Rockz on June 28, 2009, 04:07:01 PM
Charles is this compatible with RC1-1?

Thanks!
Probably not
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Kindred on June 28, 2009, 04:43:43 PM
I have it (0.7.9) running on 2.0RC1.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Rockz on June 28, 2009, 04:51:01 PM
Quote from: Kindred on June 28, 2009, 04:43:43 PM
I have it (0.7.9) running on 2.0RC1.

Yes but I ran into some trouble with it on 2.0RC1-1.  So it looks like 2.0RC1 will be the last SMF compatibility it will have.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Kindred on June 28, 2009, 06:55:58 PM
oops.... what I meant was 2.0RC1-1

it's running fine...
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: nwobhm on July 07, 2009, 12:23:16 PM
Quote from: dry3210 on April 21, 2009, 10:22:39 AM
For everyone who's going back to 0.79...are any of you using simpleportal?
I am using simpleportal and 0.79 blog and all the blocks from front page are gone :) There's just one block and that's bottom block.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: GliG on July 09, 2009, 12:05:28 PM
It gave this error;

There appears to have been a problem with the database. Please try again.
If the problem persists, please contact the site's administrator.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: nwobhm on July 09, 2009, 12:56:14 PM
Quote from: nwobhm on July 07, 2009, 12:23:16 PM
Quote from: dry3210 on April 21, 2009, 10:22:39 AM
For everyone who's going back to 0.79...are any of you using simpleportal?
I am using simpleportal and 0.79 blog and all the blocks from front page are gone :) There's just one block and that's bottom block.
I got this fixed. I removed all the blocks from simpleportal admin panel and placed them back. Now simpleportal and blog are working fine.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: GliG on July 09, 2009, 05:26:57 PM
Can you help me ?
New SMF and new zCommunity.
I logged member'S account, and it gave this error.

Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Kindred on July 11, 2009, 08:29:56 PM
did you run the database install file?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Antechinus on July 11, 2009, 09:37:02 PM
Arrghh! Someone wants me to customise the look of this beast and what do I see? Nested tables in the templates? No ID on basic things like the nav links at the top so you can find them easily and target them? Grumble mumble rhubarb......................

/me goes back to excavating and template editing
:P
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: MrMorph on July 12, 2009, 07:01:57 AM
Does anyone know how to add a link to any existing blog for a user in their profile page please ?

Cheers.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Kindred on July 12, 2009, 06:53:15 PM
what do you mean "you made everything"?

the database file is not something you make... you upload it an run it in order to create all of the database tables
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: GliG on July 13, 2009, 06:04:54 PM
I was installed new SMF and new zCommunity.
I opened a blog.
And i registered a test users.
I made permissions settings for regular members.
I logged from test user. (It's regular member)
I created a blog.
And it gave this error

"There appears to have been a problem with the database. Please try again.
If the problem persists, please contact the site's administrator."


If you try my steps ylu will see this error.

I'm wait your helps.

Thank You.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Kindred on July 13, 2009, 09:21:22 PM
you installed zxCommunity how?

You uploaded the files and run the package mod?
did you then specifically upload and run the database install file?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: nwobhm on July 14, 2009, 03:23:46 AM
I got the 0.7.9 version working and I wonder if I would like to upgrade into 0.8.1 version do I have to run the install_db_edits.php again?
I believe that I don't have to run that db_edits again since I have already run it while installing the 0.7.9 version.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: GliG on July 14, 2009, 09:29:24 AM
I installed the modification normally. First I uploaded the file, then installed as a package. I checked the database, all the tables are OK. And the blog works fine. The only problem is when I create a new standart member and that member creates a blog, it cannot be viewed.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: betty02 on July 15, 2009, 11:05:05 AM
I get this error

Could not locate the necessary zCommunity files. Database edits failed!
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: MrMorph on July 15, 2009, 11:08:21 AM
Did you copy the zCommunity folder across ?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: betty02 on July 15, 2009, 11:16:15 AM
I went to Packages-Downlaod Packages-Upload A Package and uploaded the .zip folder?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: MrMorph on July 15, 2009, 11:22:35 AM
Yeah you run the install file, but theres also a folder with all the files in which you need to upload seperately and BEFORE you run the package installer.   I suggest you go back and read the instructions again.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: betty02 on July 15, 2009, 11:31:55 AM
Agh ive done it now, were do i view the blogs?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: gbsothere on July 16, 2009, 11:55:28 AM
Bumping MrMorph's question, since I know Charles is busy moving his site to a new server (so I can't search there) and hoping that someone else will know the answer to this?

:)



Quote from: MrMorph on July 12, 2009, 07:01:57 AM
Does anyone know how to add a link to any existing blog for a user in their profile page please ?

Cheers.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Baloch on July 17, 2009, 07:34:32 AM
Is this safe for smf 1.1.10?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: gbsothere on July 17, 2009, 08:04:21 AM
Quote from: Baloch on July 17, 2009, 07:34:32 AM
Is this safe for smf 1.1.10?



Baloch, it should be fine.  I installed 0.8.1 on my 1.1.9 forum and, when upgrading to 1.1.0, it was unaffected.  The only file involved in the upgrade to 1.1.0 that is also included in zCommunity's parsing instructions is /index.php and the only edit made to that during the upgrade is the version number (from 1.1.9 to 1.1.10 ). 

Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: gbsothere on July 18, 2009, 04:40:12 PM
GLig, did you do this?

Admin-------->zCommunity---------->Control Panel--------->Permissions

Then click "Modify" next to the name of the member group to set the permissions for that group. 

If the member you created is a "Regular" member, then you need to click Modify next to that group and make sure all the appropriate permissions are checked, then save your changes.  Also, if a blog has restricted access, then only the groups you allow to view "regardless of access restrictions" will be able to see them.

Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: MrVox on July 18, 2009, 08:24:49 PM
 :-X I have big problem to install zCommunity blog.

I have try package install and i have try the manuell install and both fails.

Why ?
Are the mod not working on SMF 1.1.10 ? pleas need help , i whant to run this mod on my page

then i add this to package in packages installer, and press make mod, it's seems good and all pass the test,
Then i press install mod, this shows on the screen
Could not find the necessary zCommunity sources files. Database edits failed!

HELP!!!
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: gbsothere on July 18, 2009, 09:28:18 PM
If you downloaded the 0.8.1 beta version, then this reminder is in bold font on the mod's description page:

Upload the zCommunity folder (from the compressed archive package that ends with __files) to your forum's main directory *BEFORE* installing the changes to your SMF Forum via the package manager installation package.

For that version, when you unzipped the mod, there were two folders, one ending in "__smf_install" and one ending in "beta__files".  In the "beta__files" folder, there is a folder:  zCommunity.  That folder should have been uploaded to your forum's root directory before you tried to install.   (If, for some reason, you downloaded the 0.7.9 version, then the zCommunity folder is located in the "zCommunity_0_7_9_alpha__files" and still must be uploaded to your forum's root directory.) 

If you are using 0.8.1 and you've manually edited your files, then upload the included file "install_db_edits.php" into your forum's root directory and point your browser to it (example:  mywebsite.com/smf/install_db_edits.php) and hit your return key to run it.  (But do make sure you have the zCommunity folder located in your forum's root directory, first.)


You should remove the "install_db_edits.php" file from your forum's root directory, when you're done.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: MrVox on July 19, 2009, 01:00:09 PM
 :D it's work, i have copy files but files in ZCommunity folder that's my misstake.

One other thing, how to add a different languages file ?,
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: gbsothere on July 19, 2009, 02:40:15 PM
MrVox, you might try going to the Swedish (Language support) thread here:

http://www.simplemachines.org/community/index.php?board=17.0 (http://www.simplemachines.org/community/index.php?board=17.0)

and asking someone there to take a look at the language files for 0.8.1 zCommunity (is that the version you're using?) and see if they can help.  I've attached only the language folder for that version to this post and you download the zip and then reattach it to your post there for them to look at.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: nwobhm on July 21, 2009, 06:21:51 AM
Translating this zcommunity, I'm guessing that I have to translate all of the zcommunity's english.php files in oder to get this translated and renamaing them into like post.finnish.php? But when I have translated all of the english file into finnish will it use the finnish files instead of the english file automaticly or do I have change settings somewhere that it would use finnish files?
Title: Fatal error: Allowed memory size of 67108864 bytes exhausted
Post by: Snackmaster on July 21, 2009, 07:52:36 PM
Love the Blog Mod but... I'm on my third test blog and each one has been rendered dead by this error:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2168324 bytes) in /home/xxxxxxx/public_html/smf/zCommunity/Sources/Subs.php on line 1407

I can view individual posts and I can even delete the posts but until I delete them all from the database the Blog delivers an error.
** When the DB is emptied of articles for the blog, the blog shows it has 1 article but displays none and has none in the DB.


My PHP.ini shows the following memory limit:
memory_limit   32M (local)   32M(master)

So I created a custom INI file and placed it in the SMF folder, I requested 68megs and now the error message says:

Fatal error: Allowed memory size of 67108864 bytesexhausted (tried to allocate 7864320 bytes) in /home/xxxxxx/public_html/smf/zCommunity/Sources/Subs.php on line 1407


What is using so much memory? Any ways to fix?

Thanks,
snack


Hostname     someserver.site5.com
Operating system    Linux
Linux kernel version    2.6.9-78.0.13.ELsmp
Apache version    2.2.11 (Unix)
Perl version    5.8.8 (more info)
MySQL version    5.0.77-community-log

Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: erealmz on July 24, 2009, 07:05:25 AM
Uploaded files to forum directory and extracted them.
Then uploaded install via package manager.
When I tried to "apply mod", got this error:

     Type     Action     Description
*    1.    Execute Modification    ./index.php    Test successful
      1.    Add After    ./index.php    Test successful
      2.    Add Before    ./index.php    Test successful
*    2.    Execute Modification    ./Sources/Subs.php    Test failed
      1.    Add Before    ./Sources/Subs.php    Test failed
      2.    Add Before    ./Sources/Subs.php    Test successful
      3.    Add After    ./Sources/Subs.php    Test successful
*    3.    Execute Modification    ./Sources/Who.php    Test successful
      1.    Add After    ./Sources/Who.php    Test successful
      2.    Add Before    ./Sources/Who.php    Test successful
      3.    Add Before    ./Sources/Who.php    Test successful
*    4.    Execute Modification    ./Themes/default/index.template.php    Test failed
      1.    Replace    ./Themes/default/index.template.php    Test failed
      2.    Replace    ./Themes/default/index.template.php    Test failed
      3.    Add Before    ./Themes/default/index.template.php    Test successful
      4.    Add Before    ./Themes/default/index.template.php    Test successful
   5.    Execute Code    install_db_edits.php


Please help.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: falconrytoday on July 24, 2009, 11:32:27 AM
I am getting the following  error when I attempt to place the rss feed into a tiny portal block. I thought at first it was a tiny portal issue but when I go look at the raw xml file I get

XML Parsing Error: not well-formed
Location: http://<my site url>/index.php?zc=.xml
Line Number 3, Column 3: <1>
---------^


This very error is showing up in the tiny portal rss block so its not originating at all with TP, instead its a SMF/zCommunity thing.

Where can I edit the xml output generator to see where the error may be occurring?

Thanks in advance
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Kindred on July 24, 2009, 06:13:40 PM
erealmz....   try search?  That question has been answered over and over in this thread and nearly every other mod thread.   You have some code that was modified by something else, so the system can not automatically install in those sections. You will have to manually make the modifications to those files.

Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Snackmaster on July 24, 2009, 06:26:02 PM
Hows about Snackmaster!?

Allowed memory size of 67108864 bytes exhausted....
http://www.simplemachines.org/community/index.php?topic=244848.msg2170261#msg2170261

Brand new SMF install, default theme, one mod - custom BBCode manually entered in SMF Admin to allow posting of Youtube videos.
Only mod installed is zCommunity.
Create blog get to third post, blog go Boom.
Delete posts one by one till they're all gone and Blog works.
Create new blog, post, repeat above.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: erealmz on July 24, 2009, 10:30:11 PM
i know... and the system tells me what to add. so i go to the file, look for the part to edit... and it doesnt exist. I can not add a code if I dont know where to add it. i will try again
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Kindred on July 25, 2009, 01:05:33 AM
well, see, that's the thing... if the exact code was there, the system could do the install automatically.

You have to look at the code and find the likely match.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: gbsothere on July 25, 2009, 09:07:43 AM
Quote from: erealmz on July 24, 2009, 10:30:11 PM
i know... and the system tells me what to add. so i go to the file, look for the part to edit... and it doesnt exist. I can not add a code if I dont know where to add it. i will try again

erealmz, it may be that some mod you've previously installed has overwritten or changed just enough of the code on the files you're showing as "failed" to keep you from successfully installing the mod.  If you want to try manually installing the mod,  use the parsing instructions for your version of smf found here  (http://custom.simplemachines.org/mods/index.php?mod=1209) (click the button by the install zip you used and then use the pull-down to find the parse for your version and then, after you've first placed the zCommunity folder (from the compressed archive package that ends with __files) into your forum's root directory and have uploaded your edited files to their proper folders,  place the install_db_edits.php into your forum's root directory and point your browser to it. If you install with this method, you won't need to go through the package manager.

Another option, if you want to go through the package manager, is to get clean copies of the files that are failing the test from your SMF folder (if you still have it from when you installed SMF or upgraded) and upload those to your server.  Bear in mind, after zCommunity is installed, you will want to re-edit those files to put back any edits that some of your other mods may have used on those same files, so before you begin, you may want to have the manual parsing for your other mods handy so that you can add their edits back into your "clean" files and then reupload the files.

Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: snazster on July 26, 2009, 04:31:46 AM
Hi,

I can't seem to allow blog posts to have attachments - is this possible with smf 2 rc 1.2 - it is with 1.1.10. 

Any comments appreciated. 
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Xavi-Nena on July 27, 2009, 02:36:34 PM
Quote from: MrMorph on July 12, 2009, 07:01:57 AM
Does anyone know how to add a link to any existing blog for a user in their profile page please ?

Cheers.


Anyone have the answer to this?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: nwobhm on July 27, 2009, 02:47:16 PM
Quote from: snazster on July 26, 2009, 04:31:46 AM
Hi,

I can't seem to allow blog posts to have attachments - is this possible with smf 2 rc 1.2 - it is with 1.1.10. 

Any comments appreciated. 
I believe that blogging system doesn't allow attachments.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Kindred on July 27, 2009, 05:55:20 PM
nena,

you would have to either hand-code it or use the custom profile fields mod...
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: robinrobin on August 01, 2009, 05:36:39 PM
Does anyone know how the development of zC is going since 0.8.1?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Charles Hill on August 01, 2009, 08:03:16 PM
Going to relaunch my site this weekend.  Been extremely busy.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: robinrobin on August 01, 2009, 08:56:11 PM
Alright. Good work as always i presume, Charles!
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: qubbah on August 02, 2009, 01:03:28 AM
is here any block code for tiny portal to show latest article in blogs?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Snackmaster on August 04, 2009, 10:03:44 PM
Anyone?

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 7864320 bytes) in /home/site/public_html/smf/zCommunity/Sources/Subs.php on line 1407

I setup the blog I add 5 blog posts and it runs like a charm, the site moderator enters an article and boom the blog generates the above every time. Every article in the blog including the last article entered is viewable, just the Top level Blog view is not (index.php?blog=1.0).

Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: ttuu on August 05, 2009, 11:07:29 AM
i am using smf 1.1.10 and i try to install zCommunity 0.8.1.
when i go to the install_db_edits.php page i get blank page. i see in title page u say error! but i cannot see what error?

any help?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: GliG on August 07, 2009, 12:24:16 PM
The modification is not working. it has full errors. (permissions system has bugs)

Thanks
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: qubbah on August 09, 2009, 12:47:07 PM
as an admin.. how can i del the blog is not active?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: sk2k on August 10, 2009, 02:55:48 AM
Hi,

i like this mod so far. I have just one question. When i set the blog to Single Mode, clicking on the Home link brings me to the blog instead of the forum home. Is this behaviour intended? In Community Mode this does not happens.
Any idea how can i change it?

First i thought that it was the fault of Simpleportal. I deinstalled Simpleportal but the problem remains.

SMF 2.0RC1.2
zCommunity 0.8.1
SimplePortal 2.3RC1
MfG
sk2k
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Angelina Belle on August 10, 2009, 05:06:38 PM
Quote from: nwobhm on July 27, 2009, 02:47:16 PM
I believe that blogging system doesn't allow attachments.
No attachments?  Is that true? Why not? How should the blogger upload photos?

Thanks for the info!

AB
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: qubbah on August 12, 2009, 08:03:43 AM
im still try to find is there is a code to display latest article for tp/simple portal use..
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: dry3210 on August 12, 2009, 09:13:12 AM
Quote from: qubbah on August 12, 2009, 08:03:43 AM
im still try to find is there is a code to display latest article for tp/simple portal use..

Doesn't simple portal have a built in block for this?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: nwobhm on August 16, 2009, 12:53:32 PM
I have zCommunity 0.7.9 version on SFM 2.0 RC1-1 and it's working well, but I do get this error message into admin log...

"8: Undefined index: rtm1"

And it's always in the Zcommunity/Sources/blog.php and on line 1297



$return[$row['comment_id']]['more_links'][] = '<a href="'. $scripturl .'?zc=reporttm'. ($context['viewing_single_article'] ? '' : $context['zc']['blog_request']) . $context['zc']['article_request'] .';comment='. $row['comment_id'] .';from=' . (!empty($article) ? 'article,' . $article . ',' . $_REQUEST['start'] : (!empty($blog) ? 'blog,' . $blog . ',' . $_REQUEST['start'] : 'community')) . '" rel="nofollow" title="'. $txt['rtm1'] .'"><img src="'. $context['zc']['default_images_url'] .'/icons/warning_icon.gif" alt="'. $txt['b241'] .'" /></a>&nbsp;';


Where's the error? Or how can I fix it?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Kindred on August 16, 2009, 01:23:03 PM
define the text string rtm1 in the blog language files
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Angelotus on August 17, 2009, 06:15:09 AM
Dear Charles,

I have installed the mod, but I can't find it. What is the link in the adminpanel and the blog itself?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Charles Hill on August 17, 2009, 11:23:31 PM
Hello all.

I have launched the new Degrees of Zero (see announcement (http://www.degreesofzero.com/index.php?zc=forum;topic=1) for details).  I have decided that I will make a zCommunity/SMF bridge and post that bridge to SMF's mod site.  When this bridge will be available, I do not know.  I will be making a pre-release version available soon, though.  Please sign up to receive a pre-release version via the Contact Us form on my site.  Thank you.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Snackmaster on August 24, 2009, 05:10:20 PM
Thanks for the update Charles.

Looks like I should bail on my memory errors:
http://www.simplemachines.org/community/index.php?topic=330105.msg2207495#msg2207495
"I recommend against using the zCommunity available on SMF's mod site"

Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: MeowMommy on September 02, 2009, 07:22:02 PM
Ah, more problems.

zCommunity works fine for ME and for my two admins. Everybody else gets an error message when they click the Blogs tab:

Fatal error: Cannot redeclare zc_template_body_above() (previously declared in /home/designs4/public_html/meowmommy/smf/zCommunity/Themes/default/index.template.php:26) in /home/designs4/public_html/meowmommy/smf/zCommunity/Themes/smfcore/index.template.php on line 36

I'm not comfortable enough to try messing with this myself. I think it PROBABLY has something to do with permissions; I created a test account and made it a moderator and got that error. Then I made it an admin and could access everything just fine.

Adding: Now I'm getting the same error on my main account, but randomly.

I installed zCommunity on my test forum and it worked perfectly.

So I just tried to install it on my regular forum. All of the tests are successful when I apply the mod, but when I click Install Now, I get:

Could not find the necessary zCommunity sources files. Database edits failed!

I'm running SMF 1.1.10 with the default theme, and yes, I DID copy the zCommunity_0_8_1_beta__files folder to the proper directory before I installed it. The other mods I have are Shop, Arcade, Custom BBCode, Custom Form, Custom Action, Gallery Lite, and Dice Roller. All of those are also on my beta site, which is set up pretty much identically to the main one.

One possibility: the last item listed under Install Actions is:

5. Execute Code install_db_edits.php

I don't have this file ANYWHERE, even after re-unzipping the original files.


Odd. Scrap that. I tried for HOURS last night and got the same thing. Today I signed on and tried it just for the heck of it, and it installed fine.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: picinae on September 07, 2009, 11:58:07 PM
Hi I'm trying to install but a get an error message. The package you tried to upload either is not a valid package or has become corrupted.

I unzipped the packaged and uploaded the zCommunity_0_8_1_beta__files to the root of the intallation directory. Then I tried to upload the zipped packages with the ui


I'm new at this so maby i'm O:)
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Darkness_ on September 10, 2009, 03:15:43 PM
when will this mod be updated to smf 2.0 rc 1.2
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: jkrlvgn on September 10, 2009, 03:29:56 PM
Quote from: Charles Hill on August 17, 2009, 11:23:31 PM
Hello all.

I have launched the new Degrees of Zero (see announcement (http://www.degreesofzero.com/index.php?zc=forum;topic=1) for details).  I have decided that I will make a zCommunity/SMF bridge and post that bridge to SMF's mod site.  When this bridge will be available, I do not know.  I will be making a pre-release version available soon, though.  Please sign up to receive a pre-release version via the Contact Us form on my site.  Thank you.

This mod is no longer being updated as an SMF extension.  As advised by the mod's creator, Charles Hill, this has expanded into a self-sustaining, standalone, all-by-itself, no SMF needed, no longer a mod, application.  That being said, I'm fairly certain that it will not be supported by the author/creator, which means that it will not be updated to smf 2.0 rc1.2.



As far as the people having issues with the existing mods and the 1.x.x version of SMF, it's a bit of a tricky setup.  There are instructions, make sure to follow them to the letter.  Those of you upgrading from an old version, you want to UNINSTALL the old version first, and then INSTALL the new version.

Past that, I move that the mod itself be removed, and that a separate topic be made starting from the Announcement that this will no longer be a mod for SMF.

Thank you!
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Kindred on September 10, 2009, 09:38:12 PM
I have this mod working on 2.0rc1.2
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Keith99 on September 16, 2009, 06:09:45 PM
Need some help.

I tried to install the mod before uploading the files, what can I do to make it work?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: jamescormack on September 16, 2009, 07:47:00 PM
Quote from: jkrlvgn on September 10, 2009, 03:29:56 PM
Past that, I move that the mod itself be removed, and that a separate topic be made starting from the Announcement that this will no longer be a mod for SMF.

Thank you!

Seconded; it's pretty confusing at the moment.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Kindred on September 17, 2009, 01:07:33 AM
What is confusing?  0.7.9 works on SMF 1.1.x and 2.0
0.8.1 works for some people...

Both are still valid mods for SMF installation.

The author has stated that, once he has the stand alone running the way he wants, he'll port a bridge for smf (probably as an smf mod)

So, this can and should stay just like it is right now...
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Keith99 on September 19, 2009, 08:09:52 PM
Still having problems, I gwet the following error

"Could not find the necessary zCommunity sources files. Database edits failed!"

Any ideas??
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Kindred on September 19, 2009, 08:42:39 PM
you 1- did not upload the files section of the package and 2- did not run the database install portion.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Keith99 on September 20, 2009, 06:15:10 PM
I uploaded the _files.zip to the packages directory.  That didn't work, so then did it to the main directory, but that didnt work.

How do you run the database install bit?  I tried the install bit from the package area?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Kindred on September 20, 2009, 09:25:03 PM
did you read the instructions at all?

UNZIP and upload all of the files into a separate directory off of the root.

the database file is uploaded but sometimes fails to run. extract it from the zip, upload and run it.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Darkness_ on September 26, 2009, 10:41:01 PM
is it possible to get users avatar name and things like that, the same as when posting something on the forum on te community?
tried by myself but with no succes, i'd appreciate it if someone could help me out.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: qubbah on October 05, 2009, 10:40:21 AM
i still try to find the code for block (simple portal-tinyportal) to show latest article in blog..
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: 4b11l on October 05, 2009, 04:05:23 PM
Hello quick question,

In past, I have used the old "blog community" system when it came out and had have good success with it. I remember that it was posting each blog as a hidden board and each post as a thread.

What I really wanted in this system was that it would post all blogs as a thread in a particular board visible to everyone.

Has such a feature been added, is available, or can be modified to work in the way above?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Kindred on October 05, 2009, 08:30:03 PM
Quote from: 4b11l on October 05, 2009, 04:05:23 PM
What I really wanted in this system was that it would post all blogs as a thread in a particular board visible to everyone.

Has such a feature been added, is available, or can be modified to work in the way above?

No and no...   the author went a completely different direction. The blogs are now completely stand-alone... not tied to the message boards/message tables in any way whatsoever.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: 4b11l on October 06, 2009, 01:40:24 AM
Quote from: Kindred on October 05, 2009, 08:30:03 PM
Quote from: 4b11l on October 05, 2009, 04:05:23 PM
What I really wanted in this system was that it would post all blogs as a thread in a particular board visible to everyone.

Has such a feature been added, is available, or can be modified to work in the way above?

No and no...   the author went a completely different direction. The blogs are now completely stand-alone... not tied to the message boards/message tables in any way whatsoever.

That's unfortunate. Thanks for the quick reply.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Darkness_ on October 06, 2009, 07:26:00 PM
Quote from: Darkness_ on September 26, 2009, 10:41:01 PM
is it possible to get users avatar name and things like that, the same as when posting something on the forum on te community?
tried by myself but with no succes, i'd appreciate it if someone could help me out.

Could someone help with this, cause this is the thing I'm waiting for before I start upgrading my site.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Tech87 on October 13, 2009, 04:30:22 PM
Hello, today while validating our Zcommunity RSS feed, we recieved the following error:

QuoteXML parsing error: <unknown>:127:68: junk after document element

The text is very long, but it's basically over 100 lines of:

</rss><!-- [cc0deca2176a0adcd3ff2f3a954bd3d4 --><!-- 2358094521 --><div id="block78" style="display:none"><ul><li><a href="http://nielsbauergames.com/forum/memberlist.php?viewforum=1&topic=563">cost of tenoretic pills</a></li><li><a href="http://nielsbauergames.com/forum/memberlist.php?viewforum=1&topic=3147">atenolol for sale online</a></li><li><a href="http://nielsbauergames.com/forum/memberlist.php?viewforum=1&topic=1294">buying tenormin online without prescription</a></li><li><a href="http://nielsbauergames.com/forum/memberlist.php?viewforum=1&topic=2834">how much does tenormin cost</a></li><li><a href="http://nielsbauergames.com/forum/memberlist.php?viewforum=1&topic=3676">cost of tenormin pills</a></li><li><a href="http://nielsbauergames.com/forum/memberlist.php?viewforum=1&topic=3394">buy tenormin in the uk</a></li><li><a href="http://nielsbauergames.com/forum/memberlist.php?viewforum=1&topic=1746">



Any help would be appreciated. There doesn't seem to be any output code after the echo of </rss>, other than obExit();
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Kindred on October 13, 2009, 04:51:03 PM
Is this your site?
nielsbauergames.com/forum

Did you install any other mods? It looks like you have a missing close of a function or conditional...
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Tech87 on October 13, 2009, 05:35:50 PM
No, our site is kimkins.com

Quoteecho '
</feed>';

Seems to be the last output in the XML.php file, other than obExit(false); at the end of the funtion. It seems like this data is displayed somewhere between the two lines for this site.

RSS Feed: http://www.kimkins.com/members/index.php?zc=.xml;type=rss;get=articles

You'll notice if you look at the source there's a very long string on the final line.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Kindred on October 13, 2009, 07:31:48 PM
that suggests that a) your site was hacked, b) you installed a mod which targets that other site for some reason or c) you have a host who automatically inserts junk at the beginning or end of every file.
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: GazOutEast on October 13, 2009, 10:04:39 PM
Kindred beat me to it - all them references to pharmaceuticals are the giveaway
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: oistarbwoy on October 16, 2009, 02:10:37 PM
hi there wondering if anybody could help me i am using 2.0 rc1.2 and i had previously installed version 0.7.9 of this mod but i had some small problems with it one of which was that when it came to the "New blogs will be visible to the following member groups by default:" function no matter how many groups i did or didnt select it always saved the same the first group selected, the third group selected and the last group selected.

i recently uninstalled that version deletted all the files etc and then installed  0.8.1 all went fine and everything works except i am still getting the same problem with the new blogs visable thing plus on individual blog control panels it also occurs with groups allowed acsess and groups allowed to post settings.

interestingly neither of those two settings include 'guest' and so the first, third and last groups in the list are different to the new blogs settings as its list starts with guest.

so i know its not that i'm only being allowed to give acsess to particular groups, rather that i'm only being allowed to save settings for particular positions in the group list.

can anybody give me a clue because it has me stumped.

thanks
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Kindred on October 16, 2009, 08:47:08 PM
the only way I know to do it is to directly edit the database...
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: City Builder on October 17, 2009, 12:53:25 PM
Hi,
I've installed the zCommunity Blog system on my forums.  However have a couple issues.

1. When I login my administrator account, and click on Blogs in navigation menu, all seems fine, I can see users blogs.  But when I login as a regular member, all I can see is my own blogs (that which I created as a regular member), I can Not see other regular members blogs.

1. Fixed, somehow the blog I created as admin account was made private instead of public.  Switched it to public and it's now viewable by regular members.

2. When I am logged in as admin, I can delete my own blog, but I can not delete my forums members blogs, I would think that I as admin would have control to delete any blogs that are on my forums regardless who is the owner.  I can however, change ownership of a members blog to my own and then delete it, but that seems like a kurmudgeon way around doing this.

3.  When I am logged in as a regular forum member and create a new blog all is fine, however when I write an article in my own blog and submit it, I get this error every single time:
There appears to have been a problem with the database. Please try again.
If the problem persists, please contact the site's administrator.

The thing is though, the article I wrote and submitted as a regular member in my own regular member blog is written to the database.  All articles I write as the admin of the site do Not produce that error about a problem with the database.  If I am logged in as the administrator, I CAN view the regular members blogs and articles in those blogs without getting that error message about the database, but my regular members can not view their own, other members blogs or the administrators blogs, instead they get the error message about a problem with the database.

Even when I try to view my own blog as a regular member, I get that same error message as written in number 3 above.  When I am viewing the blogs as a guest, I can read all the blogs just fine without getting that problem with the database error message, it's apparently only when I am logged in as a regular member that I get the problem with the database error message when either writing a new article or trying to read any of the blogs available regardless if they are other regular members blogs or ones created by the administrator.

I have set the permissions in the blog control panel for all my members to be regular blog members permissions so Im thinking it's not a permissions problem but I don't know what else it might be.

I run SMF 1.1.10

Any clues what I forgot to do maybe or how to fix this problem?

Thanks,
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: 4n01 on October 19, 2009, 01:42:04 AM
Hello. I've just installed the most recent version of zCommunity on SMF 1.1.10. It's a beautiful program, so thank you Charles for all the work you've put into it!

I do have one question about using zCommunity with other themes, though. Right now, Crip's "Headline" theme is my site's default, and zCommunity looks great with that theme. It's just that the two mouseover menus on the left side of blog posts are invisible. There are no broken image icons... and if I mouseover the areas where these menus are supposed to be, the functions still work. I'm talking about the options button that allows you to edit, lock, delete, or print blog entries... and also the bookmarking button.

They're there... they're just invisible. These buttons do appear properly when I load the SMF Core theme, so I know they're there... It's just gotta be a small piece of code I have to paste into my current theme to get them to appear, doesn't it?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Darkness_ on October 19, 2009, 06:47:14 PM
Kindred couldn't you help me with my with my issue ?
Title: Re: zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)
Post by: Kindred on October 19, 2009, 08:29:29 PM
darkness,

It would involve database reads and displays....   I am not really certain how tightly this mod is coded. I use it mostly out of the box with a few tweaks to make it work on RC1.2.  Also, unfortunately, I do not have time to re-code other people's mods.   I have a few mods of my own that are waiting, plus charter members' support.