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)

lazyseller 02-07-2006 01:28 PM

Abe1 thanks i sent a 20.00 donation as promised...

Abe1 02-07-2006 01:28 PM

Quote:

Originally Posted by lazyseller
Abe1 thanks i sent a 20.00 donation as promised...

Thanks. I just got it.

IrPr 02-07-2006 05:27 PM

Quote:

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

Thanks. i think i luv ya:x

Abe1 02-08-2006 03:35 AM

Version 2.9 (2/8/06):
  • [FIXED] Fixed allot of things in regard to deleting thanks using the "remove all thanks" and "Remove your thanks".

I recommend to run the counters for this hack after you upgrade. Ther had been a big problem with the count for how may posts thanked.

The Realist 02-08-2006 09:11 AM

Upgrade to 2.9 is just the xml files yes?

No edits etc.

Abe1 02-08-2006 11:58 AM

Quote:

Originally Posted by The Realist
Upgrade to 2.9 is just the xml files yes?

No edits etc.

Correct. Just the xml upload.

If there are edits, it would be include in a text file saying like edits for 2.8 -> 2.9.

bashy 02-08-2006 03:08 PM

I have upgraded but still get the popup, Strange thing is, the popup dont say thanks anymore..... I cant see what it says :(
Will uplad an image in a sec

Abe1 02-08-2006 03:10 PM

Quote:

Originally Posted by bashy
I have upgraded but still get the popup, Strange thing is, the popup dont say thanks anymore..... I cant see what it says :(
Will uplad an image in a sec

Did you refresh the page after you upgrade? Did you ever edit the button template?

bashy 02-08-2006 03:11 PM

Damn your quick ;)

I did refresh the page anbd i do not remeber ever doing a button template

Abe1 02-08-2006 03:14 PM

Quote:

Originally Posted by bashy
Damn your quick ;)

I did refresh the page anbd i do not remeber ever doing a button template

Are you sure you have version 2.9? It should only refresh your page.

bashy 02-08-2006 03:16 PM

I only downloaded it just before my post moanning about it not working ;)
Gonna shut the browser and try again... 2 secs.....

bashy 02-08-2006 03:18 PM

Nope definatley popping up, and yeah its 2.9....
Gonna try removing the product and re-adding it...
2 secs... lol

bashy 02-08-2006 03:19 PM

Still popping up im afraid :(
Take a gander if ya want?

bashy 02-08-2006 03:29 PM

Nope im wrong...I got the wrong freaking HACK again....
What is it with me and your 2 hacks :o
Thanks for ya help...

Abe1 02-08-2006 03:40 PM

Quote:

Originally Posted by bashy
Nope im wrong...I got the wrong freaking HACK again....
What is it with me and your 2 hacks :o
Thanks for ya help...

First, my like 10-15 hacks :P

Second, I dont know why. I would need a test account and access to your acp templates and plugins to see why.

If you can, please PM me the info.

matttiger 02-08-2006 04:13 PM

I'm not sure whether this has been fixed in a recent version as the forum I was visiting has an older version of the hack installed.

But, on a guest's post, the Guest has been thanked but the guest's name doesn't appear in the box below the post, it just says "The following user says thanks to for this useful post"

Just a thought thats all :)

Abe1 02-08-2006 04:13 PM

Quote:

Originally Posted by bashy
Nope im wrong...I got the wrong freaking HACK again....
What is it with me and your 2 hacks :o
Thanks for ya help...

All fixed. You had edited the button template.

Abe1 02-08-2006 04:14 PM

Quote:

Originally Posted by matttiger
I'm not sure whether this has been fixed in a recent version as the forum I was visiting has an older version of the hack installed.

But, on a guest's post, the Guest has been thanked but the guest's name doesn't appear in the box below the post, it just says "The following user says thanks to for this useful post"

Just a thought thats all :)

I dont think you can thank guests now.

