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)

faraz_hamza 07-03-2011 07:26 PM

thx its working ... :)

consta 07-05-2011 06:01 AM

Hi guys,

I've also installed this MOD on vBulletin 4.1.4. My problem is that somehow, it's not using AJAX to register the "Thanks!", but instead it does a simple HTTP GET (you can even see the link when you hold the mouse pointer on top of the button).

It's annoying because people get their pages reloaded and they end up on top of the page instead of reading further through the thread.

Anyone else seen this?

Thanks!

Pvtiste 07-05-2011 08:56 PM

Quote:

Originally Posted by M.Kay (Post 2215865)
Is it possible to get a notification, when user got thanked?

+1 needed !

consta 07-06-2011 10:20 AM

My reply is related to people who had the "Refresh" problem when a user would Thank someone.

Quote:

Originally Posted by War.Frog (Post 1953246)
I disabled and it's working as advertised again. Thanks Abe1!

Thanks!

I read 25 pages to find the solution and now I'm really happy I found it!

For the rest of the people who used to have Post Groan Hack installed along with Post Thanks Hack (for which there's still no 4.x version) to the following:

Go to Settings -> Options -> Post Groan Hack -> Integrate this hack with Post Thanks Hack? (at the bottom of the page) and set to NO.

It doesn't matter if the Groan hack is disabled.

Maischter 07-06-2011 05:55 PM

is there a trick how i get the "search for thx posts" button in my profile.. i have the profile info "Show Stats in Profile" activated in the settings... but all i can see is:

Total Thanks
Total Thanks X
Thanked X Time in X Post

but no button to search for the posts....?

But the settings info tells: "(These stats come along with links to search all posts that user gave thanks to and all posts of his/hers that got thanked by someone else.)" ???

sadiq6210 07-06-2011 07:41 PM

Quote:

Originally Posted by Maischter (Post 2217495)
is there a trick how i get the "search for thx posts" button in my profile.. i have the profile info "Show Stats in Profile" activated in the settings... but all i can see is:

Total Thanks
Total Thanks X
Thanked X Time in X Post


but no button to search for the posts....?

But the settings info tells: "(These stats come along with links to search all posts that user gave thanks to and all posts of his/hers that got thanked by someone else.)" ???

Try to replace template (post_thanks_memberinfo_block) with this:

Code:

<h5 class="subsubsectionhead">{vb:rawphrase post_thanks_total_thanks}</h5>
<dl class="stats">
        <dt>{vb:rawphrase post_thanks_total_thanks}</dt>
        <dd>{vb:raw userinfo.post_thanks_user_amount_formatted}</dd>
</dl>
<ul class="group">
        <li>
        <vb:if condition="$userinfo[post_thanks_thanked_times] == 1">
                {vb:rawphrase post_thanks_time_post}
        <vb:else />
                <vb:if condition="$userinfo[post_thanks_thanked_posts] == 1">
                        {vb:rawphrase post_thanks_times_post, {vb:raw userinfo.post_thanks_thanked_times_formatted}}
                <vb:else />
                        {vb:rawphrase post_thanks_times_posts, {vb:raw userinfo.post_thanks_thanked_times_formatted}, {vb:raw userinfo.post_thanks_thanked_posts_formatted}}
                </vb:if>
        </vb:if>
        </li>
        <li>
                <a href="post_thanks.php?{vb:raw session.sessionurl}do=findthanks&amp;u={vb:raw userinfo.userid}">{vb:rawphrase post_thanks_search_user, {vb:raw userinfo.username}}</a>
        </li>
        <li>
                <a href="post_thanks.php?{vb:raw session.sessionurl}do=findthanks_user_gave&amp;u={vb:raw userinfo.userid}">{vb:rawphrase post_thanks_search_user_gave, {vb:raw userinfo.username}}</a>
        </li>
</ul>


luan7749 07-07-2011 01:14 PM

I have to do the install this error can:

Quote:

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

Crotan 07-08-2011 01:37 AM

Quote:

Originally Posted by luan7749 (Post 2217769)
I have to do the install this error can:

did you upload the files first?

Always install the xml product after uploading the necessary files via ftp

HMBeaty 07-08-2011 01:49 AM

Quote:

Originally Posted by luan7749 (Post 2217769)
I have to do the install this error can:

I would've thought that error would explain itself :p

luan7749 07-08-2011 01:59 PM

problem is that I was up all but the import it back it said: (

keldagrim 07-08-2011 06:12 PM

Is there a way to have a different button for each theme? I have redfox and bluefox installed and the button doesn't match. I was wondering if there is a way that I can have a different button for each theme?

Edit: I figured it out, and I made my own custom buttons. Now I have another problem though, I cannot get the Thanks text to go away and just show my button. Help!

stev35555 07-09-2011 06:33 AM

When will this work with the latest vb? I went to install it yesterday and said it was not compatible.

Thanks

Steve

steve1966 07-09-2011 07:08 AM

does anyone have a problem with the inlinemod not working correctly when this mod is enabled?

thanks

Mark.B 07-09-2011 08:52 AM

Quote:

Originally Posted by steve1966 (Post 2218441)
does anyone have a problem with the inlinemod not working correctly when this mod is enabled?

thanks

Yes you cannot use "select all", it's a known issue. I guess the Javascript must clash in some way. I gave up and took the "select all" option out instead.

sash1 07-09-2011 09:36 AM

It doesn't work with vB 4.1.4 for me. Any ideas?

Xaser 07-09-2011 11:56 AM

Hi!

Sorry but does the method of moving the Thank You Button to the Edit Button ONLY affect this Add-On or could it affect others, too?

Xaser

MySaltyreef 07-09-2011 04:58 PM

eish

Quote:

The following dependencies were not met:

This product is not compatible with version 4.1.4 of vBulletin. (Compatible starting with 4.0.0 beta 4 / Incompatible with 4.1.0 alpha 1 and greater)
anyone know when it will work ?

HMBeaty 07-09-2011 05:02 PM

If you are receiving a dependency/not compatible error, open up the .xml in notepad and find:
HTML Code:

maxversion="4.1.0 alpha 1"
Replace with:
HTML Code:

maxversion=""

MySaltyreef 07-09-2011 05:09 PM

awesome, thanks for quick response !!!

MySaltyreef 07-09-2011 05:16 PM

and it works !!

steve1966 07-10-2011 07:50 AM

Quote:

Originally Posted by Mark.B (Post 2218464)
Yes you cannot use "select all", it's a known issue. I guess the Javascript must clash in some way. I gave up and took the "select all" option out instead.

thank you for you reply

Beethoveen 07-12-2011 01:39 AM

dont work with V4.1.4 :( bad news...

sadiq6210 07-12-2011 08:18 AM

Quote:

Originally Posted by Beethoveen (Post 2219499)
dont work with V4.1.4 :( bad news...

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

hilaryl 07-15-2011 03:37 AM

Does this work in the vbulletin mobile suite? on iphone and android apps

RandE 07-15-2011 12:49 PM

Quote:

Originally Posted by Beethoveen (Post 2219499)
dont work with V4.1.4 :( bad news...


I'm also having trouble installing. I have changed it to maxversion="4.9.9" and it's giving me an "XML Error: Invalid document end at Line 539"

BirdOPrey5 07-15-2011 07:21 PM

Quote:

Originally Posted by RandE (Post 2220824)
I'm also having trouble installing. I have changed it to maxversion="4.9.9" and it's giving me an "XML Error: Invalid document end at Line 539"

Try re-downloading again and use a different text editor to edit the file- if you used notepad that's probably the problem.

Ang3ls 07-16-2011 07:33 PM

erro :(

PHP Code:

Invalid SQL:

                       
REPLACE INTO search (useridipaddresspersonalsearchuserforumchoicesortbysortordersearchtimeshowpostsorderedidsdatelinedisplaytermssearchhash)
                       
VALUES (0'115.78.4.183'1'Đạo Sĩ Th?i''''post.dateline''DESC'0.004011'2780,1440,697'1310785396'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{}s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:174;s:16:\"Đạo Sĩ Th?i\";}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\";}}''5587e936a608e5c42591e0fc7edca803');

MySQL Error   Table 'xxxxxxx_forum.search' doesn't exist
Error Number  : 1146
Request Date  : Saturday, July 16th 2011 @ 10:03:16 AM
Error Date    : Saturday, July 16th 2011 @ 10:03:37 AM
Script        : http://domain/forum/post_thanks.php?do=findthanks_user_gave&u=174
Referrer      : http://domain/forum/ 


sadiq6210 07-16-2011 07:41 PM

Quote:

Originally Posted by Ang3ls (Post 2221280)
erro :(

PHP Code:

Invalid SQL:

                       
REPLACE INTO search (useridipaddresspersonalsearchuserforumchoicesortbysortordersearchtimeshowpostsorderedidsdatelinedisplaytermssearchhash)
                       
VALUES (0'115.78.4.183'1'Đạo Sĩ Th?i''''post.dateline''DESC'0.004011'2780,1440,697'1310785396'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{}s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:174;s:16:\"Đạo Sĩ Th?i\";}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\";}}''5587e936a608e5c42591e0fc7edca803');

MySQL Error   Table 'xxxxxxx_forum.search' doesn't exist
Error Number  : 1146
Request Date  : Saturday, July 16th 2011 @ 10:03:16 AM
Error Date    : Saturday, July 16th 2011 @ 10:03:37 AM
Script        : http://domain/forum/post_thanks.php?do=findthanks_user_gave&u=174
Referrer      : http://domain/forum/ 



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

Ang3ls 07-17-2011 08:21 AM

Quote:

Originally Posted by sadiq6210 (Post 2221284)

thanks you !:up:

mb2tour 07-18-2011 11:20 AM

Quote:

Originally Posted by Ang3ls (Post 2221415)
thanks you !:up:

This makes it work for 4.1.4?

Thank you for info,
~~QS

vigneshrajesh 07-18-2011 01:13 PM

The following dependencies were not met:
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 am getting the following error when i try to import..pls help me guys..i have did all the step correctly..

BirdOPrey5 07-18-2011 01:16 PM

Quote:

Originally Posted by vigneshrajesh (Post 2221942)
The following dependencies were not met:
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 am getting the following error when i try to import..pls help me guys..i have did all the step correctly..

Read some of the past posts in the last couple weeks. The answer is there.

vigneshrajesh 07-18-2011 01:56 PM

thanks a lot...yea..i corrected ..now working fine on 4.1.2...

Vaira 07-19-2011 02:35 PM

Quote:

Originally Posted by Mark.B (Post 2218464)
Yes you cannot use "select all", it's a known issue. I guess the Javascript must clash in some way. I gave up and took the "select all" option out instead.

The solution for this has been posted many times already!

In template post_thanks_box replace entire code with this:

Code:

<li class="postbit<vb:if condition="$vboptions['legacypostbit']">legacy</vb:if>" id="post_thanks_box_{vb:raw post.postid}"<vb:if condition="!$post_thanks_box == 1"> style="display:none"</vb:if>>
        {vb:raw post_thanks_box}
</li>


The search option is your friend. ;)

Vaira 07-20-2011 12:28 PM

Hi,

I find it useful to have the search links for the thanks at the memberinfo dropdown menu when clicking on a username. It's quicker than to go to the user profile--->about me-->statistics.

(Use the updated hack that is able to search!!!)

At template memberaction_dropdown find:

Code:

<li class="right">
                        <img src="{vb:stylevar imgdir_siteicons}/forum.png" alt="" />
                        <a href="search.php?{vb:raw session.sessionurl}do=finduser&amp;userid={vb:raw memberinfo.userid}&amp;contenttype=vBForum_Post&amp;showposts=1" rel='nofollow'>
                                {vb:rawphrase view_forum_posts}
                        </a>
                </li>


Bellow add:

Code:

<li class="left">
                <img src="{vb:stylevar imgdir_button}/post_thanks.png" alt="" />
                <a href="post_thanks.php?{vb:raw session.sessionurl}do=findthanks&amp;u={vb:raw memberinfo.userid}">
                Thanks Received           
            </a>
        </li>

<li class="right">
                <img src="{vb:stylevar imgdir_button}/post_thanks.png" alt="" />
                <a href="post_thanks.php?{vb:raw session.sessionurl}do=findthanks_user_gave&amp;u={vb:raw memberinfo.userid}">
                  My Thanks             
            </a>
        </li>

Feel free to edit the link name and place it where you want.

PS: I am no programmer, it seemed logic to me to do so...it works I am usin' it ;)

rajamahender 07-21-2011 12:49 PM

Is it supported to vb 4.1.4 forum classic?

hhumas 07-24-2011 11:36 PM

i want it for 4.1.4 ..............

Laurvick 07-25-2011 12:22 PM

I still have a SQL Problem:

Quote:

Invalid SQL:
SELECT * FROM post_thanks AS post_thanks INNER JOIN user AS user USING (userid) WHERE post_thanks.postid IN (0Array) ORDER BY post_thanks.username ASC;

grey_goose 07-25-2011 08:52 PM

Anyone hack this to make it more visually unobtrusive/integrated?

- moving buttons into postbit next to reply/ip/etc
- moving name list inside postbit like the edited notification/like on here/like ipb/like every sexy 'like/thanks' mod :D

hoadiem 07-28-2011 12:09 AM

i seem to have this happens:

Thanks: 1
Thanked 1 Time in 1 Post1 (1 should be located below : Groans: 1)
Groans:
Groaned 2 Times in 2 Posts

please help how do i make it like this:

Thanks: 1
Thanked 1 Time in 1 Post
Groans: 1
Groaned 2 Times in 2 Posts


All times are GMT. The time now is 08:12 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.04404 seconds
  • Memory Usage 1,857KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (2)bbcode_html_printable
  • (2)bbcode_php_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

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

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