Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Joomla Bridge Support => Topic started by: chadness on April 19, 2007, 05:35:59 PM

Title: Discussbot 4.2 beta 3 released 04/19/07
Post by: chadness on April 19, 2007, 05:35:59 PM
Not a lot of changes.  The most important is adding Mambo 4.6.1 compatibility!  This has only been lightly tested, so I'll be very interested to hear feedback.

For discussing your Joomla or Mambo content articles on designated SMF boards. These discussions can be displayed in the content article.

Install the same as any mambot, through the Administration mambot installer.

To upgrade from a previous version, the easiest way is to just upload the files in to your /mambots/content directory, overwriting the previous ones. Then go in to the mambot properties in Administration, and save the settings.

IMPORTANT - If running Joomla version 1.0.11 there is a known bug which prevents you from being able to configure mambots.  Click here for the fix (http://"http://forum.joomla.org/index.php/topic,89866.msg455550.html#msg455550").  Note that you must be logged in to the Joomla forums to be able to download the file.

From this version, beta 3:

Previous features added by chadness:
From 4.2 beta 2:

From 4.2 beta 1:

So far I've only tested this with Joomla 1.0.11, Mambo 4.6.1, SMF 1.1.2, and Orstio's bridge 1.1.6/7.  I would appreciate feedback from testing any other configurations.  This is an early beta - I wouldn't go throwing it on any important production sites!

Thanks!  And thanks to Skydig and Orstio for various fixes!

Download here:
http://www.technoadvice.com/remository/Download/Joomla-and-Mambo/SMF-Discussbot-version-4.2-beta-3/

The following code may need to go at the end of your Joomla template:
<?php 
ob_start
('output');
$buffer ob_get_contents();
ob_end_clean();
$buffer str_replace('<input type="hidden" name="sc" value="" />'
,'<input type=hidden name="sc" value="'.$sc.'">'$buffer);
echo 
$buffer;
?>
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: Aravot on April 19, 2007, 08:04:36 PM
Tested discussbot with FireFox 2.0.0.3, IE7 and Opera 9.2.8771 don't know if it is from the templates or the discussbot but in each browser had a different effect.

Have a look http://www.armeniancollegeofcalcutta.com/joomla
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: jorgen on April 20, 2007, 01:12:49 AM
Nice, but I find the stripping does not always work as expected:

Works fine here:
http://www.inventorforum.net/index.php?option=com_content&task=view&id=196&Itemid=1

But does not strip the quote here:
http://www.inventorforum.net/index.php?option=com_content&task=view&id=194&Itemid=1
http://www.inventorforum.net/index.php?option=com_content&task=view&id=195&Itemid=1
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: chadness on April 20, 2007, 10:13:29 AM
Yeah, it seems to have some problems especially when the article starts with an image.  I think this is going to take some tweaking.  :)
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: chadness on April 20, 2007, 10:14:42 AM
Quote from: Aravot on April 19, 2007, 08:04:36 PM
Tested discussbot with FireFox 2.0.0.3, IE7 and Opera 9.2.8771 don't know if it is from the templates or the discussbot but in each browser had a different effect.

Have a look http://www.armeniancollegeofcalcutta.com/joomla
I'm sure it's a bit of both.  Depending on the template, it will always look a little different.  I'm not sure if there's an easy all-in-one solution to this.  I might need to experiment with a templating system for the discussbot.
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: maxigs on April 21, 2007, 05:13:24 AM
wow and another version out.

i still have the beta2 (well just installed it a day ago - thanks btw the utf8-problem seems to be gone) but my folks already reported a possble bug:

after editing an article in joomla the "thanks for your content" (i hope its the message in the english version, since i only have it in german) the discussion is not connected to a possible existing discussion but always opens a new one.

and one more thing - even if it might be a supid question at this point - but why did you choose to use the title of the article as reference to the smf and not just simply add a reference table so the article and topic id are connected to eachother?
i dont know if this is possible with either joomla or smf but it surely would eliminate all the reference problems for single articles

