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)

jupiter5 02-17-2013 08:49 PM

it is not compatible with 4.2. Where can I get thanks mod?

Hippy 02-17-2013 11:26 PM

Quote:

Originally Posted by jupiter5 (Post 2404842)
it is not compatible with 4.2. Where can I get thanks mod?

yes read the first post youll see the link to the newest supported version

jupiter5 02-20-2013 07:58 PM

Quote:

Originally Posted by Hippy (Post 2404872)
yes read the first post youll see the link to the newest supported version

Thanks. Installed. :up:

unfv 02-25-2013 02:49 AM

Quote:

Originally Posted by Videx (Post 2404750)
I thought vb5 finally included a default thanks system?

I think you mean a Like button, don't you?

Videx 02-25-2013 02:50 PM

Quote:

Originally Posted by unfv (Post 2406110)
I think you mean a Like button, don't you?

Is there a difference? The way vb is phrased you could easily change the word "Like" to "Thanks" if you wanted. But I really haven't been paying attention to vb5. If they do have a Thanks system, it would be nice if we could import the contents of this one to it, rather than having to start everyone back at zero.

findingpeace 03-01-2013 12:04 AM

Wonderful mod!

Is there any way to remove the space/gap between the "List of users who liked this post" box and the actual corresponding post above? There is a 1cm space in between, and I'd just like to make it look linked together instead.

Thank you!!

pasta186 03-02-2013 08:15 PM

As you can see, all buttons have BLUE background except for Thanks: https://vborg.vbsupport.ru/external/2013/03/51.png

Is there a way I can add this background to my " Thank " Button?: https://vborg.vbsupport.ru/external/2013/03/52.png

I'd really appreciate it if anyone could help.

Hippy 03-03-2013 01:48 PM

Quote:

Originally Posted by pasta186 (Post 2407433)
As you can see, all buttons have BLUE background except for Thanks: https://vborg.vbsupport.ru/external/2013/03/51.png

Is there a way I can add this background to my " Thank " Button?: https://vborg.vbsupport.ru/external/2013/03/52.png

I'd really appreciate it if anyone could help.

Post /attach a button you are using from that style and I will see if I can do something
make sure it's around the size it needs to be Like the report button or something the same size
Do you know your font style ?

Armee25 03-05-2013 03:30 AM

Hippy thanks for supporting this mod!

Quick question, how can I have the box with the names of the people who thanked the poster INSIDE the post (exactly like it is on the vbulletin.org forums) as opposed to having it under the post?

I'm running VBulleting 4.2

Thanks again !

smirkley 03-05-2013 03:56 AM

Quote:

Originally Posted by Armee25 (Post 2407973)
Quick question, how can I have the box with the names of the people who thanked the poster INSIDE the post (exactly like it is on the vbulletin.org forums) as opposed to having it under the post?

I'm running VBulleting 4.2


I just figured out how to do this !!

Use the first and third edit on this post:
https://vborg.vbsupport.ru/showpost....7&postcount=35

And for the second edit use this:
https://vborg.vbsupport.ru/showpost....&postcount=124


Still want to figure out how to remove the blank area padding at the bottom of the box,.. will trade above info for needed info :)



edit to add all edits below for reference:



Change post_thanks_box template to:

PHP Code:

<div <vb:if condition="!$post_thanks_box == 1"style="background-color: #f2f6f8; border: 1px ridge #417394; border-width: 1px 1px 1px 1px; padding: 2px; width:92%; margin: 

0px auto 0px auto; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; margin-top:10px; margin-bottom:0px;display:none" 
<vb:else /> 
style="background-color: #f2f6f8; border: 1px ridge #417394; border-width: 1px 1px 1px 1px; padding: 2px; width:92%; margin: 0px auto 0px auto; -webkit-border-radius: 5px; -

moz-border-radius: 5px; border-radius: 5px; margin-top:10px; margin-bottom:0px;"
</vb:if> id="post_thanks_box_{vb:raw post.postid}">
{
vb:raw post_thanks_box}
</
div




In Admin CP -> Plugin Manager, edit the plugin: Post Thank You Hack on hook: postbit_display_complete

Find:
PHP Code:

$template_hook['postbit_end'] .= $templater->render(); 

and replace with:
PHP Code:

    $template_hook['postbit_messagearea_end'] .= $templater->render(); 



how to force to bottom of post box and add right above siggy,.. in postbit legacy template

find
Code:

<vb:if condition="$show['postedited'] || $post['signature']">
add above
Code:

<div class="after_content">{vb:raw template_hook.postbit_messagearea_end}</div>
Of course it still shows up just above edit statement if applicable, but I rather have the box on the bottom but above siggy area. This was the easiest way for me.


All times are GMT. The time now is 07:18 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.04537 seconds
  • Memory Usage 1,756KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_php_printable
  • (6)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