vb.org Archive

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

michal72 10-20-2011 08:42 PM

Quote:

Originally Posted by zeus_r6 (Post 2259530)
According to this thread on vb.com:

https://www.vbulletin.com/forum/show...t=search+table

it says there is no search table in vb4...what can I do about this since the problem didn't arise until I upgraded to vb4?

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

zeus_r6 10-20-2011 09:10 PM

Quote:

Originally Posted by michal72 (Post 2259537)

Thank you very much! Uploaded the new version of post_thanks.php and waiting to see if I get anymore database errors :)

ForceHSS 10-21-2011 06:25 AM

Quote:

Originally Posted by zeus_r6 (Post 2259530)
According to this thread on vb.com:

https://www.vbulletin.com/forum/show...t=search+table

it says there is no search table in vb4...what can I do about this since the problem didn't arise until I upgraded to vb4?

sorry was thinking of another plugin the post above should help

MalluParadise 10-23-2011 11:06 PM

Quote:

Originally Posted by ForceHSS (Post 2259658)
sorry was thinking of another plugin the post above should help

i read the entire thread and it's just making me confuse so sum one tell me it's work in vb 4.1.7 or not ?

LLent 10-23-2011 11:43 PM

works for me just fine on 4.1.7 i have it on my main site and test site ....i would start with clean install as it was suggested....

pfdc 10-24-2011 05:16 AM

I tried but it doesn't install on the 4.1.7 :(

The following dependencies were not met:

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

ssoc 10-24-2011 06:50 AM

Quote:

Originally Posted by LLent (Post 2260733)
works for me just fine on 4.1.7 i have it on my main site and test site ....i would start with clean install as it was suggested....

Quote:

Originally Posted by pfdc (Post 2260814)
I tried but it doesn't install on the 4.1.7 :(

The following dependencies were not met:

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

Same here, I got this message too when I tried to install on 4.1.7 (fresh install). Can anyone shed any light on this?

ForceHSS 10-24-2011 06:58 AM

Quote:

Originally Posted by pfdc (Post 2260814)
I tried but it doesn't install on the 4.1.7 :(

The following dependencies were not met:

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

Quote:

Originally Posted by ssoc (Post 2260832)
Same here, I got this message too when I tried to install on 4.1.7 (fresh install). Can anyone shed any light on this?

link on my sig for latest

pfdc 10-24-2011 10:23 AM

Quote:

Originally Posted by ForceHSS (Post 2260833)
link on my sig for latest

sorry this is what I got when I tried installing the one from your signature:

Code:

XML Error: Not well-formed (invalid token) at Line 1

LLent 10-24-2011 11:23 AM

Quote:

Originally Posted by ssoc (Post 2260832)
Same here, I got this message too when I tried to install on 4.1.7 (fresh install). Can anyone shed any light on this?




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



go into the xml and look for this line .......change maxversion number the text that is red to 4.2.0 and it should upload fine for you

tomerl1 10-24-2011 07:16 PM

Quote:

Originally Posted by tomerl1 (Post 2259503)
Hi,
The counter of the hack doesn't stop counting. No matter how many times anyone says thanks, the Number of "thanks" doesn't change anymore.

Problem?

SG Thomas

Please help me.

FReeSTER 11-04-2011 08:00 AM

How can I minimize the thankyou box. I have posts with more then 500 thanks and is showing a long box. I will like to make the box minimized. I saw this somewhere but cant find it

thanks

ForceHSS 11-04-2011 03:16 PM

check back for other posts for a fix for that

FReeSTER 11-04-2011 06:00 PM

Quote:

Originally Posted by ForceHSS (Post 2264411)
check back for other posts for a fix for that

Thank you mate but the first thing I do before anything is search as I have done searched this mod for many different variables and I cant find the solution to get this done.

ForceHSS 11-04-2011 06:57 PM

pm hippy he posted it i am sure he can give you the link

Hippy 11-04-2011 08:45 PM

;) hippy posts so much I can't remember.. I will go through my posts here..
It might only be a couple pages back..

Bob_R 11-04-2011 09:47 PM

I'm now using the post_thanks.php code found in post #1534 of this thread.

But I cannot search thanked thread in the About Me section of a profile.

What should I do?

Thanks!

FReeSTER 11-04-2011 09:58 PM

Im using this one here https://vborg.vbsupport.ru/showthread.php?t=250325 that I found. It gave me options to delete my thank and All Thanks which I didnt had before but the Hide/Show feature is just frozen and dont work. Maybe the code posted here works better then that one.

thanks

Hippy 11-05-2011 12:28 AM

the option to delete the thanks is because the user group on your old template was set to 5.. 5 is not admin..

I pmed you

Hippy 11-05-2011 12:11 PM

1 Attachment(s)
first off thanks goes out to channelfuse
for getting post_thanks search to work again..
found here https://vborg.vbsupport.ru/showpost....postcount=1534



then I believe Phaedrus put all the fixes I and others posted all together
https://vborg.vbsupport.ru/showpost....postcount=1433