funinthesun 02-08-2006 05:40 PM

Sorry if this has been written before but I don't want to read through 31 pages of posts! I've done all the template edits and uploaded the gif to all of the buttons folders and imported the plugin but the image isn't showing on the posts. Any idea why?

Abe1 02-08-2006 05:53 PM

Quote:

Originally Posted by funinthesun
Sorry if this has been written before but I don't want to read through 31 pages of posts! I've done all the template edits and uploaded the gif to all of the buttons folders and imported the plugin but the image isn't showing on the posts. Any idea why?

Are you looking at other users posts or yourse? Do you have more then one style? You have to do the template edits to each one.

Tuan Ly 02-09-2006 07:01 AM

Quote:

Originally Posted by Abe1
Version 2.9 (2/8/06):
  • [FIXED] Fixed allot of things in regard to deleting thanks using the "remove all thanks" and "Remove your thanks".

I recommend to run the counters for this hack after you upgrade. Ther had been a big problem with the count for how may posts thanked.

I am seeing a lot of changes from v2.8 - v2.9. I hope all changes are correct :rolleyes:

bryanb 02-09-2006 11:48 AM

I've searched this thread, but maybe I missed it so please bear with me :D

Is there a way to see in the Admin control panel who has been thanked the most - or say, the top 10 thanked users etc.? I'm running the 2.6a version I believe.

I'd like to use incentives to prompt people to make posts that are worthy of being thanked - it would really help to be able to track these be being able to tell which members are being thanked the most.

funinthesun 02-09-2006 12:02 PM

Quote:

Originally Posted by Abe1
Are you looking at other users posts or yourse? Do you have more then one style? You have to do the template edits to each one.

I'm looking at everyone's posts. I can see the written words in the post bit and profile just can't see the thanks button.

Yes, I have more than one style and I've only edited the default style as the other styles aren't live yet. Do I need to edit the templates on the other styles for this to work as well?

Abe1 02-09-2006 12:11 PM

Quote:

Originally Posted by funinthesun
I'm looking at everyone's posts. I can see the written words in the post bit and profile just can't see the thanks button.

Yes, I have more than one style and I've only edited the default style as the other styles aren't live yet. Do I need to edit the templates on the other styles for this to work as well?

You need to have the edits in any style that you want to see it.

Abe1 02-09-2006 12:12 PM

Quote:

Originally Posted by bryanb
I've searched this thread, but maybe I missed it so please bear with me :D

Is there a way to see in the Admin control panel who has been thanked the most - or say, the top 10 thanked users etc.? I'm running the 2.6a version I believe.

I'd like to use incentives to prompt people to make posts that are worthy of being thanked - it would really help to be able to track these be being able to tell which members are being thanked the most.

The only think I have is an addon to CMPS.

S1OPP 02-09-2006 01:01 PM

Quote:

Please post your comments or suggestions for this hack. I read ALL posts.

I've been hunting for something like this for my forum and I'm on the brink of installing this as it is, but since you asked for suggestions I thought I'd give it a try.

I'm looking for the ability for my users to click a button to either "Agree" or "Disagree" with a post. Each click would display a thumbs up or down for the post. With the ability to click and see a list of who's clicked which.

Clearly this hack would go some way to achieving this, I'm no coder so have no idea how much extra work would be involved, but I'm sure it something a lot of people would be very interested in.

Thanks for hearing me out.
S1OPP

Abe1 02-09-2006 01:23 PM

Quote:

Originally Posted by S1OPP
I've been hunting for something like this for my forum and I'm on the brink of installing this as it is, but since you asked for suggestions I thought I'd give it a try.

I'm looking for the ability for my users to click a button to either "Agree" or "Disagree" with a post. Each click would display a thumbs up or down for the post. With the ability to click and see a list of who's clicked which.

Clearly this hack would go some way to achieving this, I'm no coder so have no idea how much extra work would be involved, but I'm sure it something a lot of people would be very interested in.

