PDA

View Full Version : Show Thread Enhancements - [AJAX] Post Thank You Hack


Pages : 1 2 3 4 5 [6] 7 8 9 10 11 12 13 14 15 16

TheLastSuperman
01-22-2011, 02:39 AM
Not to hijack the thread or anything, but since this is unsupported and the coder is MIA you guys might want to try this as an alternative: https://vborg.vbsupport.ru/showthread.php?t=243510&page=21&highlight=DBTech

To the best of my knowledge it does everything abes does and more.

Full Disclosure: This is my mod =P

Iain

Seems like friendly advice and others have posted the same in this thread, same advice I've been handing out tbo. This was the original "thanks" mod if I remember correctly... I wish some had time to support their mods it would help the community more imo.

fredang85
01-23-2011, 11:21 AM
Help! i went to uninstall my 3.8.4 thank you mod already. is there anything i can do to upgrade?

vauge
01-23-2011, 02:27 PM
vbseo has an amazing addition in its latest version called "likes" it can inport your thanks from multiple systems. Amazing and very fast. Plus is has histories in profiles. We had over 500k thanks that transfered flawlessly.

Check it out on vbseo website. I am a customer like everyone else, but this was a very welcome change on my forum.

nacaruncr
01-23-2011, 06:00 PM
Is there the possibility that a new version is displayed thanks to the users made but in the posts that they did?
Something like this right now the vBSEO, which shows how many thanks you have received and what thread.

Thanks.

Boofo
01-23-2011, 06:09 PM
Not to hijack the thread or anything, but since this is unsupported and the coder is MIA you guys might want to try this as an alternative: https://vborg.vbsupport.ru/showthread.php?t=243510&page=21&highlight=DBTech

To the best of my knowledge it does everything abes does and more.

Full Disclosure: This is my mod =P

Iain

Don't you have to get the Pro version to get all that Abe's has, though?

Hippy
01-23-2011, 09:43 PM
Don't you have to get the Pro version to get all that Abe's has, though?

yep

Boofo
01-23-2011, 09:46 PM
That's what I thought. I'll stick with Abe's version then.

VBUsers
01-24-2011, 12:48 AM
this is working great for me but i have a template issue

my postbit legacy looks like this ( uneven) how can i fix it???

example:
Thanks 122
<-gap--> Thanked 60 Times in 44 Posts

Hippy
01-24-2011, 01:17 AM
<a href="https://vborg.vbsupport.ru/showthread.php?p=2098820#post2098820" target="_blank">https://vborg.vbsupport.ru/showt...20#post2098820</a>

VBUsers
01-24-2011, 01:33 AM
https://vborg.vbsupport.ru/showthread.php?p=2098820#post2098820

worked like a charm! thanks for the post.

sadiq6210
01-24-2011, 08:59 AM
Not to hijack the thread or anything, but since this is unsupported and the coder is MIA you guys might want to try this as an alternative: https://vborg.vbsupport.ru/showthread.php?t=243510&page=21&highlight=DBTech

To the best of my knowledge it does everything abes does and more.

Full Disclosure: This is my mod =P

Iain

I thought about it, but all users will lose their thanks and we will start from zero !

nisarg
01-24-2011, 01:47 PM
Please update it to run with the latest version of vbulletin mate

Cheers;
Aadi

emperatour
01-24-2011, 02:03 PM
I have recently upgraded from 3.8 to 4.1.1 and successfully upgraded the old hack to new version by changing the max version.

Now, the problem is that all the previous thanks are gone and the counter is set to 0.:confused: As stated in the second post, I upgraded the thanks add-on and didn't uninstall it.

Any suggestion for retrieving the thanks database?

regards,


P.S: my question was being answered while i was posting... but which counter should update? I can't see any specific counter for thanks.

Update Post Counts did not have any affect...unfortunately
Goto AdminCP -> Post Thanks -> Recounters and update everything.

In my case, the thanks table in database was removed. I imported the table first and then updated the counter.

All the thanks are back now...
I just wasn't aware of this recountering feature!

emperatour
01-24-2011, 02:04 PM
I thought about it, but all users will lose their thanks and we will start from zero !
They provide a script in their Pro version to import thanks from Post Thank You Hack mod!

Hippy
01-24-2011, 07:55 PM
worked like a charm! thanks for the post.

:D

welcome

andyv72
01-24-2011, 08:31 PM
Need help...

Error:
Warnung: array_merge() [function.array-merge]: Argument #2 is not an array in [path]/post_thanks.php (Zeile 57)

Welshy2008
01-24-2011, 08:49 PM
Upgraded and have received over 500 error message e-mails and continuing to rise:

Database error in vBulletin 4.0.7: Invalid SQL: REPLACE INTO vbsearch (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash)VALUES (0, '66.249.66.104', 1, '*usernameremoved', '', 'post.dateline', 'DESC', 0.01297, 1, '182193,182192,181017', 1295908090, 'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{}s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:13090;s:11:\"*usernameremoved\";}s:6:\"forums\";i:0;s:7:\"options\";a:3:{s:11:\"starteronly\";i:0;s:11:\"childforums\";i:1;s:6:\"action\";s:7:\"process\";}}', '69414 nober shortened'); MySQL Error : Table 'my_database.vbsearch' doesn't existError Number : 1146Request Date : Monday, January 24th 2011 @ 10:28:10 PMError Date : Monday, January 24th 2011 @ 10:28:10 PMScript : http://www.myforum.com/post_thanks.php?do=findthanks_user_gave&u=13090Referrer : IP Address : 66.249.66.104Username : UnregisteredClassname : vB_DatabaseMySQL Version :


What the heck is that all about? Does anyone know, and more importantly, how to correct it, please?

creative-friend
01-25-2011, 10:13 PM
Its not working on 4.1.1 :(

what do i do nw??

djbaxter
01-25-2011, 10:28 PM
It does work for vB 4.1.1 so what you need to do now is to provide more details about how you installed it and what is or is not happening after you installed it.

Master48
01-26-2011, 11:33 AM
I need this add for 4.1.1 can any one repair this add for 4.1.1?

andryus
01-26-2011, 01:34 PM
It work for me on 4.1.1.

Master48
01-26-2011, 04:36 PM
By me it dont works under 4.1.1.Under the Posts it dont show the users who have thanked! Any Idea? Sorry for my bad english!
the box with the user who have thanked for the thread is not shown! Please help me!

creative-friend
01-26-2011, 10:01 PM
It does work for vB 4.1.1 so what you need to do now is to provide more details about how you installed it and what is or is not happening after you installed it.

Look

thats what its saying

The following dependencies were not met:
This product is not compatible with version 4.1.1 of vBulletin. (Compatible starting with 4.0.0 beta 4 / Incompatible with 4.1.0 alpha 1 and greater)

irantk
01-26-2011, 11:21 PM
how to add "Find all posts thanked by user" in profile?
please help me

irantk
01-26-2011, 11:28 PM
AdminCp>Styles & Templates>Style Manager>Postbit

Now find this in postbit

{vb:raw template_hook.postbit_controls}

Highlight it, copy it and delete it.

Now find this bit in postbit

<span class="postcontrols">

and press enter after it and paste the first one.


<div class="postfoot">
<div class="textcontrols">
<span class="postcontrols">
{vb:raw template_hook.postbit_controls}
<img style="display:none" id="progress_{vb:raw post.postid}" src="{vb:stylevar imgdir_misc}/progress.gif" alt="{vb:rawphrase loading_editor_please_wait}" />
<vb:if

but not work for me. please help me

ET 7
01-27-2011, 07:11 AM
how can I install this on my vB? I have 4.1.1 and it says it isn't compatible.

few steps I did but honestly I winged it, it smy first Mod I am doing so let me know if I did anything wrong.

1) I went to filezilla, copied the contents inside "upload via ftp" folder into the public_html of mine.
2) i went into manage products and choose file than import.

thats when I got the error. Did i skip any steps for my first time doing this?

ErikTheRed
01-27-2011, 03:56 PM
Are any devs planning on making this compatible with 4.1.1? I'd be willing to tip...

NickyNet
01-27-2011, 04:40 PM
all..

open product-post_thanks.xml and change it as example to
<dependency dependencytype="vbulletin" minversion="4.0.0 beta 4" maxversion="4.1.9" />

then it works..

ET 7
01-27-2011, 06:03 PM
that worked !!! your awesome comparing vB to phpBB for mods is NIGHT and DAY

creative-friend
01-27-2011, 06:59 PM
all..

open product-post_thanks.xml and change it as example to
<dependency dependencytype="vbulletin" minversion="4.0.0 beta 4" maxversion="4.1.9" />

then it works..

Wow Wow Wow

Thank u Very Much Mate

A Hug For You:D

Its Working Yaaaaaaaay:up:

djerhan
01-27-2011, 09:04 PM
Installed, after that just problems with TAPATALK, when you login to forum with tapatalk you dont see links, just see codes.

Can you fix it?

Thanks...

Chase
01-28-2011, 12:29 AM
I've got the 3.8.x version installed on my forums. Is it possible to save each users thanks count? If so, how?

Prisoner
01-28-2011, 02:38 AM
Yes, somewhere in this thread it tells how to do that.

Prior to upgrading to 4.1.1, disable the hack. DO NOT UNINSTALL!!!

Then after you upgrade, reinstall it and all prior thanks will be restored.

Chase
01-28-2011, 09:22 PM
Thanks!

Bob_R
01-30-2011, 01:09 PM
When a user on my board goes to give a reputation there is only a "approve" this post not a "disapprove" option.

Is this correct or am I missing something?

Thanks!!

MuseFS
01-30-2011, 08:12 PM
Can anybody confirm if this works with vB 4.1.1?

Thanks!

djbaxter
01-30-2011, 09:00 PM
Can anybody confirm if this works with vB 4.1.1?

Thanks!

Yes. See https://vborg.vbsupport.ru/showpost.php?p=2155324&postcount=1279

Bob_R
01-30-2011, 09:34 PM
When a user on my board goes to give a reputation there is only a "approve" this post not a "disapprove" option.

Is this correct or am I missing something?

Thanks!!

Don't want my question to get lost. :D

Someone asks a question and then someone else steps in with irrelevance. :)

MuseFS
01-31-2011, 08:03 PM
Yes. See https://vborg.vbsupport.ru/showpost.php?p=2155324&postcount=1279

Thanks! works perfect except that the icon to the left of "Thank You", does not appear.
Any solutions?

RockyG
02-02-2011, 06:54 AM
Hi,

I love this mod!

I just have one question, is there anyway to have the button a little more eye catching?

I use the warriorforum.com and there "thanks" button is just under the "reply with quote" button. And it is an actual button, not just text. Also it sits under that toolbar, sort of in between each post.

Is this possible? I wouldnt even know how to begin to move it though!

riskreward
02-03-2011, 01:35 PM
Just look at the image guys.

Why is the Thanks line misaligned with everything else.


https://vborg.vbsupport.ru/

How to correct it?

Thanks

Bob_R
02-03-2011, 02:51 PM
Is there an answer in our future to post #1286, 1289?

nhawk
02-03-2011, 02:59 PM
Is there an answer in our future to post #1286, 1289?

