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)

Abe1 01-25-2008 01:36 AM

Quote:

Originally Posted by Skavenger (Post 1423647)
hi, I have a little problem with a feature

I use this hack in a category with a few forums only, so any time I create a new forum, I have to add it in the "induvidual forums to turn post thank you hack off" setting. I was wondering if there is any possibility to make something more usefull, like a radio button to choose "include this forums" or "exclude this forums" and put the IDs there, for example. I hope you understand what I mean, my english is not good...

thanks!

Possibly in the future, but not right now.

Abe1 01-25-2008 01:38 AM

Quote:

Originally Posted by kimtown (Post 1423911)
Hi there...everyone loves this thanks button!! I have a question on how to change what it says when you click it.

Right now it says: The Following User Says Thank You to XXXX For This Useful Post:

How do I change that to just say THANKS or THANK YOU?

Thanks in advance ;)

Edit the phrases.

Abe1 01-25-2008 01:39 AM

Quote:

Originally Posted by Reminisce32 (Post 1424285)
Hi. I installed and for some weird reason in the part of the thread under where the users avatar is where it says:
Thanks: 0
Thanked 0 Times in 0 Posts

^^ that duplicates every post.

so for post #2 in the thread, in that users profile it will show:

Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts

then for post #3 in the thread in THAT users profile will show:
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts


...whats the problem?

This was only a vb3.6.7 error and has a fix in the current version. What version are you running now.

DieselMinded 01-25-2008 01:46 AM

Hey Abe i upgraded to this new version and my thanks button is all the way to the right of other buttons i want it to be the first one , what am i doing wrong ?

Code:

<!-- controls --><!-- Start Post Thank You Hack -->
$post_thanks_button
<!-- End Post Thank You Hack -->
                        <if condition="$post['editlink']">
                                <img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
                                <a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
                        </if>
                        <if condition="$post['forwardlink']">
                                <a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
                        </if>
                        <if condition="$post['replylink']">
                                <a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
                        </if>
                        <if condition="$show['multiquote_post']">
                                <a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
                        </if>
                       
                        <if condition="$show['moderated']">
                                <img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
                        </if>
                        <if condition="$show['deletedpost']">
                                <img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
                        </if>
                        <if condition="$show['redcard']">
                                <a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
                        <else />
                                <if condition="$show['yellowcard']">
                                        <a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
                                </if>
                        </if>
$template_hook[postbit_controls]
                        <!-- / controls -->


Abe1 01-25-2008 01:59 AM

Quote:

Originally Posted by vauge (Post 1424589)
My users are interested whom they have thanked.

What is challenge to add this?

Thanks!

Added for next version

Abe1 01-25-2008 02:09 AM

Quote:

Originally Posted by Kalina (Post 1424659)
I ran the "special actions" function to delete all thanks a user gave and nothing actually happens, I still see all the "thanks" they gave.

Fixed in next version.

Abe1 01-25-2008 02:10 AM

Quote:

Originally Posted by Datenpapst (Post 1425082)
When I upload the xml file the thread are not shown any more just getting white pages :(

I would have to check your forum.

Abe1 01-25-2008 02:11 AM

Quote:

Originally Posted by MattIS (Post 1425633)
How would I put a Legend box around the thanks in the Post Bit?

Try the template.

Abe1 01-25-2008 02:12 AM

Quote:

Originally Posted by jacki (Post 1426676)
post thank you error :
Warning: Invalid argument supplied for foreach() in /includes/functions_post_thanks.php on line 183

Should be fixed in next version.

Abe1 01-25-2008 02:14 AM

Quote:

Originally Posted by Nathan2006 (Post 1428304)
Just a quick question.

I have not yet updated to 3.7.0 yet but once the full version is released,

I will be totally removing the Hide hack from Psionic Vision and installing your version of thank you hack.

Is there anyway I can move over the thanks you's that all my members already have and import them into your hack
once I install or would I have to start a fresh?

Thanks for any help :)

If you currently have post thanks installed, do not uninstall it.


All times are GMT. The time now is 11: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.02627 seconds
  • Memory Usage 1,759KB
  • 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
  • (1)bbcode_code_printable
  • (9)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