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)

solson 01-29-2012 05:46 PM

Quote:

Originally Posted by Hippy (Post 2293809)
edit your post_thanks_postbit template

Thanks for the response! Could you tell me exactly what I should remove, if you wouldn't mind? I took a look at the code and it wasn't too clear to me what to take out. I don't want to ruin the mod by guessing and deleting code.

I don't want to function to disappear, but only to have the display portion of the "Thanks: x" be removed from the user profile field.

Thanks again.

Hippy 01-29-2012 07:04 PM

edit post_thanks_postbit_info template to do what you want and it should all be in the correct place
this needs to be removed since vb does not use this any longer
Code:

style="white-space:nowrap; display:inline; float:
so use this code and take out what you don't want to show as you did the other one..
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>


solson 01-29-2012 07:55 PM

Quote:

Originally Posted by Hippy (Post 2293937)
edit post_thanks_postbit_info template to do what you want and it should all be in the correct place
this needs to be removed since vb does not use this any longer
Code:

style="white-space:nowrap; display:inline; float:
so use this code and take out what you don't want to show as you did the other one..
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>


This fixed both of my original problems. Thanks much for taking the time....all is right in the world again. :cool:

diabolicds 02-01-2012 01:27 PM

Is hack goint to be updated for latest version of vbulletin ?

Maybe someone can help getting lots of Database errors from this mod so I disabled for the moment , if there is any fix for this it would be great thanks in advance here is error:

Quote:

Database error in vBulletin 4.1.10:

Invalid SQL:

REPLACE INTO vb_search (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash)
VALUES (0, 'ipxxx', 1, 'member', '', 'post.dateline', 'DESC', 0.03194, 1, '1181,1047,1006,991,603,24', 1328083433, 'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{} s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:3;s:5:\" member\";}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\";}}', '5d361a20a5b456577f4e80681ee2afb0da');

MySQL Error : Table 'mybase_bulletin.vb_search' doesn't exist
Error Number : 1146
Request Date : Wednesday, February 1st 2012 @ 09:03:53 AM
Error Date : Wednesday, February 1st 2012 @ 09:03:53 AM
Script : http://www.myweb.com/board/post_than...findthanks&u=3
Referrer :
IP Address : XXX
Username : Unregistered
Classname : vB_Database
MySQL Version :

ForceHSS 02-01-2012 02:45 PM

Quote:

Originally Posted by diabolicds (Post 2294956)
Is hack goint to be updated for latest version of vbulletin ?

Maybe someone can help getting lots of Database errors from this mod so I disabled for the moment , if there is any fix for this it would be great thanks in advance here is error:

there is a fix look over other posts and you will find it

michal72 02-01-2012 04:44 PM

Quote:

Originally Posted by Danai (Post 2293905)
Oh, sorry, was also going to ask if it was possible to move the "The following users thanked for this post" below the post to inside the post

See BirdOPrey5 soultion https://vborg.vbsupport.ru/showthread.php?t=266358 and posts #35, #36 and #49

Regards

Hippy 02-01-2012 10:24 PM

* hint ForceHSS sig

ForceHSS 02-02-2012 12:16 AM

Quote:

Originally Posted by Hippy (Post 2295173)
* hint ForceHSS sig

lol was not going to tell him

Hippy 02-02-2012 12:21 AM

Quote:

Originally Posted by ForceHSS (Post 2295198)
lol was not going to tell him

I had to .. was so obvious .. I read my @ss off
but it seems noone wants to even read a page or 2 before downloading a mod..

I always read the last few pages to see the issues for installing it ..

anyway.. all is good

Videx 02-02-2012 12:25 AM

Quote:

Originally Posted by ForceHSS (Post 2295198)
lol was not going to tell him

Ya really. I think everyone is doing all the noobs a disservice by simply giving them the answers. The standard response should be more along the lines of "Always read the entire thread before you install a modification. When you're finished, if you still have a question, first assure us you have done all the things recommended.". This teaches them a valuable lesson, and let's face it - nobody can actually disagree with the advice, as it's the stated policy of vb.org.