Your answer is that your question has nothing to do with the post thank you hack (or I don't think it does).

That setting is in the usergroup. Look for "Can Leave Negative Reputation" and set it to yes.

riskreward
02-03-2011, 04:20 PM
Just look at the image guys.

Why is the Thanks line misaligned with everything else.


http://img88.imageshack.us/img88/4719/tilt.png

How to correct it?

Thanks

Thanks.

Problem Resolved.

gsmlover4u
02-04-2011, 01:30 AM
is it working with vb 4.1.1 ?

tjh4384
02-05-2011, 10:10 PM
Not working with 4.1.1 , wouldn't let me load it when updated forum, I love it, hopefully will
be updated shortly

djbaxter
02-05-2011, 10:17 PM
is it working with vb 4.1.1 ?

Not working with 4.1.1 , wouldn't let me load it when updated forum,

It's working fine for me in vB 4.1.1

tjh4384
02-05-2011, 10:43 PM
The following dependencies were not met:

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

Fairly straight forward install, I tried updating, then removed it and tried fresh install
got same thing both times

Still tweeking fresh install of 4.1.1 will get back to this later then

djbaxter
02-05-2011, 11:06 PM
The following dependencies were not met:

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

Fairly straight forward install, I tried updating, then removed it and tried fresh install
got same thing both times

Still tweeking fresh install of 4.1.1 will get back to this later then

This issue has been covered many times in this thread.


FIND at line 10:

<dependency dependencytype="vbulletin" minversion="4.0.0 beta 4" maxversion="4.1.0 alpha 1" />

REPLACE WITH:

<dependency dependencytype="vbulletin" minversion="4.0.0 beta 4" maxversion="4.1.99" />

IMPORT XML to INSTALL.

Deirdre
02-06-2011, 02:33 AM
Working fine for me with 4.1.1

rjmjr69
02-07-2011, 07:23 AM
<a href="https://vborg.vbsupport.ru/attachment.php?attachmentid=126487&d=1297070562" title="Name: product-post_thanks.xmlViews: 43Size: 32.1 KB">product-post_thanks.xml</a>

Heres a working XML for 4.1.1

tjh4384
02-07-2011, 09:43 PM
This issue has been covered many times in this thread.


FIND at line 10:

<dependency dependencytype="vbulletin" minversion="4.0.0 beta 4" maxversion="4.1.0 alpha 1" />

REPLACE WITH:

<dependency dependencytype="vbulletin" minversion="4.0.0 beta 4" maxversion="4.1.99" />

IMPORT XML to INSTALL.


Thanks, had just upgraded and had not gone through all posts here in thread,
and did not catch that

adblaze
02-07-2011, 11:50 PM
Much thanks for the 4.1.1 fix!

riskreward
02-09-2011, 03:30 PM
Add on has been working fine. However, I intend to make one change. Need something to be displayed in bold.

"The Following User Says Thank You to " User" For This Useful Post"

I want this text in bold. How do I do that.

Reply would be appreciated.

Thanks

djbaxter
02-09-2011, 04:08 PM
Add on has been working fine. However, I intend to make one change. Need something to be displayed in bold.


"The Following User Says Thank You to " User" For This Useful Post"

I want this text in bold. How do I do that.

Reply would be appreciated.

Thanks


Admin CP -> Languages and Phrases -> Search in phrases

Search for "The Following User Says Thank You"

Edit the phrase it finds by copying the default and then editing that to your satisfaction

spirit_rider
02-10-2011, 08:57 AM
Hello,

I have installed this great MOD on vBulletin 4.1.1 board which has the data imported from a phpBB 3.0.7 board. There was a Thanks mod installed on previous phBB board but the data was not imported by ImpEx script. So I'm here asking help from vB experts to help on this. Here are the relavent database table and its relavent fields.

vB Tables
------------------
vb_post_thanks : id , userid (from) , username (from) , date , postid
vb_post : postid , importpostid , post_thanks_amount
vb_user : userid , importuserid , post_thanks_user_amount , post_thanks_thanked_posts , post_thanks_thanked_times

phpBB Tables
------------------
phpbb_thanks : thanks_id , thanks_from (user_id) , thanks_to (user_id) , post_id , thanks_time (similar to date in vb_post_thanks table)
phpbb_users : user_id , username , user_thanked , user_thanks , user_thanks_post
phpbb_posts : post_id , post_thanked

I think we have to use importpostid and importuserid from vB table to match with phpBB tables since the userid<>user_id and postid<>post_id are not same. And I tried to edit only in table vb_post_thanks but it shows the wrong thanks count.

I think running sql queries will do this but I'm not that expert in sql :(

Help me to do this. Thanks in advance.

riskreward
02-10-2011, 09:34 AM
Admin CP -> Languages and Phrases -> Search in phrases

Search for "The Following User Says Thank You"

Edit the phrase it finds by copying the default and then editing that to your satisfaction


Thanks Mate.

Done it !! Worked perfectly.

Cheers!

jar546
02-12-2011, 06:59 PM
Is there one like this that says "I Agree"? I am getting requests for this.

ET 7
02-12-2011, 10:26 PM
how can i align the "thanked xx times in xx posts" to the left ?

Dave-M
02-13-2011, 04:43 AM
Just updated to the latest VBSEO and they now have a "like" mod built in, and also a free importer script which worked first time.

Maybe if you have VBSEO and are struggling with this one, and don't want to pay for the other thanks mod, then it's worth a look. :)

mitch84
02-13-2011, 05:10 AM
how can i align the "thanked xx times in xx posts" to the left ?

https://vborg.vbsupport.ru/showpost.php?p=1949563&postcount=334

ET 7
02-13-2011, 07:47 AM
https://vborg.vbsupport.ru/showpost.php?p=1949563&postcount=334

thanks for taht link!

persianpros
02-13-2011, 10:39 PM
is it working on 4.1.1 & 4.1.2 ?

jamiedolan
02-13-2011, 11:13 PM
is it working on 4.1.1 & 4.1.2 ?

NO.

The following dependencies were not met:

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

tidus78
02-14-2011, 06:01 AM
It's working for me,4.1.1.

Schoelle
02-14-2011, 08:13 AM
NO.

The following dependencies were not met:

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

See here:
https://vborg.vbsupport.ru/showpost.php?p=2159195&postcount=1300

Works perfect in 4.1.1

jamiedolan
02-14-2011, 02:44 PM
See here:
https://vborg.vbsupport.ru/showpost.php?p=2159195&postcount=1300

Works perfect in 4.1.1

Thank You!

I normally read threads, but this one was 1300 posts long so I missed that.

Marking as installed.

Jamie

Crossbow
02-15-2011, 12:08 PM
The following dependencies were not met:
1.This product is not compatible with version 4.1.1 of vBulletin. (Compatible starting with 4.0.0 beta 4 / Incompatible with 4.1.0 alpha 1 and greater)

jamiedolan
02-15-2011, 12:24 PM
The following dependencies were not met:
1.This product is not compatible with version 4.1.1 of vBulletin. (Compatible starting with 4.0.0 beta 4 / Incompatible with 4.1.0 alpha 1 and greater)

see link in previous post

Crossbow
02-15-2011, 12:29 PM
The following dependencies were not met:
1.This product is not compatible with version 4.1.1 of vBulletin. (Compatible starting with 4.0.0 beta 4 / Incompatible with 4.1.0 alpha 1 and greater)

Ok fixed the problem as said in another topic for line 10

Next problem: 1) upload the 'upload via ftp' folder

I uploaded the whole folder as said in install doc but now I get "you need to upload files to your server. The whole folder is uploaded!

jamiedolan
02-15-2011, 12:31 PM
Ok fixed the problem as said in another topic for line 10

Next problem: 1) upload the 'upload via ftp' folder

I uploaded the whole folder as said in install doc but now I get "you need to upload files to your server. The whole folder is uploaded!

Are you sure you put in the the right location?

Did you copy the main file into the root and the others into the folders?

If your sure you got that right, then I am not sure what is wrong.

Crossbow
02-15-2011, 12:41 PM
New to this stuff. The install doc just said to upload the folder. Did not say to upload each file into each folder. I hope I done this right as I open each folder from the upload FTP folder then uploaded the files from the upload folder to each folder in my forum. Anyway it said it installed now.

Crossbow
02-15-2011, 05:49 PM
Installed and working great. Thanks for the mod.

lgnd
02-17-2011, 02:52 PM
Installed and working on 4.1.2 with the fix mentioned few posts earlier. I'd like to center it in postbit legacy what should I add to my additional css? Thanks!

ComoEstaEso-com
02-21-2011, 12:08 AM
Just installed this on 4.1.2
Working good.

Suggestions:
I think the installation files in post #1 of this thread should be modified... perform the .xml modification in line 10
Reasons: Easier for the downloaders, and more importantly, the "Last Updated:" date on this modification will get changed from early 2010, to 2011.
People tend to use the modifications more if the last update is more recent, IMO.

====
A quick question:
Posts made by the Registered Users group are acting strange.
They get a scroll bar for the post.
A scroll bar that just scrolls a couple of pixels.
In other words, the entire post is visible... yet there's a scroll bar that you can "scroll down" just a couple of pixels.
Oddly enough, it doesn't appear on posts made by Administrators.

On our forums, we have installed the latest vBSEO (v3.6.0 RC2).
It has a "Like" link for posts.
Maybe there's the conflict?

What could I check? Verify? Modify?

Here is a screen shot showing the scroll bar:
126829

Thank you!! :up::up:

AshMagic
02-24-2011, 01:20 PM
Found a bug!!

I have this enabled on 4.1.2

The issue is, with the plugin enabled, it messes up the Blog Entries: part.
The number of blog entries appears at the end of the Thanked 0 Times in 0 Posts bit then it says Blog Entries: under it.

Obviousally it should say Blog Entries: 1

See screenshot.

AshMagic
02-24-2011, 01:34 PM
Thanks a looooooooooooooooooooot Hippy

add a <br /> after last </dd> in the post_thanks_postbit_info template and solved problem.

very good tips:):up:

Doing this has solved my issue.. Sort of.
There is a big gap between Blog Entries: and the number of blogs.

How can I get this to align properly?

Hippy
02-24-2011, 10:07 PM
Doing this has solved my issue.. Sort of.
There is a big gap between Blog Entries: and the number of blogs.

How can I get this to align properly?

what mod is it for ?

abbasbsp
02-25-2011, 12:19 PM
where is mr. Abe1
update mod please ....

sadiq6210
02-27-2011, 07:04 AM
•Search for a users thanked posts
•Search for all thanked posts

We need this feature please

woodyperkins
02-27-2011, 11:51 AM
installed on 4.1.2, its working great.

want to move the button to the right (by the edit button)

ive been reading this topic and can only come up with pieces of what to do.

can someone please explain it thoroughly? (which file to modify and how)

Thank you.

zeus_r6
02-27-2011, 05:10 PM
This has already been asked, but what is causing the thank button to be displayed in the wrong locations...screenshot attached.

By the way, this is installed on 4.1.2 after a dependency edit

AshMagic
02-27-2011, 07:26 PM
what mod is it for ?

4.1.2

Hippy
02-28-2011, 01:17 AM
4.1.2

does this with the stock skin ?
if so youll have to ask as vb.com..
but I will check it out on a test site

AshMagic
02-28-2011, 01:29 PM
does this with the stock skin ?
if so youll have to ask as vb.com..
but I will check it out on a test site

I will send you a PM with a link to my site. I hope you don't mind.
Thanks for your help on this.

Hippy
02-28-2011, 07:20 PM
no problem

Hippy
02-28-2011, 07:38 PM
here is a screen shot..
I think I know what the problem is

post your postbit_legacy template for me ..

I need to see the code..

meanwhile

replace your post_thanks_postbit_info template

<vb:if condition="$post['userid']">
<dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd>
<vb:if condition="$post['post_thanks_thanked_times'] == 1">
<dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{vb:rawphrase post_thanks_time_post}</dd>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
<vb:else />
<dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd>
</vb:if>
</vb:if>

and replace your post_thanks_javascript template


<script type="text/javascript" src="clientscript/post_thanks.js"></script>

<style type="text/css">
.postbitlegacy .postfoot .textcontrols a.post_thanks_button, .postbit .postfoot .textcontrols a.post_thanks_button {
background: url({vb:stylevar imgdir_button}/post_thanks.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.post_thanks_button:hover, .postbit .postfoot .textcontrols a.post_thanks_button:hover {
background: url({vb:stylevar imgdir_button}/post_thanks-hover.png) no-repeat transparent {vb:stylevar left};
}
</style>

zeus_r6
03-01-2011, 01:12 AM
This has already been asked, but what is causing the thank button to be displayed in the wrong locations...screenshot attached.

By the way, this is installed on 4.1.2 after a dependency edit

Quoting myself here but this hack displays the thank you link on the far left rather than next to the edit button where it belongs...here is the fix which was found my the designer of the custom skin I'm running:


1) open template postbit
find
HTML Code:

{vb:raw template_hook.postbit_controls}

and move it under

<span class="postcontrols">

2) Do the same for postbit_legacy

A big thanks to Alexander from www.webandart.gr !:D

AshMagic
03-01-2011, 11:49 AM
here is a screen shot..
I think I know what the problem is

post your postbit_legacy template for me ..

I need to see the code..

meanwhile

replace your post_thanks_postbit_info template

<vb:if condition="$post['userid']">
<dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd>
<vb:if condition="$post['post_thanks_thanked_times'] == 1">
<dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{vb:rawphrase post_thanks_time_post}</dd>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
<vb:else />
<dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd>
</vb:if>
</vb:if>

and replace your post_thanks_javascript template


<script type="text/javascript" src="clientscript/post_thanks.js"></script>

<style type="text/css">
.postbitlegacy .postfoot .textcontrols a.post_thanks_button, .postbit .postfoot .textcontrols a.post_thanks_button {
background: url({vb:stylevar imgdir_button}/post_thanks.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.post_thanks_button:hover, .postbit .postfoot .textcontrols a.post_thanks_button:hover {
background: url({vb:stylevar imgdir_button}/post_thanks-hover.png) no-repeat transparent {vb:stylevar left};
}
</style>

Here is my postbit_legacy:


{vb:raw template_hook.postbit_start}
<li class="postbitlegacy postbitim postcontainer" id="post_{vb:raw post.postid}">
<!-- see bottom of postbit.css for .userinfo .popupmenu styles -->

<div class="posthead">
<vb:if condition="$show['inlinemod']"><label for="post_imod_checkbox_{vb:raw post.postid}"></vb:if>
<span class="postdate {vb:raw post.statusicon}">
<vb:if condition="$show['announcement']">
<span class="date">{vb:rawphrase x_until_y, {vb:raw post.startdate}, {vb:raw post.enddate}}</span>
<vb:else />
<span class="date">{vb:raw post.postdate}<vb:if condition="!$show['detailedtime']">&nbsp;<span class="time">{vb:raw post.posttime}</span></vb:if></span>
</vb:if>
</span>
<span class="nodecontrols">
<vb:if condition="$post['postid'] AND $post['threadid'] AND !$show['moderated']">
<a name="post{vb:raw post.postid}" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_post}}#post{vb:raw post.postid}" class="<vb:if condition="$show['inlinemod']">ie</vb:if>postcounter">#{vb:raw post.postcount}</a><a id="postcount{vb:raw post.postid}" name="{vb:raw post.postcount}"></a>
</vb:if>
<vb:if condition="$show['moderated']">{vb:rawphrase moderated_post}</vb:if>
<vb:if condition="$show['inlinemod']">
<input class="postimod" type="checkbox" id="post_imod_checkbox_{vb:raw post.postid}" name="plist[{vb:raw post.postid}]" value="{vb:raw post.checkbox_value}" />
</vb:if>
</span>
<vb:if condition="$show['inlinemod']"></label></vb:if>
</div>
<div class="postdetails">
<div class="userinfo">
<div class="username_container">
<vb:if condition="$post['userid']">
{vb:raw memberaction_dropdown}
{vb:raw post.onlinestatus}
<vb:else />
<span class="username guest">{vb:raw post.musername}</span>
</vb:if>
</div>
<span class="usertitle">
{vb:raw post.usertitle}
</span>
<vb:if condition="$post['rank']">
<span class="rank">{vb:raw post.rank}</span>
</vb:if>
{vb:raw template_hook.postbit_userinfo_left}
<vb:if condition="$show['reputation']">
<span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputationdisplay}</span>
</vb:if>
<vb:if condition="$show['avatar']">
<a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
</a>
</vb:if>
<vb:if condition="$post['userid']">
<hr />
<dl class="userinfo_extra">
<vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></vb:if>

<vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></vb:if>
<vb:if condition="$post['age']"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></vb:if>
<dt>{vb:rawphrase 'posts'}</dt> <dd>{vb:raw post.posts}</dd>
{vb:raw template_hook.postbit_userinfo_right_after_posts}
</dl>
<vb:if condition="$show['infraction'] OR $show['reppower']">
<dl class="user_rep">
<vb:if condition="$show['infraction']">
<dt>{vb:rawphrase infractions}</dt>
<dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd>
</vb:if>
<vb:if condition="$show['reputation']">
<vb:if condition="$show['reppower']">
<dt>{vb:rawphrase reppower}</dt>
<dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd>
</vb:if>
</vb:if>
</dl>
</vb:if>
{vb:raw template_hook.postbit_userinfo_right}
<div class="imlinks">
{vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon}
</div>
</vb:if>
</div>
<div class="postbody">
<div class="postrow<vb:if condition="$show['postedited'] || $post['signature']"> has_after_content</vb:if>">
{vb:raw template_hook.postbit_messagearea_start}
<vb:if condition="$post['title'] OR $show['messageicon']">
<h2 class="title icon">
<vb:if condition="$show['messageicon']"><img src="{vb:raw post.iconpath}" alt="{vb:raw post.icontitle}" /> </vb:if>{vb:raw post.title}
</h2>
</vb:if>


<vb:if condition="$post['isfirstshown']">
{vb:raw ad_location.ad_showthread_firstpost_start}
{vb:raw ad_location.thread_first_post_content}
</vb:if>
<vb:if condition="$post['islastshown']">
{vb:raw ad_location.thread_last_post_content}
</vb:if>
<div class="content<vb:if condition="$show['first_ad'] OR $show['last_ad']"> hasad</vb:if>">
<div id="post_message_{vb:raw post.postid}">
<blockquote class="postcontent restore ">
{vb:raw post.message}
</blockquote>
</div>

<vb:if condition="$show['attachments']">
<div class="attachments">

<vb:if condition="$show['thumbnailattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase attached_thumbnails}" /> {vb:rawphrase attached_thumbnails}</legend>
{vb:raw post.thumbnailattachments}
</fieldset>
</vb:if>

<vb:if condition="$show['imageattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_images}</legend>
{vb:raw post.imageattachments}
</fieldset>
</vb:if>

<vb:if condition="$show['imageattachmentlink']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_images}</legend>
<ul>
{vb:raw post.imageattachmentlinks}
</ul>
</fieldset>
</vb:if>

<vb:if condition="$show['otherattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attached_files}</legend>
<ul>
{vb:raw post.otherattachments}
</ul>
</fieldset>
</vb:if>

<vb:if condition="$show['moderatedattachment']">
<fieldset class="postcontent">
<legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" /> {vb:rawphrase attachments_pending_approval}</legend>
<ul>
{vb:raw post.moderatedattachments}
</ul>
</fieldset>
</vb:if>

</div>
<!-- / attachments -->
</vb:if>
</div>
</div>
<vb:if condition="$show['postedited'] || $post['signature']">
<div class="after_content">
<vb:if condition="$show['postedited']">
<!-- edit note -->
<blockquote class="postcontent lastedited">
<!-- <img src="{vb:stylevar imgdir_button}/edit_40b.png" class="inlineimg" alt="" /> -->
<vb:if condition="$show['postedithistory']">
{vb:rawphrase last_edited_link_by_x_on_y_at_z_postid, {vb:raw post.edit_username}, {vb:raw post.edit_date},
{vb:raw post.edit_time}, {vb:raw post.historyurl}}
<vb:else />
{vb:rawphrase last_edited_by_x_on_y_at_z, {vb:raw post.edit_username}, {vb:raw post.edit_date}, {vb:raw post.edit_time}}
</vb:if>
<vb:if condition="$post['edit_reason']">
<span class="reason">{vb:rawphrase reason}:</span> {vb:raw post.edit_reason}
</vb:if>
</blockquote>
<!-- / edit note -->
</vb:if>
{vb:raw template_hook.postbit_signature_start}
{vb:raw ad_location.ad_showthread_firstpost_sig}
<vb:if condition="$post['signature']">
<blockquote class="signature restore"><div class="signaturecontainer">{vb:raw post.signature}</div></blockquote>
</vb:if>
{vb:raw template_hook.postbit_signature_end}
</div>
</vb:if>
<div class="cleardiv"></div>
</div>
</div>
<div class="postfoot">
<!-- <div class="postfoot_container"> -->
<div class="textcontrols floatcontainer">
<span class="postcontrols">
<img style="display:none" id="progress_{vb:raw post.postid}" src="{vb:stylevar imgdir_misc}/progress.gif" alt="{vb:rawphrase loading_editor_please_wait}" />
<vb:if condition="$post['editlink']">
<a class="editpost" href="{vb:raw post.editlink}" name="vB::QuickEdit::{vb:raw post.postid}"><img src="{vb:raw vboptions.cleargifurl}" id="editimg_{vb:raw post.postid}" alt="{vb:rawphrase edit_delete_message}" /> {vb:rawphrase edit_post}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
<vb:if condition="$show['quickreply'] AND !$show['threadedmode']">
<a id="qr_{vb:raw post.postid}" class='quickreply' href="{vb:raw post.replylink}" rel="nofollow"><img id="replyimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase quick_reply_to_this_message}" /> {vb:rawphrase reply}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
<vb:if condition="$post['replylink']">
<a id="qrwq_{vb:raw post.postid}" class="newreply" href="{vb:raw post.replylink}" rel="nofollow"><img id="quoteimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase reply_with_quote}" /> <vb:if condition="$post['forwardlink']">{vb:rawphrase reply_to_private_message}<vb:else />{vb:rawphrase reply_with_quote}</vb:if></a>
<vb:if condition="$show['multiquote_post']"><span class="seperator">&nbsp;</span></vb:if>
</vb:if>
<vb:if condition="$show['multiquote_post']">