update:
the problem was not because of the editing but simply because there was a " in the title which seems to cause a cut-off of the title and therefore no possible reference anymore.
the jommla title was fine but in the smf the " (for inch) was missing and the title cut-off at its position. after changing the title (replacing the " with inch) and editing the topic title to match it worked fine.
-> this seems to happen as well with switched on and switched off utf-8 conversation
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: jorgen on April 21, 2007, 06:06:46 AM
Quote from: chadness on April 20, 2007, 10:13:29 AM
Yeah, it seems to have some problems especially when the article starts with an image.  I think this is going to take some tweaking.  :)

It seems to work perfect when I remove this  from line 599:
Quoteif (strcmp(substr($postmessage, $quotecheck + 7, 20), substr(preg_replace($search, $replace, $row->text),0,20))==0)


-What is that test for anyway? You already tested if the first post contains a quote  ?

Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: Benson on April 22, 2007, 07:39:38 AM
Beta 3 is working fine on my site.

Only problem: filter out {mosimage} - i see it in the search/replate array but i still get something like ://www.mysite.com/joomla/images/stories/key. if i have added an image via the mosimage function....

cheers,
Benson
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: chadness on April 22, 2007, 11:01:05 AM
Quote from: jorgen on April 21, 2007, 06:06:46 AM
-What is that test for anyway? You already tested if the first post contains a quote  ?
That tests to make sure the quote is the same as the article.  Maybe that's not really necessary - what are the chances the first post in the thread are going to contain a quote that is anything else?
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: chadness on April 22, 2007, 11:03:06 AM
Quote from: Benson on April 22, 2007, 07:39:38 AM
Beta 3 is working fine on my site.

Only problem: filter out {mosimage} - i see it in the search/replate array but i still get something like ://www.mysite.com/joomla/images/stories/key. if i have added an image via the mosimage function....

cheers,
Benson
It should be giving the whole path to the image.  If you want it to completely filter them out, just turn off the option for including images.
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: jorgen on April 25, 2007, 07:47:17 AM
Chadness, would you like an additional idea for the bot?

It would be cool if you were able to also show pictures attached to posts when displaying the posts in the article. When the user attaches pictures to posts, they usually support the text, and are needed to show the full meaning of the post.

Here is an example where I'd like to include the picture-attachment from the post:
http://www.inventorforum.net/index.php?option=com_content&task=view&id=202
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: chadness on April 25, 2007, 11:19:57 AM
That would be cool!  I'm not sure I'll have time any time soon to implement it, but if I'm feeling crazy...  :)
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: chadness on April 25, 2007, 12:22:15 PM
1000th post, how fun!
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: Aravot on April 25, 2007, 01:50:00 PM
Would it be possible to add Video Comment option http://www.flixn.com/developers
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: chadness on April 26, 2007, 10:16:55 AM
If you embed a video in content, it would work fine.  Was there something beyond that you were thinking of?
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: weekendclimber on April 27, 2007, 12:05:51 PM
Chadness,

On the two queries looking for the Itemid in the #__menu tables, you need to add "AND published = 1". That way, if you just happen to have an unpublished SMF menu item ::) like moi, you won't spend all night trying to figure out why the Itemid's don't match. :P

Thanks for the awesome mod  :D
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: chadness on April 27, 2007, 12:15:31 PM
The reason we don't do it like that is because some people want to have the forum link unpublished in the main menu, for various reasons.  Some times so that they can have a second link somewhere only available to registered users, or because they don't want a link to their forum in the menus at all.  The main menu link needs to be public for login and registration to work correctly, but it doesn't have to be published.
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: weekendclimber on April 27, 2007, 12:43:29 PM
Okay, got it. Is there a spot in the docs or readme that explains that? Maybe add a little note if not. Again, thanks for the mod :D
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: chadness on April 27, 2007, 12:44:45 PM
Good idea!  First time I've heard of anyone running in to this problem, so I hadn't thought to mention it.
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: weekendclimber on April 30, 2007, 05:08:04 PM
Chadness, after looking at this a little further, I realized these menu items were in my trash bin, not just unpublished. So, adding a "AND published = -2" to the query would eliminate those, though a note with emphasis on emptying your trash bin may also do good :)
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: chadness on April 30, 2007, 05:13:38 PM
I didn't know about that value of published.  Thanks, that's handy!
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: crying on April 30, 2007, 05:30:48 PM
Hi =)

