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...
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
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...
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...
oh no! grrrr... my whole post dissapeared because of "wrong file type attached" notice 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
I dont use joomla bot because my site runs mambo 4.5.2.x and i am aware that joomla version is different
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
« Last Edit: January 24, 2006, 08:12:38 AM by palik »
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