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)

Devanand 04-10-2009 11:31 AM

Same issue here. I've upload files and nothing happen. I am using default style and 3.8.2 version.

EDIT:

Now it is working. You need to install PRODUCT product-post_thanks.xml
admincp -> Plugin System -> Manage Products

smarthyip 04-11-2009 11:06 AM

* installed ..
Thanks

Frondy 04-11-2009 04:39 PM

Installed, everything works, but Markup usernames when showing who thanked, does not work, can?t see user names as on your attached picture. I have enable it in adminCP (VB3.8.1)


---edit

I solved the problem, there was missing line in templates:

PHP Code:

<div>$post[post_thanks_bit]</div


eduardo133 04-12-2009 12:17 AM

i have an error everytime i enable this hack i got a security token its missing even when i try to edit a post any idea why ?

The Vegan Forum 04-12-2009 10:04 AM

We just installed this hack. Here's a comment from a member:
"Yeah, I think it would be better if it took up less room. My eye keeps getting drawn to who is thanking who when I'm not that interested! The one on the other forum I'm on just says how many times someone has been thanked and if you want to know who thanked them for the post you can click on it to see which forum members thanked them so it's less distracting. "

Another comment: "I think it might work better if it puts the "thanks" in the post, rather than just underneath it if it's trying to make things more readable, less scrolling down and all that."

Will this hack be updated to allow a less visible way of showing how many thankyous a post have received, and without creating something which appears as a new post below the post in question? The bold font style make this extra visible.
Or should I check out other 3.8 compatible thankyou hacks (if there are any)? If the text ("The Following 5 Users Say Thank You to *** For This Useful Post:") would be inside the post, it would already need less room/height to be shown, due to the wider space in the post than in the margin, and I'm pretty sure that bold isn't needed...

Thanks.

AshMagic 04-16-2009 12:18 PM

Is it possible to remove the 'Thanks:' from the postbit?

I only want to show 'Thanked 0 Times in 0 Posts'

I cannot see the point of listing how many times someone has sent thanks!!

zero5854 04-17-2009 01:11 AM

Quote:

Originally Posted by eduardo133 (Post 1789318)
i have an error everytime i enable this hack i got a security token its missing even when i try to edit a post any idea why ?

Is the version of ur vbulletin the same as this mod? OR have u installed a new skin recently? If u are using a older vb that could be ur problem.

scottny 04-17-2009 04:41 AM

Hi,
I have installed this twice and my co admin also tried and every time it crashes my site. Do you know why this would happen?

zombietom 04-17-2009 04:42 PM

upgraded from post thanks version 5.0 to current version on 3.7.1 and all is working very good.
thanks

shervin_dvb 04-17-2009 07:39 PM

Hi
I Upgarade from 7.4 to 7.7 and problem refreshin after butt thanks button .

plz help me for this problem

kairev 04-17-2009 09:28 PM

Very good hack, I've installed it.

One problem I'm having. In the "Statistics" section of a member's profile, the "Total Thanks" box is coming up twice. Did I do something wrong?

1972dodge 04-18-2009 01:20 AM

Is 7.7 compatible with 3.8.2? Getting errors when I attempt to import the

post_thanks.php -> \
post_thanks_admin.php -> \admincp\
post_thanks.js -> \clientscript\
functions_post_thanks.php -> \includes\
cpnav_post_thanks.xml -> \includes\xml\
hooks_post_thanks.xml -> \includes\xml\
post_thanks.gif -> \images\buttons\ (and into EVERY "buttons" folder in every style you have)

In the manage products section.

I can get the product-post_thanks to import but that's it and when I enable it, it disables forum.

I am a newbie any help would be great.

dying4004 04-18-2009 03:34 AM

i think theres some probs with post thanks with vb 3.8.2. lots of users are getting blank page after upgrading to 3.8.2 with post thanks installed previously. i was getting this too. then i uninstalled post thanks and eveyrthing started working fine

mdawg 04-18-2009 08:20 AM

I have 3.8.1 haven't upgraded yet to 3.8.2, but even with 3.8.1 after I installed thank you hack and tested it by trying to thank a post I got a CRAZY long error sort of strip down the middle of the page.
http://img509.imageshack.us/img509/3...ankserror2.jpg

So I disabled the thank you hack until I can figure out what is going on!

1972dodge 04-18-2009 01:36 PM

Yes that's what I am getting as well big error messeges when you try to veiw a thread after installed and enabled.

Must be an issuse with 3.8.2

vivamexico55 04-18-2009 06:26 PM

Just installed this on a 3.8.2 installation and it works.

BUT I had a previous version for 3.7 and I just removed it instead. I'm sure it's the upgrading process that causes problems, but on a FRESH install of 3.8.2 it seems to work so far.

1972dodge 04-18-2009 07:21 PM

Can you give some specifics how you did your install?

Did you import as "poduct"? Was there more that one file you imported? Did you get any errors at all?

mdawg 04-19-2009 06:48 PM

I updated to 3.8.2

I reinstalled the entire Thank you Hack, and overwrote everything. One thing I did notice is that I had installed the code

$template_hook[profile_stats_pregeneral]

which seemed to be for older versions of vbulletin only. I deleted that modification to the memberinfo_block_statistics
template.

Made no difference, I still get the same big error message I posted above in post #1535. I have disabled Thank You Hack for now, it does not work for me.

ClipBucket 04-20-2009 02:16 PM

Abe1,

Can you add this functionality to vBulletin Project Tools on your next release?
Or can anyone point me to documentation for Project Tools hooks?

Thank you.

myown 04-22-2009 12:08 PM

any fix for 3.8.2

Saviour 04-22-2009 12:21 PM

I have 3.8.2...and this mod works perfectly.

EagleNick 04-22-2009 10:04 PM

I've had reputation turned off forever and used Post Thanks instead. Now I want to turn reputation on in conjunction with this mod, so I'm wondering: Is there any way to recount the reputation to include all posts that have ever been thanked?

Secondly, what query can I run to see a list of all users that have been thanked, and how many times they have been thanked? Thanks.

simonaB 04-25-2009 05:08 PM

What should I do if I want to replace the button? I have created an equal to those of the theme I use, I renamed the original key, but when the load via ftp I do not appear in the forum .... Thank you.

gazzak 04-25-2009 05:51 PM

Just installed this today, but my users HATE the space it takes up. Is there any way to get it to look even remotely like they have it on the MSE forums....

https://vborg.vbsupport.ru/external/2009/05/20.gif

Please don't just quote a template at me, some of us need good instructions. Thanks in advance.

Jazzi 04-26-2009 12:44 PM

I'm running 3.8.2 and my install's broken too... :( Tried reinstalling but no joy.

The source code for an error page is being displayed in a full-screen popup. In there is:

Quote:

Invalid SQL:

INSERT INTO post_thanks
(userid, username, date, postid)
VALUES
('x', 'x', 1240753278, 705618);

MySQL Error : Duplicate entry '720576' for key 1
Error Number : 1062
Script : http://www.x.net/forum/post_thanks.php
Referrer : http://www.x.net/forum/showthread.php?p=705618
Classname : vB_Database
Any of that helpful?

wheres me jumpa 04-26-2009 07:39 PM

Installed and working on 3.8.2. Thank you kindly!

Sofia 04-27-2009 09:00 PM

1 Attachment(s)
Hello. Here french language (only phrases) of this hack. Very good mod :)

tehviruss 04-28-2009 06:26 AM

This mod is awesome, pure and simple! I changed it from "Thanks" to "Like" so it works similar to Facebook.

nomoreturn 04-28-2009 06:47 AM

Installed on 3.8.2 and working great

Jazzi 04-28-2009 08:44 AM

Quote:

Originally Posted by wheres me jumpa (Post 1799506)
Installed and working on 3.8.2. Thank you kindly!

Quote:

Originally Posted by nomoreturn@hotm (Post 1800366)
Installed on 3.8.2 and working great

LOL... Now I'm feeling like a n00b! ;) I wonder why some people aren't having issues with 3.8.2 and others are?!

sbsforum.us 04-28-2009 03:22 PM

Installed and using!

This mod is Great!!!

Thank you

jjhuangtw 04-30-2009 06:10 AM

Is that possible "2 thanks get 1 reputation point" ?
I set it to 0.5 ,But I failed.

brahn 05-01-2009 03:31 AM

Quote:

Originally Posted by Powlo (Post 1787709)
How can i get this to work in the threadbit template?
I have a customised template that i would like a thanks button on the same line as the thread title.


On a related note -- how can I show post_thanks_amount in the threadbit template?

The idea is to let users look at the list of threads in forumdisplay and see how many thank-yous each thread received.

(I tried doing this myself by creating a little plug-in that hooks into threadbit, but I need to access the thread's firstpostid. I can access _lastpostid_ with no trouble, but firstpostid doesn't seem to work the same way.)

Thanks!

brahn 05-01-2009 04:16 AM

Quote:

Originally Posted by brahn (Post 1802256)
On a related note -- how can I show post_thanks_amount in the threadbit template? [...]

Well, I guess all that needed was a little more time to figure it out -- apologies for jumping the gun. In case it's useful for others, here's what worked for me...


Step 1: create a plugin with hook location forumdisplay_query and the code
PHP Code:

$hook_query_fields .= ", thread.firstpostid AS firstpostid"

This makes the thread's firstpostid available in threadbit.


Step 2: create a plugin with hook location threadbit_display and the code
PHP Code:

$firstpostinfo fetch_postinfo($thread[firstpostid]);
$thread_thanks_amount $firstpostinfo[post_thanks_amount]; 

This makes the number of thank-yous applied to the thread's first post available to the threadbit template.

Step 3: use $thread_thanks_amount in the threadbit template to your heart's content.

HS2005 05-01-2009 11:29 AM

Dear Abe1,

I want to add your modification to my member's search (memberlist.php?do=search) similair to: Post Count is Greater than or Equal to | is Less than.

I already made the field in the template. I was only wondering what name i have to fill in the form in order to let it search that way.
All small info would be appriciated by Abe1 or somebody else :)
Is there a function to show on FORUMHOME something like this:
This Board has totalthanks given.
Greetings :)

mdawg 05-01-2009 09:17 PM

Does not work on 3.8.2

djbaxter 05-02-2009 12:08 AM

Quote:

Originally Posted by gazzak (Post 1798879)
Just installed this today, but my users HATE the space it takes up. Is there any way to get it to look even remotely like they have it on the MSE forums....

https://vborg.vbsupport.ru/external/2009/05/20.gif

Please don't just quote a template at me, some of us need good instructions. Thanks in advance.

No template edits necessary. Search for what you have now in Phrases (from your Admin CP). Then edit the phrase to whatever you want to make it shorter.


Quote:

Originally Posted by mdawg (Post 1802714)
Does not work on 3.8.2

If you'd read the thread, you'd know that it's working for a lot of people on 3.82, so clearly that's a dumb statement and a flawed conclusion.

mariocaz 05-02-2009 03:53 AM

Hi guys,

Please help me..... I installed this great mod but the button was installed in a different place so please help.

https://vborg.vbsupport.ru/
http://img5.imageshack.us/img5/6873/buttonp.jpg


What could I do to fix it ??

Thank you in advance!!

Mario

mdawg 05-02-2009 06:50 PM

Quote:

Originally Posted by Jazzi (Post 1799288)
I'm running 3.8.2 and my install's broken too... :( Tried reinstalling but no joy.

The source code for an error page is being displayed in a full-screen popup. In there is:



Any of that helpful?

Having the same problem as this guy.

Also here:
https://vborg.vbsupport.ru/showpost....postcount=1535
and here:
https://vborg.vbsupport.ru/showpost....postcount=1536

Like I said...doesn't work on 3.8.2

cmmguy 05-03-2009 06:37 PM

I have this installed, upgraded from 3.7.4 t0 3.8.2 with no problems. Still works great.

It is quite revealing that some "experienced" users NEVER give thanks... I like that it shows that.


All times are GMT. The time now is 10:29 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.03188 seconds
  • Memory Usage 1,835KB
  • 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
  • (3)bbcode_php_printable
  • (9)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