<a class="multiquote" href="{vb:raw post.replylink}" rel="nofollow" onclick="return false;" id="mq_{vb:raw post.postid}"><img id="mq_image_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase multi_quote_this_message}" />&nbsp;</a>
</vb:if>
</span>
<span class="postlinking">
<vb:if condition="!$post['forwardlink'] && THIS_SCRIPT != 'usernote' && THIS_SCRIPT != 'announcement'">
<vb:if condition="$promote_sectionid AND $promote_sectionid != -1">
<a href="{vb:raw promote_url}" class="promotecms">{vb:rawphrase promote_to_article}</a>
<span class="seperator">&nbsp;</span>
</vb:if>
</vb:if>

{vb:raw template_hook.postbit_controls}
{vb:raw post.iplogged}
<vb:if condition="$post['forwardlink']">
<a class="forwardpost" href="{vb:raw post.forwardlink}" rel="nofollow"><img src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase forward_message}" /> {vb:rawphrase forward}</a>
<vb:if condition="$show['reputationlink'] OR $show['infractionlink'] OR $show['moderated'] OR $show['spam'] OR $show['deletedpost'] OR $show['redcard'] OR $show['yellowcard']"><span class="seperator">&nbsp;</span></vb:if>
</vb:if>
<vb:if condition="$show['reputationlink']">
<span class="reputationpopupmenu popupmenu popupcustom" title="{vb:raw post.postid}"><a class="popupctrl reputation" title="{vb:rawphrase reputation}" href="reputation.php?{vb:raw session.sessionurl}do=addreputation&amp;p={vb:raw post.postid}" rel="nofollow" id="reputation_{vb:raw post.postid}"><!--<img src="{vb:stylevar imgdir_button}/reputation-40b.png" alt="{vb:rawphrase reputation}" /> -->&nbsp;</a></span>
</vb:if>

<vb:if condition="$show['infractionlink']">
<a class="infraction" href="infraction.php?{vb:raw session.sessionurl}do=report&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}"><!-- <img src="{vb:stylevar imgdir_button}/add-infraction_sm.png" alt="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}" /> --> &nbsp;</a> &nbsp;
</vb:if>
<vb:if condition="$show['reportlink']">
<a class="report" href="{vb:raw post.reportlink}" rel="nofollow" title="{vb:rawphrase report_bad_post}"><!-- <img src="{vb:stylevar imgdir_button}/report-40b.png" alt="{vb:rawphrase report_bad_post}" /> -->&nbsp;</a> &nbsp;
</vb:if>

<vb:if condition="$show['moderated']">
<img class="moderated" src="{vb:stylevar imgdir_misc}/moderated_sm.png" alt="{vb:rawphrase moderated_post}" />
</vb:if>
<vb:if condition="$show['spam']">
<img class="spam" src="{vb:stylevar imgdir_misc}/spam_detected.png" alt="{vb:rawphrase spam_post}" />
</vb:if>
<vb:if condition="$show['deletedpost']">
<vb:if condition="$show['managepost']">
<a class="deleted" href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}postings.php?{vb:raw session.sessionurl}do=managepost&amp;p={vb:raw post.postid}" title="{vb:rawphrase manage}">&nbsp;</a>
<vb:else />
<img class="deleted_nolink" class="inlineimage" src="{vb:stylevar imgdir_button}/deleted_sm.png" alt="{vb:rawphrase deleted_post}" />
</vb:if>
</vb:if>
<vb:if condition="$show['redcard']">
<a class="redcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_infraction}"><!-- <img src="{vb:stylevar imgdir_button}/red-card_sm.png" alt="{vb:rawphrase received_infraction}" /> --> &nbsp;</a>
<vb:elseif condition="$show['yellowcard']" />
<a class="yellowcard" href="infraction.php?{vb:raw session.sessionurl}do=view&amp;p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_warning}"><!--<img src="{vb:stylevar imgdir_button}/yellow-card_sm.png" alt="{vb:rawphrase received_warning}" /> --> &nbsp;</a>
</vb:if>
</span>
<!-- </div> -->
</div>
</div>
<hr />
</li>
{vb:raw template_hook.postbit_end}


Thanks for all your help. I will try the solution now..

AshMagic
03-01-2011, 11:55 AM
I made those changes but the problem remains I'm afraid :( I have reverted the code back.

gamerzhut
03-01-2011, 04:10 PM
Installed & rated *****

Hippy
03-01-2011, 08:19 PM
I made those changes but the problem remains I'm afraid :( I have reverted the code back.

those 2 template changes have fixes in them..
never added to the mod..

you should add them back
will check out your template and peek at your site after you add them back

Gunturz
03-02-2011, 07:00 AM
here is a screen shot..
I think I know what the problem is

post your postbit_legacy template for me ..

I need to see the code..

meanwhile

replace your post_thanks_postbit_info template

<vb:if condition="$post['userid']">
<dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd>
<vb:if condition="$post['post_thanks_thanked_times'] == 1">
<dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{vb:rawphrase post_thanks_time_post}</dd>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
<vb:else />
<dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd>
</vb:if>
</vb:if>

and replace your post_thanks_javascript template


<script type="text/javascript" src="clientscript/post_thanks.js"></script>

<style type="text/css">
.postbitlegacy .postfoot .textcontrols a.post_thanks_button, .postbit .postfoot .textcontrols a.post_thanks_button {
background: url({vb:stylevar imgdir_button}/post_thanks.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.post_thanks_button:hover, .postbit .postfoot .textcontrols a.post_thanks_button:hover {
background: url({vb:stylevar imgdir_button}/post_thanks-hover.png) no-repeat transparent {vb:stylevar left};
}
</style>

i think this could help the problem

at post_thanks_postbit_info template change "stylevar left" to "stylevar none"

<vb:if condition="$post['userid']">
<dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd>
<vb:if condition="$post['post_thanks_thanked_times'] == 1">
<dd style="white-space:nowrap; display:inline; float: {vb:stylevar none};">{vb:rawphrase post_thanks_time_post}</dd>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<dd style="white-space:nowrap; display:inline; float: {vb:stylevar none};">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
<vb:else />
<dd style="white-space:nowrap; display:inline; float: {vb:stylevar none};">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd>
</vb:if>
</vb:if>

Munkholm
03-02-2011, 10:29 AM
A few things to note:

2) No searching feature yet



When can we expect the search features to be included ? This script is really great, but I?d love to be able to search for the most thanked post of a given month... Don?t suppose there?s an easy way to accomplish that ? Thanks.

Hippy
03-02-2011, 02:14 PM
When can we expect the search features to be included ? This script is really great, but I?d love to be able to search for the most thanked post of a given month... Don?t suppose there?s an easy way to accomplish that ? Thanks.

Developer Last Online: Jun 2010
I'm afraid we may never see it:(

Dakoom
03-02-2011, 07:15 PM
As you know, is it possible to add "post thanks" also in vbulletin blog or other scripts?

AshMagic
03-02-2011, 07:33 PM
those 2 template changes have fixes in them..
never added to the mod..

you should add them back
will check out your template and peek at your site after you add them back

OK i've done it and put the code back that you posted. It's ready for you to look at..
Thanks for helping me with this :)

Hippy
03-02-2011, 10:02 PM
need you to turn on Add Template Name in HTML Comments
in admincp
under general settings
set it to yes
thanks

Hippy
03-02-2011, 10:48 PM
after you do that for me

check your
blog_postbit_entries_link
blog_postbit_blog_this_post
blog_postbit_blog_link
templates to see if they where edited or if the have <br />
in them

Dakoom
03-02-2011, 11:38 PM
nobody that helps me? :(

Hippy
03-03-2011, 12:13 AM
As you know, is it possible to add "post thanks" also in vbulletin blog or other scripts?

not that I heard of .. sorry

JuPo
03-03-2011, 12:22 PM
Sorry to that stupid question....

¿the versión "7.82" of this mod, works in versión "3.8.5" of vbulletín?

Hippy
03-03-2011, 08:11 PM
Sorry to that stupid question....

?the versi?n "7.82" of this mod, works in versi?n "3.8.5" of vbullet?n?
no it,s for version 4 only

here is the one for vb3 [AJAX] Post Thank You Hack (https://vborg.vbsupport.ru/showthread.php?t=165673)

Rofo
03-03-2011, 09:36 PM
Quoting myself here but this hack displays the thank you link on the far left rather than next to the edit button where it belongs...here is the fix which was found my the designer of the custom skin I'm running:


1) open template postbit
find
HTML Code:

{vb:raw template_hook.postbit_controls}

and move it under

<span class="postcontrols">

2) Do the same for postbit_legacy

A big thanks to Alexander from www.webandart.gr !:D

See here:
https://vborg.vbsupport.ru/showpost.php?p=2159195&postcount=1300

Works perfect in 4.1.1

126487

Heres a working XML for 4.1.1

Thanks for everyone helping, installed and working great on 4.1.1.

Quoting these posts, as they are needed information for 4.1.1. Thought I would get them together.

Live demo - www.gearheadconnection.com

OldSchoolDSL
03-05-2011, 03:15 AM
This was a nice modification, but I have learned that it did slow down my community a little.

For me it worked flawlessly though in 4.1.2

But vBSEO does have their own "Likes" option.

Un-installed.

Leo777
03-06-2011, 07:41 AM
Over the past years, many people have reported a problem when using this mod - after clicking Thanks the following error appears :

Could not find phrase 'post_thanks'.

It's been reported since 2006 (see here (https://vborg.vbsupport.ru/showpost.php?p=922794&postcount=536)) and apparently still hasn't been fixed. Some people have even stopped using the mod due to this error, even though the error is only a message and doesn't affect functionality of the mod.

I think the main reason it hasn't been fixed is because the error is rarely seen - that's because the 'Redirecting' page is not seen by most people due to the use of AJAX. However, while testing this mod with various browsers and various settings, I have seen this error a few times. One way to see the error is to right-click the Thanks button and open it in a new tab, then it doesn't use AJAX so the error will appear temporarily before the page is reloaded. But I've also seen the error in other (rare) situations.

I couldn't find any solutions online so I tried to find a solution myself. First I tried to manually create the missing phrase, but I couldn't get it to work. Then I searched the post_thanks templates to manually fix it, but I couldn't find anywhere to fix it there, so then I searched the actual files included in the zip but I'm not an expert coder so I still couldn't figure out how to fix it.

Fortunately I then came up with a quick-fix solution and figured I should post it here in case anyone else wants to use it. It's very simple - you just use the Replacement Variable Manager to get rid of the message! So in your admin control panel just go to the Replacement Variable Manager, click 'Add New Replacement Variable' then in the top box enter the following :

could not find phrase 'post_thanks'.

And just leave the bottom box blank, then Save. No more error message :)

Hope this helps someone!

robsta
03-07-2011, 11:25 AM
pls update this mod !

Hippy
03-07-2011, 08:11 PM
pls update this mod !

