vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   [AJAX] Post Thank You Hack (https://vborg.vbsupport.ru/showthread.php?t=92410)

ctsolutions 10-03-2005 06:22 PM

many thanks for this hack, is very usefull.

Mike

Bubble #5 10-03-2005 11:20 PM

Great hack Abe!

Too bad they don't use it here on vB.org so we could use it to THANK YOU for this awsome hack :)

Tulsa 10-04-2005 04:42 AM

Cured my problem with it.

Thanks Abe!

Doc Great 10-04-2005 05:32 AM

Really nice hack, i used it since 3.0.7 but i forgott to uninstall before updating to 3.5 Gold, now i get a SQL-Error when i klick "thanks"
Quote:

Datenbankfehler in vBulletin 3.5.0:

Invalid SQL:

UPDATE user
SET post_thanks_thanked_times = 1 + post_thanks_thanked_times
WHERE userid =;

MySQL-Fehler : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3
Fehler-Nr. : 1064
Datum : Tuesday, October 4th 2005 @ 08:26:24 AM
Skript : http://www.emuleboard.net/showthread.php?t=3085&page=52
Referrer : http://www.emuleboard.net/mitarbeite...html#post84457
IP-Adresse : 62.225.xxxxx
Benutzername : Doc Great
Klassenname : vb_database
I run the queries from the (un)install-script (3.0.x) manually, also the ones from this thread ....

q8-star 10-04-2005 11:14 AM

Great hack ,installed .

But ,I'm having difficult times trying to translate some phrase because I just can't find them from "find phrases" in ACP .Do you have an easy way to locate the phrases and translate them ,because I'm sure I didn't find them in the XML file also .

My regards ,,,

bpn 10-04-2005 08:48 PM

Quote:

Originally Posted by thedvs
Using vb 3.5
Imported the product
did the edits

The thanks button doesn't show up at all & I have no idea what is wrong


I have exactly the same problem...have uninstalled & reinstalled without luck.
Do you have any idea what the problem is ?

bonnmac 10-04-2005 08:57 PM

Quote:

Originally Posted by bpn
I have exactly the same problem...have uninstalled & reinstalled without luck.
Do you have any idea what the problem is ?

have you uploaded the thanks gif to your imades/buttons folder of each of you skins???

bpn 10-04-2005 09:03 PM

Quote:

Originally Posted by bonnmac
have you uploaded the thanks gif to your imades/buttons folder of each of you skins???

Yes, and I have checked the html sourcecode for the thanks code, but nothing at all is there, and I have also enabled the thanks function in the options menu.

bpn 10-04-2005 09:15 PM

Quote:

Originally Posted by bpn
Yes, and I have checked the html sourcecode for the thanks code, but nothing at all is there, and I have also enabled the thanks function in the options menu.


Ahh, found the error I think. When I save the thanks code in default template, the childs are not being updated as they should. A few of the postbit templates are missing the thanks code.

Guess I have to edit all my styles 1 by 1 instead..

bpn 10-04-2005 09:39 PM

Quote:

Originally Posted by bpn
Ahh, found the error I think. When I save the thanks code in default template, the childs are not being updated as they should. A few of the postbit templates are missing the thanks code.

Guess I have to edit all my styles 1 by 1 instead..

Actually, can anybody tell me why it doesnt save my childs like it should ?
It seems like it's only the postbit templates, and not the other ones there are problems with.

I have tried to rebuild my styles from the 'update counters' menu, but nothing seems to help.

Bubble #5 10-04-2005 09:48 PM

Quote:

Originally Posted by Abe1
Yes. You will have no errors installing it.

Hi Abe. We installed this on a brand new 3.5 gold and now we are recieving this error whenever a post is made:

Quote:

Warning: file_get_contents(/forum/includes/blacklist.txt): failed to open stream: No such file or directory in /includes/functions_newpost.php(333) : eval()'d code on line 50
We looked on the server and the file named functions_newpost.php does appear to be there. How should we correct this? Thanks.

Bubble #5 10-05-2005 12:27 AM

Quote:

Originally Posted by Bubble #5
Hi Abe. We installed this on a brand new 3.5 gold and now we are recieving this error whenever a post is made

OK we fixed it. Somehow another file from another hack got deleted. Turns out it had nothing to do with this hack... All is well :)

csidlernet 10-05-2005 02:08 AM

thankyou verymuch!

Abe1 10-05-2005 11:43 PM

