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

auracounts

Mine says the package part 1 is corrupt. :/  Anyone else having this problem?

Could it be because I also have Tinyportal installed?

Charles Hill

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.

auracounts

Oh geez, that's what I get for not reading.  Thanks, I feel sufficiently humbled. ;)

User error.

haxial

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?

Charles Hill


haxial

thanks, but can it be activate using bbcode?

Charles Hill

Not at the moment... unless you have the lightbox integration mod installed on your forum.

haxial

so blog users cannot use lightbox using bbcode?

Charles Hill

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.

haxial

it would be great if you can guide me on how to make the changes to make lightbox works..thanks

Charles Hill

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.

LaughOften

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!!

Charles Hill

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


Afro

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?

Charles Hill

You'll hvae to remove $txt['b348'] from that file... it's on line 656.

Afro

#937
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']

Charles Hill

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.

Afro

ya, thanks, lol...i just found it after like an hour..and your reply coming at the same time..thanks anyway..

Advertisement: