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)

struff 09-14-2010 02:23 PM

Anyone else have any ideas why nothing shows up in my postbit?

Thanks.

Bob_R 09-15-2010 08:09 PM

I uploaded the 8 files to my server and when I go to import I get this:

Please upload the files that came with this Hack before installing or upgrading!

Hippy 09-15-2010 08:14 PM

Bob_R

make sure you uploaded to the root dir..
sounds like it's not seeing the files..
so I would have to guess they are not in the correct place..

Hippy 09-15-2010 08:16 PM

Quote:

Originally Posted by struff (Post 2098126)
Anyone else have any ideas why nothing shows up in my postbit?

Thanks.

there is not many reason it could be ..
a conflict with another mod..
the xml did not install correctly...

did you check if all parts of the mod it active..
whats your site url..

Bob_R 09-15-2010 08:19 PM

Quote:

Originally Posted by Hippy (Post 2098789)
Bob_R

make sure you uploaded to the root dir..
sounds like it's not seeing the files..
so I would have to guess they are not in the correct place..

Bingo!

Fixed it on my own and came back here and saw your post.

Thanks!!

Bob_R 09-15-2010 08:38 PM

1 Attachment(s)
The alignment is off. See screen shot

Hippy 09-15-2010 09:00 PM

2 things I did to mine...

open your post_thanks_postbit_info
and change it to this
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>

now open your
post_thanks_javascript template
and change to this..


Code:

<script type="text/javascript" src="clientscript/post_thanks.js"></script>

<style type="text/css">
.postbitlegacy .postfoot .textcontrols a.post_thanks_button, .postbit .postfoot .textcontrols a.post_thanks_button  {
        background: url({vb:stylevar imgdir_button}/post_thanks.png) no-repeat transparent {vb:stylevar left};
        padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.post_thanks_button:hover, .postbit .postfoot .textcontrols a.post_thanks_button:hover  {
        background: url({vb:stylevar imgdir_button}/post_thanks-hover.png) no-repeat transparent {vb:stylevar left};
}
</style>


struff 09-16-2010 03:28 AM

Quote:

Originally Posted by Hippy (Post 2098792)
there is not many reason it could be ..
a conflict with another mod..
the xml did not install correctly...

did you check if all parts of the mod it active..
whats your site url..

If you mean if I checked the Plugin Manager, yes, I did.

I tried reinstalling and no luck so it's not that.

Do you know of any mods that this is prone to conflict with?

Thanks!

Hippy 09-16-2010 06:48 PM

no I don't.
but you could turn them all off via admincp and just leave this mod active and see if the problem goes away.. if it does then turn mod on at a time till the problem comes back then you will know witch one is cause the problem.

thats if any of your other mods are affecting it
keep us posted with your diagnostic

Bob_R 09-16-2010 08:06 PM

Quote:

Originally Posted by Hippy (Post 2098820)
2 things I did to mine...

open your post_thanks_postbit_info
and change it to this
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>

now open your
post_thanks_javascript template
and change to this..


Code:

<script type="text/javascript" src="clientscript/post_thanks.js"></script>

<style type="text/css">
.postbitlegacy .postfoot .textcontrols a.post_thanks_button, .postbit .postfoot .textcontrols a.post_thanks_button  {
        background: url({vb:stylevar imgdir_button}/post_thanks.png) no-repeat transparent {vb:stylevar left};
        padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.post_thanks_button:hover, .postbit .postfoot .textcontrols a.post_thanks_button:hover  {
        background: url({vb:stylevar imgdir_button}/post_thanks-hover.png) no-repeat transparent {vb:stylevar left};
}
</style>


Correct me if I'm wrong which I very well could be. But, it appears that your code is the same as the code already in there. Again, I could be wrong please advise.

And, thanks!!


All times are GMT. The time now is 04:41 AM.

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.04024 seconds
  • Memory Usage 1,758KB
  • 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
  • (4)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
  • (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