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)

BirdOPrey5 08-18-2012 03:05 PM

I am aware the "English only" has not yet been added to the official rules at the bottom, nevertheless is has been a rule for a long time.

https://vborg.vbsupport.ru/showthread.php?t=187433

The fact vBulletin has official translations available in other languages is not relevant to vBulletin.org. You can post in those languages on vBulletin.com if you must.

MrPitBull 08-21-2012 08:40 PM

I am attempting a fresh install on v4.2.0. patch 2

I downloaded the version in ForceHSS signature. Sorry, the installation instructions are unclear to me. I uploaded the upload folder to my forum root folder. No problem

Step 2 says to Import product-post_thanks.xml into PRODUCTS. I have no folder entitled "PRODUCTS". Do I simply add a "PRODUCTS" folder to my root?

Step 3 says Edit settings in the Admin CP. (Integration settings are in the Groan Hack). I don't have a "Groan Hack" so what settings in the Admin CP do I need to be concerned with?

Thanks.

Hippy 08-21-2012 08:56 PM

content in the upload folder go into your root dir
the xml file is a product.. you import it through your admincp
don't need the groan hack..
so after you install make sure it's not looking for the groan mod
so mothing to do there

MrPitBull 08-21-2012 09:52 PM

Quote:

Originally Posted by Hippy (Post 2358818)
content in the upload folder go into your root dir
the xml file is a product.. you import it through your admincp
don't need the groan hack..
so after you install make sure it's not looking for the groan mod
so mothing to do there

Being a newbie to vBulletin it took me a minute to figure out, but with your help, I'm now stepping in high cotton! Thanks!

Thanks to ForceHSS too!

Hippy 08-21-2012 10:00 PM

then ! welcome to vb.org
glad to hear
youll find alot of people here willing to help ;) gald you got it sorted..

oh and there is not other live VB ;)

MrPitBull 08-21-2012 10:16 PM

Now, how do I mark the thread "Installed"?

Hippy 08-21-2012 10:22 PM

1 Attachment(s)
Mine says make as un-install because I marked it installed LOL
if you get what I mean
top mod post

MrPitBull 08-21-2012 10:36 PM

3035 Now!

wildheart 08-22-2012 09:21 AM

My thanks moved to the left and I followed one of your post on how to move it to the right.
https://vborg.vbsupport.ru/showpost....postcount=1941

However it is now squashing the reply button:
https://vborg.vbsupport.ru/external/2012/08/13.jpg


I am not sure which one I should use to fix this problem? Thanks for the help.

ForceHSS 08-22-2012 02:22 PM

Quote:

Originally Posted by wildheart (Post 2358958)
My thanks moved to the left and I followed one of your post on how to move it to the right.
https://vborg.vbsupport.ru/showpost....postcount=1941

However it is now squashing the reply button:
https://vborg.vbsupport.ru/external/2012/08/13.jpg


I am not sure which one I should use to fix this problem? Thanks for the help.

Put it back the way it was and try again making sure it also works for your vb version

Hippy 08-22-2012 02:42 PM

<a href="https://vborg.vbsupport.ru/showpost.php?p=2306955&postcount=2357" target="_blank">https://vborg.vbsupport.ru/showp...postcount=2357</a>

For postbit legacy new hook

wildheart 08-23-2012 05:08 AM

Yes that is the one I used originally Hippy and it squashed my reply: https://vborg.vbsupport.ru/showpost....postcount=2357

I will do it in reverse and just leave it on the left. Thanks

Hippy 08-23-2012 10:57 AM

Quote:

Originally Posted by wildheart (Post 2359231)
Yes that is the one I used originally Hippy and it squashed my reply: https://vborg.vbsupport.ru/showpost....postcount=2357

I will do it in reverse and just leave it on the left. Thanks

In that template this code
Code:

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

might be in the template twice. move that hook to the other one. I'll peek at the template when I get home tonight

Hippy 08-23-2012 08:36 PM

I was incorrect about that , there is only one spot

here is more of the code and where it's added

Code:

<div class="postfoot">
                        <!-- <div class="postfoot_container"> -->
                        <div class="textcontrols floatcontainer">
                                <span class="postcontrols">
                                  {vb:raw template_hook.postbit_thanks}
                                        <img style="display:none" id="progress_{vb:raw post.postid}" src="{vb:stylevar imgdir_misc}/progress.gif" alt="{vb:rawphrase loading_editor_please_wait}" />
                                        <vb:if condition="$post['editlink']">
                                                <a class="editpost" href="{vb:raw post.editlink}" name="vB::QuickEdit::{vb:raw post.postid}" title="{vb:rawphrase edit_delete_message}"><img src="{vb:raw vboptions.cleargifurl}" id="editimg_{vb:raw post.postid}" alt="{vb:rawphrase edit_delete_message}" /> {vb:rawphrase edit_post}</a>
                                        <vb:if condition="THIS_SCRIPT != 'usernote' && THIS_SCRIPT != 'announcement'"><span class="seperator">&nbsp;</span></vb:if>