mode works ..
never version of vb than 4.1.0

just replace the code in the xml file
to this

<dependency dependencytype="vbulletin" minversion="4.0.0 beta 4" maxversion="4.1.99" />

zeus_r6
03-08-2011, 12:53 AM
mode works ..
never version of vb than 4.1.0
use this xml file

Image attached...

djbaxter
03-08-2011, 01:09 AM
Image attached...

Just edit the XML product file and change line 15 to read

<dependency dependencytype="vbulletin" minversion="4.0.0 beta 4" maxversion="4.1.99" />

sump
03-08-2011, 10:19 AM
Just edit the XML product file and change line 15 to read

<dependency dependencytype="vbulletin" minversion="4.0.0 beta 4" maxversion="4.1.99" />

mode works ..
never version of vb than 4.1.0
use this xml file


is this for the file just posted right above here or the one posted in the hack by the devoloper??

sump
03-08-2011, 10:27 AM
nevermind .. used the edit above works fine ...

Hippy
03-08-2011, 02:38 PM
is this for the file just posted right above here or the one posted in the hack by the devoloper??

yes just fixed for the version for installation

guess i should of changed it to this

<dependency dependencytype="vbulletin" minversion="4.0.0 beta 4" maxversion="4.1.99" />


sorry

shoppingtelly
03-12-2011, 10:49 AM
On Line 15 I just have "); do I add the code after/before or delete and add?

Thank you in advance.

Hippy
03-12-2011, 10:52 AM
On Line 15 I just have "); do I add the code after/before or delete and add?

Thank you in advance.

search for this (line 10) <dependency dependencytype="vbulletin" minversion="4.0.0 beta 4" maxversion="4.1.0 alpha 1" />

and chagne it to this

<dependency dependencytype="vbulletin" minversion="4.0.0 beta 4" maxversion="4.1.99" />

final kaoss
03-12-2011, 04:18 PM
Tried that now on a page it says

Fatal error: Call to undefined function post_thanks_off() in /home/vgchat/public_html/forum/includes/class_postbit.php(340) : eval()'d code on line 65

*fixed

final kaoss
03-12-2011, 06:05 PM
Now how do we hide links until the user clicks thanks like on some sites?

shoppingtelly
03-12-2011, 10:46 PM
search for this (line 10) <dependency dependencytype="vbulletin" minversion="4.0.0 beta 4" maxversion="4.1.0 alpha 1" />

and chagne it to this

<dependency dependencytype="vbulletin" minversion="4.0.0 beta 4" maxversion="4.1.99" />

Thank You perfect!

del Drago
03-13-2011, 10:07 PM
I'm thinking of installing this mod, as I've used it on other forums and really like it.

However, it appears that the developer, Abe, has vanished. I'm concerned that this mod is going to be incompatible with future versions of vBulletin 4, since it has been effectively abandoned. What do you guys think?

Also, is it possible for another developer to take over this project?

Phaedrus
03-16-2011, 01:56 AM
Does this work on 4.1.2?

hohleweg
03-16-2011, 03:53 PM
yes!

bensterzback
03-16-2011, 08:53 PM
i get this error can someone help ?

"XML Error: Invalid document end at Line 539"

crazlunatic
03-17-2011, 01:14 AM
Howcome it is not working for my 4.1.2, even after changing dependency version? http://windows8center.com/forums/showthread.php?23-Rumor-Chinese-to-leak-Windows-8-M3-soon&styleid=3

Works in the original theme though?

crazlunatic
03-17-2011, 01:16 AM
Is it possible to get the thanks button bigger, and on the right side like in the post thank you hack for vb3.x ?

Sorry for double post, tried to cancel but was too late

mikem164
03-17-2011, 03:57 AM
Does this work on 4.1.2?

I get incompatible with Vbulletin Version 4.1.2 when installing the XML. FYI

mitch84
03-17-2011, 04:48 AM
search for this (line 10) <dependency dependencytype="vbulletin" minversion="4.0.0 beta 4" maxversion="4.1.0 alpha 1" />

and chagne it to this

<dependency dependencytype="vbulletin" minversion="4.0.0 beta 4" maxversion="4.1.99" />

I get incompatible with Vbulletin Version 4.1.2 when installing the XML. FYI
use that

mikem164
03-17-2011, 06:02 AM
I have searched till my eyes bleed for that line of code

gnrx
03-18-2011, 12:40 AM
Hello.
Recently, I upgraded from vb 3.8.7 to vb 4.1.2 (I am in testin upgrade).

I upgraded this mod.

I modified my postbit for, appears my postbit like in vb 3.8.7.

I align the postbit to the left, I add in my additional.css this code:
.postbit .userinfo_extra dl dt {clear: both;}
.postbit .userinfo_extra dl dd {float: left;}
.postbit .userinfo .userinfo_extra dl, .postbit .userinfo_noavatar .userinfo_extra dl {width: 200px;}
With this, now appears my postbit align, but the last phrase of this mod, not appears align, is fixed align to right, when change thw widht, this phrase is in the same position (align to right).

Can help me for align to left?

Thanks and regards!

mitch84
03-18-2011, 04:20 AM
Hello.
Recently, I upgraded from vb 3.8.7 to vb 4.1.2 (I am in testin upgrade).

I upgraded this mod.

I modified my postbit for, appears my postbit like in vb 3.8.7.

I align the postbit to the left, I add in my additional.css this code:
.postbit .userinfo_extra dl dt {clear: both;}
.postbit .userinfo_extra dl dd {float: left;}
.postbit .userinfo .userinfo_extra dl, .postbit .userinfo_noavatar .userinfo_extra dl {width: 200px;}
With this, now appears my postbit align, but the last phrase of this mod, not appears align, is fixed align to right, when change thw widht, this phrase is in the same position (align to right).

Can help me for align to left?

Thanks and regards!

in template post_thanks_postbit_info
search and replace all vb:stylevar right by vb:stylevar left

gnrx
03-18-2011, 07:52 PM
in template post_thanks_postbit_info
search and replace all vb:stylevar right by vb:stylevar left

Thank you very much for your help :)

I made this changes and now, appears correctly align to the left.

Thanks and best regards!!

Kiran-E-Sehar
03-19-2011, 05:52 AM
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: post_thanks_navbar_search in [path]/includes/functions.php on line 4097

Warning: array_merge() [function.array-merge (http://www.forum.kiran-e-sehar.com/function.array-merge)]: Argument #1 is not an array in [path]/includes/class_bootstrap.php(1312) : eval()'d code on line 9






i have upload the files from "upload via ftp" folder and i have getting this errors


how can i fix this plzzzzzzzzzzz let me know

Thx

Kiran-E-Sehar
03-19-2011, 07:05 AM
what was that :o


my forum is not working now

when i opn any post it dosent show any thing except these errors

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: post_thanks_navbar_search in [path]/includes/functions.php on line 4097

Warning: array_merge() [function.array-merge (http://www.forum.kiran-e-sehar.com/function.array-merge)]: Argument #1 is not an array in [path]/includes/class_bootstrap.php(1312) : eval()'d code on line 9

Warning: array_merge() [function.array-merge (http://www.forum.kiran-e-sehar.com/function.array-merge)]: Argument #1 is not an array in [path]/includes/class_bootstrap.php(1312) : eval()'d code on line 28

Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/class_core.php:5403) in [path]/includes/functions.php on line 3904

Fakher
03-19-2011, 08:47 AM
i see this error

The following dependencies were not met:

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

Kiran-E-Sehar
03-19-2011, 09:00 AM
so now how can i fix this error Fakher bro ??

Fakher
03-19-2011, 09:34 AM
I donno know as am not a coder :(

Hippy
03-19-2011, 12:57 PM
what was that :o


my forum is not working now

when i opn any post it dosent show any thing except these errors

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: post_thanks_navbar_search in [path]/includes/functions.php on line 4097

Warning: array_merge() [function.array-merge (http://www.forum.kiran-e-sehar.com/function.array-merge)]: Argument #1 is not an array in [path]/includes/class_bootstrap.php(1312) : eval()'d code on line 9

Warning: array_merge() [function.array-merge (http://www.forum.kiran-e-sehar.com/function.array-merge)]: Argument #1 is not an array in [path]/includes/class_bootstrap.php(1312) : eval()'d code on line 28

Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/class_core.php:5403) in [path]/includes/functions.php on line 3904
are you sure you downloaded / installed the correct version of this mod ?
that error posted seems like it's the version for vb3
make sure you grabed the version for vb4
if you can't turn off the hooks via admincp add this code to the very top of your config.php file and take the // out of the second line.. save and upload
// Setting the below will disable all hooks for me if I run into trouble.
//define('DISABLE_HOOKS', true);
this will turn off the hooks
then unistall the version you added and delete ALL the files upload ..

then re-install

then add the // back to the second line you added to the config file.. to turn the hooks back on..
hope this helps


i see this error

The following dependencies were not met:

1. This product is not compatible with version 4.1.2 of vBulletin. (Compatible starting with 4.0.0 beta 4 / Incompatible with 4.1.0 alpha 1 and greater)
do this
search for this (line 10) <dependency dependencytype="vbulletin" minversion="4.0.0 beta 4" maxversion="4.1.0 alpha 1" />

and chagne it to this

<dependency dependencytype="vbulletin" minversion="4.0.0 beta 4" maxversion="4.1.99" />

Kiran-E-Sehar
03-19-2011, 01:50 PM
are you sure you downloaded / installed the correct version of this mod ?
that error posted seems like it's the version for vb3
make sure you grabed the version for vb4
if you can't turn off the hooks via admincp add this code to the very top of your config.php file and take the // out of the second line.. save and upload
// Setting the below will disable all hooks for me if I run into trouble.
//define('DISABLE_HOOKS', true);
this will turn off the hooks
then unistall the version you added and delete ALL the files upload ..

then re-install

then add the // back to the second line you added to the config file.. to turn the hooks back on..
hope this helps



do this
Bro i have 4.1.2 version

and i download this file from this topic where we are talking ...


and let me try i hope it will be solved :(

thx

Kiran-E-Sehar
03-19-2011, 05:21 PM
Thxxxxxxxxxxxxxx a lot Bro :)

Hippy
03-19-2011, 07:15 PM
Thxxxxxxxxxxxxxx a lot Bro :)

gald it worked out
so what was the problem.. ?
and if you have a sec let us know what fixed it..

enjoy

tester559
03-21-2011, 08:30 PM
I am in the process of setting up a test site, upgrading from 3.8.7 to 4.1.2. I have installed this addition, and changed the dependancy as shown above, but all counts are now zero.... can I get the totals back?

Stuart

Maxi62
03-21-2011, 10:42 PM
Gives this for vb4.12 ?

Eduardo Leon
03-23-2011, 02:38 PM
well i give this option for these users that use it vbulletin 4.1.2 or more

Thnx !

Omniverse
03-23-2011, 03:42 PM
well i give this option for these users that use it vbulletin 4.1.2 or more

Thnx !

Thanks. Installed no problem :) Great Hack.

Phaedrus
03-24-2011, 05:32 AM
well i give this option for these users that use it vbulletin 4.1.2 or more

Thnx !

LOL. I was about ready to load up a version with the xml change for people who didn't know how. I guess I was beaten to the punch. I have fixed the Groans hack though, and made it so it integrates with this hack.

sulasno
03-24-2011, 06:02 AM
do I need to uninstall or simply overwrite the existing version with the new file ?

I wish that more features could be added to the mod;

disallowing certain users from using this mod would be great (to stop anyone from abusing the mod)

Phaedrus
03-26-2011, 01:49 AM
do I need to uninstall or simply overwrite the existing version with the new file ?


I wish that more features could be added to the mod;

disallowing certain users from using this mod would be great (to stop anyone from abusing the mod)

There is an option in this hack to ban certain users. If you have the last version of this hack already installed the one above is no different.

Phaedrus
03-26-2011, 01:56 AM
In order to integrate the thanks/groans hacks in 4.1.2 I had to make some changes to the includes/function_post_thanks.php file and to the XML.

I provide it here so that the two will integrate if you use both of them. This is only necessary if you want the two mods to integrate. Use it with the one that I uploaded into the thread for the Groans hack, with those two uploaded and then installed (best to remove/install as it creates duplicate tables in some areas of your dbase if you just overwrite), your hacks should integrate making it so that the groans button and the thanks buttons act in concert and you can disallow users to both thanks/groans the same post.

The integration setting is in the groans hack.

raicars
03-26-2011, 04:06 PM
Please help me.
i can't
# Search for a users thanked posts
# Search for all thanked posts

Been Told
03-26-2011, 08:12 PM
Hi there,
first of all thanks for a GREAT hack!
I have one small problem...
I recently upgraded to vB 4.1.2 and updated the Post Thank You hack too. Now when people press the Thank You button/link, it disappears, but there thanks don't appear under the post like they did before the update.
If the user reloads the page or goes somewhere else and returns to the post, their thanks is there.

Is there any way to fix this?

Phaedrus
03-27-2011, 06:24 AM
Hi there,
first of all thanks for a GREAT hack!
I have one small problem...
I recently upgraded to vB 4.1.2 and updated the Post Thank You hack too. Now when people press the Thank You button/link, it disappears, but there thanks don't appear under the post like they did before the update.
If the user reloads the page or goes somewhere else and returns to the post, their thanks is there.

Is there any way to fix this?

Refresh your post cache. It is most likely your java stuck in limbo.

Been Told
03-27-2011, 06:45 AM
Refresh your post cache. It is most likely your java stuck in limbo.
That fixed it right up! Thanks!

Been Told
03-27-2011, 11:23 AM
Another question... My members are asking me to move the "Thank You" link/button to the right side where edit, quote and so on are (postbit legacy). How do I do that?

Phaedrus
03-27-2011, 01:53 PM
Another question... My members are asking me to move the "Thank You" link/button to the right side where edit, quote and so on are (postbit legacy). How do I do that?

Read post number 2.

Been Told
03-27-2011, 02:06 PM
D'oh! Thanks :)

cpvrx
03-28-2011, 07:38 PM
Is there an option to display all "thanks" post for a user like - in user cp or something?
If so, how?

Sworm
03-28-2011, 10:02 PM
Uninstalled after 4 years of great use :S

ExciterNL
03-29-2011, 05:44 PM
You make me wanting to know: Why?

Sworm
03-30-2011, 05:55 PM
2 things I did to mine...

open your post_thanks_postbit_info
and change it to this


<vb:if condition="$post['userid']">
<dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd>
<vb:if condition="$post['post_thanks_thanked_times'] == 1">
<dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{vb:rawphrase post_thanks_time_post}</dd>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
<vb:else />
<dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd>
</vb:if>
</vb:if>now open your
post_thanks_javascript template
and change to this..


<script type="text/javascript" src="clientscript/post_thanks.js"></script>

<style type="text/css">
.postbitlegacy .postfoot .textcontrols a.post_thanks_button, .postbit .postfoot .textcontrols a.post_thanks_button {
background: url({vb:stylevar imgdir_button}/post_thanks.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.post_thanks_button:hover, .postbit .postfoot .textcontrols a.post_thanks_button:hover {
background: url({vb:stylevar imgdir_button}/post_thanks-hover.png) no-repeat transparent {vb:stylevar left};
}
</style>

Hippy , this has helped me so much!!!!! Thank you!

Now look as well!

Hippy
03-30-2011, 07:28 PM
Hippy , this has helped me so much!!!!! Thank you!

Now look as well!
welcome
I'm glad it helped..
and you did not kill this great mod after all those years
enjoy

A M I R
04-01-2011, 11:27 AM
Please optimize for version 4.1.2

Thanks

Za4a Tuner
04-01-2011, 01:16 PM
Uninstalled after nearly 6 years of use :(
After my update from 3.8.7 to 4.1.2 the hack doesn't work at all. The coder was last online in june 2010 ... i think, thats the end of the hack :(

NarutoFTW
04-01-2011, 05:51 PM
Anyone got notification upon being thanked working? and check thanked posts?

Hippy
04-01-2011, 07:15 PM
Uninstalled after nearly 6 years of use :(
After my update from 3.8.7 to 4.1.2 the hack doesn't work at all. The coder was last online in june 2010 ... i think, thats the end of the hack :(

should of disabled all hacks when updating from vb3 to vb4 and then used the vb4 thank mod to update the one you had installed..
all would of worked out..

Phaedrus
04-02-2011, 04:44 AM
I've fixed the mod for my site, it's been uploaded into the thread a few posts ago. I've also been working on the Groan hack for integration, etc. I think I have a working version, but I need to test it more and set it live before I upload that one.

mitch84
04-02-2011, 05:09 AM
I've fixed the mod for my site, it's been uploaded into the thread a few posts ago. I've also been working on the Groan hack for integration, etc. I think I have a working version, but I need to test it more and set it live before I upload that one.

Hi, if you disturb them, I think you should open a new topic, thank you

Za4a Tuner
04-02-2011, 08:55 AM
should of disabled all hacks when updating from vb3 to vb4 and then used the vb4 thank mod to update the one you had installed..
all would of worked out..
Hy,
i disabled all hacks before updating ;)
My problem is, that the coder won't update this version ... last only last year.
If the hack will work with the actually vBversion ... what's up with the next vBupdate? Will the hack work? If not -> my users will "kill me" ;)
So i decided to uninstall the hack :(

MrD
04-02-2011, 03:07 PM
Hi,
@Chris: there is an other Hack, that use the Same. And he have an Importer for this Hack :D
https://vborg.vbsupport.ru/showthread.php?t=243510
Maybe, the New vbseo have an Like System :)

Za4a Tuner
04-02-2011, 08:24 PM
Hi,
@Chris: there is an other Hack, that use the Same. And he have an Importer for this Hack :D
https://vborg.vbsupport.ru/showthread.php?t=243510
Maybe, the New vbseo have an Like System :)Hi,
thanks for your link, but the importer is not in the free version, you have to buy a pro version to get the importer.

Phaedrus
04-03-2011, 02:23 AM
As I was testing my integration of the Post Groan/Post Thank You hacks, I noticed one problem with both of them. The search function it calls doesn't work at all. I turned off the profile stats so that people won't be clicking links and getting database errors, however... I'm working on fixing that too. It calls to a table that no longer exists in vb4, I wonder how long that has been a problem.

Anyway, if you are running this, you'll want to turn off the stats in the profiles, as the links to searches that it adds to your profiles will throw database errors. I'm working on fixing that too...

*sigh* this upgrade has been painful.

Chase
04-03-2011, 04:01 PM
Can someone confirm if this works on 4.1.2? I will be upgrading from 3.8.4

Filgga
04-03-2011, 07:19 PM
Can someone confirm if this works on 4.1.2? I will be upgrading from 3.8.4
Works perfectly, please DISABLE ALL plugins while upgrading. Do a backup either

del Drago
04-03-2011, 08:18 PM
Hey guys,

The creator of this mod, Abe, seems to have vanished. Would it be possible for another team of coders to take charge of this mod and keep it updated?

Phaedrus
04-03-2011, 10:34 PM
Hey guys,

The creator of this mod, Abe, seems to have vanished. Would it be possible for another team of coders to take charge of this mod and keep it updated?

If I can figure out how to make this one work like it should I'll post a new Mod on it, if anybody else figures it out before me, they should do the same. The only function that I can't get to work and so keep rem'd out (the author rem'd them out, they caused issues) are the search functions.

Hippy
04-04-2011, 01:47 AM
I posted fixes for this mod .. all is working but the search who thanked..was posted that it was taken out till it was figured out..
I don't know what else is not working .. vb4.1.3 beta

Phaedrus
04-04-2011, 03:15 AM
I posted fixes for this mod .. all is working but the search who thanked..was posted that it was taken out till it was figured out..
I don't know what else is not working .. vb4.1.3 beta

No, that's it. I posted one that I changed just a fraction in order to integrate it with the post groans hack. I think I have them down now, but for some reason the groans don't all display on my site. Once I work that out I'll post both of them together so that everybody can have fully functional thanks/groans with integration.

I have it set now so that you hit one button it shuts the other off, etc. I just need to be sure that the groans will show up like they are supposed to every time somebody clicks groan... If anybody wants both hacks, with the integration, to test out somewhere PM me and I'll set you up... It will help if I get some feedback.

vitrag24
04-04-2011, 09:58 AM
Is this mod integrated with any mod like "Thanks to unhide content in thread/post"?

karlm
04-05-2011, 12:55 AM
This product is not compatible with version 4.1.2 of vBulletin. (Compatible starting with 4.0.0 beta 4 / Incompatible with 4.1.0 alpha 1 and greater)

:(

I was hoping to make use of this hack ... :(

CypherHackz
04-05-2011, 04:25 AM
Same here... The product is not compatible with 4.1.2. :(

-cypher.

djbaxter
04-05-2011, 12:29 PM
:(

I was hoping to make use of this hack ... :(

Same here... The product is not compatible with 4.1.2. :(

-cypher.

Open product_post_thanks.xml in a plain text editor.

At line 14 - 16, FIND:

<dependencies>
<dependency dependencytype="vbulletin" minversion="4.0.0 beta 4" maxversion="4.1.0 alpha 1" />
</dependencies>

CHANGE TO:

<dependencies>
<dependency dependencytype="vbulletin" minversion="4.0.0 beta 4" maxversion="4.99" />
</dependencies>

addamroy
04-05-2011, 05:24 PM
I've had this mod installed for a while now, but there are now links in user profiles to threads thanked by user, and thanked threads by user.

Am I supposed to do something extra to display these links in user profiles?

It says in the user profiles how many times the user has been thanked and in how many threads, but no links to thanked posts as described in the mod.

Advice?

Phaedrus
04-06-2011, 01:18 AM
You do not want the links to display, they will create database errors for you as they use an old search string that doesn't work and tries to access a table that no longer exists.

Phaedrus
04-06-2011, 02:03 AM
Okay, I'm going to post the version that I have integrated with the groans on my site, the search feature is off until I can figure out the correct search string to find all thanks/groans. I'll also post the groans that I added back the integration to. If you upgrade check your dbase for an extra "post" in your dbase in the post_thanks/post_groans tables. For some reason it adds an extra one that is useless.

Tell me if there are any issues, if this is clean I guess I can post a new thread with both hacks with credit to the original coders...

Phaedrus
04-06-2011, 05:00 AM
do I need to uninstall or simply overwrite the existing version with the new file ?


I wish that more features could be added to the mod;

disallowing certain users from using this mod would be great (to stop anyone from abusing the mod)

Um... That option is there.

addamroy
04-06-2011, 02:25 PM
You do not want the links to display, they will create database errors for you as they use an old search string that doesn't work and tries to access a table that no longer exists.

Oooh I see, fair enough.

chrisdaman
04-06-2011, 03:04 PM
Okay, I'm going to post the version that I have integrated with the groans on my site, the search feature is off until I can figure out the correct search string to find all thanks/groans. I'll also post the groans that I added back the integration to. If you upgrade check your dbase for an extra "post" in your dbase in the post_thanks/post_groans tables. For some reason it adds an extra one that is useless.

Tell me if there are any issues, if this is clean I guess I can post a new thread with both hacks with credit to the original coders...

Thanks. I installed both updated versions and testing now. I'll report back.

Hippy
04-06-2011, 06:29 PM
Phaedrus
thanks for your efforts..
Looking forward to having the find all thanks back..

Can you use these updated versions you made separate?

I know you made them work together.
But I wanted to know if they will work as stand alone mods still..

thanks again ..

2 thumbs up

Phaedrus
04-06-2011, 06:39 PM
They should, but apparently there are still issues with the groans. :(

They are separate mods and the Thank Yous in particular are working splendidly. And as soon as I figure out the correct search string I'll be adding that back in. Unfortunately this is learn as you go for me, I only took it up because my users are pissed that I upgraded and lost their Groans... Man... I was sure that I had everything to upgrade without losing any of my mods... that's what I get for not testing more thoroughly before I upgraded. There's no going back now though.

Hippy
04-06-2011, 06:46 PM
They should, but apparently there are still issues with the groans. :(

They are separate mods and the Thank Yous in particular are working splendidly. And as soon as I figure out the correct search string I'll be adding that back in. Unfortunately this is learn as you go for me, I only took it up because my users are pissed that I upgraded and lost their Groans... Man... I was sure that I had everything to upgrade without losing any of my mods... that's what I get for not testing more thoroughly before I upgraded. There's no going back now though.

I know the feeling pal..
thanks for your efforts

Chase
04-06-2011, 07:57 PM
Dumb question, but I'll be upgrading from 3.8.4 to 4.1.2. Should I use the Thanks download from Abe or yours Phaedrus? Note: I am not using the groan mod.

Hippy
04-06-2011, 08:02 PM
Dumb question, but I'll be upgrading from 3.8.4 to 4.1.2. Should I use the Thanks download from Abe or yours Phaedrus? Note: I am not using the groan mod.

Make sure you back up as you would before any DB change...

turn off all your mod / hooks

then when you update from vb3 to vb4 then the mods, I would run Phaedrus updated version
*note allow over write on the import of the xml file..

and DO NOT Unistall the mod before updating .. you'll loose all the thanks..

Phaedrus
04-06-2011, 08:33 PM
I would download mine as it rem's out the search strings that will cause you dbase errors and is easier to find than the other upload in the thread with the same rem remarks, plus, once I figure out where I have my variables off it will be ready to integrate.

thanhtrung229
04-07-2011, 05:29 AM
it isn't work in 4.1.3 version, i was try reinstall and it show
This product is not compatible with version 4.1.3 of vBulletin. (Compatible starting with 4.0.0 beta 4 / Incompatible with 4.1.0 alpha 1 and greater)

Phaedrus
04-07-2011, 05:52 AM
it isn't work in 4.1.3 version, i was try reinstall and it show

Download the thank you version that I posted just a few posts ago. That one should work with 4.1.3.

Legend Killer1
04-09-2011, 11:58 PM
yes i dl and installed the hide hack mod into my forum and now my forum gets an error i folled each step and made sure it was right i checked over it again and everything is in place but for some reason when i go to click on new post it comes up as an error it says

Server error
The website encountered an error while retrieving http://www.wtmstreams.net/forum/newthread.php?do=newthread&f=8. It may be down for maintenance or configured incorrectly.
Here are some suggestions:
Reload this web page later.
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.

wat does this mean and how can i fix this i really want to use this mod in my forum so any help would be appreciated thanks :)

Hippy
04-10-2011, 12:06 AM
This is not the hide mod thread
this is the thread for post thanks ;)

Legend Killer1
04-10-2011, 12:07 AM
lmao didnt even notice that lol

Egor123
04-11-2011, 01:47 AM
Anything for version 4.1.x?

Phaedrus
04-11-2011, 02:37 AM
I'm going to make a new thread. It's taken me some time but I finally got the Thanks/Groans integrated and working correctly on my site. If this guy comes back, I'll ask them to close my thread and give the hack back to him, but at this point we need somebody to update the hack and keep people updated. Is that kosher, or will I be burned to the ground for being a witch?

I've got everything working except the search function, and I'll attack that next as people want to be able to see who thanked who where, etc.

uhking
04-11-2011, 10:09 AM
Hello:
Can anybody tell me how to show the time as there is only date with the username.

Thanks

Vaira
04-11-2011, 10:28 AM
I'm going to make a new thread. It's taken me some time but I finally got the Thanks/Groans integrated and working correctly on my site. If this guy comes back, I'll ask them to close my thread and give the hack back to him, but at this point we need somebody to update the hack and keep people updated. Is that kosher, or will I be burned to the ground for being a witch?

I've got everything working except the search function, and I'll attack that next as people want to be able to see who thanked who where, etc.

If there is something not kosher then it is the fact that you have to pay for the importer of Dragon Bytes (DB) alternative : http://www.dragonbyte-tech.com/threads/882-Transfer-from-AJAX-Post-Thank-You-Hack

It is a shame that the original idea of abe1 is now used to make money by others.
DB knows that most of us already have a thanks database based on abe1's original hack.
Their free version doesn't provide the needed importer. So some swich over to DB and pay for the pro version to import the thanks database.
IMHO it is morally questionable what DB does.
It must be freeware to respect abe1's idea.

Hence I appreciate it very much that you can provide a fixed version of it.
I want to stick with abe1's hack as long as possible. I do not pay DB (importer) for something another has originally invented!!!

Thank you very much for your effort. :) :up:

Hippy
04-11-2011, 11:29 AM
I'm going to make a new thread. It's taken me some time but I finally got the Thanks/Groans integrated and working correctly on my site. If this guy comes back, I'll ask them to close my thread and give the hack back to him, but at this point we need somebody to update the hack and keep people updated. Is that kosher, or will I be burned to the ground for being a witch?

I've got everything working except the search function, and I'll attack that next as people want to be able to see who thanked who where, etc.

2 thumbs up here..
sounds like a great idea..

Phaedrus
04-11-2011, 12:50 PM
Sweet. Tonight after I finish some tax work for a friend I'll get it all together and post both the Thanks and the Groans.

DragonByte Tech
04-11-2011, 10:06 PM
If there is something not kosher then it is the fact that you have to pay for the importer of Dragon Bytes (DB) alternative : http://www.dragonbyte-tech.com/threads/882-Transfer-from-AJAX-Post-Thank-You-Hack

It is a shame that the original idea of abe1 is now used to make money by others.
DB knows that most of us already have a thanks database based on abe1's original hack.
Their free version doesn't provide the needed importer. So some swich over to DB and pay for the pro version to import the thanks database.
IMHO it is morally questionable what DB does.
It must be freeware to respect abe1's idea.

Hence I appreciate it very much that you can provide a fixed version of it.
I want to stick with abe1's hack as long as possible. I do not pay DB (importer) for something another has originally invented!!!

Thank you very much for your effort. :) :up:

Just a little note that Abe was far from the first person to create a thanks mod (It's very likely he got the idea elsewhere), and our modification does not use any code from Abe's mod - it is created from scratch with many more features than Abe's mod had =).

The idea of it being morally questionable to be paid for ones work seems odd to me, most people do not work for free, including yourself in all likelyhood :)

Iain

djbaxter
04-11-2011, 10:44 PM
I'm going to make a new thread. It's taken me some time but I finally got the Thanks/Groans integrated and working correctly on my site. If this guy comes back, I'll ask them to close my thread and give the hack back to him, but at this point we need somebody to update the hack and keep people updated. Is that kosher, or will I be burned to the ground for being a witch?

I've got everything working except the search function, and I'll attack that next as people want to be able to see who thanked who where, etc.

Sounds excellent. Can you post here to let us know when you have a version available for download?

Mr. Kage
04-11-2011, 11:46 PM
I'm going to make a new thread. It's taken me some time but I finally got the Thanks/Groans integrated and working correctly on my site. If this guy comes back, I'll ask them to close my thread and give the hack back to him, but at this point we need somebody to update the hack and keep people updated. Is that kosher, or will I be burned to the ground for being a witch?

I've got everything working except the search function, and I'll attack that next as people want to be able to see who thanked who where, etc.

That would be excellent. Please do.

Phaedrus
04-12-2011, 02:39 AM
Updated version for 4.1.x and Groan Integration can be found here:

https://vborg.vbsupport.ru/showthread.php?t=261866

Should Abe1 ever return, I will return his hack to the original Author.

gnrx
04-12-2011, 11:08 PM
in template post_thanks_postbit_info
search and replace all vb:stylevar right by vb:stylevar left

When reply to you (again, thank for your help) I indicated that solved my problem.

But now, I view other problem, some users, in postbit appears the thanks in the same line, others users, appears well (in differents lines).

I attach a images.

In first image, appears well the "Thanked", in image 2, appears in the same line.

How I can solved this?

Thanks and regards! :)

andy626
04-15-2011, 02:11 AM
I have been using this for a while and my members love it, so thank you!

Does anyone know if theres a way to find what post people thanked you in?

I get this question a lot when they log in and see 10 new thanks tallys on their profile but don't know what posts they were thanked for...

That would be very handy.

Phaedrus
04-15-2011, 03:39 AM
I have been using this for a while and my members love it, so thank you!

Does anyone know if theres a way to find what post people thanked you in?

I get this question a lot when they log in and see 10 new thanks tallys on their profile but don't know what posts they were thanked for...

That would be very handy.

Set it to add to the reputation, this will give a notification link to the post that was thanked.

docvader
04-15-2011, 04:27 PM
For some reason, this version seems to be working on 4.13. As I've had it installed previously on 4.04. Upgrading does not seem to have changed the function of this hack.

Or am I missing something....

JohnGR
04-15-2011, 05:12 PM
for me dont work

he following dependencies were not met:

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

Hippy
04-15-2011, 07:23 PM
install this one it has the fix so you can install on the newest vb
https://vborg.vbsupport.ru/showpost.php?p=2181392&postcount=1433

sybakaos
04-16-2011, 01:53 PM
1. Post selection in "Inline Mod" menu (showthread) does not work. When you click "Select All" only first post is selected. When Post Thanks is disabled this works fine.


Yup, I got the same issue as well.


Remove postbitim from post_thanks_box template.

Sai01
04-17-2011, 08:41 AM
where it says, "The Following User Says Thank You to USERNAME For This Useful Post:"

Where can I change the size and color of that font?

tomoyo23
04-17-2011, 03:42 PM
some hack. hide it work? .. Greetings

adryan77
04-18-2011, 09:36 AM
Fatal error: Class 'THANKS' not found in /var/kXXXXXXXXkum/vb/legacy/post.php on line 236

i become this error after i click on "show all postings by user" at his profil!

Installed is: VB4.1.2pl1 and post thank you 7.8.2 anyone can help?

Thanky

dellow
04-18-2011, 10:05 AM
Hello,

I am using version 4.1.3 Beta 1 but can't upgrade it and got that this is not support my version.

Kiran-E-Sehar
04-19-2011, 03:12 PM
INSTALLED :D


thankoo

WIJI SEJATI
04-21-2011, 04:20 PM
After install in Version 4.1.3 :

The following dependencies were not met:

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

likely Not Compatible with version 4.1.3

Vaira
04-21-2011, 06:25 PM
Set it to add to the reputation, this will give a notification link to the post that was thanked.

Are you rewriting this hack from scratch?
The other thread is in the graveyard, why?

Btw: Your published version which has been removed doesn't allow the admins to remove all thanks from a post anymore.
Just FYI.

neckome
04-21-2011, 08:27 PM
looks great thanks

HC.
04-23-2011, 12:11 PM
Got a error when importing plugin

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

Hippy
04-23-2011, 01:36 PM
<a href="https://vborg.vbsupport.ru/showpost.php?p=2181392&postcount=1433" target="_blank">https://vborg.vbsupport.ru/showp...postcount=1433</a>

GreJan
04-24-2011, 05:38 AM
Hi,

Is there a German translation of this.

vitrag24
04-24-2011, 12:50 PM
integrated with thanks to unhide content of thread/post?
thx.

vbreal
04-25-2011, 12:29 AM
Okay, I'm going to post the version that I have integrated with the groans on my site, the search feature is off until I can figure out the correct search string to find all thanks/groans. I'll also post the groans that I added back the integration to. If you upgrade check your dbase for an extra "post" in your dbase in the post_thanks/post_groans tables. For some reason it adds an extra one that is useless.

Tell me if there are any issues, if this is clean I guess I can post a new thread with both hacks with credit to the original coders...


Please upload the files that came with this Hack before installing or upgrading!

this is what i get when i try to install

Deriel
04-25-2011, 10:40 PM
Uninstalled. I bought the DBTech Mod

gnrx
04-26-2011, 12:31 AM
A few days ago, I add in my additional.css this code:
.postbit .userinfo_extra dl dt {clear: both;}
.postbit .userinfo_extra dl dd {float: left;}
.postbit .userinfo .userinfo_extra dl, .postbit .userinfo_noavatar .userinfo_extra dl {width: 200px;}
After this, I modified some line in vars (with indications of some post here):

In template post_thanks_postbit_info
search and replace all vb:stylevar right by vb:stylevar left

All ok, but in some users, in postbit, some line of thanks appears in the same line, other users, have the thanks in differents lines (this is ok).

I attachs a images for view this:

How can I made for appears in all postbits, the thanks lines, in differents lines?

Thanks and regards!

cyn0r
04-26-2011, 01:38 AM
https://vborg.vbsupport.ru/showpost.php?p=2181392&postcount=1433

Thanks.

RcHelp
04-26-2011, 03:52 AM
Installed on 4.1.3 and works great. It's nice to finally have a way for new members to see who they can actually trust on a forum. Even though mine is just starting out. Great work, keep it up!

Hecpilot
04-26-2011, 04:20 AM
Installed on 4.1.3 and works great. It's nice to finally have a way for new members to see who they can actually trust on a forum. Even though mine is just starting out. Great work, keep it up!

Which version did you install?

Hippy
04-26-2011, 07:40 PM
Which version did you install?

most likely https://vborg.vbsupport.ru/showpost.php?p=2181392&postcount=1433

Hippy
04-26-2011, 07:51 PM
A few days ago, I add in my additional.css this code:
.postbit .userinfo_extra dl dt {clear: both;}
.postbit .userinfo_extra dl dd {float: left;}
.postbit .userinfo .userinfo_extra dl, .postbit .userinfo_noavatar .userinfo_extra dl {width: 200px;}
After this, I modified some line in vars (with indications of some post here):

In template post_thanks_postbit_info
search and replace all vb:stylevar right by vb:stylevar left

All ok, but in some users, in postbit, some line of thanks appears in the same line, other users, have the thanks in differents lines (this is ok).

I attachs a images for view this:

How can I made for appears in all postbits, the thanks lines, in differents lines?

Thanks and regards!
change your post_thanks_postbit_info template to this..

<vb:if condition="$post['userid']">
<dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd>
<vb:if condition="$post['post_thanks_thanked_times'] == 1">
<dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{vb:rawphrase post_thanks_time_post}</dd>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
<vb:else />
<dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd>
</vb:if>
</vb:if>

while your there editing your template


change your post_thanks_javascript template
to this one there is a } missing. fixes a different problem..

<script type="text/javascript" src="clientscript/post_thanks.js"></script>

<style type="text/css">
.postbitlegacy .postfoot .textcontrols a.post_thanks_button, .postbit .postfoot .textcontrols a.post_thanks_button {
background: url({vb:stylevar imgdir_button}/post_thanks.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.post_thanks_button:hover, .postbit .postfoot .textcontrols a.post_thanks_button:hover {
background: url({vb:stylevar imgdir_button}/post_thanks-hover.png) no-repeat transparent {vb:stylevar left};
}
</style>

the template fix should keep it looking like the image attached , no matter how may post thanks

Mariner1
04-26-2011, 09:13 PM
I get this error

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

Hippy
04-26-2011, 10:16 PM
I get this error

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

https://vborg.vbsupport.ru/showpost.php?p=2181392&postcount=1433
grab that one

gnrx
04-26-2011, 11:11 PM
change your post_thanks_postbit_info template to this..

<vb:if condition="$post['userid']">
<dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd>
<vb:if condition="$post['post_thanks_thanked_times'] == 1">
<dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{vb:rawphrase post_thanks_time_post}</dd>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
<vb:else />
<dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd>
</vb:if>
</vb:if>

while your there editing your template


change your post_thanks_javascript template
to this one there is a } missing. fixes a different problem..

<script type="text/javascript" src="clientscript/post_thanks.js"></script>

<style type="text/css">
.postbitlegacy .postfoot .textcontrols a.post_thanks_button, .postbit .postfoot .textcontrols a.post_thanks_button {
background: url({vb:stylevar imgdir_button}/post_thanks.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.post_thanks_button:hover, .postbit .postfoot .textcontrols a.post_thanks_button:hover {
background: url({vb:stylevar imgdir_button}/post_thanks-hover.png) no-repeat transparent {vb:stylevar left};
}
</style>

the template fix should keep it looking like the image attached , no matter how may post thanks

Hello.
Thanks for your reply.

I made the changes in the two templates, but my problem continue, only some users (or postsbits) appears the thanks in the same line, I attach a image after made the changes you comment.

Thanks and regards!

Hecpilot
04-26-2011, 11:14 PM
most likely https://vborg.vbsupport.ru/showpost.php?p=2181392&postcount=1433

Thanks, that is the one I downloaded and installed. Works fine with vBulletin 4.1.3.

Hippy
04-26-2011, 11:24 PM
Hello.
Thanks for your reply.

I made the changes in the two templates, but my problem continue, only some users (or postsbits) appears the thanks in the same line, I attach a image after made the changes you comment.

Thanks and regards!

try this

find
<dd>{vb:raw post.post_thanks_user_amount_formatted}</dd>

in your post_thanks_postbit_info template
and add a <br /> after the </dd>

gnrx
04-26-2011, 11:39 PM
try this

find
<dd>{vb:raw post.post_thanks_user_amount_formatted}</dd>

in your post_thanks_postbit_info template
and add a <br /> after the </dd>

Hi Hippy!
Thanks for your help.

I made the changes but continue, not solved the problem, continue appears in the same line.

Thank you very much for your attention :)

Hippy
04-27-2011, 12:34 AM
I'm going to have to ponder this one..
send me a link to your forum I will peek at the code..

gnrx
04-28-2011, 12:09 AM
Thank you very much for your help Hippy :)

I send to you the url of my forum by mp.

Again, thank you very much!

Mariner1
04-28-2011, 07:40 AM
Okay, I'm going to post the version that I have integrated with the groans on my site, the search feature is off until I can figure out the correct search string to find all thanks/groans. I'll also post the groans that I added back the integration to. If you upgrade check your dbase for an extra "post" in your dbase in the post_thanks/post_groans tables. For some reason it adds an extra one that is useless.

Tell me if there are any issues, if this is clean I guess I can post a new thread with both hacks with credit to the original coders...


works a treat on 4.13,thank you

WIJI SEJATI
04-28-2011, 08:02 AM
<a href="https://vborg.vbsupport.ru/showthread.php?t=261869&highlight=Post+Groan+Hack" target="_blank">https://vborg.vbsupport.ru/showt...ost+Groan+Hack</a>

Hecpilot
04-29-2011, 05:43 AM
Fatal error: Class 'THANKS' not found in /var/kXXXXXXXXkum/vb/legacy/post.php on line 236

i become this error after i click on "show all postings by user" at his profil!

Installed is: VB4.1.2pl1 and post thank you 7.8.2 anyone can help?

Thanky

I'm having the same problem. Solutions anyone?

xpinx2pin
04-29-2011, 12:53 PM
I'm having the same problem. Solutions anyone?

try this link

its works
https://vborg.vbsupport.ru/showp...postcount=1433

Hecpilot
04-29-2011, 01:43 PM
Had trouble with your link. But I think your were kindly showing me the way to Phaedrus' latest revision. I went back and checked post 1433 and found it is the same one I have installed.

Any other ideas?

[EDIT] Problem solved. It was caused by left-over code from the DB Tech Thank You hack. I forgot to disable a modification I did to post.php as part of the install instructions from DB Tech. I removed those lines and the problem went away.

try this link

its works
https://vborg.vbsupport.ru/showp...postcount=1433

tester559
04-29-2011, 07:12 PM
How does a member search for users who thanked them? I can't find it anywere...

Hecpilot
04-30-2011, 05:44 PM
Fatal error: Class 'THANKS' not found in /var/kXXXXXXXXkum/vb/legacy/post.php on line 236

i become this error after i click on "show all postings by user" at his profil!

Installed is: VB4.1.2pl1 and post thank you 7.8.2 anyone can help?

Thanky

This is caused by left-over code from the DB Tech Thank You hack. Disable the modification you did to post.php as part of the install instructions from DB Tech.

I had the same problem. I removed those lines and the problem went away.

ram94401
05-05-2011, 07:42 PM
works a treat on 4.13,thank you

I tried to install this on VB 4.13, got the error message "This hack is not compatible with 4.13"

Rofo
05-05-2011, 07:58 PM
https://vborg.vbsupport.ru/showpost.php?p=2181392&postcount=1433
grab that one

I tried to install this on VB 4.13, got the error message "This hack is not compatible with 4.13"

Did you see this?