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)

cavyspirit 08-06-2006 05:56 PM

I would still like to be able to put two additional queries in the members profile:

Posts GROANED by username
Posts THANKED by username

Can you figure out a way to do that? I really need to be able sometimes remove all groans made by a user, especially when that user is put on restricted, moderated or banned status.

Abe1 08-06-2006 06:01 PM

Quote:

Originally Posted by cavyspirit
I would still like to be able to put two additional queries in the members profile:

Posts GROANED by username
Posts THANKED by username

Can you figure out a way to do that? I really need to be able sometimes remove all groans made by a user, especially when that user is put on restricted, moderated or banned status.

Should be there already.

Dermo-MIO 08-06-2006 06:53 PM

thanks for the update will install it 2morrow

cavyspirit 08-06-2006 08:28 PM

Quote:

Originally Posted by Abe1
Should be there already.

Maybe I'm confused.

In the MemberInfo template, this code:

<!-- Start Post Thank You Hack -->
<br />
$vbphrase[post_thanks_total_thanks]: <strong>$userinfo[post_thanks_user_amount]</strong>
<br />
<if condition="$userinfo[post_thanks_thanked_times_on] == 1">
$vbphrase[post_thanks_time_post]
<else />
<if condition="$userinfo[post_thanks_thanked_posts_on] == 1">
<phrase 1="$userinfo[post_thanks_thanked_times]">$vbphrase[post_thanks_times_post]</phrase>
<else />
<phrase 1="$userinfo[post_thanks_thanked_times]" 2="$userinfo[post_thanks_thanked_posts]">$vbphrase[post_thanks_times_posts]</phrase>
</if>
</if>
</td></tr>
<tr><td>
<a href="search.php?$session[sessionurl]do=findthanks&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[post_thanks_search_user]</phrase></a>
<!-- End Post Thank You Hack -->

At the bottom, that one query (search) gets you all posts that were made by the user that were thanked by someone else (same with groans).

I would ALSO like another query that is all posts made by others that this user has thanked (same with groans).

Abe1 08-06-2006 09:07 PM

Quote:

Originally Posted by cavyspirit
Maybe I'm confused.

In the MemberInfo template, this code:

<!-- Start Post Thank You Hack -->
<br />
$vbphrase[post_thanks_total_thanks]: <strong>$userinfo[post_thanks_user_amount]</strong>
<br />
<if condition="$userinfo[post_thanks_thanked_times_on] == 1">
$vbphrase[post_thanks_time_post]
<else />
<if condition="$userinfo[post_thanks_thanked_posts_on] == 1">
<phrase 1="$userinfo[post_thanks_thanked_times]">$vbphrase[post_thanks_times_post]</phrase>
<else />
<phrase 1="$userinfo[post_thanks_thanked_times]" 2="$userinfo[post_thanks_thanked_posts]">$vbphrase[post_thanks_times_posts]</phrase>
</if>
</if>
</td></tr>
<tr><td>
<a href="search.php?$session[sessionurl]do=findthanks&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[post_thanks_search_user]</phrase></a>
<!-- End Post Thank You Hack -->

At the bottom, that one query (search) gets you all posts that were made by the user that were thanked by someone else (same with groans).

I would ALSO like another query that is all posts made by others that this user has thanked (same with groans).

I hear what you are saying now. It's on my to-do list. No garranty though.

cavyspirit 08-06-2006 09:46 PM

If you can give me a viable string like this that would work:

search.php?$session[sessionurl]do=findthanks&amp;u=$userinfo[userid]

I'd be happy to add it myself until you make it official.

And probably a little more code in the php file.

Thanks for a great product!

Abe1 08-06-2006 10:31 PM

Quote:

Originally Posted by cavyspirit
If you can give me a viable string like this that would work:

search.php?$session[sessionurl]do=findthanks&amp;u=$userinfo[userid]

I'd be happy to add it myself until you make it official.

And probably a little more code in the php file.

Thanks for a great product!

Not possable yet. Needs a lot of code.

Brandon Sheley 08-06-2006 11:14 PM

thx, updated :)

cavyspirit 08-07-2006 01:50 AM

I forgot about another problem I'm having. I can't update the groan counts when the groans are removed from a post.

Any update on when you'll have the groans upgraded for 3.6 as well? We use them equally with the Thanks.

Abe1 08-07-2006 01:54 AM

Quote:

Originally Posted by cavyspirit
I forgot about another problem I'm having. I can't update the groan counts when the groans are removed from a post.

Any update on when you'll have the groans upgraded for 3.6 as well? We use them equally with the Thanks.

The count should update automaticlly.


All times are GMT. The time now is 08:25 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.02617 seconds
  • Memory Usage 1,744KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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