vb.org Archive

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

MagicThemeParks 10-30-2009 10:58 PM

Quote:

Originally Posted by goycarden (Post 1892206)
Is it possible to have the same look in postbit-legacy like normal postbit?


I mean this:

https://vborg.vbsupport.ru/attachmen...4&d=1205637411

for postbit-legacy too.

The standard looking for legacy is too high for my style.

https://vborg.vbsupport.ru/external/2009/10/4.jpg


Edit:

I've found the solution. For all interested people: Only copy the code for the postbit-thank-template to the postbit-legacy one.

So, we take the code from the "postbit-thank-template" and move it to the "postbit-legacy"? That doesn't seem right.

Sworm 10-31-2009 08:19 AM

Will work on vb4?

I hope or all the thanks will be lose :D

iForce 10-31-2009 04:56 PM

Hi,

I have question.
I want to remove "Thanks" and "Thanked" from userprofile in threadview.
What part of code I need to remove and where?
Thanks!

http://i38.tinypic.com/345h0cz.jpg

Driven By Shine 11-01-2009 10:42 AM

Thanks for this its great, Although everything seems to be working well, my thanks "icon/button" doesnt display, i have definatly uploaded it via the FTP but no good, is there something ive missed that may have been covered you could point me in the direction of.

Thanks Chris

MagicThemeParks 11-01-2009 01:14 PM

Driven By Shine, if you have a custom skin, your buttons may be in a different directory. For instance, something like this...

yourforum/images/buttons

...instead of this....

yourforum/newstyle/images/buttons

....so, make sure to upload the buttons to that other directory.

Driven By Shine 11-02-2009 08:40 AM

MagicThemeParks you got me out of trouble yet again.

Thank you ever so much for pointing me in the right direction.

Chris

Julie 11-02-2009 09:57 PM

My users love this, and it works like a charm on 3.8.4! Thanks!

realmr 11-03-2009 08:28 AM

any idea if product will b released for 4.x later on ?

Sheen 11-05-2009 11:25 AM

I have a custom skin, and the thanks works perfectly apart from one thing:

In the postbit in my skin it does not have $user has been thanked $how many times thanked, in $number of posts.

How do I add it?

Coop1979 11-05-2009 01:23 PM

It looks like you should have a template called post_thanks_postbit_legacy

It should include the following (for legacy):

Code:

<div style="padding:$stylevar[cellpadding]px 0px 0px 0px">
        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                <tr valign="top">
                        <td class="alt2" width="175">
                                <if condition="$post['post_thanks_amount'] == 1">
                                        <strong><phrase 1="$post[username]">$vbphrase[post_thanks_user_says]</phrase></strong>
                                <else />
                                        <strong><phrase 1="$post[post_thanks_amount_formatted]" 2="$post[username]">$vbphrase[post_thanks_users_say]</phrase></strong>
                                </if>
                                <if condition="$bbuserinfo['usergroupid'] == 6">
                                        <br /><a href="post_thanks.php?do=post_thanks_remove_all&amp;p=$post[postid]"<if condition="$vboptions[disable_ajax] != 2"> onclick="return post_thanks_remove_all($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>);"</if> rel="nofollow">$vbphrase[post_thanks_remove]</a>
                                </if>
                                <if condition="$post['show_thanks_remove_option']">
                                <br /><a href="post_thanks.php?do=post_thanks_remove_user&amp;p=$post[postid]"<if condition="$vboptions['disable_ajax'] != 2"> onclick="return post_thanks_remove_user($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>);"</if> rel="nofollow">$vbphrase[post_thanks_remove_user]</a>
                                </if>
                        </td>
                        <td class="alt1"><div>$post[post_thanks_bit]</div></td>
                </tr>
        </table>
</div>


LisaJH 11-05-2009 06:13 PM

For some reason mine wont work, It works on some posts then takes me to another page saying I dont have permission etc.. Im admin i have permission to all the forum lol...

Also when I click on the page is reloads it..

Before when i used this hack, it never done that before..

Ive uninstalled it and re installed it three times now

Sheen 11-05-2009 07:30 PM

Quote:

Originally Posted by Coop1979 (Post 1910563)
It looks like you should have a template called post_thanks_postbit_legacy

It should include the following (for legacy):

Code:

