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 03-25-2008 03:24 AM

Quote:

Originally Posted by Namaless (Post 1470847)
Found problem with gars..
edit the line 222 into function_post_thanks.php and added if statment for check if $thanks is array..

Abe.. need to fix problem with gars add-on... How possible to fix this?

If you want I take to you a gars package.. ;)

Thanks :)

I want to be able to test it on a live site with gars.

Abe1 03-25-2008 03:26 AM

Quote:

Originally Posted by BadgerDog (Post 1470856)
Yes sir, I could... :up:

What would you like me to change as a test?

Thanks for your help... :)

https://vborg.vbsupport.ru/showpost....&postcount=379

Regards,
Badger

Use the revert option on the template if you have it edited.

Abe1 03-25-2008 03:27 AM

Quote:

Originally Posted by Dabbi (Post 1471093)
If this has been addressed I'm sorry but is there a way to turn off the tracking on thanks in posts?

So far my membership seems divided on this mod and I'm hoping if there's not the tracking to make it feel like a popularity contest it might help.

Over all I personally think this is a wonderful mod btw. :)

What tracking?

Sgt Pepper 03-25-2008 07:31 AM

Haven trouble here.When i click thanks nothing happens.The icon dissapears and nothing happens any help?:confused::confused:

BadgerDog 03-25-2008 10:10 AM

Quote:

Originally Posted by Abe1 (Post 1473852)
Use the revert option on the template if you have it edited.

Ok, I reverted it, but all that did was remove the "Thanks" box as part of the member profile....

It removed this statement ....... $template_hook[memberinfo_foruminfo]

As per the original post, I'm just trying to get a carriage return to separate the two "thanks" statements as opposed to having them run together. :confused:

Thanks .. :)

Regards,
Badger
v3.6.7pl1

SCRIPT3R 03-26-2008 02:48 AM

1 Attachment(s)
Quote:

Originally Posted by BadgerDog (Post 1474043)
As per the original post, I'm just trying to get a carriage return to separate the two "thanks" statements as opposed to having them run together. :confused:

Thanks .. :)

Regards,
Badger
v3.6.7pl1

If the attached image is what you're after; there's a few ways to accomplish this, but an easy one...

In the product-post_thanks.xml file...

Find...

PHP Code:

            <td>
                <
a href="post_thanks.php?$session[sessionurl]do=findthanks&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[post_thanks_search_user]</phrase></a>
            </
td>
            <
td>
                <
a href="post_thanks.php?$session[sessionurl]do=findthanks_user_gave&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[post_thanks_search_user_gave]</phrase></a>
            </
td


Replace with...

PHP Code:

            <td>
                <
a href="post_thanks.php?$session[sessionurl]do=findthanks&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[post_thanks_search_user]</phrase></a><br />
                <
a href="post_thanks.php?$session[sessionurl]do=findthanks_user_gave&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[post_thanks_search_user_gave]</phrase></a>
            </
td


BadgerDog 03-26-2008 09:45 AM

Quote:

Originally Posted by GearTripper (Post 1474712)
If the attached image is what you're after; there's a few ways to accomplish this, but an easy one...

Thank you Sir ... :up:

Worked great .... appreciate it ... :)

Regards,
Badger

Dabbi 03-26-2008 02:05 PM

Quote:

Originally Posted by Abe1 (Post 1473853)
What tracking?

Sorry.. I probably used the wrong term (I'm still fairly new to vBulletin, etc and and still learning terminology). What I'm talking about is where it tracks thanks and thanked under "posts" etc like this:
Quote:

Join Date: Jul 2005
Location: Living On The Edge - NNY
Posts: 2,987
Thanks: 5
Thanked 20 Times in 13 Posts

Can I turn the bolded part off? :cool:

Thanks! :)

Namaless 03-26-2008 04:01 PM

Quote:

Originally Posted by Abe1 (Post 1473851)
I want to be able to test it on a live site with gars.

You have a MP :P

zmmmzz 03-26-2008 04:22 PM

Abe what conditional should I use in the template to show something only to members who have already said thanks?


All times are GMT. The time now is 11:37 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.02655 seconds
  • Memory Usage 1,762KB
  • 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_php_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