REGISTER or LOGIN to have the annoying ads removed.
Post Reply 
 
Thread Rating:
  • 5 Votes - 4.2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[r4] ThankYou!
Mar 29, 2009, 10:07 AM
Post: #41
RE: [r4] ThankYou!
Thank thats good modification
Find all posts by this user
Quote this message in a reply

This ad removed for subscribers.
Apr 06, 2009, 11:24 AM (This post was last modified: Apr 06, 2009 11:36 AM by LeX-.)
Post: #42
RE: [r4] ThankYou!
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})

Visit this user's website Find all posts by this user
Quote this message in a reply
Apr 07, 2009, 05:44 AM
Post: #43
RE: [r4] ThankYou!
Nice, Will try it.
Find all posts by this user
Quote this message in a reply
Apr 21, 2009, 11:15 AM
Post: #44
RE: [r4] ThankYou!
Fantastic version plugin.
Find all posts by this user
Quote this message in a reply
Apr 21, 2009, 03:26 PM
Post: #45
RE: [r4] ThankYou!
If new member registering to forum, Does this plugins automatically add THX table to that user profile?

[Image: mybbsig.php]
Visit this user's website Find all posts by this user
Quote this message in a reply
Apr 21, 2009, 04:03 PM
Post: #46
RE: [r4] ThankYou!
thx table is a seperate table; it only inserts a new row when a user presses the Thx button.

Visit this user's website Find all posts by this user
Quote this message in a reply

This ad removed for subscribers.
Apr 28, 2009, 04:51 PM
Post: #47
RE: [r4] ThankYou!
(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

[Image: mybbsig.php]
Visit this user's website Find all posts by this user
Quote this message in a reply
May 01, 2009, 08:58 AM (This post was last modified: May 01, 2009 08:58 AM by LeX-.)
Post: #48
RE: [r4] ThankYou!
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

Visit this user's website Find all posts by this user
Quote this message in a reply
May 01, 2009, 04:42 PM
Post: #49
RE: [r4] ThankYou!
Nice upgrade..

I am still looking for my template or file, that javascript thanks button cannot work Sad

[Image: mybbsig.php]
Visit this user's website Find all posts by this user
Quote this message in a reply
May 01, 2009, 05:14 PM (This post was last modified: May 01, 2009 05:14 PM by LeX-.)
Post: #50
RE: [r4] ThankYou!
Look in the pluginfile for the necessary template changes;
probably adding {$post['thanks']} and {$post['thxdsp']} in postbit && postbit_classic

Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:



icon buffet