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)

djbaxter 04-09-2010 10:54 PM

Quote:

Originally Posted by grc (Post 2018608)
Perhaps you somehow have a different view that I do, are you telling me you see a post that is labeled #1?

What I see is that the first post is labeled #2. When I said it is the first post in the thread, I mean that it's the first post. I didn't say the post labeled #1 - just that it's the first post.

I take it you actually see a post prior to #2?

Sorry to everyone for the off topic posts...but it has me curious now.

Yes, of course I see a post prior to #2: the original post or thread starter as I said above. And you see it to. Now please stop being obtuse and derailing the thread any further. I corrected you because I went to the first post looking for that "point 2" mentioned in your post and of course it wasn't there - because "point 2" is in POST #2, i.e., THE SECOND POST.

grc 04-10-2010 12:51 AM

Quote:

Originally Posted by djbaxter (Post 2018615)
Yes, of course I see a post prior to #2: the original post or thread starter as I said above. And you see it to. Now please stop being obtuse and derailing the thread any further. I corrected you because I went to the first post looking for that "point 2" mentioned in your post and of course it wasn't there - because "point 2" is in POST #2, i.e., THE SECOND POST.

Sorry to be "obtuse." I wanted to give you every opportunity to explain your need to correct me when it's obvious that my instructions were perfectly good. Apparently, for some reason, you can't admit that post #2 is the first post in the thread. Perhaps if you don't feel obligated to do another post insulting me the thread won't be derailed any farther. However, if you just have to, go ahead and insult me again. Maybe it will feed your ego or whatever is going on here.

War.Frog 04-10-2010 01:19 AM

Ironically, we need both a THANKS and a GROAN button activated in this thread. Too bad the developer has run for the hills.

grc 04-10-2010 02:37 PM

Quote:

Originally Posted by War.Frog (Post 2018666)
Ironically, we need both a THANKS and a GROAN button activated in this thread. Too bad the developer has run for the hills.

My apologies for my part in it.

By the way, for those looking for search capabilities - the vB4 version of this mod doesn't have search capabilities.

There is a sort of workaround - I posted about it here.

steve1966 04-11-2010 09:23 AM

Quote:

4) If you want to move the Thanx button to near the edit post button,
open template postbit
find

HTML Code:
{vb:raw template_hook.postbit_controls}and move it under

HTML Code:
<span class="postcontrols">
this causes an overlap when using vb4.03

nikki712 04-11-2010 02:15 PM

On the bottom line, where it tells how many times Ii've been thanked, there's a problem. Instead of this line being aligned to the left, it's aligned to the right. How do I fix this? Anyone else have this problem?

Mastergumble 04-11-2010 02:41 PM

Lets see if Abe appear with solutions, i have disabled it atm waiting for valid fixes, just hope to see Abe working on it, if not i hope he give permission to other coder keep this awesome module alive.

Sunka 04-11-2010 02:44 PM

Quote:

Originally Posted by mad@Max (Post 2018053)
Like that
HTML Code:

<li class="postbit<vb:if condition="$vboptions['legacypostbit']">legacy</vb:if>" id="post_thanks_box_{vb:raw post.postid}"<vb:if condition="!$post_thanks_box == 1"> style="display:none"</vb:if>>
    {vb:raw post_thanks_box}
</li>



If I do that, I can not save template because this error (old <if condition>)

Quote:

adding child to non-existent node!
What to do!

Fungsten 04-11-2010 09:48 PM

I installed it and it's not showing up at all. Anyone else had this?

wayne.richards@ 04-12-2010 04:38 PM

Really cant see how so many people have has so many problems with this hack! Running it in 4.0.3 with no problems at all! my members love it!

Was wondering if there was a way to make the hack add to the forum posts total as well as the users post total?

Fungsten 04-12-2010 07:28 PM

Quote:

Originally Posted by wayne.richards@ (Post 2020007)

Was wondering if there was a way to make the hack add to the forum posts total as well as the users post total?

