vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Show Thread Enhancements - [AJAX] Post Thank You Hack (https://vborg.vbsupport.ru/showthread.php?t=165673)

Adam21 12-22-2007 01:08 PM

Quote:

Originally Posted by csavern (Post 1406796)
A conflict was detected in the bitfields. You cannot continue with the installation of this product until this has been fixed. The conflicts found were:
Bitfield Collision: credits_cantearn = prefixrequired

Any one know how to fix this
i uninstalled the 6.3 and tried to reinstall and still the same thing

That looks like an error with the credits mod conflict you had with this mod.3.7 b3 works ok with this.

Traxdata 12-22-2007 07:15 PM

seems to work on beta3 :) thank you very much!

donal 12-23-2007 12:06 AM

Thanks for the update Abe.

I am already using this hack in ver 3.6.8. Now after I upgrade my forum to 3.7, will my members be able to retain the previous "Thanks counts"

paulmjno 12-23-2007 12:22 AM

The permissions are backwards. I mean, there's only one forum I'd like to enable this on, so I would need to disable it for every forum but that one, including any new ones I might add.

zmmmzz 12-23-2007 05:24 AM

I want to display a hit counter so that everytime someone hits the thanks button a number increases by 1. What kind of plugin should I add to make this happen?

superthang 12-23-2007 08:22 AM

thanks you for the hack :)

is there a click thanks reveal hidden content?

Traxdata 12-23-2007 10:39 AM

a member of my board noticed that when you click on the Post Thanks tab on someone's profile, the data is actually your own, not the person's who's profile you are looking at. I took a look at some profiles and indeed - I saw my Thanking Posts...

on vb3.7.b3
can anyone confirm it?

bxbigt 12-23-2007 05:59 PM

yup i can confirm

Audentio 12-23-2007 07:31 PM

Quote:

Originally Posted by Traxdata (Post 1407449)
a member of my board noticed that when you click on the Post Thanks tab on someone's profile, the data is actually your own, not the person's who's profile you are looking at. I took a look at some profiles and indeed - I saw my Thanking Posts...

on vb3.7.b3
can anyone confirm it?

I confirm as well. :)

Chance4Today 12-24-2007 01:55 AM

Absolutley love this one. I just installed fresh 3.7.0 beta 3 Christmas two days a way and my children will be surprised thanks for the thank you

Abe1 12-24-2007 04:47 AM

Quote:

Originally Posted by Alien (Post 1405878)
Hey, nice work!

Question: If I set this to only show for 1 particular forum (like a customer service area), will the 1 query still have to be run on the other forums? If yes, is their a way to prevent that in a future version?

Thanks so much!

I done believe so. Run the forum in debug mode and look what queries run.

Abe1 12-24-2007 04:50 AM

Quote:

Originally Posted by bxbigt (Post 1406168)
anyone ?

Will WHAT "will this mess up my members thanks count ?"

Upgrading? No.

Abe1 12-24-2007 04:53 AM

Quote:

Originally Posted by donal (Post 1407194)
Thanks for the update Abe.

I am already using this hack in ver 3.6.8. Now after I upgrade my forum to 3.7, will my members be able to retain the previous "Thanks counts"

Yes.

Abe1 12-24-2007 04:54 AM

Quote:

Originally Posted by zmmmzz (Post 1407309)
I want to display a hit counter so that everytime someone hits the thanks button a number increases by 1. What kind of plugin should I add to make this happen?

You should be able to use a hook from add_thanks or something like that.

Abe1 12-24-2007 05:05 AM

Quote:

Originally Posted by Traxdata (Post 1407449)
a member of my board noticed that when you click on the Post Thanks tab on someone's profile, the data is actually your own, not the person's who's profile you are looking at. I took a look at some profiles and indeed - I saw my Thanking Posts...

on vb3.7.b3
can anyone confirm it?

Confirmed. Will try to fix ASAP.

Abe1 12-24-2007 05:35 AM

Version 7.1 (12/24/07):
  • Fixed up the vb3.7 profile block code including fixing showing your info and not the member you are looking at.

Traxdata 12-24-2007 06:35 AM

works great, thank you very much for update!

vBVision 12-24-2007 06:42 AM

Thanks;)

Big-K 12-24-2007 08:00 PM

1 Attachment(s)
Hello,

I'm using ver 3.68.

Problem is I'm showing two lines of thanks. (Please see attached)

Please assist

Abe1 12-24-2007 08:48 PM

Quote:

Originally Posted by Big-K (Post 1408587)
Hello,

I'm using ver 3.68.

Problem is I'm showing two lines of thanks. (Please see attached)

Please assist

Make sure you removed the old thanks template edits.

youradhere4222 12-24-2007 10:01 PM

Thanks for the great hack!

I have a suggestion, if you don't mind. :p

Could the Post Thanks count be under the 'Statistics' tab instead of having it's own tab?

Abe1 12-24-2007 10:14 PM

Quote:

Originally Posted by youradhere4222 (Post 1408642)
Thanks for the great hack!

I have a suggestion, if you don't mind. :p

Could the Post Thanks count be under the 'Statistics' tab instead of having it's own tab?

No. I can't do any more functions in the stats box so I needed my own box.

ckusmez 12-24-2007 10:31 PM

i setted up post thank you hack. when i click thanks button there exist an error. on thanks part. Here is the mistake : "Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /post_thanks.php on line 52"

What should i do ?

vuiveclub 12-25-2007 02:16 PM

Hi, I have some problem, If I prune threads on a forum, post thanks count will remove too?

Pod 12-25-2007 05:39 PM

Quote:

Originally Posted by vuiveclub (Post 1408900)
Hi, I have some problem, If I prune threads on a forum, post thanks count will remove too?

I pruned my test installation (to reduce the database size :p), and I can tell you that the thanks to the deleted posts are no longer counted. So yes, if you prune, you lose the thanks.

thealpha 12-25-2007 11:59 PM

Is there a way to manually override the thank you count? A larger number of threads were removed from my forum however I still want the user to have his thanks.

Abe1 12-26-2007 02:13 AM

I will try to add an option for next release.

thealpha 12-27-2007 03:15 PM

Any known solutions for the time being?

360junkie 12-27-2007 07:33 PM

https://vborg.vbsupport.ru/external/2007/12/9.jpg

he has 0 y it say he have 5

tnedator 12-28-2007 04:05 AM

I would like to have Thanked posts show up in the "latest repuation received" area of the User CP, but not actually add any points to their reputation. Is this possible?

We currently allow people to click the reputation scales and send a little message, but the community has chosen not to track points, so that the reputation never actually increases. Is there any way to do the same with Thanks? Thank a post, have the thank you show up under the post, and then a link to it show up in the User CP, but with zero points?

Thanks

unfaceguy 12-28-2007 04:16 AM

Quote:

https://vborg.vbsupport.ru/attachmen...1&d=1198129320

he has 0 y it say he have 5
it says he thanked not was thanked lol.

mahler59 12-28-2007 06:52 PM

Hey guys the Install went smootly, but, the count doesnt change when hitting the thanks button. Any ideas on what is going on?

Thanks

ericgtr 12-28-2007 08:45 PM

Abe, thanks for the update!

For some reason there isn't a Thanks button for any of the posts by the admin only, everyone else has it. I have not changed any of the defaults either, any ideas?

Traxdata 12-28-2007 10:35 PM

Quote:

Originally Posted by mahler59 (Post 1410956)
Hey guys the Install went smootly, but, the count doesnt change when hitting the thanks button. Any ideas on what is going on?

Thanks

did you try with refresh? thanks count changes after refreshing.

mahler59 12-29-2007 04:41 AM

Quote:

Originally Posted by Traxdata (Post 1411096)
did you try with refresh? thanks count changes after refreshing.

Yea that was the first thing I tried. Any other ideas.....

Namaless 12-29-2007 01:31 PM

I have suggestion for username into thanks box:

In the /includes/functions_post_thanks.php at line 160:

For username use the vb function for get musername (username with style), I use this system:
Code:

                        // Get vBulletin User Group ID
                        $UserGroupID = ( $thank['displaygroupid'] == 0 ) ? 'usergroupid' : 'displaygroupid';
                        $cache[$thank['postid']][$thank['userid']]['username'] = fetch_musername($thank, $UserGroupID);

And the sql I have edited:
Code:

$thanks = $vbulletin->db->query_read("SELECT * FROM " .TABLE_PREFIX. "post_thanks AS ps INNER JOIN " .TABLE_PREFIX. "user AS u ON (u.userid = ps.userid) WHERE ps.postid IN (" . $post_ids . ") ORDER BY ps.username ASC");
I suggest to add this system ;)

I have rewrited the table at bottom post for get thead class for first cell and delete external divisor for more standard ;)

Thanks for your production :)

Taragon 12-31-2007 04:15 PM

could someone tell me perhaps when/where the thank you button is added. somehow -using a custom style- it's showing twice.

(when I revert the postbit_legacy template it is showing ok again)

http://files.taragon.nl/2007/12/thanks.jpg

steve1966 12-31-2007 08:18 PM

Hi sorry to be a pain but i have installed this hack and when i click on the thanks button the button disapears and no thanks is added what have i done wrong?

thanks

Red Spider 01-01-2008 04:07 AM

One of the best mods ever :)

steve1966 01-01-2008 08:28 AM

disregard my support i have fixed now and the mods cool


All times are GMT. The time now is 04:37 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.03154 seconds
  • Memory Usage 1,819KB
  • 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
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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