Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: AlenNS on June 16, 2008, 08:37:38 PM

Title: Enhanced quick reply for SMF 2.0 Beta 3.1 public
Post by: AlenNS on June 16, 2008, 08:37:38 PM
I've been trying to manualy install this mod on SMF 2.0 Beta 3.1 public and on my computer i've succed.
But when I tried on my host I'm getting error in this line:

$request = db_query("
Title: Re: Enhanced quick reply for SMF 2.0 Beta 3.1 public
Post by: Bulakbol on June 16, 2008, 09:15:34 PM
I believe that the "Enhanced quick reply" mod does not support version 2.0 beta 3.1.  Version 1.1.x uses db_query while version 2.0 beta uses $smcFunc['db_query'].
Title: Re: Enhanced quick reply for SMF 2.0 Beta 3.1 public
Post by: AlenNS on June 18, 2008, 07:38:35 PM
Fatal error: Function name must be a string in /home/baklja/public_html/forum/Sources/Display.php on line 1612

Now I'm getting this error...

elseif ($user_info['smiley_set'] != 'none')
{
if (($temp = cache_get_data('posting_smileys', 480)) == null)
{
$smcFunc['db_query']("
SELECT code, filename, description, smileyRow, hidden
FROM {$db_prefix}smileys
WHERE hidden IN (0, 2)
ORDER BY smileyRow, smileyOrder", __FILE__, __LINE__);
while ($row = mysql_fetch_assoc($request))
{
$row['code'] = htmlspecialchars($row['code']);
$row['filename'] = htmlspecialchars($row['filename']);
$row['description'] = htmlspecialchars($row['description']);

$context['smileys'][empty($row['hidden']) ? 'postform' : 'popup'][$row['smileyRow']]['smileys'][] = $row;
}
mysql_free_result($request);

cache_put_data('posting_smileys', $context['smileys'], 480);
}
else
$context['smileys'] = $temp;
}
Title: Re: Enhanced quick reply for SMF 2.0 Beta 3.1 public
Post by: AlenNS on June 18, 2008, 07:58:38 PM
Anyone?
Title: Re: Enhanced quick reply for SMF 2.0 Beta 3.1 public
Post by: kapuk99 on June 18, 2008, 09:13:10 PM
I had this error for yshout, and I think you should be able to reupload a file, or if it is part of something that you had to type in, then you should use Frontpage, Expression Web, or Dreamweaver, and copy it in lne by line, because the computer can't recognize the blob of letters.

I know, no one answering your question is frustrating.  :)
Title: Re: Enhanced quick reply for SMF 2.0 Beta 3.1 public
Post by: AlenNS on June 19, 2008, 11:27:56 AM
I've tried several options, but didn't succed.

Anyone else?
Title: Re: Enhanced quick reply for SMF 2.0 Beta 3.1 public
Post by: Bulakbol on June 19, 2008, 03:53:14 PM
The author of the mod must have a reason why he/she is not converting the mod for version 2.0 yet. If you can't wait then you can find most of the codes in Sources/Subs-Editor.php. Look for
if (($temp = cache_get_data('posting_smileys', 480)) == null)
Title: Re: Enhanced quick reply for SMF 2.0 Beta 3.1 public
Post by: Rocks-HD on July 23, 2008, 02:13:16 AM
Quote from: JohnyB on June 19, 2008, 03:53:14 PM
The author of the mod must have a reason why he/she is not converting the mod for version 2.0 yet. If you can't wait then you can find most of the codes in Sources/Subs-Editor.php. Look for
if (($temp = cache_get_data('posting_smileys', 480)) == null)

hey johny B

I did make this modification im my smf 2.0 public 3.1 beta, my site is www.gsmfans.com.br

look here how can I do: http://www.simplemachines.org/community/index.php?topic=187281.msg1618322#msg1618322 in this message I did explained how to do.

but the AlenNS have problem, I belive that problem is because he don't enabled quick reply by default
Title: Re: Enhanced quick reply for SMF 2.0 Beta 3.1 public
Post by: karlbenson on July 23, 2008, 07:55:42 AM
I have submitted [awaiting approval]
http://custom.simplemachines.org/mods/index.php?mod=1299

However there are currently a couple of issues with it and the current version of smf 2.0 beta 3.1 (these issues have been fixed for beta 4)
Title: Re: Enhanced quick reply for SMF 2.0 Beta 3.1 public
Post by: AlenNS on July 23, 2008, 09:16:16 AM
Quote from: JohnyB on June 19, 2008, 03:53:14 PM
The author of the mod must have a reason why he/she is not converting the mod for version 2.0 yet. If you can't wait then you can find most of the codes in Sources/Subs-Editor.php. Look for
if (($temp = cache_get_data('posting_smileys', 480)) == null)

Ok. I'll try.

Quote from: Rocks-HD on July 23, 2008, 02:13:16 AM
Quote from: JohnyB on June 19, 2008, 03:53:14 PM
The author of the mod must have a reason why he/she is not converting the mod for version 2.0 yet. If you can't wait then you can find most of the codes in Sources/Subs-Editor.php. Look for
if (($temp = cache_get_data('posting_smileys', 480)) == null)

hey johny B

I did make this modification im my smf 2.0 public 3.1 beta, my site is www.gsmfans.com.br

look here how can I do: http://www.simplemachines.org/community/index.php?topic=187281.msg1618322#msg1618322 in this message I did explained how to do.

but the AlenNS have problem, I belive that problem is because he don't enabled quick reply by default
No, I have eqr enabled by default but when I try it on my live forum it just shows dividers.
On my test forum it works well. It is probably something in my database what makes problem to this modification, because I overwrote files on my server with installation files and there is a problem.

Quote from: karlbenson on July 23, 2008, 07:55:42 AM
I have submitted [awaiting approval]
http://custom.simplemachines.org/mods/index.php?mod=1299

However there are currently a couple of issues with it and the current version of smf 2.0 beta 3.1 (these issues have been fixed for beta 4)
Karlbenson thank you for all the effort! I believe this will be another great mod that you made! :)
Title: Re: Enhanced quick reply for SMF 2.0 Beta 3.1 public
Post by: Rocks-HD on July 23, 2008, 09:08:05 PM
Quote from: karlbenson on July 23, 2008, 07:55:42 AM
I have submitted [awaiting approval]
http://custom.simplemachines.org/mods/index.php?mod=1299

However there are currently a couple of issues with it and the current version of smf 2.0 beta 3.1 (these issues have been fixed for beta 4)
How can I submit a package? because have very package don't submited
Title: Re: Enhanced quick reply for SMF 2.0 Beta 3.1 public
Post by: karlbenson on July 23, 2008, 09:27:57 PM
The link on the mod page. "Submit new mod"
http://custom.simplemachines.org/mods/index.php

(which links to http://custom.simplemachines.org/mods/index.php?action=postmod;sa=new )