Home arrow Forum discussbot
  Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 01:07:31 AM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Mambo-SMF 1.3.x
| | | |-+  discussbot
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: discussbot  (Read 3325 times)
palik
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 16



View Profile WWW
discussbot
« on: May 09, 2005, 10:25:27 AM »

hoi Smiley

just got discussbot from your download - its really nice but gives me strange error - when i place it in short text (first part of content item) - the comment link works only if i see whole content item, when i see just short text (on my news page for example) it shows moscode - {mos_smf_discuss}...

i tried to write moscode with and without forum specified - always the same...


Logged

Andrew
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5


View Profile
Re: discussbot
« Reply #1 on: May 09, 2005, 10:09:40 PM »

I am getting the same. Andrew.
Logged
palik
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 16



View Profile WWW
Re: discussbot
« Reply #2 on: May 13, 2005, 08:53:26 AM »

i digged some posts on smf forum and i found that this was done intentially because back-link that mambot made in forum was leading to frontpage and not to article .... i commented out some lines from mosbot and now i got comments on frontpage but i dont know how to make them work properly... you have to comment those lines in smf.discussbot.php

Code:
//if (($_REQUEST['option'] !="com_content" && $_REQUEST['option'] !="com_frontpage" ))
//{
/// return;
//}
//else
//{


and then commend trailing } in code just before JavaScript

Code:
   return $showlink;



   }

//}   -- this is what you got to comment out

?>
<script language="JavaScript">
function send_form(form_id)
{
document.getElementById(form_id).submit();
}
</script>


and it will work - but with bugs

i think that bot should have make the comment links different for every article on frontpage... maybe i will look into this

bye
Logged

palik
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 16



View Profile WWW
Re: discussbot on front page
« Reply #3 on: May 31, 2005, 05:31:53 AM »

Well truth is that i know why discussbot was disabled on frontpage but i dont have time to rewrite it to work properly

Discussbot pastes into first post back-link to the article, but when you click on comment link from frontpage (or any blog page with multiple intro-texts) it will paste link to that blog/news-page

For now i got temporary fix - just after you create news item, go to the full view of it (even if it has no full text) and comment it - the back-link will be pointing to newsitem not frontpage...
Logged

palik
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 16



View Profile WWW
Re: discussbot
« Reply #4 on: January 12, 2006, 08:45:09 AM »

well, i have done some comparision between discussbot for mambo-smf and joomla-smf and fixed this problem, if anyone wants my version of mambot, i will try to upload it here, have to make some adjustments only...

my bot works with mambo 4.5.2.3 and SMF 1.0.5 and creates proper link to frontpage items...

soon i will give link to this Smiley
Logged

-Wolverine
Developer
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: discussbot
« Reply #5 on: January 12, 2006, 11:28:45 AM »

I wasn't aware of this problem.  Does it also occur with the latest version? 
Logged

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

Karma: +1/-0
Offline Offline

Posts: 16



View Profile WWW
Re: discussbot
« Reply #6 on: January 12, 2006, 01:44:40 PM »

oh no! grrrr... my whole post dissapeared because of "wrong file type attached" notice Sad it was a long post...

so again - latest bot for mambo has this bug, latest for joomla doesn't. I just copied some code beetwen them and it works for me now.

Attached file is not final version - quote is commented out, and there is no   .$message; at the end of linkback making line , but i dont have the time to end it Sad

hope i helped


Logged

-Wolverine
Developer
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: discussbot
« Reply #7 on: January 12, 2006, 05:15:32 PM »

latest for joomla doesn't work on mambo?  I didn't test it there so I guess it might not.
Logged

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

Karma: +1/-0
Offline Offline

Posts: 16



View Profile WWW
Re: discussbot
« Reply #8 on: January 13, 2006, 02:05:24 AM »

You have not understood me.

I dont use joomla bot because my site runs mambo 4.5.2.x and i am aware that joomla version is different Smiley

Latest doscussbot for mambo in your download (i even linked it in my prev post) has an bug with creating proper back-link to article in first message of the topic, if you try to comment article from blog-page wiev (e.g. frontpage).

You can open joomla and mambo version of this bot and see the diffrences in linkback creating... this issue was not resolved for mambo bot so i have done it myself...

cheers Smiley
« Last Edit: January 24, 2006, 08:12:38 AM by palik » Logged

Pages: [1] 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
MamboBuzz.com
Search Contact About Advertise Blogs Topsites Submit News Register Login