Thanks for hearing me out.
S1OPP

Nice Idea :) It has been asked a few times already. I will be coming out with a hack soon called "Post Groan Hack". It will not ba part of this hack but you will be able to run them both together. This one will just have the same type of image just called "groan" and will have a thumbs down.

S1OPP 02-09-2006 02:05 PM

Fantastic, I'll look forward to running them both together.

funinthesun 02-09-2006 02:50 PM

Quote:

Originally Posted by Abe1
You need to have the edits in any style that you want to see it.

OK, well I only want it to show on my default style at the moment as the other styles aren't live yet so I've only edited the templates for the default style but the thanks button isn't showing up?

Abe1 02-09-2006 02:53 PM

Quote:

Originally Posted by funinthesun
OK, well I only want it to show on my default style at the moment as the other styles aren't live yet so I've only edited the templates for the default style but the thanks button isn't showing up?

Are useing that style? If you are and still can't see it, I would have to look at your acp. If you can, I need need access to your templates and products. PM me the info.

funinthesun 02-10-2006 12:24 PM

Thanks again Abe for fixing it for me. To everyone else it was my fault it wasn't working, I had put the code in the wrong place and forgotten to put another piece of code in. Note to self: Never install mods when you're half asleep ;)

Abe1 02-10-2006 02:57 PM

Version 3.0 (2/10/06):
  • [FIXED] Fixed one more thing in regard to "remove all thanks".
  • [FIXED] Re-wrote the thanks actions so it they useless queried when you give or remove thanks.

firstrebel 02-10-2006 03:37 PM

Thanks for the continued support with this great hack. I take it there are no template changes from v2.7?

Bob

D.Ilyin 02-10-2006 03:37 PM

Abe1 it's very bad that i can't click "install" in second time :) Thank's!

Abe1 02-10-2006 03:39 PM

Quote:

Originally Posted by firstrebel
I take it there are no template changes from v2.7?

Correct.

Stubager 02-10-2006 06:45 PM

This is the most importan plugin ever! Keeps away one-liners!

IrPr 02-10-2006 08:06 PM

Quote:

Originally Posted by Abe1
Version 3.0 (2/10/06):
  • [FIXED] Fixed one more thing in regard to "remove all thanks".
  • [FIXED] Re-wrote the thanks actions so it they useless queried when you give or remove thanks.

WOW ! How to upgrade Abe?

Abe1 02-10-2006 08:08 PM

Quote:

Originally Posted by IrPr
WOW ! How to upgrade Abe?

Just upload the xml.

D.Ilyin 02-11-2006 09:03 AM

Ops.... :( I catch a small bug, but it's not your's....
Whan i translate phrases in plugin i get the SQL error when i try to delete own thank's with old translation. Because:
Code:

DELETE FROM ". TABLE_PREFIX ."reputation WHERE postid = $postid AND reason='$vbphrase[post_thanks_thanked_post]
I must run that query:
Code:

UPDATE ". TABLE_PREFTIX ."reputation SET reason = "translated phrase" WHERE reason = "Thanked Post"
Am i rigth?

NeutralizeR 02-11-2006 12:01 PM

There is a problem after the 3.0 upgrade.

Quote:

Database error in vBulletin 3.5.3:

Invalid SQL:

UPDATE msx_user
SET post_thanks_thanked_times = 1 + post_thanks_thanked_times, post_thanks_thanked_posts = 1 + post_thanks_thanked_posts, reputation = $vboptions[post_thanks_reputation] + reputation
WHERE userid = 110261;

MySQL Error : 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 '[post_thanks_reputation] + reputation
WHERE userid = 110261' at line 2
Error Number : 1064
Reputation is disabled under the hack settings. Waiting for a fix...


All times are GMT. The time now is 08:17 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.02152 seconds
  • Memory Usage 1,834KB
  • 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
  • (21)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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