<div style="padding:$stylevar[cellpadding]px 0px 0px 0px">
        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                <tr valign="top">
                        <td class="alt2" width="175">
                                <if condition="$post['post_thanks_amount'] == 1">
                                        <strong><phrase 1="$post[username]">$vbphrase[post_thanks_user_says]</phrase></strong>
                                <else />
                                        <strong><phrase 1="$post[post_thanks_amount_formatted]" 2="$post[username]">$vbphrase[post_thanks_users_say]</phrase></strong>
                                </if>
                                <if condition="$bbuserinfo['usergroupid'] == 6">
                                        <br /><a href="post_thanks.php?do=post_thanks_remove_all&amp;p=$post[postid]"<if condition="$vboptions[disable_ajax] != 2"> onclick="return post_thanks_remove_all($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>);"</if> rel="nofollow">$vbphrase[post_thanks_remove]</a>
                                </if>
                                <if condition="$post['show_thanks_remove_option']">
                                <br /><a href="post_thanks.php?do=post_thanks_remove_user&amp;p=$post[postid]"<if condition="$vboptions['disable_ajax'] != 2"> onclick="return post_thanks_remove_user($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>);"</if> rel="nofollow">$vbphrase[post_thanks_remove_user]</a>
                                </if>
                        </td>
                        <td class="alt1"><div>$post[post_thanks_bit]</div></td>
                </tr>
        </table>
</div>


Yes it does say that, but it still does not show up on my postbit :S.

Nadeemjp 11-07-2009 12:37 AM

hey will you be considering to upgrade for vb4? cause i dont wanna loose this mod

frank42 11-08-2009 08:31 PM

Quote:

Originally Posted by LisaJH (Post 1910664)
For some reason mine wont work, It works on some posts then takes me to another page saying I dont have permission etc.. Im admin i have permission to all the forum lol...

Also when I click on the page is reloads it..

Before when i used this hack, it never done that before..

Ive uninstalled it and re installed it three times now

I've been looking for that solution for some time now, for some reason the ajax part of it is not working, i tried to edit the ajax.php no no avail...any info on this would be great (using 3.8.4)

Deviate 11-08-2009 10:23 PM

Quote:

Originally Posted by tehviruss (Post 1800359)
This mod is awesome, pure and simple! I changed it from "Thanks" to "Like" so it works similar to Facebook.

Did you just do this through the phrase manager? I wanted to do the same thing.

mgurain 11-12-2009 01:40 AM

Hi,
would you (the developer) update this important hack to v4 ?
we rely on it, it is very usefull.

fatdr 11-12-2009 04:43 PM

very good thanks so much ;)
3.8.4 pl1 good working.

lav0s 11-13-2009 04:49 AM

i think is about time you start thinking on porting this to vB4 :)

Anthon 11-15-2009 01:12 AM

some suggestion:
1-it can show how many time a specific usergroup say thank.for example shows how many times admins say thanks to that user's post in user profile.
2-show a specific message if a usergroup thanks a post.
for example if admin thanks a post under that post shows "Admin recommended this post"

thanks alot

dknelson 11-16-2009 08:55 PM

Quote:

Originally Posted by GaiLoan (Post 1582489)
Hi every one, i have this question, incase a post with a 1000 or more users Thanks, then that post page showing very long down, that be slowing down, any thing to fix that problem ? such as Collapse its or some ? Thanks

I saw a couple of posts about this but never any answers. Can this be done?

xyzmary2001 11-17-2009 07:12 AM

dknelson, that's because there is already a hack doing this:

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

dknelson 11-17-2009 10:15 AM

Thank you VERY much. Sorry I didn't find it before asking but sincerely appreciate the help.

Abe1 11-17-2009 11:16 AM

For all you who keep asking, yes, I will be working on a 4.0 version soon. I have not started on it yet but will hopefully start any day now. I released my "Admin Log In as User" hack already since it is not as complicated as the post thanx hack. Many, many, many things changed in 4.0 and the hacks basically have to be written from scratch. Writing that hack first showed me a lot of things that changed so I know what to look out for when writing Post Thanx Hack.

Guys, like me, the other coders on the site I'm sure will try to release an update for their hacks. Most of us do these hacks as a hobby so we don't have official time we spend on them. Donations always encourage a coder to work on his hack more and feel like he is being appreciated and not taken for granted.

Before you upgrade to 4.0, make a list of must-have hacks you need. Wait until all of those hacks are updated for 4.0 before upgrading. Don't bother the developers, it will only discourage them from working. They will get their hacks done when they have time.

dilbert 11-18-2009 07:41 PM

Quote:

Originally Posted by Abe1 (Post 1915829)
For all you who keep asking, yes, I will be working on a 4.0 version soon. I have not started on it yet but will hopefully start any day now. I released my "Admin Log In as User" hack already since it is not as complicated as the post thanx hack. Many, many, many things changed in 4.0 and the hacks basically have to be written from scratch. Writing that hack first showed me a lot of things that changed so I know what to look out for when writing Post Thanx Hack.

Guys, like me, the other coders on the site I'm sure will try to release an update for their hacks. Most of us do these hacks as a hobby so we don't have official time we spend on them. Donations always encourage a coder to work on his hack more and feel like he is being appreciated and not taken for granted.

Before you upgrade to 4.0, make a list of must-have hacks you need. Wait until all of those hacks are updated for 4.0 before upgrading. Don't bother the developers, it will only discourage them from working. They will get their hacks done when they have time.

Abe,
Your time spent is greatly appreciated.
Honestly, this hack is so impressive, I'm surprised you weren't asked to have it included in the vB4 base code.

RMS-Chef 11-18-2009 07:47 PM

Quote:

Originally Posted by Abe1 (Post 1915829)
I will be working on a 4.0 version soon.

Great to hear.
My "must have" list is pretty much your forum signature. ;)

Belgrael 11-21-2009 01:00 AM

Awesome hack! Been looking for something like this for a while. I've modified mine to be "Like" as well, just like on FB.
Thanks heaps.

*likes this*

Belgrael 11-21-2009 01:02 AM

Quote:

Originally Posted by Deviate (Post 1911788)
Did you just do this through the phrase manager? I wanted to do the same thing.

I did this, all through the Phrase Manager and created a new image file to replace "Thanks"

RomainVL 11-21-2009 08:37 AM

Hello,

is it possible to have the "The Following 24 Users Say Thank You to *** For This Useful Post:" sentence written in a smaller size?

UltraFanatics 11-21-2009 03:32 PM

Thanks I love it :D

compact123 11-21-2009 03:37 PM

Hi there,

I'm sure that along with many other fans of this modification, I was wondering if you would be updating this plugin for the new version 4 of vBulletin? It would be great to have such a nice mod continue.

ruchemist 11-22-2009 10:44 AM

Is it possible do not change quantity of posts for people who said thanks?

djbaxter 11-22-2009 03:16 PM

Quote:

Originally Posted by ruchemist (Post 1918809)
Is it possible do not change quantity of posts for people who said thanks?

That's a built-in option:

Admin CP | vBulletin Options | Post Thank You Hack

Scroll down to:

Quote:

Post Count (just below Reputation)
Set this to YES if you want the post count of the user who gave thanks to go up. Yes No

mgurain 11-23-2009 02:39 AM

Abe1 You did a great work on this hack, it is THE MUST-HAVE hack for our forum.
We cannot upgrade to 4.0 unless you upgrade this one.
Many many thanks to you Abe1.

JorgeX 11-23-2009 02:33 PM

I'll glad to know if there's an easy way to add the function of sending negative score to the reputation with another button, using the same system.

It should be very simple like adding another funcion, changing the +1 for -1 xD

Thank in advance!
Forward

LoveStream 11-27-2009 06:05 AM

Quote:

Originally Posted by Abe1 (Post 1915829)
For all you who keep asking, yes, I will be working on a 4.0 version soon. I have not started on it yet but will hopefully start any day now. I released my "Admin Log In as User" hack already since it is not as complicated as the post thanx hack. Many, many, many things changed in 4.0 and the hacks basically have to be written from scratch. Writing that hack first showed me a lot of things that changed so I know what to look out for when writing Post Thanx Hack.

Guys, like me, the other coders on the site I'm sure will try to release an update for their hacks. Most of us do these hacks as a hobby so we don't have official time we spend on them. Donations always encourage a coder to work on his hack more and feel like he is being appreciated and not taken for granted.

Before you upgrade to 4.0, make a list of must-have hacks you need. Wait until all of those hacks are updated for 4.0 before upgrading. Don't bother the developers, it will only discourage them from working. They will get their hacks done when they have time.

Thank you, I hear you.
However I expect and am sure the next product would be very useful and popular too.

sortie 12-01-2009 05:51 AM

i and our members are waiting for Post thank you hack for 4.0
please start to work...

reverse1312 12-02-2009 01:52 PM

Hello

I love this hack ! :up:

Is there a possibility to make another usergroup than administrators (IE for example super moderators) able to delete post thanks ? (maybe by editing a plugin page ?)

Thank you

khh 12-02-2009 11:03 PM

Great Hack.

Thank you:)

Dj megas 12-04-2009 03:20 PM

I cant see the "thank you" image
What can I do to see it please?
I upload all the files and the prodact.
Regards.

MagicThemeParks 12-07-2009 10:22 AM

Dj megas,

Do you have a custom style or skin? If so, you have to find where the buttons are located and upload the image there as well.

For example: djmegas.com/forum/images/button
Versus: djmegas.com/forum/customdesign/images/button

Hope that helps :up:


All times are GMT. The time now is 04:26 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04723 seconds
  • Memory Usage 1,846KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete