Thank-O-Matic

Started by enik, June 12, 2007, 12:18:59 PM

Previous topic - Next topic

andris11





ŦώεαЖзяŁ

Oh, that reply wasn't for you, sorry... as for the way your settings is looking like, try clearing your SMF cache, it might solve the problem, other than that, maybe the installation partially filaed...

Link Sharing Community - Share links and earn cash in the process!
APPS | GAMES | MUSIC | MOVIES | TV SHOWS | E-BOOKS

ディン1031

Quote from: TweakerL on January 05, 2010, 12:53:56 PM
One thing I just noticed when installing in my main site. I got an error (because of another mod) and because of that I noticed that the following modification appears to be setup slightly incorrectly. (I could be wrong as I don't know a lot of php)

QuoteFind:
'print' => array('text' => 'print', 'image' => 'print.gif', 'lang' => true, 'custom' => 'rel="new_win nofollow"', 'url' => $scripturl . '?action=printpage;topic=' . $context['current_topic'] . '.0'),
   );

Add After:
'print' => array('text' => 'print', 'image' => 'print.gif', 'lang' => true, 'custom' => 'rel="new_win nofollow"', 'url' => $scripturl . '?action=printpage;topic=' . $context['current_topic'] . '.0'),
   );

// Special Lock for the Thank You :)
   if ($context['thank_you_lock_allowed'])
      if (empty($context['is_thank_you_post_locked']))
         $normal_buttons['thankyoupostlock'] = array('text' => 'thank_you_post_lock_all_b', 'image' => 'thank_you_lock1.gif', 'lang' => true, 'url' => $scripturl . '?action=thankyoupostcloseall;topic='  . $context['current_topic']);
      else
         $normal_buttons['thankyoupostlock'] = array('text' => 'thank_you_post_open_all_b', 'image' => 'thank_you_lock2.gif', 'lang' => true, 'url' => $scripturl . '?action=thankyoupostcloseall;topic='  . $context['current_topic']);
   // A Fix for later, if some Translations are not Updated
   if (empty($txt['thank_you_link_aftercounters']))
      $txt['thank_you_link_aftercounters'] = $txt['thank_you_link_aftercounter'];

The parser in here in the Site shows it correctly, but when actually installing, SMF wants to add

Quote'print' => array('text' => 'print', 'image' => 'print.gif', 'lang' => true, 'custom' => 'rel="new_win nofollow"', 'url' => $scripturl . '?action=printpage;topic=' . $context['current_topic'] . '.0'),
   );

after the same line, which I think would create an unnecessary double line. Just ignore this whole part if i'm wrong, like i said i'm still noob in php :)
I will take a look, a double insert is not so nice =).
Quote from: andris11 on January 05, 2010, 02:23:10 PM
I installed this mod everthing is fun, setup runs without any error, but after that it redirect me to the settings, but i cant see nothing! Attached a pic.
The translation of you language is missing...

Quote from: TweakerL on January 05, 2010, 02:24:38 PM
I'm not sure why, but the mod seems to break the news block for PortaMx portal :(
I do not know :X.

Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

gantz

Spanish language where I can not see it anywhere

ディン1031

Quote from: gantz on January 07, 2010, 04:00:51 PM
Spanish language where I can not see it anywhere
Good question... where is the spanish translation oO.
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

duder673

Alright this is probably an easy fix but how do I get rid of the redundant "Thank you" after the thanks button?


SMF 1.1.11
Theme: Black Rain v2 ( 1.1.8 )
SimplePortal      2.2.2

It is basically the same thing twice.

Thank you,
duder

Neubivljiv

#1206
How can I "fix" to change layout for preview list of users who click "Thank you" under post so it doesnt look like part of the post?

I mean something like this:
Quote[post content]
Follow members gave a thank to your post:
user1,user3

to look like this:
Quote[post content]
-------------------------------------------------------
Follow members gave a thank to your post:
user1,user3

EDIT:
After i Modifie language file in themes/default/index.english.php I get this error:
QuoteThere was a problem loading the /cache/lang_index+Modifications_serbian_latin-utf8_default.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\).
When I remove Thank-o-Matic package its working fine.

gantz

ディン1031 could help put the mod in my theme I try, but the files Display.template.php, Stats.template.php, index.css not have nearly the same and put all the changes but can not find these

Display.template:

Search:

// Can the user modify the contents of this post? Show the modify inline image.

if ($message['can_modify'])
echo '

<img src="', $settings['images_url'], '/icons/modify_inline.gif" alt="" title="', $txt['modify_msg'], '" class="modifybutton" id="modify_button_', $message['id'], '" style="cursor: ', ($context['browser']['is_ie5'] || $context['browser']['is_ie5.5'] ? 'hand' : 'pointer'), '; display: none;" onclick="oQuickModify.modifyMsg(\'', $message['id'], '\', \'', $context['session_id'], '\', \'', $context['session_var'], '\')" />';


Remplace:

// Show the Thank You list or the link or.... nothing? XD

echo '

<div class="ThankOMatic" style="display: '.($message['thank_you_post']['isThankYouPost'] ? 'block' : 'none').';" id="ThankOMaticID' . $message['id'] . '">

<span class="error" id="ErrorThankOMaticID' . $message['id'] . '"></span>';

// Output the Template for Thank-O-Matic (Normal found in the index.template.php)

if ($message['thank_you_post']['isThankYouPost'])

// This template is inside the index.template.php template_thank_you_post($message['thank_you_post'], $message['id']);

echo '

</div>';

// Can the user modify the contents of this post? Show the modify inline image.

if ($message['can_modify'])

echo '

<img src="', $settings['images_url'], '/icons/modify_inline.gif" alt="" title="', $txt['modify_msg'], '" class="modifybutton" id="modify_button_', $message['id'], '" style="cursor: ', ($context['browser']['is_ie5'] || $context['browser']['is_ie5.5'] ? 'hand' : 'pointer'), '; display: none;" onclick="oQuickModify.modifyMsg(\'', $message['id'], '\', \'', $context['session_id'], '\', \'', $context['session_var'], '\')" />';


Stats.template.php

search:

echo '

<span>', $poster['time_online'], '</span> 

</dd>';

}


Remplace:

echo '

<span>', $poster['time_online'], '</span>

</dd>';
}

// Thank-O-Matic Stats

if (!empty($modSettings['thankYouPostStatsEnabled']))

{

echo '
</dl>

<div class="clear"></div>
</div>

<span class="botslice"><span></span></span>

</div>
</div>
</div>

<div class="flow_hidden">
<div id="most_thank_you_receive">

<h3 class="catbg"><span class="left"></span>

<img src="', $settings['images_url'], '/buttons/thank_you_b.gif" class="icon" alt="" /> ', $txt['thank_you_post_Top10Receive'], ' <span class="smalltext">(', $txt['thank_you_post_became_display'], ' / ', $txt['thank_you_post_made_display'], ')</span>

</h3>
<div class="windowbg">

<span class="topslice"><span></span></span>

<div class="content">
<dl class="stats">';

foreach ($context['top_ThankOMatic_Receive'] as $poster)

echo '

<dt>', $poster['link'], '</dt>

<dd>', $poster['thank_you_post_became'], '/', $poster['thank_you_post_made'], '</dd>';

echo '

</dl>

<div class="clear"></div>
</div> <span class="botslice"><span></span></span>
</div>
</div>
<div id="most_thank_you_given">

<h3 class="catbg"><span class="left"></span>

<img src="', $settings['images_url'], '/buttons/thank_you_b.gif" class="icon" alt="" /> ', $txt['thank_you_post_Top10Given'], ' <span class="smalltext">(', $txt['thank_you_post_made_display'], ' / ', $txt['thank_you_post_became_display'], ')</span>

</h3>
<div class="windowbg2">
<span class="topslice"><span></span></span>

<div class="content"> <dl class="stats">';

foreach ($context['top_ThankOMatic_Given'] as $poster)
echo '

<dt>', $poster['link'], '</dt>
<dd>', $poster['thank_you_post_made'], '/', $poster['thank_you_post_became'], '</dd>';

}


index.css

Buscar:

ul.quickbuttons li.restore_button
{
background: url(../images/theme/quickbuttons.png) no-repeat 0 -120px;
}


Despues:

ul.quickbuttons li.restore_button
{
background: url(../images/theme/quickbuttons.png) no-repeat 0 -120px; }

/* This are the the Thank-O-Matic Buttons START */

ul.quickbuttons li.thank_you_button
{
background: url(../images/buttons/thank_you_b.gif) no-repeat;
}

ul.quickbuttons li.thank_you_open_button
{
background: url(../images/buttons/thank_you_open.gif) no-repeat;
}