I've got a quote lenght problem with the discussbot. Looks like it always quotes < 700 characters when starting a new discussion about an article. I changed the value many times but  doesn't care.

http://www.nextgpu.com
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: chadness on April 30, 2007, 05:41:38 PM
I just tried settings of 700, 100, and 1500, and it worked fine every time.  Could you please be a little more specific about exactly what you're doing?  What do you have it set to?
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: shortyb on May 06, 2007, 04:06:52 AM
I get this error at the bottom of my template and i did add the snippit of php you said too

Database Error: Table 'loade3_joom1.smf_sessions' doesn't exist
then it gives the raw path to my forum/source folder?
line 2005
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: mickyd2006 on May 06, 2007, 07:58:41 PM
I'm loving discussbot I run the discuss bot on auto insert mode using {mos_smf_discuss:no_discuss} for the places that I don't want a link to appear.
However two of my 3rd party addons aren't loving it :(


Firstly in the Bookmarks extension,
the discuss link shows up in both the descriptions below the urls and on the details page

Secondly in User Home Pages,
I have noticed the discuss link showing up in the footer sections of users pages.

Since I have less than 100 members, it's not so much of a problem for me to go around and manually add {mos_smf_discuss:no_discuss} to the offending items but for larger sites, I think this needs to be looked into.

Thanks
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: chadness on May 07, 2007, 09:48:26 AM
Quote from: shortyb on May 06, 2007, 04:06:52 AM
I get this error at the bottom of my template and i did add the snippit of php you said too

Database Error: Table 'loade3_joom1.smf_sessions' doesn't exist
then it gives the raw path to my forum/source folder?
line 2005
Are you running in separate databases?  If so, did you enter the info for your SMF database in the discussbot config?
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: chadness on May 07, 2007, 09:51:54 AM
Quote from: mickyd2006 on May 06, 2007, 07:58:41 PM
I'm loving discussbot I run the discuss bot on auto insert mode using {mos_smf_discuss:no_discuss} for the places that I don't want a link to appear.
However two of my 3rd party addons aren't loving it :(


Firstly in the Bookmarks extension,
the discuss link shows up in both the descriptions below the urls and on the details page

Secondly in User Home Pages,
I have noticed the discuss link showing up in the footer sections of users pages.

Since I have less than 100 members, it's not so much of a problem for me to go around and manually add {mos_smf_discuss:no_discuss} to the offending items but for larger sites, I think this needs to be looked into.

Thanks

Thanks for the info!  Which bookmarks component are you using?  Do you have it set to not show up in modules?  And last, does it show up in these extensions if the discussbot is set to not show on the front page?

Thanks!
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: Avinash4 on May 07, 2007, 10:29:52 AM
Is there a way to display the discussbot only on a certain content section or category from joomla. I dont want it on all articles, just articles from my newsflash section.
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: Avinash4 on May 07, 2007, 10:33:47 AM
Also, when I click discuss link from one of my previously existing joomla articles, I get: "The topic or board you are looking for appears to be either missing or off limits to you."
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: mickyd2006 on May 07, 2007, 05:25:20 PM
Quote from: chadness on May 07, 2007, 09:51:54 AM
Quote from: mickyd2006 on May 06, 2007, 07:58:41 PM
I'm loving discussbot I run the discuss bot on auto insert mode using {mos_smf_discuss:no_discuss} for the places that I don't want a link to appear.
However two of my 3rd party addons aren't loving it :(


Firstly in the Bookmarks extension,
the discuss link shows up in both the descriptions below the urls and on the details page

Secondly in User Home Pages,
I have noticed the discuss link showing up in the footer sections of users pages.

Since I have less than 100 members, it's not so much of a problem for me to go around and manually add {mos_smf_discuss:no_discuss} to the offending items but for larger sites, I think this needs to be looked into.

