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)

attroll 03-08-2012 05:34 PM

Quote:

Originally Posted by attroll (Post 2307573)
Wow, there are a lot of posts to read through for this Mod. I read quite a few pages but could not find the answer I was looking for, maybe there was so many post I overlooked it.

I know you can find find out how many Thanks I have given or a particular user has given by looking at there About Me page.

But how can I look and find out what posts that users has Thanked or I have Thanked?
Is this possible?

Sorry, after reading back though. I found out how to do this.

Mackeral_Fillet 03-10-2012 12:08 AM

Quote:

Originally Posted by Hippy (Post 2306955)
Go to Plugiins & Products

then click on plugin manager

Look under post thank you hack.

find the one that says " postbit_display_complete "
open it up and look for

Code:

    $templater = vB_Template::create('post_thanks_button');
    $templater->register('post', $post);
    $templater->register('display_thanks_image', $display_thanks_image);
    $template_hook['postbit_controls'] .= $templater->render();


and replace it with

Code:

    $templater = vB_Template::create('post_thanks_button');
       
    $templater->register('post', $post);
       
    $templater->register('display_thanks_image', $display_thanks_image);
       
    $template_hook['postbit_thanks'] .= $templater->render();

Now go to postbit_legacy

since your using postbit_legacy template
find

Code:

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

and add uder that code

Code:

{vb:raw template_hook.postbit_thanks}

and for those that are useing " postbit template "

add
Code:

{vb:raw template_hook.postbit_thanks}
under
Code:

<span class="postcontrols">
enjoy

Thanks but it still moves everything to the left!!

Not sure what to do now?

Hippy 03-10-2012 01:14 AM

works perfect.... gotto be something you have custom thats doing it..
send me a link and I will take a peek this weekend

pcg 03-10-2012 02:48 AM

Was workking fine, then dissapeared. The last few days I installed a few mods. Today I noticed the thanks button and all thanks were not displayed.

I unstalled the mods I put in, disabled the hack, then enabled. I also reverted the postbit template. Still not there. I do not want to uninstall and reinstall because I will loose the thanks.

Any advice?

Hippy 03-10-2012 06:08 AM

Quote:

Originally Posted by pcg (Post 2308158)
Was workking fine, then dissapeared. The last few days I installed a few mods. Today I noticed the thanks button and all thanks were not displayed.

I unstalled the mods I put in, disabled the hack, then enabled. I also reverted the postbit template. Still not there. I do not want to uninstall and reinstall because I will loose the thanks.

Any advice?

if you un-installed you lost the thanks...
you need to disable all the mods but the thanks mod and see if it comes back .. when or if it does turn one mod on @ a time and see what one is conflicting

Toorak Times 03-10-2012 09:39 AM

Hi, Is this no good with 4.1.9 and 4.1.11? Not having much luck...

Adam H 03-10-2012 11:22 AM

Anyone got this working on the vb Mobile style yet ? , Ive got the Thanks button to appear on the postbit and it works , however im not sure what If conditions to surround the text to make the button disappear after it has been clicked.

Also not sure what part needs to be added to show the thanks that have been given although im not that bothered about that bit, Just the disappearing of the button after it has been clicked would be good enough ?

Hippy 03-10-2012 12:41 PM

Quote:

Originally Posted by Toorak Times (Post 2308215)
Hi, Is this no good with 4.1.9 and 4.1.11? Not having much luck...

forceHSS sig has a updated version https://vborg.vbsupport.ru/showpost....postcount=1847



Quote:

Originally Posted by Adam H (Post 2308233)
Anyone got this working on the vb Mobile style yet ? , Ive got the Thanks button to appear on the postbit and it works , however im not sure what If conditions to surround the text to make the button disappear after it has been clicked.

Also not sure what part needs to be added to show the thanks that have been given although im not that bothered about that bit, Just the disappearing of the button after it has been clicked would be good enough ?

dartho has posted info on this for me in his moble style maybe it will have you get it working in the vb moblie style https://vborg.vbsupport.ru/showpost....&postcount=845

Adam H 03-10-2012 11:21 PM

Thanks for that link, i figured it out earlier today all those steps are not really needed as it messes with the layout , one thing you do need to do is activate the additional css in the mobile theme which isnt active as standard, also the postbit hook locations need to be in place, you will also need to edit the phrases or the code for the phrases as they are too long for a mobile theme to handle, ive just edited the code for mine but others may wish to do it globally. Once you have that you can style it how ever you like with alot of playing around.

Hippy 03-11-2012 12:12 AM

I am sure but you got a idea .. it wasn't ment for vb mobile style ..
was just the info from post thanks that could be used or to figure out what to look/ or use

enjoy


All times are GMT. The time now is 01:12 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.06503 seconds
  • Memory Usage 1,755KB
  • 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
  • (5)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