ul.quickbuttons li.thank_you_lock_button
{
background: url(../images/buttons/thank_you_lock.gif) no-repeat;
}

ul.quickbuttons li.thank_you_delete_button
{
background: url(../images/buttons/thank_you_delete.gif) no-repeat;
}
/* This are the the Thank-O-Matic Buttons END */



The theme I use is this:

http://custom.simplemachines.org/themes/index.php?action=search;basic_search=Anecdota+

Deputy files and edit my greetings and thanks

In Spanish:

podrias ayudarme a poner el mod en mi tema yo lo intente pero los archivos Display.template.php,Stats.template.php,index.css no tienen lo mismo ya casi puse todas las modificaciones pero no encuentro estas


Display.template:

Search:

// Can the user modify the contents of this post? Show the modify inline image.

if ($message['can_modify'])
echo '

<img src="', $settings['images_url'], '/icons/modify_inline.gif" alt="" title="', $txt['modify_msg'], '" class="modifybutton" id="modify_button_', $message['id'], '" style="cursor: ', ($context['browser']['is_ie5'] || $context['browser']['is_ie5.5'] ? 'hand' : 'pointer'), '; display: none;" onclick="oQuickModify.modifyMsg(\'', $message['id'], '\', \'', $context['session_id'], '\', \'', $context['session_var'], '\')" />';


Remplace:

// Show the Thank You list or the link or.... nothing? XD

echo '

<div class="ThankOMatic" style="display: '.($message['thank_you_post']['isThankYouPost'] ? 'block' : 'none').';" id="ThankOMaticID' . $message['id'] . '">

<span class="error" id="ErrorThankOMaticID' . $message['id'] . '"></span>';

// Output the Template for Thank-O-Matic (Normal found in the index.template.php)

if ($message['thank_you_post']['isThankYouPost'])

// This template is inside the index.template.php template_thank_you_post($message['thank_you_post'], $message['id']);

echo '

</div>';

// Can the user modify the contents of this post? Show the modify inline image.

if ($message['can_modify'])

echo '

<img src="', $settings['images_url'], '/icons/modify_inline.gif" alt="" title="', $txt['modify_msg'], '" class="modifybutton" id="modify_button_', $message['id'], '" style="cursor: ', ($context['browser']['is_ie5'] || $context['browser']['is_ie5.5'] ? 'hand' : 'pointer'), '; display: none;" onclick="oQuickModify.modifyMsg(\'', $message['id'], '\', \'', $context['session_id'], '\', \'', $context['session_var'], '\')" />';


Stats.template.php

search:

echo '

<span>', $poster['time_online'], '</span> 

</dd>';

}


Remplace:

echo '

<span>', $poster['time_online'], '</span>

</dd>';
}

// Thank-O-Matic Stats

if (!empty($modSettings['thankYouPostStatsEnabled']))

{

echo '
</dl>

<div class="clear"></div>
</div>

<span class="botslice"><span></span></span>

</div>
</div>
</div>

<div class="flow_hidden">
<div id="most_thank_you_receive">

<h3 class="catbg"><span class="left"></span>

<img src="', $settings['images_url'], '/buttons/thank_you_b.gif" class="icon" alt="" /> ', $txt['thank_you_post_Top10Receive'], ' <span class="smalltext">(', $txt['thank_you_post_became_display'], ' / ', $txt['thank_you_post_made_display'], ')</span>

</h3>
<div class="windowbg">

<span class="topslice"><span></span></span>

<div class="content">
<dl class="stats">';

foreach ($context['top_ThankOMatic_Receive'] as $poster)

echo '

<dt>', $poster['link'], '</dt>

<dd>', $poster['thank_you_post_became'], '/', $poster['thank_you_post_made'], '</dd>';

echo '

</dl>

<div class="clear"></div>
</div> <span class="botslice"><span></span></span>
</div>
</div>
<div id="most_thank_you_given">

<h3 class="catbg"><span class="left"></span>

<img src="', $settings['images_url'], '/buttons/thank_you_b.gif" class="icon" alt="" /> ', $txt['thank_you_post_Top10Given'], ' <span class="smalltext">(', $txt['thank_you_post_made_display'], ' / ', $txt['thank_you_post_became_display'], ')</span>

</h3>
<div class="windowbg2">
<span class="topslice"><span></span></span>

<div class="content"> <dl class="stats">';

foreach ($context['top_ThankOMatic_Given'] as $poster)
echo '

<dt>', $poster['link'], '</dt>
<dd>', $poster['thank_you_post_made'], '/', $poster['thank_you_post_became'], '</dd>';

}