hope this helps

Bob_R 08-25-2012 07:54 PM

1 Attachment(s)
Quote:

Originally Posted by Hippy (Post 2356079)
Import the XML file allow over write.. upload all files. Over writing them.

Quote:

Originally Posted by ForceHSS (Post 2356111)
Both, over writing all files

OK, did it. But, check out the screen shot I provided. If you look closely you'll see the "5" at the end of the Thanked line. The "5" belongs to the line underneath (Blog Entries).

Thanks.

Hippy 08-25-2012 08:42 PM

did this happen after you updated to the so called 7.8.4 ?


try this..
your using postbit_legacy right

replace your post_thanks_postbit_info
with
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>{vb:rawphrase post_thanks_time_post}</dd>
    <vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
        <dd>{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
    <vb:else />
        <dd>{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>


Bob_R 08-25-2012 09:07 PM

Quote:

Originally Posted by Hippy (Post 2359981)
did this happen after you updated to the so called 7.8.4 ?


try this..
your using postbit_legacy right

replace your post_thanks_postbit_info
with
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>{vb:rawphrase post_thanks_time_post}</dd>
    <vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
        <dd>{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
    <vb:else />
        <dd>{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>


Thank you!

keteflips 08-26-2012 09:25 PM

I dont understand why "Thanks" its not integrated in VB.

BirdOPrey5 08-26-2012 10:30 PM

Quote:

Originally Posted by keteflips (Post 2360282)
I dont understand why "Thanks" its not integrated in VB.

From the screenshots shown on VB5 there looks to be some sort of system built into it.

wildheart 08-27-2012 01:22 PM

Quote:

Originally Posted by Hippy (Post 2359415)
I was incorrect about that , there is only one spot

here is more of the code and where it's added

Code:

<div class="postfoot">
                        <!-- <div class="postfoot_container"> -->
                        <div class="textcontrols floatcontainer">
                                <span class="postcontrols">
                                  {vb:raw template_hook.postbit_thanks}
                                        <img style="display:none" id="progress_{vb:raw post.postid}" src="{vb:stylevar imgdir_misc}/progress.gif" alt="{vb:rawphrase loading_editor_please_wait}" />
                                        <vb:if condition="$post['editlink']">
                                                <a class="editpost" href="{vb:raw post.editlink}" name="vB::QuickEdit::{vb:raw post.postid}" title="{vb:rawphrase edit_delete_message}"><img src="{vb:raw vboptions.cleargifurl}" id="editimg_{vb:raw post.postid}" alt="{vb:rawphrase edit_delete_message}" /> {vb:rawphrase edit_post}</a>
                                        <vb:if condition="THIS_SCRIPT != 'usernote' && THIS_SCRIPT != 'announcement'"><span class="seperator">&nbsp;</span></vb:if>

hope this helps

Thank you, it worked 100%. :up:

LgsOfChampions 08-29-2012 09:31 PM

I get this error
Quote:

The following dependencies were not met:

This product is not compatible with version 4.2.0 of vBulletin. (Compatible starting with 4.0.0 beta 4 / Incompatible with 4.1.0 alpha 1 and greater)
I keep scrolling thru all the post and the edits and I'm not going to lie I'm lost lol

anyone help me?
greatly appreciated thanks

Hippy 08-29-2012 10:39 PM

1 Attachment(s)
Quote:

Originally Posted by LgsOfChampions (Post 2361049)
I get this error


I keep scrolling thru all the post and the edits and I'm not going to lie I'm lost lol

anyone help me?
greatly appreciated thanks

please read in the first post

Dave234 09-03-2012 05:15 AM

1 Attachment(s)
Quote:

Originally Posted by Hippy (Post 2359981)
did this happen after you updated to the so called 7.8.4 ?


try this..
your using postbit_legacy right

replace your post_thanks_postbit_info
with
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>{vb:rawphrase post_thanks_time_post}</dd>
    <vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
        <dd>{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
    <vb:else />
        <dd>{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>


Hippy,
I used the code you have above, and that moved the blog entry number one space beneath the "Thanked 1 Time in 1 Post" and it is now next to "Groan: 1".

Do you know how I can get it to move to its proper location next to "Blog Entries:"?

Hippy 09-03-2012 05:57 PM

seems your issue is with the groan template...now
I will have to look over the code" if I can find it here still"..
I may have to come by and fix it there .

Hippy 09-03-2012 06:06 PM

post_groans_postbit_info template
change to this
(over write your old code with this code below) (save)
If you have more than one style you will have to do it to all of them
Code:


<vb:if condition="$post['userid']">
    <dt>{vb:rawphrase post_groans_groans}</dt> <dd>{vb:raw post.post_groans_user_amount_formatted}</dd>
    <vb:if condition="$post['post_groans_groaned_times'] == 1">
        <dd>{vb:rawphrase post_groans_time_post}</dd>
    <vb:elseif condition="$post['post_groans_groaned_posts'] == 1" />
        <dd>{vb:rawphrase post_groans_times_post, {vb:raw post.post_groans_groaned_times_formatted}}</dd>
    <vb:else />
        <dd>{vb:rawphrase post_groans_times_posts, {vb:raw post.post_groans_groaned_times_formatted}, {vb:raw post.post_groans_groaned_posts_formatted}}</dd>
    </vb:if>
</vb:if>


Mellnik 09-04-2012 12:11 PM

Dont work for 4.2.0

Hippy 09-04-2012 12:23 PM

Sure it does not peek at the first post again

Bob_R 09-08-2012 01:35 PM

1 Attachment(s)
I wish to put a box around Thanks and Thanked

** screen shot provided

How can I do this!

Thanks (pardon the pun :))

Hippy 09-08-2012 01:41 PM

what template mod are you using ?

Bob_R 09-08-2012 01:56 PM

postbit legacy

using latest 7.8.4 of this hack

Hippy 09-08-2012 02:13 PM

no are you using
https://vborg.vbsupport.ru/showthrea...userinfo_extra
or a different one..
if the above is the one your using then
peek here
https://vborg.vbsupport.ru/showpost....postcount=1943

other wise pm me your postbit legacy template
so I can see whats adding the fieldset around the rest of the info there

Dave234 09-08-2012 02:14 PM

Hippy,
I just want to tell you thank you very much!! It worked!

Bob_R 09-08-2012 02:26 PM

Quote:

Originally Posted by Hippy (Post 2363682)
no are you using
https://vborg.vbsupport.ru/showthrea...userinfo_extra
or a different one..
if the above is the one your using then
peek here
https://vborg.vbsupport.ru/showpost....postcount=1943

other wise pm me your postbit legacy template
so I can see whats adding the fieldset around the rest of the info there

OK, I just PM'ed it to you. :up:

Hippy 09-08-2012 02:54 PM

try this Bob_R
replace your
post_thanks_postbit_info template with the following

Code:

<vb:if condition="$post['userid']">
<div class="bppostbit">
    {vb:rawphrase post_thanks_thanks} <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" />
<div class="bppostbit">
        {vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</div>
    <vb:else />
  <div class="bppostbit">   
{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</div>
    </vb:if>
</vb:if>


Hippy 09-08-2012 02:58 PM

better yet try this
this should cover 0 thanks 1 thanks and so one

Code:

<vb:if condition="$post['userid']">
    <div class="bppostbit"><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">
      <div class="bppostbit">{vb:rawphrase post_thanks_time_post}</div>
    <vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
      <div class="bppostbit">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</div>
    <vb:else />
        <div class="bppostbit">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</div>
    </vb:if>
</vb:if>


Bob_R 09-08-2012 03:10 PM

Thanks Hippy! I appreciate it very, very much!!

Zylantex 09-10-2012 05:59 AM

Is there any way to split up Thanks and Thanked into two separate elements so that I can display them in two boxes in my legacy postbit. There's too much text and the wrapping looks messy. I can do the boxes, I don't know how to get the elements.

Something like this

Thanks: 258

Thanked: 66 in 42 posts

Hippy 09-10-2012 09:29 AM

Replace your post_thanks_postbit_info template with
https://vborg.vbsupport.ru/showpost....postcount=2857

Zylantex 09-10-2012 09:51 AM

That doesn't seem to make much difference? It's giving me something like this.

Code:

Thanks                      4,645
Thanked 7,898 Times in 3,690
                                Posts


Hippy 09-10-2012 10:03 AM

I could be a problem with a different mod. What other mods display under the avatar that's not default to vb


All times are GMT. The time now is 12:56 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.03815 seconds
  • Memory Usage 1,854KB
  • 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
  • (10)bbcode_code_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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