vb.org Archive

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

MagicThemeParks 10-30-2009 10:58 PM

Quote:

Originally Posted by goycarden (Post 1892206)
Is it possible to have the same look in postbit-legacy like normal postbit?


I mean this:

https://vborg.vbsupport.ru/attachmen...4&d=1205637411

for postbit-legacy too.

The standard looking for legacy is too high for my style.

https://vborg.vbsupport.ru/external/2009/10/4.jpg


Edit:

I've found the solution. For all interested people: Only copy the code for the postbit-thank-template to the postbit-legacy one.

So, we take the code from the "postbit-thank-template" and move it to the "postbit-legacy"? That doesn't seem right.

Sworm 10-31-2009 08:19 AM

Will work on vb4?

I hope or all the thanks will be lose :D

iForce 10-31-2009 04:56 PM

Hi,

I have question.
I want to remove "Thanks" and "Thanked" from userprofile in threadview.
What part of code I need to remove and where?
Thanks!

http://i38.tinypic.com/345h0cz.jpg

Driven By Shine 11-01-2009 10:42 AM

Thanks for this its great, Although everything seems to be working well, my thanks "icon/button" doesnt display, i have definatly uploaded it via the FTP but no good, is there something ive missed that may have been covered you could point me in the direction of.

Thanks Chris

MagicThemeParks 11-01-2009 01:14 PM

Driven By Shine, if you have a custom skin, your buttons may be in a different directory. For instance, something like this...

yourforum/images/buttons

...instead of this....

yourforum/newstyle/images/buttons

....so, make sure to upload the buttons to that other directory.

Driven By Shine 11-02-2009 08:40 AM

MagicThemeParks you got me out of trouble yet again.

Thank you ever so much for pointing me in the right direction.

Chris

Julie 11-02-2009 09:57 PM

My users love this, and it works like a charm on 3.8.4! Thanks!

realmr 11-03-2009 08:28 AM

any idea if product will b released for 4.x later on ?

Sheen 11-05-2009 11:25 AM

I have a custom skin, and the thanks works perfectly apart from one thing:

In the postbit in my skin it does not have $user has been thanked $how many times thanked, in $number of posts.

How do I add it?

Coop1979 11-05-2009 01:23 PM

It looks like you should have a template called post_thanks_postbit_legacy

It should include the following (for legacy):

Code:

<div style="padding:$stylevar[cellpadding]px 0px 0px 0px">
        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                <tr valign="top">
                        <td class="alt2" width="175">
                                <if condition="$post['post_thanks_amount'] == 1">
                                        <strong><phrase 1="$post[username]">$vbphrase[post_thanks_user_says]</phrase></strong>
                                <else />
                                        <strong><phrase 1="$post[post_thanks_amount_formatted]" 2="$post[username]">$vbphrase[post_thanks_users_say]</phrase></strong>
                                </if>
                                <if condition="$bbuserinfo['usergroupid'] == 6">
                                        <br /><a href="post_thanks.php?do=post_thanks_remove_all&amp;p=$post[postid]"<if condition="$vboptions[disable_ajax] != 2"> onclick="return post_thanks_remove_all($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>);"</if> rel="nofollow">$vbphrase[post_thanks_remove]</a>
                                </if>
                                <if condition="$post['show_thanks_remove_option']">
                                <br /><a href="post_thanks.php?do=post_thanks_remove_user&amp;p=$post[postid]"<if condition="$vboptions['disable_ajax'] != 2"> onclick="return post_thanks_remove_user($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>);"</if> rel="nofollow">$vbphrase[post_thanks_remove_user]</a>
                                </if>
                        </td>
                        <td class="alt1"><div>$post[post_thanks_bit]</div></td>
                </tr>
        </table>
</div>



All times are GMT. The time now is 01:57 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.03238 seconds
  • Memory Usage 1,748KB
  • 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
  • (1)bbcode_code_printable
  • (1)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