vb.org Archive

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

ka81 12-13-2011 01:15 PM

and more:
http://forum.com/admincp/options.php...up=post_thanks
there's nothing!
Just a blue-blank page with Copyright at the top.

Wild Bronco 12-13-2011 04:49 PM

I get this error

This product is not compatible with version 4.1.8 of vBulletin. (Compatible starting with 4.0.0 beta 4 / Incompatible with 4.1.0 alpha 1 and greater)

Wild Bronco 12-13-2011 04:55 PM

This only works for Forums, not articles or blogs

Right version for 4.1.8 is here

https://vborg.vbsupport.ru/showpost....postcount=1847

ka81 12-13-2011 07:32 PM

do you mean - post_thanks_7_83.zip (26.0 KB, 306 views)
?
that is the version that I installed.

anyway, here's is my situation:
I was driving a vB 3.8.7 with Post Thanks 7.7 for vb3.8.
I uninstaled mod. I upgraded vb to 4.1.8.
After that i instaled post_thanks_7_83.zip.
Right now, I see: /admincp/repair.php?do=list: vb3_post_thanks 2.26 MB 1.87 MB 0
but, in posts in miniprofile under everyone user i see Thaks 0. so everybody has no thanks.
:(

Please, anybody, begging you to help me to retrieve back "thanks".
i will be "greatfull" if need.

by the way, i have a dump of BD, when it was 3.8.7 and in that dump i'm sure there are all the "thanks" exist.
so there is a possibility to get them back?...

ForceHSS 12-13-2011 08:20 PM

Quote:

Originally Posted by ka81 (Post 2277454)
do you mean - post_thanks_7_83.zip (26.0 KB, 306 views)
?
that is the version that I installed.

anyway, here's is my situation:
I was driving a vB 3.8.7 with Post Thanks 7.7 for vb3.8.
I uninstaled mod. I upgraded vb to 4.1.8.
After that i instaled post_thanks_7_83.zip.
Right now, I see: /admincp/repair.php?do=list: vb3_post_thanks 2.26 MB 1.87 MB 0
but, in posts in miniprofile under everyone user i see Thaks 0. so everybody has no thanks.
:(

Please, anybody, begging you to help me to retrieve back "thanks".
i will be "greatfull" if need.

by the way, i have a dump of BD, when it was 3.8.7 and in that dump i'm sure there are all the "thanks" exist.
so there is a possibility to get them back?...

https://vborg.vbsupport.ru/showpost....postcount=1943

ka81 12-13-2011 08:51 PM

Quote:

Originally Posted by ForceHSS (Post 2277465)

didn't get what is that for actually...

my problem is that:
in profile we can see:
Thanks: XX
Thanked 0 Times in 0 Posts

0 - is a problem. it's not true.

I updated counters few times. didn't change it..

:(

Hippy 12-13-2011 11:27 PM

thats post is all the fixes to date ;)

haidm 12-15-2011 02:46 AM

1 Attachment(s)
Have a problem when install post thank you hack 7.83 in vb 4.1.8, see in attach, can anybody help me?

Hippy 12-15-2011 09:08 PM

Quote:

Originally Posted by haidm (Post 2277908)
Have a problem when install post thank you hack 7.83 in vb 4.1.8, see in attach, can anybody help me?

add this mod to the post thanks..
https://vborg.vbsupport.ru/showthread.php?t=250325
will make it collapse after 10 thanks
if you have trouble send me a pm ..

haidm 12-16-2011 04:56 AM

Quote:

Originally Posted by Hippy (Post 2278125)
add this mod to the post thanks..
https://vborg.vbsupport.ru/showthread.php?t=250325
will make it collapse after 10 thanks
if you have trouble send me a pm ..

I'm using this mod too. My problem is no space after the symbol "," between symbol , and username.

Hippy 12-16-2011 08:40 PM

does your post_thanks_box_bit template
have this code in it ?
Code:

<a href="member.php?{vb:raw session.sessionurl}u={vb:raw thank.userid}" rel="nofollow">{vb:raw thank.username}</a><vb:if condition="$date_thank">&nbsp;({vb:raw date_thank})</vb:if>{vb:raw virg}
I cant tell but from your picture it looks like this is missing
&nbsp;
and the hide hack you would see Show/Hide list of the thanked
so if you are using it maybe the edit it not correct
make sure you have reverted all your post_thanks templates as well..

haidm 12-18-2011 12:53 PM

Quote:

Originally Posted by Hippy (Post 2278444)
does your post_thanks_box_bit template
have this code in it ?
Code:

<a href="member.php?{vb:raw session.sessionurl}u={vb:raw thank.userid}" rel="nofollow">{vb:raw thank.username}</a><vb:if condition="$date_thank">&nbsp;({vb:raw date_thank})</vb:if>{vb:raw virg}
I cant tell but from your picture it looks like this is missing
&nbsp;
and the hide hack you would see Show/Hide list of the thanked
so if you are using it maybe the edit it not correct
make sure you have reverted all your post_thanks templates as well..

I check the post_thanks_box_bit, and it has "&nbsp;" in there, but don't know still have this error.

bkhan530 12-19-2011 02:52 AM

Is there a modification that replaces the reputation meter and instead labels it as a "Thank You" meter? I have it set to give 1 reputation point per Thank You received so this would be very useful. I'd also like to remove the existing reputation button (star) in place of Thank You.

Penguin82 12-19-2011 03:10 AM

How do I move the Thanked xx in xx posts from being right aligned to left aligned in the postbit?

mfractal 12-19-2011 12:34 PM

@OP - Great mod, thanks for the hard work! :)
One request :
Is it possible to add a link to all thanked posts to a user profile ? Currently i can only see total thanks and in how many posts.

mfractal 12-20-2011 10:04 AM

In case you are migrating from VBSEO Likes to this mod, here are the SQLs you need to run to convert all the likes retroactively to thanks.
Those statements assume you want to add 1 reputation point for each Thanks given (retroactively)


Code:

insert into reputation (postid,userid,reputation,whoadded,reason,dateline) select l_contentid,post.userid,1,l_from_userid,'Thanked Post',l_dateline from vbseo_likes, post where l_contentid=postid
insert into post_thanks (userid,username,date,postid) values select l_from_userid,l_from_username,l_dateline,l_contentid from vbseo_likes;

update user set post_thanks_thanked_times = (select count(userid) from reputation where reputation.userid = user.userid) ;
update user set post_thanks_user_amount = (select count(userid) from reputation where reputation.whoadded = user.userid);
update user set post_thanks_thanked_posts = (SELECT COUNT(DISTINCT postid) from reputation where reputation.userid = user.userid);

update user set reputation = (select sum(reputation) from reputation where reputation.userid = user.userid)

update post set post_thanks_amount = (select count(postid) from reputation where reputation.postid = post.postid);


Chri5123 12-20-2011 05:08 PM

Does this work with versions 4.1.8?

Crotan 12-20-2011 05:14 PM

Quote:

Originally Posted by Chri5123 (Post 2279475)
Does this work with versions 4.1.8?

Yes

Chri5123 12-20-2011 05:24 PM

Quote:

Originally Posted by Crotan (Post 2279478)
Yes

Cheers for getting back to me.

Can you tell me which link I should download from or which version?

Can't get this to work.

If you could post a link to the exact version would be awesome or just let me know?

Chris

sadiq6210 12-20-2011 05:31 PM

Quote:

Originally Posted by Chri5123 (Post 2279481)
Cheers for getting back to me.

Can you tell me which link I should download from or which version?

Can't get this to work.

If you could post a link to the exact version would be awesome or just let me know?

Chris

https://vborg.vbsupport.ru/showpost....postcount=1847

Chri5123 12-20-2011 05:42 PM

Quote:

Originally Posted by sadiq6210 (Post 2279483)

Awesome mate!

Got it installed - thanks so much for this!

Just one question.

Now people can Thank posts how do i get them to earn rep that changes their titles?

CJ

Hippy 12-20-2011 09:26 PM

Quote:

Originally Posted by Chri5123 (Post 2279487)
Awesome mate!

Got it installed - thanks so much for this!

Just one question.

Now people can Thank posts how do i get them to earn rep that changes their titles?

CJ

settings in admincp post thanks

Hippy 12-20-2011 09:27 PM

Quote:

Originally Posted by Penguin82 (Post 2279014)
How do I move the Thanked xx in xx posts from being right aligned to left aligned in the postbit?

send me a link to your site so I can see the code

ZacFields 12-22-2011 10:28 PM

Hello - I am using VB 4.1.6 and have been using this mod for a while. A month ago or so, I began getting this error emailed to me (it's ALWAYS a search bot that accessed the page). I get it at least 2-3 times per day.

Code:

Database error in vBulletin 4.1.6:

Invalid SQL:

                                        SELECT languageid,
                        phrasegroup_global AS phrasegroup_global,
                        phrasegroup_dbtech_thanks AS phrasegroup_dbtech_thanks,
                        phrasegroup_user AS phrasegroup_user,
                        phrasegroup_posting AS phrasegroup_posting,
                        phrasegroup_album AS phrasegroup_album,
                        phrasegroup_messaging AS phrasegroup_messaging,
                        phrasegroupinfo AS lang_phrasegroupinfo,
                        options AS lang_options,
                        languagecode AS lang_code,
                        charset AS lang_charset,
                        locale AS lang_locale,
                        imagesoverride AS lang_imagesoverride,
                        dateoverride AS lang_dateoverride,
                        timeoverride AS lang_timeoverride,
                        registereddateoverride AS lang_registereddateoverride,
                        calformat1override AS lang_calformat1override,
                        calformat2override AS lang_calformat2override,
                        logdateoverride AS lang_logdateoverride,
                        decimalsep AS lang_decimalsep,
                        thousandsep AS lang_thousandsep
                                        FROM language
                                        WHERE languageid = 1;

MySQL Error  : Unknown column 'phrasegroup_dbtech_thanks' in 'field list'
Error Number  : 1054
Request Date  : Sunday, December 18th 2011 @ 11:00:39 PM
Error Date    : Sunday, December 18th 2011 @ 11:00:39 PM
Script        : http://www.cowboysaddicts.com/thanks.php?do=statistics
Referrer      :
IP Address    : 66.249.71.14
Username      :
Classname    : vB_Database

A previous post says that this is due to not fully uninstalling the product. I've tried uninstalling and then reinstalling the product but I still get this error. Part of my confusion is that I don't understand where there is a link to this page on my site that the bots are accessing? I can't seem to find it.

Any ideas? I love this app and my members love it - I don't want to uninstall it, but I do want to make the error stop.

BTW: I have the 7.83 version installed (and have tried uninstalling and reinstalling). I will admit that I had an earlier version installed prior and just over-wrote the old files and reinstalled the XML file.

Hippy 12-22-2011 11:08 PM

you must of had dbtech thanks mod installed because the errors are phrasegroup_dbtech_thanks

from his mod not this one..
make sure all his files have been removed and uninstalled.. and any template edits
double check the DB if any of his table are left..

wayne.richards@ 12-23-2011 10:58 PM

1 Attachment(s)
Not working with 4.1.9

Hippy 12-23-2011 11:31 PM

<a href="https://vborg.vbsupport.ru/showpost.php?p=2249550&postcount=1847" target="_blank">https://vborg.vbsupport.ru/showp...postcount=1847</a>

wayne.richards@ 12-24-2011 12:58 PM

Quote:

Originally Posted by Hippy (Post 2280572)

Thanks Hippy :up::up::up::up:

I uninstalled this after my forum was hacked, is there anyway to restore the amount of thanks my members had?

Hippy 12-24-2011 01:09 PM

sorry
you can't once it's uninstalled
unless you restore a DB with the post counts in it

wayne.richards@ 12-24-2011 01:18 PM

Cheers Hippy, Its been a few days now so no point in going backwards, Thanks for all your help

Hippy 12-24-2011 01:38 PM

welcome

bremereric 12-24-2011 11:35 PM

1 Attachment(s)
I am a newbie and I uploaded all files to my host and could not get the plug in to install....what am I missing?

ForceHSS 12-25-2011 12:03 AM

Quote:

Originally Posted by bremereric (Post 2280794)
I am a newbie and I uploaded all files to my host and could not get the plug in to install....what am I missing?

you uploaded the wrong version use the one in my sig for the updated one

bremereric 12-25-2011 03:19 PM

That did it. Is there a reason it hasn't replaced the 7.82.zip underneath the download now?

Hippy 12-25-2011 04:51 PM

the author has no been around so the members have applied the updated to keep the mod alive

Videx 12-25-2011 05:37 PM

I think what he's asking is why isn't there a procedure in place to take over a mod when the author disappears? I have no good answer for that. Even copyrights expire at some point. But release a mod on vb.org and drop dead and nobody is ever allowed to do anything with it. Thus we have mods like this with 42 pages of people asking the same question over and over again.

At the very least we should be able to get a moderator to alter the text in the first post, if only to remove the link to the non-working version.

PS A note to all mod authors: Please always mark your code as "reusable" so this doesn't happen to us with your mods.

djbaxter 12-25-2011 06:14 PM

^^^ An excellent post and an excellent suggestion!

bremereric 12-26-2011 03:39 AM

There are 139 pages that I would and could not start to read. Can someone help this hack out and put the newest version up for people to use.

Videx 12-26-2011 03:53 AM

Quote:

Originally Posted by bremereric (Post 2281020)
There are 139 pages that I would and could not start to read. Can someone help this hack out and put the newest version up for people to use.

You're not paying attention. It is strictly forbidden here to modify and distribute another person's mod unless they gave prior permission. So far we've gotten away with this one because the newer versions are fairly well hidden. But eventually someone in power will get wind of what's going on and clamp down.

At least in this case there's another mod that does pretty much the same thing, so all is not lost.

ForceHSS 12-26-2011 04:05 PM

Quote:

Originally Posted by bremereric (Post 2281020)
There are 139 pages that I would and could not start to read. Can someone help this hack out and put the newest version up for people to use.

use the one in my sig


All times are GMT. The time now is 04:11 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.04615 seconds
  • Memory Usage 1,844KB
  • 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
  • (4)bbcode_code_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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