Rob F posted the fix for the postbit alignment issue here
https://vborg.vbsupport.ru/showpost....&postcount=607



thanks to findingpeace for posting this fix..

someone with a space in their username thanks a post breaks the line seems to break
can view here http://i.imgur.com/9JAsNaF.png


a few members have brought this issue up

Quote:

Originally Posted by findingpeace (Post 2415345)
Fixed (for anyone else curious) -

Open up functions_post_thanks.php

Find

Code:

$virg
And add a space to both of the first two instances. Should end up looking like this:

Code:

if ($cmpt<$number_rows)
                        {
                                $virg=", ";
                        }
                        else
                        {
                                $virg=" ";
                        }

I will be updating the archive here asap..

fixes I posted can be found here

https://vborg.vbsupport.ru/showthrea...40#post2045040
https://vborg.vbsupport.ru/showthrea...08#post2111408
https://vborg.vbsupport.ru/showpost....postcount=1048
https://vborg.vbsupport.ru/showthrea...66#post2130566

Guests Can't View [AJAX] Box Under Post

newer post for Move Post thanks button
https://vborg.vbsupport.ru/showpost....postcount=2357

move this hook so the thanks button will be in the correct place (optional)
https://vborg.vbsupport.ru/showpost....postcount=1842

If your using
eTiKeT? 2011 Posbit_legacy - Postbit Details


+++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++


You may need to remove extra &nbsp; if you originally added spaces via the post_thanks_box_bit template (like I did). This was hacky, and much better to do through the functions file. Usernames will break as expected now.



you will need to replace your "post_thanks_postbit_info" template with this
over write the template completely so it will match the rest of the postbit details

Code:

<vb:if condition="$post['userid']">
<div class="etiket_postbit_alanI_userinfo_extra_yazIlarI">
    {vb:rawphrase post_thanks_thanks} <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd></div>
    <vb:if condition="$post['post_thanks_thanked_times'] == 1">
        {vb:rawphrase post_thanks_time_post}
    <vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<div class="etiket_postbit_alanI_userinfo_extra_yazIlarI">
        {vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</div>
    <vb:else />
  <div class="etiket_postbit_alanI_userinfo_extra_yazIlarI">   
{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</div>
    </vb:if>
</vb:if>

Baja Version min max edit https://vborg.vbsupport.ru/showthrea...66#post2130566
https://vborg.vbsupport.ru/showthrea...41#post2129541
please note you will need to change this in the xml file to upload to the newest versions of vb


ForceHSS also put one together, but I never went over it to see if all the fixes where implemented


FReeSTER pointed this out.. great template edit


Great Article
BirdOPrey5 Great Post Thanks Articles
How to turn the "Post Thank You" hack into a "Likes" system similar to vBulletin.org



This is a Must Have if you have a hug box of thanks under your posted.
big thanks to demonfatal Great addon for Post Thanks
[vB4.0.X] Show/Hide list of the thanked
Thanks for sharing that Great addition to this mod..


###########################################
###########################################
###########################################

Great Addon's for Post thanks

Badshah93 vFCoders - Hide Hack

Scandal Recent Thanks for [AJAX] Post Thank You Hack

plugin for Recent Thanks for [AJAX] Post Thank You Hack
Hippy WOL for Recent Thanks for [AJAX] Post Thank You Hack addon


postbit change for Recent Thanks for [AJAX] Post Thank You Hack
Quote:

Originally Posted by Furcal15 (Post 2311450)
I did some modification to this....If anyone is interested....In the user info panel, it shows "Thanked XX times in XXX post", well that phrase is now a link and it takes you to http://yoursite.com/recent_thanks.php

See demo here: http://baseballnation.net/showthread...ll=1#post57431

Edit Templates > Post_Thanks_Postbit_Info and replace EVERYTHING will the following code:

Code:

<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};"><a href="/recent_thanks.php">{vb:rawphrase post_thanks_time_post}</a></dd>
    <vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
        <dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};"><a href="recent_thanks.php">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</a></dd>
    <vb:else />
        <dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};"><a href="recent_thanks.php">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</a></dd>
    </vb:if>
</vb:if>



###########################################
###########################################
###########################################

you may find a tweak or 2 to help you with most issues. Search for my posts in this mod
Poke To Find All Posts In This Mod By Hippy


this is a list of all the help / support given here (thanks goes out to everyone that is helping to keep this great mod alive..)

Regards
Hippy

Bob_R 11-05-2011 02:43 PM

Thanks Hippy but I'm actually more confused than ever.

I'm running vbulletin 4.1.5 and everything is fine except the search.

I uploaded the post_thanks.php found here https://vborg.vbsupport.ru/showpost....postcount=1534

PS: I did notice the file I uploaded read version 7.80 at the top of the code.

Hippy 11-05-2011 03:10 PM

dunno buddy .. I been updating all the fixes along the way and it works 100% make sure you reverted all templates...

ForceHSS 11-05-2011 05:27 PM

Quote:

Originally Posted by Bob_R (Post 2264726)
Thanks Hippy but I'm actually more confused than ever.

I'm running vbulletin 4.1.5 and everything is fine except the search.

I uploaded the post_thanks.php found here https://vborg.vbsupport.ru/showpost....postcount=1534

PS: I did notice the file I uploaded read version 7.80 at the top of the code.

use the one in my sig

Bob_R 11-05-2011 05:30 PM

Templates don't need reverting. I noticed I am running version 7.82

Bob_R 11-05-2011 05:33 PM

Quote:

Originally Posted by ForceHSS (Post 2264759)
use the one in my sig

OK, you had posted just before my post (#1947)

2 quick questions

Uninstall, then install your version?

What about the boxes I have around my thanks?


Thanks (no pun intended) :D

Hippy 11-05-2011 05:49 PM

Quote:

Originally Posted by Bob_R (Post 2264762)
OK, you had posted just before my post (#1947)

2 quick questions

Uninstall, then install your version?

What about the boxes I have around my thanks?


Thanks (no pun intended) :D

dont uninstall or youll lose every post thanks just over write files and allow over write for importing the xml

midnz 11-05-2011 08:06 PM

Quote:

Originally Posted by NTMID8 (Post 2240209)
OK, I got it back now... for the most part. I have the desired location and look (see attachment) but it is now reloading the page when I click thank so I believe I broke the AJAX. Can you help me correct that?

Follow the instructions from post#35 (for vb4) of this thread. You should be able to change the display location without causing any ajax issues. It worked flawlessly for me.

Example of display within post body (below message/above signature) and where no Ajax issues are apparent:
http://img12.imageshack.us/img12/75/likes.jpg

DragonByte Tech 11-07-2011 12:45 AM

Just dropping in to let those of you who were interested in DBTech's Advanced Post Thanks/Like mod that our importer between this mod and ours is now free in the lite version - you don't lose any info when you switch and get a bunch of new features & regular (and official) updates/support ^.^

You can grab it at the link below (as well as see all of the features added in the recent v2 release)

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

Videx 11-07-2011 01:54 AM

Thanks for the heads up. Damn tempting. Annoying how quickly these mods lose value once the updates stop.

kayota 11-08-2011 08:42 AM

in my forum , Post thanks not run AJAX . I ENABLE AJAX ALL IN ADMINCP . BUT NOT RUN

Bob_R 11-08-2011 07:58 PM

Quote:

Originally Posted by DragonByte Tech (Post 2265164)
Just dropping in to let those of you who were interested in DBTech's Advanced Post Thanks/Like mod that our importer between this mod and ours is now free in the lite version - you don't lose any info when you switch and get a bunch of new features & regular (and official) updates/support ^.^

You can grab it at the link below (as well as see all of the features added in the recent v2 release)

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

Any demo screenshots and/or a live working example from a website?

Thanks

ForceHSS 11-08-2011 10:53 PM

1 Attachment(s)
Quote:

Originally Posted by Bob_R (Post 2265799)
Any demo screenshots and/or a live working example from a website?

Thanks



my site as you will see in the 2nd ss I changed it a bit you can compare it to dragonbyte site
http://www.the-horse-source.net/forum.php

kayota 11-10-2011 07:58 AM

the page is refresh when I click button Thanks :( why ?? Can you help me ??

Bob_R 11-10-2011 06:39 PM

Quote:

Originally Posted by ForceHSS (Post 2264759)
use the one in my sig

Quote:

Originally Posted by Hippy (Post 2264765)
dont uninstall or youll lose every post thanks just over write files and allow over write for importing the xml

Where do you check if it's working?

- About Me in profile (no link to search)

- Settings at top right of screen (can search last 5 from here)

ForceHSS 11-10-2011 09:21 PM

Quote:

Originally Posted by Bob_R (Post 2266663)
Where do you check if it's working?

- About Me in profile (no link to search)

- Settings at top right of screen (can search last 5 from here)

you should see the thanks option on posts if this is what you are asking

Bob_R 11-10-2011 09:49 PM

Quote:

Originally Posted by ForceHSS (Post 2266707)
you should see the thanks option on posts if this is what you are asking

The Thanks option has always worked for me. I'm talking about the search.

midnz 11-11-2011 12:47 AM

Quote:

Originally Posted by Bob_R (Post 2266663)
Where do you check if it's working?

- About Me in profile (no link to search)

- Settings at top right of screen (can search last 5 from here)

Quote:

Originally Posted by Bob_R (Post 2266731)
The Thanks option has always worked for me. I'm talking about the search.

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

vilambara 11-11-2011 07:33 AM

error , not compatible with 4.1.7. any help would be much appreciated.

midnz 11-11-2011 09:20 AM

Quote:

Originally Posted by vilambara (Post 2266856)
error , not compatible with 4.1.7. any help would be much appreciated.

https://vborg.vbsupport.ru/showthrea...66#post2130566

vilambara 11-11-2011 11:26 AM

Quote:

Originally Posted by midnz (Post 2266878)

Thanks a lot, working fine now..


All times are GMT. The time now is 09:01 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.04850 seconds
  • Memory Usage 1,878KB
  • 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
  • (5)bbcode_code_printable
  • (28)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