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)

themommyhood 02-14-2012 08:46 PM

Is there a thank you hack for version 4.1.10? I tried this one and it said it isn't compatible.

DS MrSinister 02-14-2012 08:50 PM

Quote:

Originally Posted by themommyhood (Post 2299726)
Is there a thank you hack for version 4.1.10? I tried this one and it said it isn't compatible.

use this one here.. i am using the second one!. works great!

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

bremereric 02-14-2012 08:55 PM

Okay I verifed that I have the 7.83 version and I removed the comments. I still don't see the search option nor do I see the stats in my user profile. :eek:

DS MrSinister 02-14-2012 09:11 PM

Quote:

Originally Posted by bremereric (Post 2299728)
Okay I verifed that I have the 7.83 version and I removed the comments. I still don't see the search option nor do I see the stats in my user profile. :eek:


Replace your post_thanks_memberinfo_block template which this code and see if works. also look in your profile under about me tab


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>


themommyhood 02-14-2012 09:27 PM

Quote:

Originally Posted by DS MrSinister (Post 2299727)
use this one here.. i am using the second one!. works great!

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

Thanks so much :)

DS MrSinister 02-14-2012 09:30 PM

anytime ;)

themommyhood 02-14-2012 09:52 PM

Quote:

Originally Posted by DS MrSinister (Post 2299734)
anytime ;)

One more question if you have the time... where do I find it to move it? It's in a super weird spot.

bremereric 02-14-2012 09:56 PM

Quote:

Originally Posted by DS MrSinister (Post 2299729)
Replace your post_thanks_memberinfo_block template which this code and see if works. also look in your profile under about me tab


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>


If I only knew where to look and scroll down far enough. Took those horse blinders off and found it under the about me tab.

Hippy 02-14-2012 10:12 PM

Quote:

Originally Posted by themommyhood (Post 2299737)
One more question if you have the time... where do I find it to move it? It's in a super weird spot.

if your talking about the thanks button.. you can open your postbit
or postbit_ledgen

find
Code:

{vb:raw template_hook.postbit_controls}
and move it just below
Code:

<span class="postcontrols">
for
postbit_legacy
move the same code below
Code:

<div class="textcontrols floatcontainer">
                                <span class="postcontrols">

or I can make a new hook to add in this place so you don't have to move that one .. but you need to change something else so it works..

this is most of the time good .. I don't know amy mods that use it ..
and if they do noone want it there anyway ..

bremereric 02-14-2012 10:25 PM

Oh Oh when I do either search now I get a database error.

Code:

Database error in vBulletin 4.1.3:

Invalid SQL:

                        REPLACE INTO search (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash)
                        VALUES (1261, '70.248.166.225', 1, 'bremereric', '', 'post.dateline', 'DESC', 0.01367, 1, '20568,20487,20439,20301,20270,20220,20201,20158,20046,20034,20000,19895,19869,19763,19549,19519,19034,19016,18866,18840,18667,18657,18573,18564,18338,18030,16503,13196', 1329260301, 'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{}s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:1261;s:10:\"bremereric\";}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\";}}', 'd2f492989ac5e9f8696bc48f05206426');

MySQL Error  : Table 'fbodymop_newvb01.search' doesn't exist
Error Number  : 1146
Request Date  : Tuesday, February 14th 2012 @ 03:58:21 PM
Error Date    : Tuesday, February 14th 2012 @ 03:58:21 PM
Script        : http://www.aspenandvolare.com/post_thanks.php?do=findthanks&u=1261
Referrer      : http://www.aspenandvolare.com/member.php?1261-bremereric
IP Address    : 70.248.166.225
Username      : bremereric
Classname    : vB_Database
MySQL Version : 5.1.60-community-log



All times are GMT. The time now is 02:15 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.06250 seconds
  • Memory Usage 1,762KB
  • 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
  • (6)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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