Quote:

Originally Posted by Doc Great
Really nice hack, i used it since 3.0.7 but i forgott to uninstall before updating to 3.5 Gold, now i get a SQL-Error when i klick "thanks"

I run the queries from the (un)install-script (3.0.x) manually, also the ones from this thread ....

It looks like it's not picking up the Userid. I'm not sue why. I need more info.

Doc Great 10-06-2005 04:47 AM

Good morning Abe1

please tell me what you want me to do. I installed strict by manual.

Abe1 10-06-2005 05:27 AM

Quote:

Originally Posted by Doc Great
Good morning Abe1

please tell me what you want me to do. I installed strict by manual.

Can you log onto ICQ now or tell me what the link is that you click on before you get the error?

Doc Great 10-06-2005 06:16 AM

Ok ICQ ist bad, im in the office now. But the error occures every time i klick any post to thank. Before installing the new version (i did it two times) i run these queries (and the ones in the manual):

DROP TABLE IF EXISTS post_thanks;
ALTER TABLE `user` DROP `post_thanks_user_amount`;
ALTER TABLE `post` DROP `post_thanks_amount`;
ALTER TABLE `user` DROP `post_thanks_thanked_posts`;
ALTER TABLE `user` DROP `post_thanks_thanked_times`;
DELETE FROM `settinggroup` WHERE `grouptitle` = 'post_thanks' LIMIT 1;
DELETE FROM `setting` WHERE `grouptitle` = 'post_thanks';

Abe1 10-06-2005 06:22 AM

Quote:

Originally Posted by Doc Great
Ok ICQ ist bad, im in the office now. But the error occures every time i klick any post to thank. Before installing the new version (i did it two times) i run these queries (and the ones in the manual):

DROP TABLE IF EXISTS post_thanks;
ALTER TABLE `user` DROP `post_thanks_user_amount`;
ALTER TABLE `post` DROP `post_thanks_amount`;
ALTER TABLE `user` DROP `post_thanks_thanked_posts`;
ALTER TABLE `user` DROP `post_thanks_thanked_times`;
DELETE FROM `settinggroup` WHERE `grouptitle` = 'post_thanks' LIMIT 1;
DELETE FROM `setting` WHERE `grouptitle` = 'post_thanks';

There was no reason to run this. Anyways, now unistall the product and then re-install it. Also, after you unistall the product, rn the 4 queries I meantion to run if you are upgrading.

RS_Jelle 10-07-2005 07:07 PM

Great hack, I've installed it again after the upgrade to 3.5 :cool:
But ... I've got a little problem: you see the users who thanked someone double.
Like: "The Following User Says Thank You to xxxx For This Useful Post: Remove All
yyyy (07-10-05) yyyy (07-10-05)"

Abe1 10-09-2005 04:54 AM

Quote:

Originally Posted by RS_Jelle
Great hack, I've installed it again after the upgrade to 3.5 :cool:
But ... I've got a little problem: you see the users who thanked someone double.
Like: "The Following User Says Thank You to xxxx For This Useful Post: Remove All
yyyy (07-10-05) yyyy (07-10-05)"

Can you get me a pic?

Doc Great 10-09-2005 06:55 AM

Quote:

Originally Posted by Abe1
There was no reason to run this. Anyways, now unistall the product and then re-install it. Also, after you unistall the product, rn the 4 queries I meantion to run if you are upgrading.

No chance, same problem like before ....

NuclioN 10-09-2005 09:03 AM

Installed! Very clever and nice. :)

Katman 10-11-2005 02:35 PM

*FIXED*

ukbill69 10-15-2005 10:54 AM

No one no?
https://vborg.vbsupport.ru/showpost....9&postcount=45

drumforum 10-17-2005 03:42 PM

Thank you sooo much!!!!

great!

this was top hack on 3.0.7 and I was getting so many PM's to get it back, and finally i have found it again :):):)

thank youuuu!

drumforum 10-17-2005 04:37 PM

Quote:

Originally Posted by drumforum
Thank you sooo much!!!!

great!

this was top hack on 3.0.7 and I was getting so many PM's to get it back, and finally i have found it again :):):)

thank youuuu!

awww nooo, on the hack I really wanted to work, I get this:
Quote:

Database error in vBulletin 3.5.0:

Invalid SQL:
SELECT * FROM vb_post_thanks WHERE threadid='524' ORDER BY username ASC;

