Home arrow Forum SMF Discussbot 1.4.3
  Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 11:48:31 PM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 1.1.x (Moderators: -Wolverine, kai920)
| | | |-+  SMF Discussbot 1.4.3
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] 2 3 Go Down Print
Author Topic: SMF Discussbot 1.4.3  (Read 13706 times)
Kevin8020
QA / Testers
Joomla Master
*****

Karma: +33/-18
Offline Offline

Posts: 105



View Profile WWW
SMF Discussbot 1.4.3
« on: May 29, 2006, 08:17:26 PM »

After a lot of working, a new version of the SMF discussbot has been released.

Changelog:
* 1.4.3
  • Removed the '0' issue in topic titles (Kevin8020)
  • Full XHTML 1.1/CSS compliance and validity (Kevin8020)
  • Added the ability to have a post automatically created (Kevin8020)
  • Line breaks preserved (Kevin8020)
  • Span tags now replaced (Kevin8020)
  • Case insensitivity for all tag replacements(-Wolverine)
  • Joomla Category/Section prefix option added (Kevin8020)

Slight changes were made to the mambot on 5/30/06 at 10:20am MST. Please install the new version if you downloaded before this time.
« Last Edit: July 06, 2006, 10:17:06 PM by -Wolverine » Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: SMF Discussbot 1.4.3
« Reply #1 on: May 29, 2006, 08:28:40 PM »

the auto post creation rawks!  nice work!  Grin
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
kellerkind
Joomla Newbie
*

Karma: +1/-1
Offline Offline

Posts: 20


View Profile
Re: SMF Discussbot 1.4.3
« Reply #2 on: May 30, 2006, 08:20:42 AM »

Nice. But...
Quote from: W3C
Below are the results of checking this document for XML well-formedness and validity.

   1. Error Line 225 column 733: end tag for "img" omitted, but OMITTAG NO was specified.

      ...nt/discuss.gif" alt="Discuss Topic" > (0) Kommentare</a>         </td>

      You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

      ✉
   2. Info Line 225 column 652: start tag was here.

      ...,com_smf/Itemid,104/topic,1132.new/"><img style="border:0px;" src="/mambots/c

Line 477 in smf.discussbot.php
"'.$discuss_image.'" alt="Discuss Topic" /> ('.$replies.') '.$link_text.'</a>';

 Cool
Logged
Kevin8020
QA / Testers
Joomla Master
*****

Karma: +33/-18
Offline Offline

Posts: 105



View Profile WWW
Re: SMF Discussbot 1.4.3
« Reply #3 on: May 30, 2006, 12:09:56 PM »

Hah! Well, I only missed one... so I did OK... lol!

I've attached a new version. Thanks kellerkind!

-Kevin
Logged
Snapya
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 8


View Profile
Re: SMF Discussbot 1.4.3
« Reply #4 on: June 01, 2006, 02:47:21 AM »

Have a look at this http://www.techheaven.net/index.php?option=com_frontpage&Itemid=1 is there a way to make the comments link always appear in the same position for each article?


Snapya
Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: SMF Discussbot 1.4.3
« Reply #5 on: June 01, 2006, 11:33:52 AM »

what position are you looking for?  You can add the code, {mos_smf_discuss}, to force the location.  If the code isn't found and the bot is enabled to create links for all articles, the default is putting it at the end of the article.  I suppose this could be built into an option, either at the beginning or at the end. 
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
Kevin8020
QA / Testers
Joomla Master
*****

Karma: +33/-18
Offline Offline

Posts: 105



View Profile WWW
Re: SMF Discussbot 1.4.3
« Reply #6 on: June 01, 2006, 12:32:29 PM »

Oh... I see what you're saying. The comment buttons sometimes butt into the end of your text or come before the picture. Let me see what we can do about that...

Try adding this to the CSS
Code:
.link_pos
{
display:block;
clear:both;
}

-Kevin
« Last Edit: June 01, 2006, 12:34:33 PM by Kevin8020 » Logged
Snapya
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 8


View Profile
Re: SMF Discussbot 1.4.3
« Reply #7 on: June 01, 2006, 03:44:48 PM »

Oh... I see what you're saying. The comment buttons sometimes butt into the end of your text or come before the picture. Let me see what we can do about that...

Try adding this to the CSS
Code:
.link_pos
{
display:block;
clear:both;
}

-Kevin

Thank you that is just what I wanted Smiley
Logged
Imago
Joomla Newbie
*

Karma: +5/-1
Offline Offline

Posts: 43



View Profile WWW
Re: SMF Discussbot 1.4.3
« Reply #8 on: June 05, 2006, 02:29:55 AM »

Excellent job! Made it work both on 0.8 and 0.9. Especially like this awesome forum autopopulate feature! Smiley

... now Google will discard us all for double content.  Wink
Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: SMF Discussbot 1.4.3
« Reply #9 on: June 05, 2006, 10:03:19 AM »

... now Google will discard us all for double content.  Wink
I didn't even think of that!  Ha!  Bad job Kevin!  Terrible Job!  There goes my Google ranks!  Grin
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: SMF Discussbot 1.4.3
« Reply #10 on: June 07, 2006, 03:05:08 PM »

Found some more tags that the bot doesn't handle

h1, h2, h3, etc.

backslashses '\' aren't handled correctly either.  We need to add these pattern matches for the next release
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
arco
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 11


View Profile
Re: SMF Discussbot 1.4.3
« Reply #11 on: June 07, 2006, 05:40:04 PM »

Setting the number of characters to quote to 0 don't work. It then quotes the whole thing.
Logged
Imago
Joomla Newbie
*

Karma: +5/-1
Offline Offline

Posts: 43



View Profile WWW
Re: SMF Discussbot 1.4.3
« Reply #12 on: June 08, 2006, 01:10:53 AM »

This is how it must be. 0 is for unlimited.

Bad thing is that I get broken HTML code and a strange message on the top of the page when viewing anything in the content comp

Code:
Sectionid=1Catid=0ID=1Task=blogsectionNULL
(This might have nothing to do with the discussbot - I will try to reperform)
« Last Edit: June 08, 2006, 01:14:34 AM by Imago » Logged
kellerkind
Joomla Newbie
*

Karma: +1/-1
Offline Offline

Posts: 20


View Profile
Re: SMF Discussbot 1.4.3
« Reply #13 on: June 08, 2006, 02:55:51 AM »

This is how it must be. 0 is for unlimited.

Bad thing is that I get broken HTML code [...]
No. "This Page Is Valid XHTML 1.0 Transitional!"
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.internationaloldstars.de%2F

(This might have nothing to do with the discussbot [...]
yes.
Quote
Especially like this awesome forum autopopulate feature!
Yeah, is a nice Spambot  Cool I've got ~200 "New" [News]Threads in less than 24h, really funny. Also this confusion about posts like: [News]Happy Christmas 2004! or [News]Service Pack1 for WindowsXP Now available. He, the last 3 days i cant sleep while laughed all the time about Replys like "Is X-mas now in Jun?" funny, funny, funny...
Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: SMF Discussbot 1.4.3
« Reply #14 on: June 08, 2006, 09:20:48 AM »

hahahahahahahaa I kinda thought something like that might happen!
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
Pages: [1] 2 3 Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
i-Vibe.com
Search Contact About Advertise Blogs Topsites Submit News Register Login