Ditto. (But I still can't get it to work.)

On Edit:

Oooops! Just got it to work!!

wayne.richards@ 04-12-2010 07:41 PM

I Edited The Reply A Bit To Suit The Forum Type, I Found That When Members Get "Thanks" They Feel Appriciated And Post More! Best Hack For VB Ever!

https://vborg.vbsupport.ru/external/2010/04/44.jpg

Vaira 04-13-2010 08:34 AM

:up:
Quote:

Originally Posted by Sunka (Post 2019476)
If I do that, I can not save template because this error (old <if condition>)



What to do!


Delete the entire contents of template post_thanks_box and copy in entire code of code box...

@all: This hack is great and working at 4.0.3. If you read this thread closely you'll be able to fit it for your needs.:)

Bravo 04-13-2010 02:01 PM

When people use the search for thanks post, They get a db error stating that MySQL Error : Table 'xxxxx.search' doesn't exist.

Database error in vBulletin 4.0.2:

Invalid SQL:

REPLACE INTO search (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash)

MySQL Error : Table 'xxxxx.search' doesn't exist
Error Number : 1146

Script: /post_thanks.php?do=findthanks&u=1234

Happens like 20 times a day or so

Any Ideas?

Thanks

djbaxter 04-13-2010 02:14 PM

Quote:

Originally Posted by Bravo2007 (Post 2020547)
When people use the search for thanks post, They get a db error stating that MySQL Error : Table 'xxxxx.search' doesn't exist.


Database error in vBulletin 4.0.2:

Invalid SQL:

REPLACE INTO search (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash)

MySQL Error : Table 'xxxxx.search' doesn't exist
Error Number : 1146

Script: /post_thanks.php?do=findthanks&u=1234

Happens like 20 times a day or so

Any Ideas?

Thanks

Reported many times. There is NO search capability in this version yet. That code is left over from a previous version.

Bravo 04-13-2010 05:11 PM

Quote:

Originally Posted by djbaxter (Post 2020554)
Reported many times. There is NO search capability in this version yet. That code is left over from a previous version.

Ahh, Ok.

grc 04-13-2010 05:54 PM

Quote:

Originally Posted by Bravo2007 (Post 2020646)
Ahh, Ok.

There is a sort of workaround using the reputation system. I posted about it here.

Sunka 04-13-2010 11:17 PM

Quote:

Originally Posted by Vaira (Post 2020419)
:up:
Delete the entire contents of template post_thanks_box and copy in entire code of code box...


Thank you, it is working now! :D

Another question... how to make thanks box smaller (it is too high when you have 1-5 thanks in there (usernames)

MarekJan 04-14-2010 04:53 AM

Datenbankfehler in vBulletin 4.0.3:

Invalid SQL:

REPLACE INTO search (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash)
VALUES (0, '216.129.119.42', 1, 'Ivonne', '', 'post.dateline', 'DESC', 0.05864, 1, '70300,70124,70114,70080,70071,70067,70066,70061,6 6249,51134', 1271223879, 'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{} s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:1972;s:6 :\"Ivonne\";}s:6:\"forums\";i:0;s:7:\"options\";a: 3:{s:11:\"starteronly\";i:0;s:11:\"childforums\";i :1;s:6:\"action\";s:7:\"process\";}}', 'b9a494bd475d19b2263813af5581cbb2');

MySQL-Fehler : Table 'xxxxxxxxx.search' doesn't exist
Fehler-Nr. : 1146
Fehler-Zeit : Wednesday, 14.04.2010 @ 07:44:39
Datum : Wednesday, 14.04.2010 @ 07:44:40
Skript : http://www.xxxxxxxxxxxxxxx.de/board/...er_gave&u=1972
Referrer :
IP-Adresse : 216.129.119.42
Benutzername : Unregistriert
Klassenname : vB_Database
MySQL-Version :

sorry I do not speak English, therefore I could read the topic nich. me can someone will exactly explain like I this error? thank you very much

Transelted babelfish yahoo :)
Marek

pmk_1992 04-14-2010 11:49 AM

Code:

Database error in vBulletin 4.0.3:

Invalid SQL:

                      REPLACE INTO search (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash)
                      VALUES (1, '123.18.242.208', 1, 'fox.luv', '', 'post.dateline', 'DESC', 0.02314, 1, '11589,10950,8048', 1271248697, 'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{}s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:193;s:7:\"fox.luv\";}s:6:\"forums\";i:0;s:7:\"options\";a:3:{s:11:\"starteronly\";i:0;s:11:\"childforums\";i:1;s:6:\"action\";s:7:\"process\";}}', '9e55a48faff1882a5973d0fc89e33c1c');

MySQL Error  : Table 'XXXXX.search' doesn't exist
Error Number  : 1146
Request Date  : Wednesday, April 14th 2010 @ 07:38:17 AM
Error Date    : Wednesday, April 14th 2010 @ 07:38:17 AM
Script        : post_thanks.php?do=findthanks&u=193
Referrer      :
IP Address    : 123.18.242.208
Username      : pmk_1992
Classname    : vB_Database
MySQL Version : 5.0.90-community-log


dtommy79 04-14-2010 02:32 PM

Hi,

I'm trying to edit my post bit infos and put them in a table. Check this image:

https://vborg.vbsupport.ru/external/2010/04/47.png

I managed to do it with all of them except the "Thanked 230 Times in 146 Posts" part.

I'm trying to edit the "post_thanks_postbit_info" template but i can't figure out how to do it. For the "Thanks" part I used a class called "postbitinfo_table" like this:

Code:

<vb:if condition="$post['userid']">
        <div class="postbitinfo_table"><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">
                <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>

can anyone suggest how I could finish it?

Thanks

Bravo 04-14-2010 04:14 PM

Quote:

Originally Posted by grc (Post 2020676)
There is a sort of workaround using the reputation system. I posted about it here.

I already had done this, but I keep getting emails from people getting the same databases, it's starting to get annoying receiving so many...

encryption 04-15-2010 10:53 AM

1 Attachment(s)
I have a similar problem to the post before last, my Thank you text is dislodged. Any idea how I can fix this?

(See attachment)

Diablotic 04-15-2010 01:16 PM

Quote:

Any idea how I can fix this?
Yes, read this thread.

wayne.richards@ 04-15-2010 03:34 PM

Quote:

Originally Posted by encryption (Post 2021610)
I have a similar problem to the post before last, my Thank you text is dislodged. Any idea how I can fix this?

(See attachment)

See Here................

https://vborg.vbsupport.ru/showpost....&postcount=449

encryption 04-15-2010 04:29 PM

Quote:

Originally Posted by Diablotic (Post 2021669)
Yes, read this thread.

aren't you the sharp one in the shed, if my add would let me read through 55 pages or even 825 posts, I wouldn't have posted here would I ;)

twista46 04-17-2010 10:17 PM

Works not in 4.0.3

Hide Content is not show when i click the thanks button,

Post Reply its works :confused:

Diablotic 04-18-2010 08:09 AM

Quote:

Originally Posted by encryption (Post 2021776)
aren't you the sharp one in the shed, if my add would let me read through 55 pages or even 825 posts, I wouldn't have posted here would I ;)

OK, you have to:

in post_thanks_postbit_info template, look for {vb:stylevar right} and replace with {vb:stylevar left}

twista46 04-18-2010 06:07 PM

Quote:

Works not in 4.0.3

Hide Content is not show when i click the thanks button,

Post Reply its works
Any can help me?

grc 04-20-2010 04:54 PM

So folks, is "Not Supported" as this mod is now designated
  1. an automatic thing that happens when the coder is no longer posting updates or is it
  2. a designator that is added if the author checks some box off saying he or she isn't going to support it any more?

tiga2 04-20-2010 08:22 PM

Everything works fine but im trying to figure out since 6 hours already how to change

ex. "Thanked 2 Times in 2 Posts" to simply "Thanked 2"

cause the 2Posts are useless information for me.. hope some has a solution...

War.Frog 04-20-2010 10:56 PM

Quote:

Originally Posted by grc (Post 2024417)
So folks, is "Not Supported" as this mod is now designated
  1. an automatic thing that happens when the coder is no longer posting updates or is it
  2. a designator that is added if the author checks some box off saying he or she isn't going to support it any more?

