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)

terminator2k2 11-23-2011 07:19 PM

I have a problem in vB 4.1.8

Show Stats in Profile?
Do you want to show a user's post thanks stats in their profile? (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.)

^- set to yes, statistics is shown but you cannot search all posts the user gave thanks to and got thanks for, there is no link generated

sadiq6210 11-24-2011 04:23 AM

Quote:

Originally Posted by terminator2k2 (Post 2271263)
I have a problem in vB 4.1.8

Show Stats in Profile?
Do you want to show a user's post thanks stats in their profile? (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.)

^- set to yes, statistics is shown but you cannot search all posts the user gave thanks to and got thanks for, there is no link generated


Open template (post_thanks_memberinfo_block)
Change it all 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>


fairlady4u 11-27-2011 03:14 PM

Anyway i can install this in 4.18?i can seem to install it :(

ForceHSS 11-27-2011 04:09 PM

Quote:

Originally Posted by fairlady4u (Post 2272398)
Anyway i can install this in 4.18?i can seem to install it :(

look harder

Bisha 11-27-2011 06:10 PM

did the Database errors are fixed?

terminator2k2 11-27-2011 06:43 PM

k thanks, the code was commented out.

another question about the wordwrap when showing the users who thanked, it seems that it's not working like it should.

There is wordwrap on users who have "-" or space in their nicknames and the style is "broken" because each line of shown users is too long

HondaStreetCult 11-27-2011 08:09 PM

Need help... I am trying to change the "The Following 10 Users Say Thank You to Mervin For This Useful Post: " to something else. Can anyone help me and tell me where i can do this?

sadiq6210 11-27-2011 09:08 PM

Quote:

Originally Posted by HondaStreetCult (Post 2272502)
Need help... I am trying to change the "The Following 10 Users Say Thank You to Mervin For This Useful Post: " to something else. Can anyone help me and tell me where i can do this?

Just search in phrases :)

Hint:
Find (For This Useful Post)

Hippy 11-27-2011 10:37 PM

search your phrases for The Following {1} Users Say Thank You to {2} For This Useful Post:
and change it to wha you want .. remember to keep the {1} and {2} these call the numbers

Breakthecycle2 11-28-2011 02:38 AM

This seems to not work in 4.1.8.

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

Videx 11-28-2011 03:24 AM

Quote:

Originally Posted by Breakthecycle2 (Post 2272590)
This seems to not work in 4.1.8.



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

Go to the upper right and select "Search this mod" - for a distinct word like "dependencies".

Since this question has now been asked and answered over 10 million times, we can no longer keep lengthening the thread by simply repeating the answer. It's more productive to teach people how to find the answer on their own.

terminator2k2 11-28-2011 05:13 AM

Quote:

Originally Posted by HondaStreetCult (Post 2272502)
Need help... I am trying to change the "The Following 10 Users Say Thank You to Mervin For This Useful Post: " to something else. Can anyone help me and tell me where i can do this?

go to the ACP -> Languages & Phrases -> Phrase Manager -> Phrase Type: Global -> Phrase: post_thanks_users_say

uninvited13th 11-28-2011 08:00 AM

Quote:

Originally Posted by Breakthecycle2 (Post 2272590)
This seems to not work in 4.1.8.



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

edit xml..

Code:

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

ballbrk 11-30-2011 09:11 PM

Hi I made a small change in the file post_thanks.php , . I change ORDER BY post.dateline to ORDER BY post.postid.

This will increase the performance of the plugin .. as you can read in http://articles.digitalpoint.com/con...ze-vBulletin-4

ballbrk 12-01-2011 01:17 PM

If you want to get an extra performance in post thanks .. you need to edit the file functions_post_thanks.php that is in the Include directory. Search for "SELECT * and change to
"SELECT postid,userid,post_thanks.username,date.

with this change you will reduce the quantity of data that will flow from DB to Webserver and reduce the time :)

Hippy 12-01-2011 07:49 PM

Quote:

Originally Posted by ballbrk (Post 2273659)
If you want to get an extra performance in post thanks .. you need to edit the file functions_post_thanks.php that is in the Include directory. Search for "SELECT * and change to
"SELECT postid,userid,post_thanks.username,date.

with this change you will reduce the quantity of data that will flow from DB to Webserver and reduce the time :)

can you be a little more specific on the code to change ..
there are a few SELECT * there


thanks for the info.

MaXimus 12-03-2011 06:34 AM

this mod hasn't been updated in ages :(

Gursimran 12-03-2011 07:52 AM

Hello, I am getting vBulletin Database Error in my vBulletin 4.1.8
I guess it is because of this mod, so please help
Code:

Database error in vBulletin 4.1.8:

Invalid SQL:

                      REPLACE INTO vb_search (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash)
                      VALUES (0, '66.249.67.241', 1, 'bolt', '', 'post.dateline', 'DESC', 0.01879, 1, '34343,34170,34099,34098,34001,32857,31791,30741,30690,30373,30364,30363,30295,29159,28855,27126,25771,24767,23328,22923,22699,16141,16140,7728,3268,3203,3005,2914', 1322860031, 'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{}s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:4255;s:4:\"bolt\";}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\";}}', 'f573a426109978edf2b2fd3a4f226f4d');

MySQL Error : Table '****_vb.vb_search' doesn't exist
Error Number : 1146
Request Date : Friday, December 2nd 2011 @ 02:07:11 PM
Error Date : Friday, December 2nd 2011 @ 02:07:11 PM
Script : http://www.*****.info/forum/post_tha...er_gave&u=4255
Referrer :
IP Address : ********
Username : Unregistered
Classname : vB_Database
MySQL Version :

ballbrk 12-03-2011 08:12 AM

Quote:

Originally Posted by Hippy (Post 2273787)
can you be a little more specific on the code to change ..
there are a few SELECT * there


thanks for the info.


Yes sorry :) ... the modification is in includes/function_post_thanks.php ... you can see two SELECT * in the function fetch_thanks . I made some test and reduce the time of those SQL from 0.17s to 0.07s :) .

ballbrk 12-03-2011 08:14 AM

Quote:

Originally Posted by Gursimran (Post 2274261)
Hello, I am getting vBulletin Database Error in my vBulletin 4.1.8
I guess it is because of this mod, so please help
Code:

Database error in vBulletin 4.1.8:

Invalid SQL:

                      REPLACE INTO vb_search (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash)
                      VALUES (0, '66.249.67.241', 1, 'bolt', '', 'post.dateline', 'DESC', 0.01879, 1, '34343,34170,34099,34098,34001,32857,31791,30741,30690,30373,30364,30363,30295,29159,28855,27126,25771,24767,23328,22923,22699,16141,16140,7728,3268,3203,3005,2914', 1322860031, 'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{}s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:4255;s:4:\"bolt\";}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\";}}', 'f573a426109978edf2b2fd3a4f226f4d');

MySQL Error : Table '****_vb.vb_search' doesn't exist
Error Number : 1146
Request Date : Friday, December 2nd 2011 @ 02:07:11 PM
Error Date : Friday, December 2nd 2011 @ 02:07:11 PM
Script : http://www.*****.info/forum/post_tha...er_gave&u=4255
Referrer :
IP Address : ********
Username : Unregistered
Classname : vB_Database
MySQL Version :


The problem that the table vb_search don't exist... maybe you deleted or changed the name.

Hostboard 12-03-2011 11:57 AM

I am also getting the database error. Recently upgraded my VB3 to VB4. Unless this is updated soon I will have to go to DragonBytes version.

ForceHSS 12-03-2011 12:50 PM

Quote:

Originally Posted by Gursimran (Post 2274261)
Hello, I am getting vBulletin Database Error in my vBulletin 4.1.8
I guess it is because of this mod, so please help
Code:

Database error in vBulletin 4.1.8:

Invalid SQL:

                      REPLACE INTO vb_search (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash)
                      VALUES (0, '66.249.67.241', 1, 'bolt', '', 'post.dateline', 'DESC', 0.01879, 1, '34343,34170,34099,34098,34001,32857,31791,30741,30690,30373,30364,30363,30295,29159,28855,27126,25771,24767,23328,22923,22699,16141,16140,7728,3268,3203,3005,2914', 1322860031, 'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{}s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:4255;s:4:\"bolt\";}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\";}}', 'f573a426109978edf2b2fd3a4f226f4d');

MySQL Error : Table '****_vb.vb_search' doesn't exist
Error Number : 1146
Request Date : Friday, December 2nd 2011 @ 02:07:11 PM
Error Date : Friday, December 2nd 2011 @ 02:07:11 PM
Script : http://www.*****.info/forum/post_tha...er_gave&u=4255
Referrer :
IP Address : ********
Username : Unregistered
Classname : vB_Database
MySQL Version :

there already is a fix for this check older posts

Hostboard 12-03-2011 09:07 PM

135 pages of posts to check through...

Anyways for others here is a link to the one I just loaded and seems to have fixed the DB errors I was getting. Hope it is helpful to others...

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

Wild Bronco 12-04-2011 12:33 AM

Does this work for cms articles and blog to?

dszuecs 12-04-2011 11:34 PM

I thought that it was possible to "show" & "hide" the thanks below a thread, or am i wrong? oO

Lewenhaupt 12-07-2011 09:50 AM

is it possible to make this mod compatible with version 4.1.3? I tried installing it but it didnt work.

sadiq6210 12-07-2011 10:00 AM

Quote:

Originally Posted by Lewenhaupt (Post 2275480)
is it possible to make this mod compatible with version 4.1.3? I tried installing it but it didnt work.

It is here :(

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

ForceHSS 12-07-2011 10:03 AM

<a href="https://vborg.vbsupport.ru/showpost.php?p=2249550&postcount=1847" target="_blank">https://vborg.vbsupport.ru/showp...postcount=1847</a>
this is more up to date than the post above

Lewenhaupt 12-07-2011 02:22 PM

Quote:

Originally Posted by ForceHSS (Post 2275485)
https://vborg.vbsupport.ru/showpost....postcount=1847
this is more up to date than the post above

Quote:

Originally Posted by sadiq6210 (Post 2275484)

Thanks guys!

PakStarTv.com 12-07-2011 06:57 PM

Not Compatible with 4.1.8

Hostboard 12-07-2011 07:30 PM

Quote:

Originally Posted by PakStarTv.com (Post 2275651)
Not Compatible with 4.1.8

It is working on 2 of my 4.1.8 sites. Make sure you download and install the version I linked to in the post above.

corbis 12-09-2011 04:06 PM

will you make this compatible with 4.1.x soon?

djbaxter 12-09-2011 09:35 PM

Quote:

Originally Posted by corbis (Post 2276245)
will you make this compatible with 4.1.x soon?

*sigh* Try reading the two or three posts just above yours...

Hippy 12-09-2011 09:43 PM

the author has abanden this mod so the members that use this mod have updated it .. so youll have to search the posts..

ForceHSS has a link in his sig that should work for you

Videx 12-10-2011 11:23 PM

<a href="https://vborg.vbsupport.ru/showthread.php?t=201864" target="_blank">DJ's "How To Install Modifications (Mods/Hacks)" for Beginners</a>

Also always make sure you have current backups before messing around. And always read the entire mod's thread! Many don't work at all and some - like this one - only have working versions in later posts.

GeorgeB85 12-11-2011 07:12 PM

Does anyone know how to make this work with the latest vbulletin?

Hostboard 12-11-2011 08:49 PM

Quote:

Originally Posted by GeorgeB85 (Post 2276830)
Does anyone know how to make this work with the latest vbulletin?

Seriously??? Read 6 posts up...

nighteyes 12-12-2011 04:02 PM

Quote:

Originally Posted by Hostboard (Post 2276861)
Seriously??? Read 6 posts up...

Search is still broken in the current versions linked to 6 posts up. The database errors others report exist in all versions of code running on vBulletin 4.1.8.

MySQL Error : Table 'vbulletindb_com.search' doesn't exist
Error Number : 1146

That table does exist in our database. :)

Hostboard 12-12-2011 07:54 PM

Are you trying to run the "fixed" 7.82 or the re-released 7.83

ka81 12-13-2011 01:14 PM

Quote:

Originally Posted by ForceHSS (Post 2249550)
Version 7.83 (29/08/11 by Forcehss)

just installed it.
when i click on Thanks button under post - button disappers, but nothing changes (my nickname doesn\t appear under post, in profile of user - no thanks from me).
so i refresh a page and see: under that post Thanks button exist again and nothing changed in thank counters for user (and for me).

would you please help to deal with that?


All times are GMT. The time now is 01:54 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.04529 seconds
  • Memory Usage 1,850KB
  • 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
  • (18)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