index.css

Buscar:

ul.quickbuttons li.restore_button
{
background: url(../images/theme/quickbuttons.png) no-repeat 0 -120px;
}


Despues:

ul.quickbuttons li.restore_button
{
background: url(../images/theme/quickbuttons.png) no-repeat 0 -120px; }

/* This are the the Thank-O-Matic Buttons START */

ul.quickbuttons li.thank_you_button
{
background: url(../images/buttons/thank_you_b.gif) no-repeat;
}

ul.quickbuttons li.thank_you_open_button
{
background: url(../images/buttons/thank_you_open.gif) no-repeat;
}

ul.quickbuttons li.thank_you_lock_button
{
background: url(../images/buttons/thank_you_lock.gif) no-repeat;
}

ul.quickbuttons li.thank_you_delete_button
{
background: url(../images/buttons/thank_you_delete.gif) no-repeat;
}
/* This are the the Thank-O-Matic Buttons END */



El tema que uso es este:

http://custom.simplemachines.org/themes/index.php?action=search;basic_search=Anecdota+


Adjunto mis archivos que e edite saludos y gracias

ディン1031

Quote from: duder673 on January 10, 2010, 01:57:56 PM
Alright this is probably an easy fix but how do I get rid of the redundant "Thank you" after the thanks button?


SMF 1.1.11
Theme: Black Rain v2 ( 1.1.8 )
SimplePortal      2.2.2

It is basically the same thing twice.

Thank you,
duder
You should only use the thumb up picutre without text, than it should be look good ;).

Quote from: Neubivljiv on January 10, 2010, 08:22:19 PM
How can I "fix" to change layout for preview list of users who click "Thank you" under post so it doesnt look like part of the post?

I mean something like this:
Quote[post content]
Follow members gave a thank to your post:
user1,user3

to look like this:
Quote[post content]
-------------------------------------------------------
Follow members gave a thank to your post:
user1,user3

EDIT:
After i Modifie language file in themes/default/index.english.php I get this error:
QuoteThere was a problem loading the /cache/lang_index+Modifications_serbian_latin-utf8_default.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\).
When I remove Thank-o-Matic package its working fine.
You did something wrong after you changed the english.php...
You can change the style in the index.template.php there is a function called template_thank_you_post.


Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

duder673

Quote from: ディン1031 on January 11, 2010, 05:34:35 PM
Quote from: duder673 on January 10, 2010, 01:57:56 PM
Alright this is probably an easy fix but how do I get rid of the redundant "Thank you" after the thanks button?


SMF 1.1.11
Theme: Black Rain v2 ( 1.1.8 )
SimplePortal      2.2.2

It is basically the same thing twice.

Thank you,
duder
You should only use the thumb up picutre without text, than it should be look good ;).

How though?

Nibogo

For all the people interested in change some additional things in the Ajax Feature this can be useful

With this changes you will be available to automatically Add +1 Thank received and automatically show the Delete Thank button:

In Display.template.php:

Find:


<li>', $txt['thank_you_post_thx_display'], '</li>
<li>-', $txt['thank_you_post_made_display'], ': ', $message['member']['thank_you_post']['made'], '</li>
<li>-', $txt['thank_you_post_became_display'], ': ', $message['member']['thank_you_post']['became'], '</li>';


Replace with:

<li>', $txt['thank_you_post_thx_display'], '</li>
<li>-', $txt['thank_you_post_made_display'], ': ', $message['member']['thank_you_post']['made'], '</li>
<li id="thanks_became_'.$message['id'].'">-', $txt['thank_you_post_became_display'], ': ', $message['member']['thank_you_post']['became'], '</li>
<li id="thanks_became_ajax_'.$message['id'].'" style="display: none;">-', $txt['thank_you_post_became_display'], ': ', ($message['member']['thank_you_post']['became'] + 1), '</li>';


Find:

if ($message['thank_you_post']['delete'] && $message['thank_you_post']['isThankYouPost'])
echo '
<li class="thank_you_delete_button"><a href="', $scripturl, '?action=thankyoupostdelete;topic=', $context['current_topic'], '.0;msg=', $message['id'], ';sesc=', $context['session_id'], '" onclick="return confirm(\'', $txt['remove_thank_you_post'], '?\');">', $txt['thank_you_post_delete_b'], '</a></li>';