ForceHSS 02-02-2012 01:10 AM

it might be the policy of vb but some members are to lazy to even look when the answer is in front of them

fungku 02-02-2012 08:22 AM

Quote:

Originally Posted by Videx (Post 2295203)
Ya really. I think everyone is doing all the noobs a disservice by simply giving them the answers. The standard response should be more along the lines of "Always read the entire thread before you install a modification. When you're finished, if you still have a question, first assure us you have done all the things recommended.". This teaches them a valuable lesson, and let's face it - nobody can actually disagree with the advice, as it's the stated policy of vb.org.

Read 145 pages?

I have a couple of hours after work before I have to go to sleep.

Between showering and dinner, that doesn't leave a lot of time to read hundreds of pages.

Why not have the solutions to problems inserted or at least linked to in the Mod description?

(thanks for 7.83 by the way, I was about to give up on the mod for now)

ForceHSS 02-02-2012 01:34 PM

1 Attachment(s)
Version 7.83 (29/08/11 by Forcehss)
Cosmetic changes necessary in postbit for integration purposes.
Changed to allow integration with Post Groans Hack.
reposting this again

diabolicds 02-02-2012 04:01 PM

Quote:

Originally Posted by ForceHSS (Post 2294978)
there is a fix look over other posts and you will find it

Doesnt look like working well not in my case, updated reuploaded files imported xml enabled mod again and got error again here it is:

Quote:

Database error in vBulletin 4.1.10:

Invalid SQL:

REPLACE INTO vb_search (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash)
VALUES (0, 'xxx', 1, 'xxx', '', 'post.dateline', 'DESC', 0.02273, 1, '607', 1328197330, 'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{} s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:460;s:3: \"MAN\";}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\";}}', 'ba0b986d3f9ec66cb566db179eb75092');

MySQL Error : Table 'mydb_bulletin.vb_search' doesn't exist
Error Number : 1146
Request Date : Thursday, February 2nd 2012 @ 04:42:10 PM
Error Date : Thursday, February 2nd 2012 @ 04:42:11 PM
Script : http://www.myweb.com/board/post_than...ndthanks&u=460
Referrer :
IP Address : xxx
Username : Unregistered
Classname : vB_Database
MySQL Version :
Might be conflict with something on my board if for others your version working not sure about it. Thx anyway

ForceHSS 02-02-2012 05:02 PM

search no long is in vb4 this is vb3 there is a fix for this some where try looking a few pages back until you find it really not sure what page it is on so you need to check them all

diabolicds 02-03-2012 09:11 AM

Quote:

Originally Posted by ForceHSS (Post 2295440)
search no long is in vb4 this is vb3 there is a fix for this some where try looking a few pages back until you find it really not sure what page it is on so you need to check them all

What do you mean search is no longer in vb4? I never had vb3 always used vb4 ad never had those errors before , so I am really not sure what you are talking about,anyway thanks on your reply I ll disable plugin Thanks and no more errors much easy than searching like 2500 posts on this topic lol .

Cheers and enjoy your weekend all!

sharif_aly 02-03-2012 08:16 PM

Is it work with 4.1.10 ?

Hippy 02-03-2012 08:31 PM

Quote:

Originally Posted by diabolicds (Post 2295626)
What do you mean search is no longer in vb4? I never had vb3 always used vb4 ad never had those errors before , so I am really not sure what you are talking about,anyway thanks on your reply I ll disable plugin Thanks and no more errors much easy than searching like 2500 posts on this topic lol .

Cheers and enjoy your weekend all!

you all square now bud ?:up:

meissenation 02-04-2012 07:12 PM

Really don't understand why vb3.8 code is in vb4 version, I've gotten over 100 db errors today alone from this damn script.

ForceHSS 02-04-2012 08:14 PM

not the script its your forums

fungku 02-05-2012 12:50 AM

