REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 5 Vote(s) - 4.2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[r4] ThankYou!
#41
Thank thats good modification
#42
After reading this thread again;
=> The ones who receive a mysql error; thats due another Thank You plugin that didn't remove the thx_table in his deactivate section. A tip; stick to 1 version.
=> if it doesn't show up in your posts; check your postbit && postbit_classic template for
Code:
{$post['thanks']}
Add it if needed.
=> And for the mental ill ones; the button aint showing in your own posts.
=> A list of the ones who thank'd your post is already included.

**********************
For the suggestions; why thank a post first and then 'unthank' it ? Think before you act.
And you may press as many on the button as you want; if throws an warning that you've thank'd already.

If you want to see how many people thank'd a post;
open ./inc/plugins/thx.php

Find (2x)
Code:
{$lang->thx_givenby}

Change into
Code:
{$lang->thx_givenby} ({$counter})
#43
Nice, Will try it.
#44
Fantastic version plugin.
#45
If new member registering to forum, Does this plugins automatically add THX table to that user profile?
#46
thx table is a seperate table; it only inserts a new row when a user presses the Thx button.
#47
(Apr 21, 2009, 04:03 PM)LeX- Wrote: thx table is a seperate table; it only inserts a new row when a user presses the Thx button.

Sorry Lex, I am using other's Thanks Plugins http://mods.mybboard.net/view/thankyou which have issue on my big forum (slow) more than 600,000 posts and 60,000 users Smile
I saw this when doing unistall/deactivate process (see attach).

PHP Code:
[php]$db->delete_query("settings","name='thx_count'");
    
$db->delete_query("settings","name='thx_active'");
    
$db->delete_query("settinggroups","name='Thank you'");
    
$db->delete_query("templates","title='postbit_thxcount'");
    if(
$db->field_exists("thx","posts"))
        [
b]$db->query("ALTER TABLE ".TABLE_PREFIX."posts DROP thx");[/b]
    if(
$db->field_exists("thx","users"))
        
$db->query("ALTER TABLE ".TABLE_PREFIX."users DROP thx , DROP thxcount");    
    
rebuild_settings(); 

But, I like what Lex's did comparing above.
see the different for Lex's Thanks below Smile
   

PHP Code:
function thx_uninstall()
{
    global 
$db;
    
$db->drop_table('thx');
    
$db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name='thx_max'");
    
$db->query("DELETE FROM ".TABLE_PREFIX."settinggroups WHERE name='Thank you'");
    
rebuild_settings();


personally, I like this.
But, seem fail to install (cannot press Java Thanks Button).
I will search my template.
Maybe, next version not using Java Smile
#48
Update:
New Options:
  • Show Button in FirstPost or All Posts
  • ForumIDs Where ThankYou! Button Shows Up
  • Reputation Points When Pressing ThankYou! Button (Can Be Disabled)
  • Retract Your ThankYou! From A Post (Press ! Next To Your Name in The ThankYou List)
       

Update?
Uninstall - Reupload all files - Install
#49
Nice upgrade..

I am still looking for my template or file, that javascript thanks button cannot work Sad
#50
Look in the pluginfile for the necessary template changes;
probably adding {$post['thanks']} and {$post['thxdsp']} in postbit && postbit_classic


Forum Jump:


Users browsing this thread: 1 Guest(s)