Customizing SMF > Modifications and Packages

Thank-O-Matic (Updated for SMF 2.0.4)

<< < (395/454) > >>

Kindred:
1- use code tags, PLEASE!

2- yes, the errors will still be present in the mod install...   you need to make the manual edits and then do the mod install despite the errors.

Shambles:

--- Quote from: Game.ruler on February 27, 2012, 03:16:57 PM ---i want help regarding this code , rest i will replace manually. coz i dint found this particular code-


--- Code: --- (Find)

<hr class="post_separator" />';

--- End code ---

--- End quote ---

I inserted that missing string at line 627 in the file I attached for you. If it's still not being found try deleting all the spaces + tabs at the start of the line and insert 4 tabs in their place

Game.ruler:
@kindred
sorry for my mistake. i wasn't known to that.

@shambles
yup its working now, i was doing wrong before.
but still there is another error with stats.template.php file.


--- Code: --- echo '
<span>', $poster['time_online'], '</span>
</dd>';
}

--- End code ---

--- Code: ---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.png" 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.png" 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>';
}
--- End code ---


attaching stats.template.php file

MrNicotine:
I've found this question earlier in the topic, but I see no answer to it.

When I delete a "thank you", I get this database-error

-Unknown column 'karmaGood' in 'field list'-

/home/dutchmaffi/domains/***.com/public_html/Sources/Subs.php

What can I do about his? It's a new error, I've deleted thank you's before without any problems...
All I did change in the mod, is that after the thank you, it refreshes the page automatically.

tank_fv101:
Hello,

I've been using this great mod for a few months now.  Is it possible for the member who is being thanked to receive a PM?  This would help the user to know many months down the line that their post is appreciated.

Many thanks,
Chris.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version