vb.org Archive

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

Zagis 03-02-2008 06:30 PM

Hi,

How can I hide post thanks from guests? I prefer to be visible to all the other usergroups except guests-spiders

Abe1 03-02-2008 06:31 PM

Quote:

Originally Posted by rrr (Post 1450829)
I found the problem.

In the "Insructions - vb-3-6-6 - vb-3-6-7.txt" file, the template edit instructions are wrong.

I compared them to the edit instructions for vb-3-6-8 and it looks like this part:

Code:

find:
--------------------------------------------------------------------
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
--------------------------------------------------------------------

place BEFORE:
--------------------------------------------------------------------
$template_hook[postbit_userinfo_right]
--------------------------------------------------------------------


Should be this:
Code:

find:
--------------------------------------------------------------------
<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
--------------------------------------------------------------------

place BEFORE:
--------------------------------------------------------------------
$template_hook[postbit_userinfo_right_after_posts]
--------------------------------------------------------------------

The template hook name seems to have been renamed.

I changed the template hook name to match the 3.6.8 instructions and it worked fine.

Hope this helps :)

Actually, fixed in next version. This was not the mistake.

Abe1 03-02-2008 07:14 PM

Quote:

Originally Posted by Taragon (Post 1453836)
Would it be possible, by a template edit perhaps, to turn the 'Post Thanks' tab off in MEMBERINFO?
Currently it is looking for $template_hook[profile_left_last], but I can't figure it out

There will no longer be a tab by next version. It will be in the statistics tab. You will be able to blank out the 'post_thanks_memberinfo_block' template to remove the stats.

Abe1 03-02-2008 07:15 PM

Quote:

Originally Posted by GameWizard (Post 1454385)
Found a small bug:

When the original thread starter presses "Remove All" the 'thanks' button appears in the postbit_legacy, even though the option is set to not allow the ability to thank oneself. Pressing this button does nothing, it just dissapears. It seems the check for this option is ignored when removing all the thanks, just thought I'd let you know.

I figured I did not have to fix this but since it only applies to admins. I did know about it.

Abe1 03-02-2008 07:16 PM

Quote:

Originally Posted by YLP1 (Post 1454767)
Yep .... Should I pm you the access info or email it or??

PM me please.

Abe1 03-02-2008 07:17 PM

Quote:

Originally Posted by Kadi (Post 1455097)
Hi,

Thank you so much for the update.

Will the option of deleting thanks from deleted posts delete them from posts deleted before we updated the hack?

Not sure your question.

Abe1 03-02-2008 07:18 PM

Quote:

Originally Posted by glowinggal (Post 1455172)
noted by abe1 to other "have to see APC"

What do i need to do? Would love to use this... I installed it on 3.6.8 and it appears almost as nothing has changed at all on our forum.

Please PM me.

Abe1 03-02-2008 07:26 PM

Quote:

Originally Posted by Zagis (Post 1455341)
Hi,

How can I hide post thanks from guests? I prefer to be visible to all the other usergroups except guests-spiders

Make your own plug-in. Use 'post_thanks_function_fetch_thanks_start' and put in it:

PHP Code:

if ($vbulletin->userinfo['usergroupid'] == 0)
{
return 
'';



davehouston 03-02-2008 09:25 PM

Hi all,

I have followed the install instructions to the tee. But the thanks button willn't appear on any posts. Am i missing something? vB version 3.6.8 patch level 2.

Many Thanks

Dave

Abe1 03-02-2008 11:18 PM

Quote:

Originally Posted by davehouston (Post 1455473)
Hi all,

I have followed the install instructions to the tee. But the thanks button willn't appear on any posts. Am i missing something? vB version 3.6.8 patch level 2.

Many Thanks

Dave

I would have to look at your ACP. Do you have custom templates?


All times are GMT. The time now is 07:41 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.01883 seconds
  • Memory Usage 1,750KB
  • 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
  • (1)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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