Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
A guide to Post thanks
Avatar
Meztli
Sweden
Member
sp_UserOfflineSmall Offline
Oct 14, 2013 - 11:11 am

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

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 14, 2013 - 2:43 pm

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...

Avatar
Meztli
Sweden
Member
sp_UserOfflineSmall Offline
Oct 14, 2013 - 4:29 pm

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
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 14, 2013 - 9:40 pm

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...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625