MySQL Error : Unknown column 'threadid' in 'where clause'
Error Number : 1054
Date : Monday, October 17th 2005 @ 06:22:59 PM
help?

dai-kun 10-18-2005 05:54 AM

So is there any news on incorporating this hack with the hide hack?
Maybe with this one?

Doc Great 10-18-2005 08:21 AM

The problem was found, it's vBSEO, but it will be fixed with release of 2.1 (soon). So no bug @thanks-bot :D

drumforum 10-20-2005 11:58 AM

Quote:

Originally Posted by drumforum
awww nooo, on the hack I really wanted to work, I get this:


help?

bumpp

Abe1 10-20-2005 01:40 PM

Quote:

Originally Posted by drumforum
bumpp

You mostlikely upgraded from a pre 1.10 version to version 2.0. Version 1.10 stared using threadid's to pull thanks and not post id's. A new column was created then and the upgrade script updated all thanks in include the thread id's. I dont have an upgrade script from that time. I recommend uninstall then re-install.

q8-star 10-20-2005 10:17 PM

Hi Abe1 ...

The hack is great but I'm facing right now one problem in translating the hack.
As you can see from the attached picture there is that 2 phrases that I found nothing about them in the phrase search ,I hope you help me to find a way for it.

glorify 10-21-2005 01:20 AM

Got my first erors with this. My users love it and complained when it was off the forums for awhile. Reinstalled in 3.5 and have had no problems (month) until tonight when I merged two threads. I get:

Warning: Invalid argument supplied for foreach() in /includes/class_postbit.php(251) : eval()'d code on line 125

Warning: Invalid argument supplied for foreach() in /includes/class_postbit.php(251) : eval()'d code on line 135

Went to the plugin manager and disabled the thank you hack from the postbit. No errors. Any ideas?

Abe1 10-21-2005 01:26 AM

Quote:

Originally Posted by q8-star
Hi Abe1 ...

The hack is great but I'm facing right now one problem in translating the hack.
As you can see from the attached picture there is that 2 phrases that I found nothing about them in the phrase search ,I hope you help me to find a way for it.

Search just 'Post' or just 'thanks'.

Abe1 10-21-2005 01:27 AM

Quote:

Originally Posted by glorify
Got my first erors with this. My users love it and complained when it was off the forums for awhile. Reinstalled in 3.5 and have had no problems (month) until tonight when I merged two threads. I get:

Warning: Invalid argument supplied for foreach() in /includes/class_postbit.php(251) : eval()'d code on line 125

Warning: Invalid argument supplied for foreach() in /includes/class_postbit.php(251) : eval()'d code on line 135

Went to the plugin manager and disabled the thank you hack from the postbit. No errors. Any ideas?

Did you only get it once, or always get now? I definetly have to work on the merging and spliting thread.

MarsNIIT 10-21-2005 11:51 AM

I need when users say 'thanks' , his post will + post

Abe1 10-21-2005 11:53 AM

Quote:

Originally Posted by MarsNIIT
I need when users say 'thanks' , his post will + post

There is an option in the ACP under Post Thanks Hack options.

glorify 10-22-2005 12:14 AM

Quote:

Originally Posted by Abe1
Did you only get it once, or always get now? I definetly have to work on the merging and spliting thread.

I get it always now. See here:

http://www.glorifythepast.com/forums...ead.php?t=8444

vibe 10-22-2005 03:06 AM

I saw thank you under user's avatar, in search, and member info but not within post, don't see any button. Your instruction was followed "exactly". I have double checked and redo everything 3 times.
I double, triple checked everything and still no button.

Am I missing something?
Oh I'm using 3.5 gold

dai-kun 10-22-2005 06:53 AM

when a regular user thanks a person.. and i have the settings to give the thanked person +1 rep, well, a regular user can choose the "remove your thanks" option and then thank again and then remove then thank. Then the person keep on getting +1 rep (it also +1 post for every thanks that person gives if that option is on)... might wanna fix that?

Valter 10-22-2005 11:06 AM

Quote:

Originally Posted by Cybernetec
I have problem when merging threads. It shows some error at the top of page until I remove thanks posts from thread.

Quote:

Originally Posted by Abe1
I will be looking into this. I have the same problem on my forum.

Hi Abe1

Anything new about this?

Cyb


All times are GMT. The time now is 04:34 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01854 seconds
  • Memory Usage 1,838KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (24)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete