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!
Aug 10, 2008, 01:27 AM (This post was last modified: May 17, 2009 01:27 PM by LeX-.)
Post: #1
[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
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-p...l#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


Attached File(s)
.zip  ThankYou!.zip (Size: 13.6 KB / Downloads: 230)

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

This ad removed for subscribers.
Aug 10, 2008, 03:58 PM
Post: #2
RE: [r4] ThankYou!
Nice Gonna try into to mybb forum
Find all posts by this user
Quote this message in a reply
Aug 11, 2008, 05:00 PM
Post: #3
RE: [r4] ThankYou!
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?
Find all posts by this user
Quote this message in a reply
Aug 12, 2008, 10:28 AM
Post: #4
RE: [r4] ThankYou!
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 ...

Visit this user's website Find all posts by this user
Quote this message in a reply
Aug 15, 2008, 02:48 AM
Post: #5
RE: [r4] ThankYou!
thanks very much

www.opensock.com
Find all posts by this user
Quote this message in a reply
Aug 15, 2008, 02:57 AM (This post was last modified: Aug 15, 2008 02:58 AM by lenkradschloss.)
Post: #6
RE: [r4] ThankYou!
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
Find all posts by this user
Quote this message in a reply

This ad removed for subscribers.
Aug 15, 2008, 03:13 AM
Post: #7
RE: [r4] ThankYou!
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.

Visit this user's website Find all posts by this user
Quote this message in a reply
Aug 15, 2008, 06:09 AM
Post: #8
RE: [r4] ThankYou!
that was my next question too, not to worry
Find all posts by this user
Quote this message in a reply
Aug 16, 2008, 09:27 AM
Post: #9
RE: [r4] ThankYou!
doesn't work.. plugin is installed&activated, but i just can't see the "thx"-button in a thread.

what's wrong?
Find all posts by this user
Quote this message in a reply
Aug 16, 2008, 07:40 PM
Post: #10
RE: [r4] ThankYou!
thank you very much
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:



icon buffet