News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

Discussbot 4.2 beta 1 released 10/5/06

Started by chadness, October 06, 2006, 02:28:41 AM

Previous topic - Next topic

laser

GOT IT  :) :) :) :) :)

On the real site that I'm setting up, I'm running Joomla 1.0.11 which has a bug where you can't setup the mambot properly (Fix : http://forum.joomla.org/index.php/topic,89866.msg455550.html#msg455550)

Actually the real site is still using RC3 so I'm upgrading both Joomla & SMF tomorrow.

I think I need to uninstall the Bridge first, is that correct ?

Kindred

no, there are no smf code changes in either the Orstio bridge or the discussbot...   no need to uninstall the bridge if you are upgrading either smf or joomla.
Сл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."

chadness

Quote from: myuption on January 15, 2007, 12:00:12 PM
Am i doing something wrong? When i installed discuss bot in my test server... this is in PC, messages show smilies in joomla, but when online in my website smilies are only text.

Here an example. http://www.anizeen.com/index.php?option=com_content&task=view&id=2752&Itemid=2

Thought i might done something wrong when editing CSS, but i tested with original file and it looks the same.

Haven't seen if it's the same with quotes, but they also look strange in joomla.
This may seem silly, but did you remember to turn this feature on in the discussbot's configuration?

chadness

There are a number of things the discussbot strips out of posts, but it's not at all complete.  I'll look at adding span tags in.

chadness

#84
Quote from: GabberMan on January 25, 2007, 06:00:34 AM
Quote from: maxigs on October 30, 2006, 10:10:15 AM
Is there any process on the problem with special chars i reported? i would take a look by myself but i'm way not enought into the joomla/smf code yet so i can find any problem.

I would really appreciate it ;-)

I have the same problem, my forum is in Spanish, and if I write articles in joomla with special chars,  the copy at the forum are uncomplete.

Sorry for my bad english :p
I need to set up a test site to try to work through this, and haven't had the time. Hopefully soon?

To anyone experiencing this problem: Please let me know what sort of language changes you made when you encountered this.  Just loading another language pack, or using Joomfish or any other details?  Did you change the DB collation to UTF-8 or anything like that?  I just want to make sure I can duplicate this.

chadness

Quote from: laser on January 27, 2007, 08:47:21 AM
GOT IT  :) :) :) :) :)

On the real site that I'm setting up, I'm running Joomla 1.0.11 which has a bug where you can't setup the mambot properly (Fix : http://forum.joomla.org/index.php/topic,89866.msg455550.html#msg455550)

Actually the real site is still using RC3 so I'm upgrading both Joomla & SMF tomorrow.

I think I need to uninstall the Bridge first, is that correct ?
Sorry I didn't get back to you sooner.  I'll add a note about that to the download page.

chadness

I finally got an opportunity to reproduce the problem with separate databases.  While I'm working on a fix, here's a workaround.

You already are granting all of the privileges for your Joomla user to your SMF database, and vice versa.  Well, one easy way to make this work is to change your SMF config to use the Joomla database's username and password.  That way the same user is controlling both databases.  (Alternately, you could change your Joomla config to use the SMF database's username and password, but it's a little more complicated because you can't do that in Joomla's back end - you have to change the password in the configuration.php file.)

myuption

Quote from: chadness on February 12, 2007, 02:30:44 PM
Quote from: myuption on January 15, 2007, 12:00:12 PM
Am i doing something wrong? When i installed discuss bot in my test server... this is in PC, messages show smilies in joomla, but when online in my website smilies are only text.

Here an example. http://www.anizeen.com/index.php?option=com_content&task=view&id=2752&Itemid=2

Thought i might done something wrong when editing CSS, but i tested with original file and it looks the same.

Haven't seen if it's the same with quotes, but they also look strange in joomla.
This may seem silly, but did you remember to turn this feature on in the discussbot's configuration?
OMG! You know... i think if was using a previous version of the xml file, cause i was unable to see the Use SMF code tag... now it's fixed, thanks for answering.

chadness

Quote from: myuption on February 13, 2007, 10:10:51 PM
OMG! You know... i think if was using a previous version of the xml file, cause i was unable to see the Use SMF code tag... now it's fixed, thanks for answering.

I'm glad it was that easy.  :)

chadness

All right, i figured out the database problem, thanks to this post:)  Expect a "beta 2" version soon.

Still working on the special characters problem.  I have been able to reproduce it.

Orstio

Quote from: chadness on February 14, 2007, 10:53:01 PM
All right, i figured out the database problem, thanks to this post:)  Expect a "beta 2" version soon.

Still working on the special characters problem.  I have been able to reproduce it.


That isn't going to work in all cases.  In fact, it might just screw things up in most cases.  I didn't use mysql_query instead of $database->setQuery out of ignorance.  I did it because $database->setQuery doesn't work in all cases after switching to the SMF database and back for multiple database installations.  You also have to understand that in that topic, wedge states:

Quotewe're using a little hack in the database.php file to redirect all request to the users and core tables to the same one.

Which means it is not a stock Joomla installation.  As I have said before, the bridge is designed only to work with Joomla as downloaded from joomla.org.  You also need to understand that wedge is using a single database, and that code will work fine in a single database, but as I stated, not necessarily in a multiple database environment.

I'm not saying it won't work, but I am saying you'll need to test it under several different conditions to make sure.


chadness

I should have been clearer in what I meant.  In the discussbot, there are several points where it uses $database->setQuery instead of mysql_query when getting data from the SMF database.  Like you said, that can mess things up in a multiple database environment.  So, I rewrote those to use mysql_query instead.

The post I referenced actually just gave me a clue as to where to look, but I'm doing the opposite of what he asked for.  I should really say that Kindred's reply is what got me on the correct path.

It was really interesting that it would use the correct database if both Joomla and SMF used the same database username and password, but wouldn't if they didn't, even both users had complete access to each others' databases.  Being more of a hacker than a coder, I'm completely ignorant as to why that happens.

Chriss Cohn

Quote from: chadness on February 14, 2007, 10:53:01 PM
Expect a "beta 2" version soon.
And anything new about that?

Regards, Christian

chadness

I think I've worked through everything, but want to test it some more before a full release.  If you want to try it out, send me a PM with your email.

undoIT

Is the full release going to allow separate database users, or will both the Joomla and SMF database users need to be the same?

chadness

beta 2 will fix the two database and two users issue (well, theoretically).

mickyd2006

High Quality Low Cost CMS Installations - Just-Installs.com

SOHK: School Of Hard Knox - Hard Hitting Lessons In Life


I Wonder:

What Exactly Did The Man Who Invented The Drawing Board Go Back To?
Why Are Disasters Always Described As Great?
What Platform Was Windows Designed On?

chadness


mickyd2006

High Quality Low Cost CMS Installations - Just-Installs.com

SOHK: School Of Hard Knox - Hard Hitting Lessons In Life


I Wonder:

What Exactly Did The Man Who Invented The Drawing Board Go Back To?
Why Are Disasters Always Described As Great?
What Platform Was Windows Designed On?

Chriss Cohn

Please, before you release this new bot, just include the possibility to show the users Avatars, even in a smaller Version (around 50px?).
Regards, Christian

Advertisement: