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)

Tetrabyte 06-06-2012 08:30 AM

Hi,

I have installed this mod successfully and am happy - it looks rather good!

The thanks button however is the same colour as my background, and thus users can't see it!

How can I change this?

I think I need to change the class="post_thanks_button" style attributes, but for the life of me can't work out where!

Any help appreciated! :)

Hippy 06-06-2012 09:51 AM

Quote:

Originally Posted by addamroy (Post 2336962)
Hippy... I sent ya a few bucks via Paypal, since you don't have a donate button :)

Thanks for all your help man I and many others appreciate it I'm sure.

your welcome.. anytime thanks

Quote:

Originally Posted by Tetrabyte (Post 2337049)
Hi,

I have installed this mod successfully and am happy - it looks rather good!

The thanks button however is the same colour as my background, and thus users can't see it!

How can I change this?

I think I need to change the class="post_thanks_button" style attributes, but for the life of me can't work out where!

Any help appreciated! :)

the color of the txt or the button.. will look at it when I get home.. meantime can your post a screenshot thanks

Tetrabyte 06-06-2012 11:47 AM

1 Attachment(s)
Quote:

Originally Posted by Hippy (Post 2337059)
your welcome.. anytime thanks


the color of the txt or the button.. will look at it when I get home.. meantime can your post a screenshot thanks

Cheers:

Hippy 06-06-2012 12:06 PM

I see two issues there the alignment of the Postbit , Back a couple parts I posted a fix . The button I don't see it, are they in the correct folder? Are you using a custom style that uses it's own image dir? If so you'll need to add the two buttons to that image dir As well

Hippy 06-06-2012 12:09 PM

Send me a link to your site via pm so I can look at it

mcgra 06-06-2012 01:19 PM

Hi Hippy,

Thanks for all the hard work here, this works like a charm on my board except with the formatting on our two main skins, ive tried the various fixes but they have not worked, is there an easy way for the customs skins formatting to apply to the thanks section in the postbit?
https://vborg.vbsupport.ru/

https://vborg.vbsupport.ru/

The skins in question are from completevb.com aesthetica blue and twisteddark blue, none of the suggested post_thanks_postbit_info changes are having any effect on these two skins.

Apologies if the solution is obvious I am not a coder!

Hippy 06-06-2012 02:30 PM

Nothing is obvious with anything thing custom ... if I was home I could test before posting..I can fix it but not from my cell phone. Lol... your doing good so far . Keep playing.. If you don't get it. I'll be of more help when I get home with those skins they are using a field set around each area like post s joined etc you'll need to add that for it to display correctly

Hippy 06-06-2012 08:14 PM

Quote:

Originally Posted by Tetrabyte (Post 2337049)
Hi,

I have installed this mod successfully and am happy - it looks rather good!

The thanks button however is the same colour as my background, and thus users can't see it!

How can I change this?

I think I need to change the class="post_thanks_button" style attributes, but for the life of me can't work out where!

Any help appreciated! :)

Quote:

Originally Posted by Tetrabyte (Post 2337094)
Cheers:

since I was a guest I can't see the post thanks button
pm me temp access to the forum
so I can figure out the button issue

but for your post bit alignment issue
since your are using postbit_legacy

you need to open up your post thanks template group and replace your post_thanks_postbit_info template

with
Code:

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

and remove it
this will fix the alignment issue

Hippy 06-06-2012 08:22 PM

Quote:

Originally Posted by mcgra (Post 2337124)
Hi Hippy,

Thanks for all the hard work here, this works like a charm on my board except with the formatting on our two main skins, ive tried the various fixes but they have not worked, is there an easy way for the customs skins formatting to apply to the thanks section in the postbit?
http://www.irishclubbing.ie/vbforum/helppostbit.jpg

http://www.irishclubbing.ie/vbforum/helppostbit2.jpg

The skins in question are from completevb.com aesthetica blue and twisteddark blue, none of the suggested post_thanks_postbit_info changes are having any effect on these two skins.

Apologies if the solution is obvious I am not a coder!

replace your post_thanks_postbit_info template with

Code:

<vb:if condition="$post['userid']">
    <div class="post_field"><dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd></div>
    <vb:if condition="$post['post_thanks_thanked_times'] == 1">
      {vb:rawphrase post_thanks_time_post}
    <vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
      {vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}
    <vb:else /><br />
        <div class="post_field"style="white-space:nowrap; display:inline;">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</div><br />
    </vb:if>
</vb:if>


addamroy 06-06-2012 09:32 PM

Found what I think is a bug.

I'm running version 4.0.7

After recently upgrading the add-on to the version posted by Hippy, I'm experiencing the following issue.

When I click 'remove your thanks' (the thanks I left (as admin) ), it removes the entire post thanks box all together, as if I hit 'remove all thanks'. However, it doesn't remove the thanks themselves, because if I thank the post again, the thanks box reappears with all the previous thanks as well as my own.

Weird!


All times are GMT. The time now is 09:08 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.03277 seconds
  • Memory Usage 1,757KB
  • 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
  • (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