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)

robbiefritz 02-28-2010 01:09 PM

I browsed through but didn't see the question asked; Is there a way to get the number of thanks to show as reputation comments in the notifications? On v3.8.4 users would see a notification if they received new thanks. Do I have something on v4.0.2 turned off or not set correctly for this to work? Not too familiar with v4 yet.

Rob F 02-28-2010 02:18 PM

Quote:

Originally Posted by robbiefritz (Post 1993678)
I browsed through but didn't see the question asked; Is there a way to get the number of thanks to show as reputation comments in the notifications? On v3.8.4 users would see a notification if they received new thanks. Do I have something on v4.0.2 turned off or not set correctly for this to work? Not too familiar with v4 yet.

When setting it up in the AdminCP you can have it adding to a users reputation alright, but as yet there's no way to show it as comments or make it searchable.

AMG021 02-28-2010 02:43 PM

https://vborg.vbsupport.ru/external/2010/02/2.png

Can someone please help me align that?

archet1337 02-28-2010 03:02 PM

Quote:

Originally Posted by AMG021 (Post 1993749)
https://vborg.vbsupport.ru/external/2010/02/2.png

Can someone please help me align that?

Quote:

Originally Posted by Rob F (Post 1993250)
Are you sure you edited all 3 lines of the code to align left? I had the same problem when first installing and then realised that I'd only reset the alignment for one of the 3 lines. Below is what I have in my post_thanks_postbit_info file and we've no alignment issues anymore :)

You want to set the 3 lines to be {vb:stylevar left}

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


I had the same problem, this did the trick for me :)

AMG021 03-01-2010 01:28 AM

Quote:

Originally Posted by archet1337 (Post 1993768)
I had the same problem, this did the trick for me :)

Dude you are a genius! Thanks

tiengnhat 03-01-2010 01:57 AM

I have an error with this mod. Can you tell me about fix it?
Code:

Could not find phrase 'post_thanks'.
Thanks you!

nyunyu 03-01-2010 03:06 AM

Unfortunately I got this error when testing giving a thank.

Code:

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in [path]/post_thanks.php on line 57
please help.

tiga2 03-01-2010 06:55 AM

Thank you for this Hack!

How can I change the Format of the Thank you output?

Ex. "Thanked: 5"

Instead of Thanked 11 Times in 6 Posts?

mrdexx 03-01-2010 07:43 AM

Installed fine in vB 4.0.2, however the mod doesn't seem to be acknowledging that my forum is in Legacy mode?!

Shows "the following users..." stuff ABOVE the users instead of to the LEFT of the users (just like the profile info etc.

I checked the template info, and it seems like it should be working since my vB option is set to legacy mode...anyone know how to make it show to the LEFT and not ABOVE the users?

Example:
https://vborg.vbsupport.ru/external/2010/03/121.jpg

Also, I edited my postbit template as per Abe's instructions in his first post, but my "Thanks" button is still on the left side of the bar and NOT beside the edit button...no duplicate entries of the required code, and it is placed directly under the line he stated to...

Anyone got it that to work also?


Thanks!

tech4c 03-01-2010 11:41 AM

thanks

Database error in vBulletin 4.0.2:

Invalid SQL:

REPLACE INTO search (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash)


MySQL Error : Table 'database_name.search' doesn't exist
Error Number : 1146
Request Date : Monday, March 1st 2010 @ 08:35:49 AM
Error Date : Monday, March 1st 2010 @ 08:35:49 AM
Script : post_thanks.php?do=findthanks&u=133745
Referrer :
IP Address :

Classname : vB_Database


All times are GMT. The time now is 12:20 PM.

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.03790 seconds
  • Memory Usage 1,746KB
  • 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
  • (3)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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