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)

pretke 01-14-2009 03:39 PM

1 Attachment(s)
Hi!
I thank one post, after i see double thanks.

See attached

Gunturz 01-15-2009 02:39 AM

hii...
does any one know how to delete all thanks that a user have ?

I've try at admin CP ==> Post Thanks ==> Special Actions
but it didn't work

SgtSling 01-15-2009 09:47 AM

This worked for me.
The only issue I have is the "Show all thanked threads" doesn't work. It never loads. I have 40 thousand total threads. Would that make a difference?

BlackJacket 01-17-2009 09:42 PM

Installed...

But i have a question. Where do i click to thank someone?? lol...

Thanks again.

Abe1 01-18-2009 02:46 AM

Quote:

Originally Posted by pretke (Post 1712231)
Hi!
I thank one post, after i see double thanks.

See attached

Make sure you did NOT do the template edits.

Mehdi.K 01-18-2009 04:58 AM

I have upgrade my forum to v3.8 and Post Thanks to 7.7, but in Admin Control Panel the post thanks options page does not show and only bottom copyright message appears when I click "Post Thanks Settings".

rossco_2005 01-18-2009 11:13 AM

Thanks, this works great for me. Had to edit it a bit to suit my needs but the idea was good.

One feature that it could use that would really make it great is to detect if a user posts "thnx" "thx" "thanks" "thank you" etc. and automatically convert that into a thank you instead of allowing the post! :)
I might create that myself if it doesn't already exist.

dmknights 01-18-2009 01:39 PM

*installed*

KevinL 01-18-2009 02:21 PM

Quote:

Originally Posted by Boosted Panda (Post 1648981)
Hey everyone I can help out a bit here since I have modified the thanks system a bit on my forum.

For people wanting to change the phrases:

Goto the Phrase Manager -> Search Phrases -> "thanked"
post_thanks_times_posts

The standard phrase is: Thanked {1} Times in {2} Posts

If you want to remove the Thanked: X in X posts... replace the phrase with: Thank: {1}

What this will do is display

Thanks: X

Looks much better in my opinion.

Now to post JUST the Thanks part in the post bit and none of the other garbage here is the code below.

Code:

<a href="post_thanks.php?$session[sessionurl]do=post_thanks_add&amp;p=$post[postid]&amp;securitytoken=$bbuserinfo[securitytoken]" id="post_thanks_button_$post[postid]"<if condition="$vboptions[disable_ajax] != 2"> onclick="return post_thanks_give($post[postid], <if condition="$vboptions[post_groan_integrate]">true<else />false</if>);"</if> <if condition="$display_thanks_image == 'none'">style="display:none"</if> rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/post_thanks.gif" alt="$vbphrase[post_thanks_thanks]" border="0" /></a>
I attached a screen shot. The thanks are labeled "treats" on my forum.

Sorry this is such an old post...but where do I add this code? I want it to look like that, next to the posts. I changed the phrase and it still shows everything and I have no idea how to just show the 'thanks' and then move it up near the posts...any help would be great :)

Thanks

stevieb 01-18-2009 05:40 PM

Quote:

Originally Posted by Mehdi.K (Post 1716508)
I have upgrade my forum to v3.8 and Post Thanks to 7.7, but in Admin Control Panel the post thanks options page does not show and only bottom copyright message appears when I click "Post Thanks Settings".

I had this, and put a workaround in it.

in

/forums/includes/xml/cpnav_post_thanks.xml

find :
Code:

                <navoption displayorder="10">
                        <phrase>post_thanks_settings</phrase>
                        <link>options.php?do=options&amp;dogroup=post_thanks</link>
                </navoption>

replace with :

Code:

                <navoption link="options.php?do=options&amp;dogroup=post_thanks" displayorder="10">
                        <phrase>post_thanks_settings</phrase>
                </navoption>

its all working for me now :)
Stevieb


All times are GMT. The time now is 04:39 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.03668 seconds
  • Memory Usage 1,752KB
  • 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
  • (3)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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