Thanks

Thanks for the info!  Which bookmarks component are you using?  Do you have it set to not show up in modules?  And last, does it show up in these extensions if the discussbot is set to not show on the front page?

Thanks!

Hey,
I'm using the bookmarks componant from TEG Design By DJesus www.degdesign.ch
And yes I can confrim that is set not to display in modules.
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: Avinash4 on May 08, 2007, 09:20:19 AM
Quote from: Avinash4 on May 07, 2007, 10:33:47 AM
Also, when I click discuss link from one of my previously existing joomla articles, I get: "The topic or board you are looking for appears to be either missing or off limits to you."
The URL is http://mysite.com/portal/index.php?option=com_smf&Itemid=26&topic=3903.top#top
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: chadness on May 08, 2007, 11:18:33 AM
Quote from: mickyd2006 on May 07, 2007, 05:25:20 PM
Hey,
I'm using the bookmarks componant from TEG Design By DJesus www.degdesign.ch
And yes I can confrim that is set not to display in modules.
This is due to the bookmark program processing everything as content items.  You can disable this in the config of the bookmarks program.  It's in several areas - you might want to go to each tab of the configuration and search for "bot" on each page.  Set all of those settings to "no", unless you want comments enabled in one of those areas.
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: chadness on May 08, 2007, 11:20:47 AM
Quote from: Avinash4 on May 07, 2007, 10:29:52 AM
Is there a way to display the discussbot only on a certain content section or category from joomla. I dont want it on all articles, just articles from my newsflash section.
The only way to do that is to turn off the ability to have it automatically display links, and manually put them in.  If you like, you can download the discussbot button (http://www.technoadvice.com/remository/Download/Joomla-and-Mambo/SMF-Discussion-button/) to add a button in to your editor to easily do that.
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: chadness on May 08, 2007, 11:22:47 AM
Quote from: Avinash4 on May 08, 2007, 09:20:19 AM
Quote from: Avinash4 on May 07, 2007, 10:33:47 AM
Also, when I click discuss link from one of my previously existing joomla articles, I get: "The topic or board you are looking for appears to be either missing or off limits to you."
The URL is http://mysite.com/portal/index.php?option=com_smf&Itemid=26&topic=3903.top#top
That URL appears to be correct.  Is it similar (same ItemID) to the URL you get from a newly made article?

Do you have separate databases?
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: Chriss Cohn on May 08, 2007, 03:03:03 PM
Very great work!!! Thank you so much, its exactly what i expected! Again: great Work! Best wishes for your new born child, no you also know how "the wonder of life" feels like.
Back to Topic...
I have still a few suggestions for improvement:

1. When using to Display the Discussion under a Article, and when insert a post via the quick-reply button there should be an option to stay within this Article - not to turn to the Forum after a post.

2. A option to enter width and height of the Avatar-Images for a better styling.
For example: I want to have the Avatars in 100x100 inside the Forum, but only 50x50 in the Discussbot when showing the Discussion under an article.

3. For future releases if you have time for...: Extend the Quick-reply Box a bit to see Smileys and other formation-stuff like a mini-verion of the Built-in BBC from SMF, so then you can (for example) quote some other statement a user replyed before. This is a standart in other Comment-Tools for CMS' and i think together with "Option 1" is described, it will make a good "equilibrium" between a standalone Comment-Fuction and ones which uses the Forum.

4. The Possibility to add a "custom code" after a predefined ammount of comments.
For example: I want to show an Adsense-Banner after every 10 comments.


Regards, Christian

Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: chadness on May 08, 2007, 03:12:27 PM
Quote from: g-c on May 08, 2007, 03:03:03 PM
Very great work!!! Thank you so much, its exactly what i expected! Again: great Work! Best wishes for your new born child, no you also know how "the wonder of life" feels like.
Thanks!  Still in crazy new baby mode, but another 6 months and we should be great.  ;)
Quote
Back to Topic...
I have still a few suggestions for improvement:

