vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Show Thread Enhancements - [AJAX] Post Thank You Hack (https://vborg.vbsupport.ru/showthread.php?t=122944)

inteller2k7 06-12-2007 12:24 AM

i installed it but under every forum it shows what user said thanks so it shows it to every single member as u can c here
http://www.aioforums.com/forum/showthread.php?t=108
it also shows like this
Join Date: Jun 2007
Posts: 53
Thanks: 0
Thanked 2 Times in 2 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 2
Thanked 0 Times in 0 Posts

i need help asap

NolF 06-12-2007 12:29 AM

Quote:

Originally Posted by inteller2k7 (Post 1266634)
i installed it but under every forum it shows what user said thanks so it shows it to every single member as u can c here
http://www.aioforums.com/forum/showthread.php?t=108
it also shows like this
Join Date: Jun 2007
Posts: 53
Thanks: 0
Thanked 2 Times in 2 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 2
Thanked 0 Times in 0 Posts

i need help asap

Try this

inteller2k7 06-12-2007 01:01 AM

thanks man your real Help but i uploaded the Hide hack and it not working witch is pissing me of

dbirosel 06-12-2007 06:01 AM

Suggestion: When you receive a thanks, you get an automated private message.

topshams 06-12-2007 12:14 PM

I am sorry if this has already been asked. Is it possibe to completely disable this for guests so they won't even see the members who have thanked.

I am just thinking from an SEO point of view this would be a beneficial feature.

NolF 06-12-2007 01:53 PM

I think a simple conditional on post_thanks_postbit_info template at the very begining stating
<if condition="$bbuserinfo[usergroupid] != 1"> and </if> at the very end should do the trick. basically it means if the usergrouipd is NOT 1 (unregistered not logged in) show the content of the template else don't show anything ^^ (ps tested and fixed works to me unresgistered/not logged in people can't see it)

Quote:

Originally Posted by dbirosel
Suggestion: When you receive a thanks, you get an automated private message.

No offence, I think it would be a nice option, but not essential. You see In a medium/large forum where even if a restricted number of people are eligible to used the feature many people (in my forums) got well over 200 thanks in less than a month, imagine the amount of PMs that would involve.
Maybe a feature that alerts you next to the PM number the amount of thanks obtained since last connected but receiving an actual PM I think would be a bit problematic in some cases [I have considered a disable button but then...]

Quote:

Originally Posted by inteller2k7
thanks man your real Help but i uploaded the Hide hack and it not working witch is pissing me of

I'm going to assume so far you made the post thank you hack work...
I haven't used or tested hide hack, but I've noticed it hasn't been updated since December, while this hack has suffered important changes in the latest updates so the problem might be with the version incompatibility since maybe now post thank you hack does things differently than what hide hack was originally designed to use.
I know this is probably useless mumble jumble, so let's wait till someone who know these two systems better clarifies the issue. Just in advance I would suggest you to indicate with more detail how they are not working with each other as it would help the expert(s).

Ramsesx 06-12-2007 03:14 PM

Quote:

Originally Posted by Lionel (Post 1265641)
can you tell us how?

Sure I can, in GARS_pb you need to add below
Code:

<div align="$stylevar[right]" style="float:bottom-right;">
            <!-- controls -->

$template_hook[postbit_controls]
Code:

<!-- / controls -->
        </div>
        </td>
</tr>
</table>

below add:
$template_hook[postbit_end]
Code:

<if condition="$show['garsspacer']">
</div>
$spacer_close
</if>

below that add:
$template_hook[postbit_user_popup]

I'm not sure if all three hooks are necessary, but it's working, the thanks button is on the left side, not right as in normal posts, maybe you can try around a bit to fit your needs.
For the comments I use the vb default postbit_legacy but it should be possible to get this done also in the gars comment template same way as described above.
Only one thing, sometimes there's an error: Warning: Invalid argument supplied for foreach() in /includes/functions_post_thanks.php on line 183 and the thanks are not shown below the posts, seems to be only occur if a thread has more pages.

inteller2k7 06-12-2007 04:50 PM

Quote:

Originally Posted by NolF (Post 1266947)
I think a simple conditional on post_thanks_postbit_info template at the very begining stating
<if condition="$bbuserinfo[usergroupid] != 1"> and </if> at the very end should do the trick. basically it means if the usergrouipd is NOT 1 (unregistered not logged in) show the content of the template else don't show anything ^^ (ps tested and fixed works to me unresgistered/not logged in people can't see it)


No offence, I think it would be a nice option, but not essential. You see In a medium/large forum where even if a restricted number of people are eligible to used the feature many people (in my forums) got well over 200 thanks in less than a month, imagine the amount of PMs that would involve.
Maybe a feature that alerts you next to the PM number the amount of thanks obtained since last connected but receiving an actual PM I think would be a bit problematic in some cases [I have considered a disable button but then...]


I'm going to assume so far you made the post thank you hack work...
I haven't used or tested hide hack, but I've noticed it hasn't been updated since December, while this hack has suffered important changes in the latest updates so the problem might be with the version incompatibility since maybe now post thank you hack does things differently than what hide hack was originally designed to use.
I know this is probably useless mumble jumble, so let's wait till someone who know these two systems better clarifies the issue. Just in advance I would suggest you to indicate with more detail how they are not working with each other as it would help the expert(s).

yes i got the thanks hack to work perfectly thanks so you saying the hide hack is not good at all i goot a question where could i get the rep botton or something am sorry for all this help it is that am new to this and dont really now much :)

topshams 06-12-2007 06:56 PM

[QUOTE=NolF;1266947]I think a simple conditional on post_thanks_postbit_info template at the very begining stating
<if condition="$bbuserinfo[usergroupid] != 1"> and </if> at the very end should do the trick. basically it means if the usergrouipd is NOT 1 (unregistered not logged in) show the content of the template else don't show anything ^^ (ps tested and fixed works to me unresgistered/not logged in people can't see it)
QUOTE]

Thanks very much for your help, I really appreciate it:) I'll make those changes now.

YukonMaster 06-12-2007 08:55 PM

There are alot of posts so I did not have a chance to read them all so I am soory if this has been asked before.

This is the link to what I am seeing, (Double and triple thank yous)
Code:

http://i151.photobucket.com/albums/s123/YukonMaster/untitled-2.jpg
How can I fix this?


All times are GMT. The time now is 06: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.02991 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
  • (4)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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