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)

Tulsa 02-05-2006 03:53 PM

Typos can be fun! :)

Abe1 02-05-2006 06:06 PM

Quote:

Originally Posted by lazyseller
If you can make a option to be able to thank your own post im willing to give a 20.00 donation.

Ok. I'll stick in that option into next version.

Darkfire122333 02-05-2006 06:13 PM

is there any way to connect this to also add a post, so that it can be used in combination with a hide hack? becuase thats what i mainly want it to do. So the user selects thank you, and it counts as a post and allows the m to see the hidden content.

bashy 02-05-2006 06:13 PM

I have been racking my brain since seeing that post, what would the need be to actually thank your own post?

Abe1 02-05-2006 06:15 PM

Quote:

Originally Posted by Darkfire122333
is there any way to connect this to also add a post, so that it can be used in combination with a hide hack? becuase thats what i mainly want it to do. So the user selects thank you, and it counts as a post and allows the m to see the hidden content.

What is the link to the hide hack?

Darkfire122333 02-05-2006 06:18 PM

<a href="https://vborg.vbsupport.ru/showthread.php?t=90985" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=90985</a>

that is the link to it.

Abe1 02-05-2006 06:20 PM

Quote:

Originally Posted by Darkfire122333

Ok. I will try to release an add-on.

Darkfire122333 02-05-2006 06:21 PM

Thank you, it would be much appreciated.

(i know this sounds kinda rude, but i do not want to be but..)
how long est. do you think it will take?

Tulsa 02-05-2006 06:24 PM

Although I have no reason to thank myself, I will toss in the same $20 donation for a "groan" button!

Abe1 02-05-2006 06:25 PM

Quote:

Originally Posted by Darkfire122333
Thank you, it would be much appreciated.

(i know this sounds kinda rude, but i do not want to be but..)
how long est. do you think it will take?

Can take a day or a month. I'm not realy that predicatable. I assume with-in a week.

Abe1 02-05-2006 06:26 PM

Quote:

Originally Posted by Tulsa
Although I have no reason to thank myself, I will toss in the same $20 donation for a "groan" button!

I'll be working on the "groan hack" soon also. Your not the only one that wants it.

Darkfire122333 02-05-2006 06:26 PM

ok well thank you, it is really great of you to make this! it is awesome!

forumsoup.com 02-05-2006 06:26 PM

Does this work for 3.5.3 (saw that it said 3.5.2 but sometimes hacks work with multiple versions).

Abe1 02-05-2006 06:27 PM

Quote:

Originally Posted by forumsoup.com
Does this work for 3.5.3 (saw that it said 3.5.2 but sometimes hacks work with multiple versions).

Yes, this works for 3.5.3.

Tulsa 02-05-2006 06:34 PM

Quote:

Originally Posted by Abe1
I'll be working on the "groan hack" soon also. Your not the only one that wants it.

Most humble thanks!


Now I need to find those other guys to split the $20! :D

I'm kidding!

Abe1 02-06-2006 12:50 AM

Version 2.8 (2/5/06):
  • [FIXED] Removed one query thanks to AnhTuanCool (abe clicks 'thanks')
  • [ADDED] Option to allow users to thank their own post
  • [ADDED] Option to allow a pop=up or refresh after a user clicks thanks

Tulsa 02-06-2006 02:00 AM

Going from 2.7 to 2.8 do we do any template edits or just upload the xml file set to overwrite?

Abe1 02-06-2006 03:00 AM

Quote:

Originally Posted by Tulsa
Going from 2.7 to 2.8 do we do any template edits or just upload the xml file set to overwrite?

Just over write. No template edits although if you edited the button template, you have to revert it.

vietfancy 02-06-2006 03:19 AM

I dont know if this is only me or the code. I set "use Pop-up" to "no", then when i clicked on "thanks" button. there still a popup.

MioTraGusa 02-06-2006 04:19 AM

the same problem fom me ...

lazyseller 02-06-2006 04:50 AM

Same problem for me ... looks like a html error somewhere..

IrPr 02-06-2006 07:21 AM

/me clicks Thanks!

Tuan Ly 02-06-2006 09:03 AM

I wanna report 2 another bugs :

1. After MOD/SMOD/ADMIN use QuickEdit to edit a post, the "THANKS" button will be disappeared !

2. After removing THANKS in a post, THANKS-Counter of the Poster (who get THANKS) is decreased, but THANKS-Counter of the Giver (who give THANKS) isn't decreased !

Abe1 02-06-2006 12:08 PM

Quote:

Originally Posted by lazyseller
Same problem for me ... looks like a html error somewhere..

Did you do a refresh on your page after you sent to know or just tested it on a page already there. There is a differant button script if you set to no.

Abe1 02-06-2006 12:10 PM

Quote:

Originally Posted by Tuan Ly
I wanna report 2 another bugs :

1. After MOD/SMOD/ADMIN use QuickEdit to edit a post, the "THANKS" button will be disappeared !

2. After removing THANKS in a post, THANKS-Counter of the Poster (who get THANKS) is decreased, but THANKS-Counter of the Giver (who give THANKS) isn't decreased !

1) There maybe nothing I can do about that. I have seen this hppen to other hacks that put buttons there also.

