News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

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

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

Previous topic - Next topic

Charles Hill

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.

runebergen



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 :)


Charles Hill

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.

runebergen


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

Charles Hill

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.

locau

Since blog community is gone any ideia when to expect a stable release ?

Kindred

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?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

PerryM

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
Perry

Charles Hill

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)

jayman2

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.

PerryM

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.
Perry

Charles Hill

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?

PerryM

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.
Perry

Kindred

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
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Charles Hill

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.

Kindred

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.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Charles Hill

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.

Kindred

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. 
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

PerryM

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.
Perry

Charles Hill

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.

Advertisement: