Support Forum

A guide to Post thanks

ME Meztli
Meztli
Member

Hi guys,

I am trying to configure the post thanks plugin. It´s installed and everything seem to work as intended except that i am not sure that members get any points.

Have been reading all information about the plugin in the Codex. However it´s quite complex and i have trubble to sort out what i have to do.

I only wish for two things:

  • Members to get points
  • A top thank list in the forum footer

I would be very greatful for a simple guide that point out what code string to put where.

Thanks in advance!

Cheers

3 Answers

New Answer

MP Mr Papa
Mr Papa
Member

have you configured your thanks admin page? thats were you assign the thanks points, etc

then you have to add to your sp theme, the template functions to enable the thanking stuff… if you have a custom theme from before the plugin, they are probably not there… if you have a theme from a late sp theme, they are probably there… worst case, you could look at the latest default theme to see where we would show them by default…

if you want a top thanked list, just use the template tag like:

sp_thanks_stats_top_thanked(‘tagClass=spRight&limit=10’, ‘Top Thanked:’);

where you want the list to display…

ME Meztli
Meztli
Member

Great thanks.

If want the list in the forum footer, then i supose i should add the template tag to spfoot.php.

In the Codex i found following example to give the thanks list a own column in the footer:

sp_ColumnStart(‘tagClass=spColumnSection spRight spTopPosterStats&width=15%&height=0’);
sp_thanks_stats_top_thanked(‘tagClass=spRight’,’Top Thanked:’);
sp_ColumnEnd();

 

I am just not sure exactly where in the spfoot.php to put your template and above code to not destroy any thing.
 
Thanks for your patient and help.
 
Cheers
MP Mr Papa
Mr Papa
Member

yes, in spFoot.php…  where depends on where you want it to show…  above stats?  below stats? inside the stats, etc…

the example is actually embedding it into the stats table as another column…