1. When using to Display the Discussion under a Article, and when insert a post via the quick-reply button there should be an option to stay within this Article - not to turn to the Forum after a post.
I'm not sure if this is doable, as it actually is using the forum to post the message.  I'll have to look at it more closely, though.
Quote
2. A option to enter width and height of the Avatar-Images for a better styling.
For example: I want to have the Avatars in 100x100 inside the Forum, but only 50x50 in the Discussbot when showing the Discussion under an article.
Good idea - I was thinking about something like that for my own site.
Quote
3. For future releases if you have time for...: Extend the Quick-reply Box a bit to see Smileys and other formation-stuff like a mini-verion of the Built-in BBC from SMF, so then you can (for example) quote some other statement a user replyed before. This is a standart in other Comment-Tools for CMS' and i think together with "Option 1" is described, it will make a good "equilibrium" between a standalone Comment-Fuction and ones which uses the Forum.
If I get to feeling ambitious, that would be a good addition.  This is getting close to being standalone, isn't it?  I never really intended to go this far with this project.  :)

Thanks for the comments!
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: Chriss Cohn on May 08, 2007, 03:37:23 PM
QuoteI'm not sure if this is doable, as it actually is using the forum to post the message.  I'll have to look at it more closely, though.
Yes, that sounds good... the simple'st way i think would be via a ugly redirect - so right after reply you would short see your reply in the Forum and then it automaticly redirects back to the Article and your comment.

QuoteGood idea - I was thinking about something like that for my own site.
Great to hear!

QuoteThis is getting close to being standalone, isn't it?  I never really intended to go this far with this project.
Yes you are absolutely right, but as the Webmaster you still could decide how "far" in direction to "stand alone" you want go. For me it would be great, because i know this from a different CMS which is using Vbulletin to handle comments like the way your mambot does - and there this is possible!

QuoteStill in crazy new baby mode, but another 6 months and we should be great.
Hehe sounds very interresting, i hope everything will go for you as "planned"

Regards, Christian
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: mickyd2006 on May 08, 2007, 04:26:41 PM
Quote from: chadness on May 08, 2007, 11:18:33 AM
Quote from: mickyd2006 on May 07, 2007, 05:25:20 PM
Hey,
I'm using the bookmarks componant from TEG Design By DJesus www.degdesign.ch
And yes I can confrim that is set not to display in modules.
This is due to the bookmark program processing everything as content items.  You can disable this in the config of the bookmarks program.  It's in several areas - you might want to go to each tab of the configuration and search for "bot" on each page.  Set all of those settings to "no", unless you want comments enabled in one of those areas.

Yes, Thats got it! It was the process mos bots option under collumns :)

Thanks Chadness!
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: Chriss Cohn on May 08, 2007, 04:33:21 PM
I also think i found a strange bug with when using quotes.
So when somebody within the Forum quotes a comment of someone else, it looks like the following in the comments-view under the article:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg396.imageshack.us%2Fimg396%2F3373%2Fkommentareuv3.jpg&hash=d719d64fa53232a309a2d81ea5ed09b00a1cfe7b)

Well the Problems with this are the following:
1 - No boxes around the original quote
2 - The link (i marked via arrow) points to: hxxp://www.site.com/forum/index.php?topic=45.msg98#msg98 which is unwrapped-mode.
That is wrong, because it should point to a component \"option=com_smf.... andsoon\" Link, like the discussion-link does - right?. Second is, the \"quote-link\" has no \"rel=nofollow\" tag.

I think a good solution is to cut the link off. So Only some boxes need to be around a quote.
But i think this needs a fast \"hotfix\" because it can make problems with googles duplicate-content.
Regards, Christian

Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: chadness on May 08, 2007, 05:02:11 PM
Quote from: g-c on May 08, 2007, 04:33:21 PM
1 - No boxes around the original quote
That's dependent on your configuration.  On mine, it shows the box.  It may have to do with whether you are using the SMF stylesheets on the rest of your site.  Alternately, you should be able to set up .quote in your stylesheet for your Joomla template.
Quote
2 - The link (i marked via arrow) points to: hxxp://www.site.com/forum/index.php?topic=45.msg98#msg98 which is unwrapped-mode.
That is wrong, because it should point to a component \"option=com_smf.... andsoon\" Link, like the discussion-link does - right?. Second is, the \"quote-link\" has no \"rel=nofollow\" tag.

I think a good solution is to cut the link off. So Only some boxes need to be around a quote.
But i think this needs a fast \"hotfix\" because it can make problems with googles duplicate-content.
Hadn't noticed that before.  Good catch!  I don't know how long this will take to fix.  Honestly, I won't even have time to investigate it for a couple of days.  ::)
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: Chriss Cohn on May 08, 2007, 05:37:30 PM
Yes you are right! Have added the .quote class and now i have boxes around it.
OK, im waiting until you figured it out... what do you will do? Take the quote-link out of the ciscussbot or change it to the right one? I think a quote under an Article won't need a link, so strip it off  ;D

Also i think you havent noticed it (i updated my first post here):
Quote4. The Possibility to add a "custom code" after a predefined ammount of comments.
For example: I want to show an Adsense-Banner after every 10 comments.

Do you think this is possible?

Also i have another suggestions:

1. I would like to customize the "Custom header for discussions" a bit. It would be good if we can (if we want) put in a predefined (by you in sources) variable inside the Header-text -> My
Example:

I want this text to show as header: "The first (xx) comments out of (X)" or only "The first (xx) comments".
Were xx should be the number of comments we see under the Article, this number should not be higher then the number we specified at "Maximum number of posts to display" in the mambot-config. The X is the Number of all comments.

2. Possibility the show the Number of comments inside the Discussion-Link at a other point . Example:
Currently it always shows the Number of comments first and then the Text, like this: "(X) Comments to this Article in Forums"....
I would like to have it different, like for example: "All (X) comments you'll find HERE"

3. Something is wrong with the Links showing when option "(Optional) Custom text for link to forum with no posts" is selected and if decided to show the discussion under the Article with the "quick reply box" - i try decribe it a bit further, its a bit complex and english is not my native language.....

Situation A) "Would you like the discussion link to automatically start a reply, instead of viewing the topic?" is selected to "No"  ...

In Article I see the link with "(0) Comments - start to discuss!" - i klick on it and getting to the new automaticly created forum-topic, then i go back to the Article in Joomla and i now see the (if selected) "quick-reply-box", but the link above it is still the same one?!
It still says "(0) Comments - start to discuss!"
I mean there should be another custom link for this case or a simple text like "discussion started, you can reply here" or something like  "Reply by following this Link or use the reply-box" (Of course we should be able to put in this message custom and if we want, like the other ones also)

Situation B) "Would you like the discussion link to automatically start a reply, instead of viewing the topic?" is selected to "1st post only" ...

In Article i see the link "(0) Comments - start to discuss!". If i klick on it i will be taken to the "start new topic" in Forum, where i see the quote it generates and i have the possibility to enter my own comment within this "starting-post". If i don't do so it's the same like in Situation A), but if i enter my own comment to this "starting-post", i can see only my comment in the discussion under the Article (which is fully correct) - but it shows it not aligned to the top, it looks like there is space (with height like the original quote?) between my comment and  the top of this "post-box". I think it has something to do with the new thing in beta3:
QuoteIf the first post is being included in the article display, it will attempt to remove the quoted version of the article
[/i]

Is that all "easy" understandable and possible to solve?
I mean the thing under point 2. is easyer and i can do it only for myself if changing some php-code (but which - would be nice if you help me).

I Hope this thing under point 1 with the custom-header is possible - i need it...
And point 3, Situation A) is just a new link or simple text needed - shouldn't be the problem.

Regards, Christian
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: Avinash4 on May 08, 2007, 06:13:12 PM
Quote from: chadness on May 08, 2007, 11:22:47 AM
Quote from: Avinash4 on May 08, 2007, 09:20:19 AM
Quote from: Avinash4 on May 07, 2007, 10:33:47 AM
Also, when I click discuss link from one of my previously existing joomla articles, I get: "The topic or board you are looking for appears to be either missing or off limits to you."
The URL is http://mysite.com/portal/index.php?option=com_smf&Itemid=26&topic=3903.top#top
That URL appears to be correct.  Is it similar (same ItemID) to the URL you get from a newly made article?

Do you have separate databases?
Nope, same database. The topic just isnt created. It's my first time using the discussbot, so I don't know when its supposed to create the topic. Also, I am using 1.16 bridge and and joomla 1.0.11.
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: AoP on June 18, 2007, 06:46:29 AM
Quote
Warning: Invalid argument supplied for foreach() in /home/MYSITE/public_html/mambots/content/smf.discussbot.php on line 35

the part in question is this:


if ($_VERSION->PRODUCT == 'Joomla!'){
$database->setQuery("
            SELECT `variable`, `value1`
            FROM #__smf_config
            ");
$variables = $database->loadAssocList();
foreach ($variables as $variable){
    $variable_name = $variable['variable'];
    $$variable_name = $variable['value1'];


Does anyone know what the problem is?
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: sektor on June 24, 2007, 09:31:38 PM
found a little bug on this one...

It adds a:

~ ">

On the top of the page, if the mambot is used with jReviews.
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: Sickthing on July 06, 2007, 03:55:11 PM
Chadness,

I sent an email through your site too but post here in case spam filters foul that up on my end.  I've blown my site up with this.  Hopefully only temporarily and I'm sure it is something I did since you've had so many good out comes.  I've seen this in operation and I GOTTA have it. :)

I'm getting a nasty message when i go to my site:

Warning: main(/home/geekslik/public_html/administrator/components/com_smf/config.smf.php) [function.main]: failed to open stream: No such file or directory in /home/geekslik/public_html/mambots/content/smf.discussbot.php on line 30

Fatal error: main() [function.require]: Failed opening required '/home/geekslik/public_html/administrator/components/com_smf/config.smf.php' (include_path='/home/geekslik/public_html/administrator/components/com_smf/includes:/home/geekslik/public_html/administrator/components/com_sef:/home/geekslik/public_html/administrator/components/com_sef/includes:.:/usr/lib/php:/usr/local/lib/php') in /home/geekslik/public_html/mambots/content/smf.discussbot.php on line 30

Even when I unpublished the bot it didn't like it.  How do I fix this?

I'm using Joomla 1.0.12 and I didn't use the latest beta.  I used the last full version from your techadvisor site.  Trying to find verison numbers but not much luck yet.

Thanks so much for the bot and your help!
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: Sickthing on July 06, 2007, 07:43:11 PM
As an update....  I updated to the most recent release the 4.1B5 though the labeling is a little confusing as ther eis a 4.1 final. :)  I sure hope this is an easy fix.  If not, on the bright side it's a very new site and there's almost zero content. :)  Wont take much to start over.
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: sektor on July 17, 2007, 10:13:32 AM
There's a problem with jReviews items and the SMF discussbot.

Problem #1: For some reason, there's a ~ "> on the top of the page on the jReviews items.
Problem #2: If you click on discuss link the title of the thread becomes: "[Item Name] <a href="
Problem #3 (should be related to 2): The discussbot cannot find it's corresponding thread, even though it exists on the forum.
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: Chriss Cohn on July 17, 2007, 12:24:39 PM
maybe you can add the ~ to that replaceing-array inside the php-file...
Regards, Christian
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: husooz on July 23, 2007, 05:26:22 AM
There is a small problem. When i add the discuss code to intro text area from joomla and click to discuss button, the text in main text area is not shown on forum. i insert the given code into the intro text area and then only text area informations appear not both of them appear. :( i think it is not to be important where i add the discuss code. it have to create smf topic with two text area's texts

Please help me to fix it..
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: husooz on August 06, 2007, 07:54:30 AM
Bump!!
Title: Re: Discussbot 4.2 beta 3 released 04/19/07
Post by: Johno69 on June 15, 2008, 04:47:23 AM
I know this is a little old, but is there a way to change the Authur ?

I use another MOD that allows me as admin to post as a forum robot, i'd like the auto generated topics to be started by this robot.

Any help please.