Thread Rating:
  • 5 Vote(s) - 4.2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[r4] ThankYou!
MyBB Version: MyBB 1.4
New Settings: 7 [ Thank You Group ]
New Templates: 0
DB Changes: 1 [ New Table ]
File Changes: 0
Files: 3
  • ./jscripts/thankyou.js
  • ./inc/plugins/thx.php
  • ./inc/languages/english/thx.lang.php
Images: 2
  • ./images/english/postbit_thx.gif
  • ./images/english/postbit_unthx.gif
  • Upload ./images/english/postbit_thx.gif into your ./images/english/ folder
  • Upload ./images/english/postbit_unthx.gif into your ./images/english/ folder
  • Upload ./jscripts/thankyou.js into your ./jscripts/ folder
  • Upload ./inc/plugins/thx.php into your ./inc/plugins/ folder
  • Upload ./inc/languages/english/thx.lang.php into your ./inc/languages/english/ folder
  • Go to your PluginManager and Install/Activate the "Thank You" Plugin.

  • Set how many thanks you want to display before the Show All button appears.
  • 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)
  • Show ThankYou! Notes Inline of Under Post
  • Display How Many ThankNotes In x Posts ( Postbit and/or Profile )

* Displays thank you note below each post.

* Originally Made For 1.2.* By Zaher1988; His Copyright Remains
* Since the postbits are renewed; the ThankYou! notes are placed inline rather than below the post like the 1.2.* version did. If you want to move the ThankYou! notes to another place, open your postbit and/or postbit_classic template and replace {$post['thxdsp']}.

Deactivate 1.2.* version; Upload 1.4 version && activate

Update: 2.0 => 2.1
Uninstall - Reupload All Files - Install

Update: 2.1 => 2.2

Update: 2.2 => 2.3
Uninstall - Reupload ./inc/plugins/thx.php - Install
(Don't forget to add {$post['thxdsp_fp']} add the end of your postbit_classic template ! )

Update: 2.3 => 2.4
Delete Setting : Show ThankYou Button If Already Thanked?
Reupload ./inc/plugins/thx.php
Reupload ./inc/languages/english/thx.lang.php
Upload ./images/postbit_unthx.gif

If you've got ProStats Installed and You Want to Show MostThanks In The Stats >> view

Attached Files
.zip   ThankYou!.zip (Size: 13.6 KB / Downloads: 336)
Nice Gonna try into to mybb forum
i get

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1054 - Unknown column 'tid' in 'where clause'
SELECT * FROM mybb_thx WHERE pid='6530' AND tid='610' ORDER BY time DESC

once you click on the thread to read?
This is the table

        $query = $db->query("CREATE TABLE ".TABLE_PREFIX."thx (
            uid int( 10 ) NOT NULL ,
            adduid int( 10 ) NOT NULL ,
            pid int( 10 ) NOT NULL ,
            tid int( 10 ) NOT NULL ,
            time bigint(30) NOT NULL,
            PRIMARY KEY ( txid )
            ) TYPE = MYISAM ;"
I see the column tid ...
thanks very much

I got the same error as crabby. I think the reason is that we already had a table called "mybb_thx". But in the old one there is NO column "tid" .
I inserted it with phpmyadmin, now the plugin works but the old thanks aren't displayed because of their missing "tid".

Is there a sql code that adds the missings "tid"s to the old thanks???

Would be great.

Thanks, lenkradschloss
If you were using the ThankYou mod by Zaher; the TID column exists in the old table.
And no there's no sqlcode that can do that.
that was my next question too, not to worry
doesn't work.. plugin is installed&activated, but i just can't see the "thx"-button in a thread.

what's wrong?
thank you very much

Forum Jump:

Users browsing this thread: 1 Guest(s)