2) I will look into. I assum you are talking about where you mass remove thanks.

lazyseller 02-06-2006 01:20 PM

Quote:

Originally Posted by Abe1
Did you do a refresh on your page after you sent to know or just tested it on a page already there. There is a differant button script if you set to no.

I refreshed the page just to be safe.

When i click the link it brings up a popup than redirects the popup to the existing thread.

Abe1 02-06-2006 01:22 PM

Quote:

Originally Posted by lazyseller
I refreshed the page just to be safe.

When i click the link it brings up a popup than redirects the popup to the existing thread.

Hmmm... I will have another look at it.

D.Ilyin 02-06-2006 02:26 PM

PROBLEM:
Someone bad man (as logged user) came to forum and add above 1000 THANKS for posts in different threads. He was banned but.....
QUESTION:
What SQL query i must run additionaly to that one:
Code:

DELETE FROM `post_thanks` WHERE `userid` = XXXX
Because others counters (like post thank's) are still in threads.

Abe1 02-06-2006 02:41 PM

Quote:

Originally Posted by D.Ilyin
PROBLEM:
Someone bad man (as logged user) came to forum and add above 1000 THANKS for posts in different threads. He was banned but.....
QUESTION:
What SQL query i must run additionaly to that one:
Code:

DELETE FROM `post_thanks` WHERE `userid` = XXXX
Because others counters (like post thank's) are still in threads.

Yes. That would be the right query to remove all thanks given by that user.

RFViet 02-06-2006 04:58 PM

does it effect hide hack ?? I mean, unregistered member can see hiden link after posting thanks button ?? (registered member should be ok to do this)

smdani 02-06-2006 05:12 PM

I have this plugin installed for some weeks and it works fine, but my users suggest me that a good add on could be to have the possibility to choose the phrase which will appear with the reputation count I mean the $vbphrase[post_thanks_thanked_post] phrase. (Thanked Post)

The idea would be to select one phrase from a list randomly or picked by the user

Well itÂ’s only a suggestion for that great hack
thanks

RS_Jelle 02-06-2006 06:25 PM

Quote:

Originally Posted by Abe1
Hmmm... I will have another look at it.

I've got the same problem :ermm:

Tuan Ly 02-07-2006 01:06 AM

Quote:

Originally Posted by Abe1
1) There maybe nothing I can do about that. I have seen this hppen to other hacks that put buttons there also.

2) I will look into. I assum you are talking about where you mass remove thanks.

1. You may misunderstood. I tested your hack on a totally fresh board & QuickEdit is not a hack, it's a feature available in vBulletin 3.5.x.

2. Yes you should. A fresh board with only 2 usernames : A & B. A give B a "THANK", then A remove it. B will have 0 "thanked" but A still have 1 thank given out. This also happen with mass remove by Admin. You got one plugin which miss reducing thank-given-counter of thank-giver. I wanted to help you fix this but I couldn't understand "name" meaning of variables you used.

Hopefully you feel happy when someone help you find out bugs even they could be right or wrong

Abe1 02-07-2006 01:47 AM

Quote:

Originally Posted by Tuan Ly
1. You may misunderstood. I tested your hack on a totally fresh board & QuickEdit is not a hack, it's a feature available in vBulletin 3.5.x.

2. Yes you should. A fresh board with only 2 usernames : A & B. A give B a "THANK", then A remove it. B will have 0 "thanked" but A still have 1 thank given out. This also happen with mass remove by Admin. You got one plugin which miss reducing thank-given-counter of thank-giver. I wanted to help you fix this but I couldn't understand "name" meaning of variables you used.

Hopefully you feel happy when someone help you find out bugs even they could be right or wrong

I will (try to) fix number 2.

As for number one, it has to do with the quick eidt. There is something there that it does not pull all the post_bit info. The same thing appens when you quick reply but you wont realize it because you dont allow your self you thank you own posts.

lazyseller 02-07-2006 01:49 AM

IM ready to send my donation right after the popup fix...

Abe1 02-07-2006 01:50 AM

Quote:

Originally Posted by lazyseller
IM ready to send my donation right after the popup fix...

Can you tell me if any of the thanks templates were edited?

lazyseller 02-07-2006 02:11 AM

nope i didnt modify any thanks templates

XtremeOffroad 02-07-2006 02:23 AM

This thank you phrase is missing now
(User Name) says you are very welcome. Your thanks will show up once you refresh the page you gave the thanks in.

Love the hack and looking foreward to a fix.

snowlion 02-07-2006 06:56 AM

Quote:

This thank you phrase is missing now
(User Name) says you are very welcome. Your thanks will show up once you refresh the page you gave the thanks in.
oh yes, popup show post we ckicked thank button but not show phrase (User Name) says you are very welcome. Your thanks will show up once you refresh the page you gave the thanks in.
please fix

Abe1 02-07-2006 12:29 PM

Ok guys, I found the problem why you were getting a pop-up and not just refreshing. It should work now.


All times are GMT. The time now is 01:59 AM.

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.02173 seconds
  • Memory Usage 1,824KB
  • 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
  • (2)bbcode_code_printable
  • (18)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