MyBB Central
[r4] ThankYou! - Printable Version

+- MyBB Central (http://www.mybbcentral.com)
+-- Forum: Archives (http://www.mybbcentral.com/forum-33.html)
+--- Forum: Mybb 1.4x Series Topics (http://www.mybbcentral.com/forum-26.html)
+---- Forum: Mybb 1.4x Plugins and Hacks (http://www.mybbcentral.com/forum-27.html)
+----- Forum: LeX'z Plugins (http://www.mybbcentral.com/forum-30.html)
+----- Thread: [r4] ThankYou! (/thread-1514.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19


[r4] ThankYou! - LeX- - Aug 10, 2008

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
Install:
  • 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.

Settings:
  • 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 )

What:
* Displays thank you note below each post.

Note:
* 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']}.

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

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

Update: 2.1 => 2.2
See: http://www.mybbcentral.com/thread-1514-post-19107.html#pid19107

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


RE: [r4] ThankYou! - ak47 - Aug 10, 2008

Nice Gonna try into to mybb forum


RE: [r4] ThankYou! - crabby - Aug 11, 2008

i get

MyBB has experienced an internal SQL error and cannot continue.

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

once you click on the thread to read?


RE: [r4] ThankYou! - LeX- - Aug 12, 2008

This is the table

Code:
        $query = $db->query("CREATE TABLE ".TABLE_PREFIX."thx (
            txid INT UNSIGNED NOT NULL AUTO_INCREMENT ,
            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 ...


RE: [r4] ThankYou! - Willy - Aug 15, 2008

thanks very much


RE: [r4] ThankYou! - lenkradschloss - Aug 15, 2008

Hi,

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


RE: [r4] ThankYou! - LeX- - Aug 15, 2008

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.


RE: [r4] ThankYou! - crabby - Aug 15, 2008

that was my next question too, not to worry


RE: [r4] ThankYou! - sLix - Aug 16, 2008

doesn't work.. plugin is installed&activated, but i just can't see the "thx"-button in a thread.

what's wrong?


RE: [r4] ThankYou! - trainfan72 - Aug 16, 2008

thank you very much