Replace with:


echo '
<li class="thank_you_delete_button" id="thank_delete_' . $message['id'] . '" '.($message['thank_you_post']['delete'] && $message['thank_you_post']['isThankYouPost'] ? '' : 'style="display: none;"').'><a href="', $scripturl, '?action=thankyoupostdelete;topic=', $context['current_topic'], '.0;msg=', $message['id'], ';sesc=', $context['session_id'], '" onclick="return confirm(\'', $txt['remove_thank_you_post'], '?\');">', $txt['thank_you_post_delete_b'], '</a></li>';


Find:

function thankyou(msg_id) {
// Follow the link if no ajax support...
if (!window.XMLHttpRequest)
return true;

// Standard Variables
var elementName = "ThankOMaticID" + msg_id;
var elementButton = "buttonThxID" + msg_id;

// Tell him that something loading :)
ajax_indicator(true);

// Remove the Thank You Button :)
document.getElementById(elementButton).style.display = "none";

var thank_you_ajax_thx = thank_you_ajax_url + ";sa=thx;msg=" + msg_id;
var data = ThankYouLoadTextData(thank_you_ajax_thx, elementName, elementButton);
return !data;
}


Replace With:

function thankyou(msg_id) {
// Follow the link if no ajax support...
if (!window.XMLHttpRequest)
return true;

// Standard Variables
var elementName = "ThankOMaticID" + msg_id;
var elementButton = "buttonThxID" + msg_id;
var thanksBecame = "thanks_became_" + msg_id;
var thanksBecameAjax = "thanks_became_ajax_" + msg_id;
var thankDelete = "thank_delete_" + msg_id;

// Tell him that something loading :)
ajax_indicator(true);

// Remove the Thank You Button :)
document.getElementById(elementButton).style.display = "none";
document.getElementById(thanksBecame).style.display = "none";
document.getElementById(thanksBecameAjax).style.display = "";
document.getElementById(thankDelete).style.display = "";

var thank_you_ajax_thx = thank_you_ajax_url + ";sa=thx;msg=" + msg_id;
var data = ThankYouLoadTextData(thank_you_ajax_thx, elementName, elementButton);
return !data;
}


And there you go, do you automatically add the delete thank button and add 1 to the Thank became after ajax :)

I hope this doesn't dislike to DIN and (I know of probably you will say not) feel free to use any of this code in a future release

Regards

Yozgat_BOY

hxxp:www.anlatabildimmi.com [nonactive]

Teşekkürler Gerçekten İşime Yaradı :)

ディン1031

#1212
Quote from: NIBOGO on January 13, 2010, 09:32:50 PM
For all the people interested in change some additional things in the Ajax Feature this can be useful

With this changes you will be available to automatically Add +1 Thank received and automatically show the Delete Thank button:

In Display.template.php:

Find:


<li>', $txt['thank_you_post_thx_display'], '</li>
<li>-', $txt['thank_you_post_made_display'], ': ', $message['member']['thank_you_post']['made'], '</li>
<li>-', $txt['thank_you_post_became_display'], ': ', $message['member']['thank_you_post']['became'], '</li>';


Replace with:

<li>', $txt['thank_you_post_thx_display'], '</li>
<li>-', $txt['thank_you_post_made_display'], ': ', $message['member']['thank_you_post']['made'], '</li>
<li id="thanks_became_'.$message['id'].'">-', $txt['thank_you_post_became_display'], ': ', $message['member']['thank_you_post']['became'], '</li>
<li id="thanks_became_ajax_'.$message['id'].'" style="display: none;">-', $txt['thank_you_post_became_display'], ': ', ($message['member']['thank_you_post']['became'] + 1), '</li>';


Find:

if ($message['thank_you_post']['delete'] && $message['thank_you_post']['isThankYouPost'])
echo '
<li class="thank_you_delete_button"><a href="', $scripturl, '?action=thankyoupostdelete;topic=', $context['current_topic'], '.0;msg=', $message['id'], ';sesc=', $context['session_id'], '" onclick="return confirm(\'', $txt['remove_thank_you_post'], '?\');">', $txt['thank_you_post_delete_b'], '</a></li>';


Replace with:


echo '
<li class="thank_you_delete_button" id="thank_delete_' . $message['id'] . '" '.($message['thank_you_post']['delete'] && $message['thank_you_post']['isThankYouPost'] ? '' : 'style="display: none;"').'><a href="', $scripturl, '?action=thankyoupostdelete;topic=', $context['current_topic'], '.0;msg=', $message['id'], ';sesc=', $context['session_id'], '" onclick="return confirm(\'', $txt['remove_thank_you_post'], '?\');">', $txt['thank_you_post_delete_b'], '</a></li>';


Find:

function thankyou(msg_id) {
// Follow the link if no ajax support...
if (!window.XMLHttpRequest)
return true;

// Standard Variables
var elementName = "ThankOMaticID" + msg_id;
var elementButton = "buttonThxID" + msg_id;

// Tell him that something loading :)
ajax_indicator(true);

// Remove the Thank You Button :)
document.getElementById(elementButton).style.display = "none";

var thank_you_ajax_thx = thank_you_ajax_url + ";sa=thx;msg=" + msg_id;
var data = ThankYouLoadTextData(thank_you_ajax_thx, elementName, elementButton);
return !data;
}


Replace With:

function thankyou(msg_id) {
// Follow the link if no ajax support...
if (!window.XMLHttpRequest)
return true;

// Standard Variables
var elementName = "ThankOMaticID" + msg_id;
var elementButton = "buttonThxID" + msg_id;
var thanksBecame = "thanks_became_" + msg_id;
var thanksBecameAjax = "thanks_became_ajax_" + msg_id;
var thankDelete = "thank_delete_" + msg_id;

// Tell him that something loading :)
ajax_indicator(true);

// Remove the Thank You Button :)
document.getElementById(elementButton).style.display = "none";
document.getElementById(thanksBecame).style.display = "none";
document.getElementById(thanksBecameAjax).style.display = "";
document.getElementById(thankDelete).style.display = "";

var thank_you_ajax_thx = thank_you_ajax_url + ";sa=thx;msg=" + msg_id;
var data = ThankYouLoadTextData(thank_you_ajax_thx, elementName, elementButton);
return !data;
}


And there you go, do you automatically add the delete thank button and add 1 to the Thank became after ajax :)

I hope this doesn't dislike to DIN and (I know of probably you will say not) feel free to use any of this code in a future release

Regards
Nice. Thank you, i will try it :).
I must look twice to understand the trick that you use xD. Simple and good :).
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

Nibogo

Glad you like it DIN plus I already had the code to automatically add +1 thank to the made count of the person who did the thank, I'll post it here in a few hours plus
the spanish translation

andris11

HI,


Great mod thank you!


I installed it and i got error:


Fatal error: Cannot redeclare template_thank_you_post() (previously declared in D:\Web\Webroot\teszt\Sources\Load.php(2118) : eval()'d code:581) in D:\Web\Webroot\teszt\Sources\Load.php(2118) : eval()'d code on line 667


The install was succesfull. I dont know whats wrong..




ディン1031

Hmmm... this happen only sometimes... it could be possible that the function is twice insert in the index.template.php...
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

nestortoledo

Hi, ディン1031 Ive installed the mod, in my forum www.clublgmobile.com [nofollow] all work fine except one thing.

Looking to one of the image http://custom.simplemachines.org/mods/index.php?action=download;mod=710;id=34137;image
the text of (Follow member gave a thanks to your post. ) is separated from the text of the post. is nice.

But in my forum appear like this image
http://www.simplemachines.org/community/index.php?action=dlattach;topic=176565.0;attach=130002;image as part of the text of the post.

Any way to show like image 1

andris11

Quote from: ディン1031 on January 18, 2010, 08:46:10 AM
Hmmm... this happen only sometimes... it could be possible that the function is twice insert in the index.template.php...

Then what should i do?




chairuou

Hello,

I am running SMF v. 1.1.11 with Vietnamese lang pack (downloaded from SMF site) and I download, installed Thank-O-Matic v. 125_v2 all goes well except when redirected to its control panel.

If I use Vietnamese, so no text for option in its control panel
If I switch back to English and default SMF theme, it show up text with english but in post, no button for say Thank you. My question are:
- where I look to enable it in Vietnamese?
- how do I enable it if I switch to use another forum theme?

I've tried to search but no luck with similar problem, if you know please let me know or point me out a link so I can try practice.

Thank you!


Advertisement: