Home arrow Forum Latest posts of: John Berns
  Welcome, Guest. Please login or register.
Did you miss your activation email?
January 07, 2009, 01:28:25 PM
Home New Posts Search Calendar


Login with username, password and session length
  Show Posts
Pages: [1]
1  Joomla Addon Discussion / Joomla Mambots / Re: Bug, SMF Discussbot: Board Topic Count Not Incremented When New Article Adde on: August 02, 2007, 04:28:10 AM
Fixed!

The problem was that the code had an error and it dies before it reached the part where the board counts were incremented.

See post http://www.joomlahacks.com/component/option,com_smf/Itemid,94/topic,3950.0 for the fix. 

2  Joomla Addon Discussion / Joomla Mambots / Re: Bug, SMF Discussbot: Fatal Error when “SMF topic title prefix” Parameter Cha on: August 02, 2007, 04:26:14 AM
FIXED!

It's actually a bug in SMF 1.1.2.

To fix, in the directory where you installed SMF, in the Sources directory, the Subs.php file, change the line:

Code:
$words = un_htmlspecialchars($func['strtolower']($words));

to

Code:
$words = un_htmlspecialchars($func['strtolower'],($words));


Notice there is supposed to be a comma between the parameters $func['strtolower'] and ($words) that is missing in the v1.1.2 SMF code.

The line number was 3522 in the original SMF 1.1.2 distribution and 3526 in after the Joomla-SMF Forum patch was applied.
3  Joomla Addon Discussion / Joomla Mambots / Bug, SMF Discussbot: Article Line Breaks Converted to Double-Spaced (4 <br />) on: June 17, 2007, 04:31:34 AM
When the copy of the article is posted to the forum, the line breaks are duplicated, each line is ended with four <br /> tags making all paragraphs double-spaced.

Environment:

Joomla 1.0.12, SMF 1.1.2, Joomla-SMF Bridge 2.0.2, SMF Discussbot 2.0.3., Editor JCE.

"Discuss all content" and "Automatically Create" parameters set to yes.
4  Joomla Addon Discussion / Joomla Mambots / Re: Bug, SMF Discussbot: Fatal Error when “SMF topic title prefix” Parameter Cha on: June 16, 2007, 12:13:15 AM
I noticed that the error happens once for each article on the main page...  eg. if you have four articles on the main page, you have to refresh four times before the error goes away.
5  Joomla Addon Discussion / Joomla Mambots / Bug, SMF Discussbot: Board Topic Count Not Incremented When New Article Added on: June 15, 2007, 04:36:03 AM
When a new article is added and a topic is created by SMF Discussbot, the board’s topic count is not incremented.

I looked in the smf_boards table and the numTopics field does not increment after a new article is added. 

A related consequence is that if you have a new board with zero topics, no topics will display when you go to the index page for that board; once a topic has been created (and the numTopics field > 0 in the smf_boards table) all the topics will display, however, the topics count for the board will stil be incorrect.

Environment:

Joomla 1.0.12, SMF 1.1.2, Joomla-SMF Bridge 2.0.2, SMF Discussbot 2.0.3.

"Discuss all content" and "Automatically Create" parameters set to yes.
6  Joomla Addon Discussion / Joomla Mambots / Bug, SMF Discussbot: Duplicate Topic Created if “SMF topic title prefix” changed on: June 15, 2007, 04:19:31 AM
If the “SMF topic title prefix” parameter is changed, a duplicate discussion topic is created with the new prefix. 

For example, if you change the “SMF topic title prefix” from “Discuss This:” to Talk About This”  you will have two posts:

Discuss This: Some Article Title
Talk About This: Some Article Title

Environment:

Joomla 1.0.12, SMF 1.1.2, Joomla-SMF Bridge 2.0.2, SMF Discussbot 2.0.3.

"Discuss all content" and "Automatically Create" parameters set to yes.
7  Joomla Addon Discussion / Joomla Mambots / Bug, SMF Discussbot: Fatal Error when “SMF topic title prefix” Parameter Changed on: June 15, 2007, 04:11:31 AM
Every time I change the “SMF topic title prefix” parameter, I get the error

Fatal error: Call to undefined function () in /home/site/public_html/forum/Sources/Subs.php on line 3526

and nothing else on the page.

When I reload the page, I get the text of the first article on the home page (viewing the source, there are no headers—only the HTM for the first article) the following SMF Discussbot code:

Code:
<div class="dsc_bar"><a class="link_pos" href="http://tdt.local.net/component/option,com_smf/Itemid,46/topic,17.msg17/#msg17"><img style="border:0px;" src="/mambots/content/mos_smf_discussbot.gif" alt="Discuss Topic" /> Discuss this article in the forum (1) </a></div> </td>
</tr>
</table>

<span class="article_seperator">&nbsp;</span>

</div><div><br />
<b>Fatal error</b>:  Call to undefined function () in <b>/home/tourthai/public_html/forum/Sources/Subs.php</b> on line <b>3526</b><br />

And the same error:

Fatal error: Call to undefined function () in /home/site/public_html/forum/Sources/Subs.php on line 3526

Another reload and everything is OK—and stays that way.

The line of code referenced in the error is in the text2words function and is as follows:

Code:
$words = un_htmlspecialchars($func['strtolower']($words));

Environment:

Joomla 1.0.12, SMF 1.1.2, Joomla-SMF Bridge 2.0.2, SMF Discussbot 2.0.3.

"Discuss all content" and "Automatically Create" parameters set to yes.
Pages: [1]


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