Is there any way to view a users thanked posts?

Hippy 02-05-2012 02:18 AM

your profile and abpout me youll see it down a little

fungku 02-05-2012 03:29 AM

1 Attachment(s)
Quote:

Originally Posted by Hippy (Post 2296299)
your profile and abpout me youll see it down a little

I see that stats but they are not linked to anywhere.

itsmeblade 02-05-2012 08:25 AM

1 Attachment(s)
Hi, i have a problem. how can i remove the splitted usernames in the box ?

Hippy 02-05-2012 11:57 AM

Quote:

Originally Posted by itsmeblade (Post 2296352)
Hi, i have a problem. how can i remove the splitted usernames in the box ?

what version are you using ?

itsmeblade 02-05-2012 01:35 PM

i'm using vb 4.1.9

Hippy 02-05-2012 03:57 PM

sorry .. version of the post thanks ..
the one from the author or forceHSS

itsmeblade 02-05-2012 06:13 PM

the one from the autor, 7.82

Hippy 02-05-2012 06:29 PM

use forceHSS 's in his sig ..
or email me I pmes you before

fungku 02-05-2012 07:59 PM

I don't understand why 7.83 can't have a download link in the main description?

And how can I get links to thanked posts to show up in profiles?

Hippy 02-06-2012 01:48 AM

why because it was put together by forceHSS not Abe1
he has not been around and there is a couple of us that are trying to keep it alive..

https://vborg.vbsupport.ru/showpost....postcount=1943

ForceHSS 02-06-2012 01:55 AM

Quote:

Originally Posted by diabolicds (Post 2295626)
What do you mean search is no longer in vb4? I never had vb3 always used vb4 ad never had those errors before , so I am really not sure what you are talking about,anyway thanks on your reply I ll disable plugin Thanks and no more errors much easy than searching like 2500 posts on this topic lol .

Cheers and enjoy your weekend all!

https://vborg.vbsupport.ru/showpost....postcount=1534
here is your fix

wickedstangs 02-07-2012 01:43 AM

Quote:

Originally Posted by ForceHSS (Post 2296644)

thanks:)

Luffy-9 02-07-2012 07:12 AM

didn't work with VB 4.1.10 :s

ForceHSS 02-07-2012 07:28 AM

Quote:

Originally Posted by Luffy-9 (Post 2297092)
didn't work with VB 4.1.10 :s

then you have not installed the one in my sig as it does

TinCow1 02-07-2012 03:01 PM

I can confirm that ForceHSS's search version works properly with 4.1.10. However, in the version in his link the entire search function is commented out, which I suspect is why others have reported that it doesn't work. Just remove the commenting from post_thanks_memberinfo_block and it shows up perfectly fine.

TinCow1 02-07-2012 04:40 PM

Quote:

Originally Posted by haidm (Post 2278819)
I check the post_thanks_box_bit, and it has "&nbsp;" in there, but don't know still have this error.

That &nbsp; is the space between the name and the date, which is not what you want. The code as written has no space after the comma. You have to add it in manually at the very end of the line. This is what the full code should look like to display the space after the comma:

Code:

<a href="member.php?{vb:raw session.sessionurl}u={vb:raw thank.userid}" rel="nofollow">{vb:raw thank.username}</a><vb:if condition="$date_thank">&nbsp;({vb:raw date_thank})</vb:if>{vb:raw virg}&nbsp;

Hippy 02-07-2012 08:24 PM

that makes a large space ..
I don't have this issue with spacing
in my sig is all the fixes for this mod and it works perfect as it should spacing and all
if the spacing is still off it's a template issue or a custom style conflicting

j1gsaw 02-08-2012 07:18 AM

is there any top thank in a month statistic?

Ricsca 02-08-2012 12:29 PM

in vb 4.1.10 dont install....


All times are GMT. The time now is 01:03 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.04370 seconds
  • Memory Usage 1,840KB
  • 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
  • (5)bbcode_code_printable
  • (19)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