Abe1 came back yesterday around 10:30 p.m. EST to update the status of this mod to "unsupported". He may have moved on to other interests.

I'm hoping he considers releasing this mod to the community to update.

EDIT: I just PM'd him asking him to consider opening his mod(s) to the vB.org community, waiving his copyright, or allowing for additional coders to have update authorization. I really hope he considers these moves.

hoadiem 04-21-2010 12:38 AM

Quote:

Originally Posted by RobbieZ (Post 1942322)
AdminCp>Styles & Templates>Style Manager>Postbit

Now find this in postbit

HTML Code:

{vb:raw template_hook.postbit_controls}
Highlight it, copy it and delete it.

Now find this bit in postbit

HTML Code:

<span class="postcontrols">
and press enter after it and paste the first one.

PHP Code:

<div class="postfoot">
        <
div class="textcontrols">
            <
span class="postcontrols">
{
vb:raw template_hook.postbit_controls}
                <
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 


didn't work for me please help , vb4.0.3

grc 04-21-2010 12:39 AM

Quote:

Originally Posted by tiga2 (Post 2024521)
Everything works fine but im trying to figure out since 6 hours already how to change

ex. "Thanked 2 Times in 2 Posts" to simply "Thanked 2"

cause the 2Posts are useless information for me.. hope some has a solution...

Go to AdminCP>Languages and Phrases>Search in Phrases

Search for: Times in

You should find two instances of it, both related to this mod.

You'll want to edit both of them.

racharx 04-21-2010 05:55 AM

This works perfectly for my 4.0.3 site.

How would I go about making the actual box that says "The Following Users Say thank you..." a bit smaller? it's quite large right now height-wise.

Does anyone know where to find the code to adjust the height?

b6gm6n 04-23-2010 10:36 AM

failed on 3.8... works, but you press the thanks button and a large window opens up with all the css of my forum in, you can just close it and thats it... and carry on thanking...or pressing the button, i should of checked this out more, waste of my f*cking time again.

grc 04-23-2010 12:47 PM

Quote:

Originally Posted by b6gm6n (Post 2025864)
failed on 3.8... works, but you press the thanks button and a large window opens up with all the css of my forum in, you can just close it and thats it... and carry on thanking...or pressing the button, i should of checked this out more, waste of my f*cking time again.

You really should have checked it out more since this mod isn't for 3.8.

djbaxter 04-23-2010 01:09 PM

Quote:

Originally Posted by b6gm6n (Post 2025864)
failed on 3.8... works, but you press the thanks button and a large window opens up with all the css of my forum in, you can just close it and thats it... and carry on thanking...or pressing the button, i should of checked this out more, waste of my f*cking time again.

Quote:

Originally Posted by grc (Post 2025933)
You really should have checked it out more since this mod isn't for 3.8.

Yes, it's amazing what taking a few minutes to actually read the instructions and the thread can do, isn't it? :)

b6gm6n 04-23-2010 01:26 PM

Don't have a go at me for this failed mod... the link in the ACP for this mod go's to this thread and this isn't the 3.8 forum is it?

djbaxter 04-23-2010 01:35 PM

Quote:

Originally Posted by b6gm6n (Post 2025958)
Don't have a go at me for this failed mod... the link in the ACP for this mod go's to this thread and this isn't the 3.8 forum is it?

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


All times are GMT. The time now is 09:15 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.03910 seconds
  • Memory Usage 1,866KB
  • 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_html_printable
  • (1)bbcode_php_printable
  • (25)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