vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   [AJAX] Post Thank You Hack (https://vborg.vbsupport.ru/showthread.php?t=92410)

Abe1 07-28-2006 03:29 PM

Quote:

Originally Posted by Amaranth
Thank you for your reply, Abe1! :) There is a link in every members profile that will display all the posts he/she has written, that have later been thanked by other members... But what we would love to have is a link that displays all the posts she herself has thanked, letting us find the posts that this member has found useful.

I also had another feature request from one of my members:

I'll see what I can do. I'm not looking realy into added new features until I release the version for vb 3.6.

ohgenki 07-29-2006 09:06 AM

is it possible if i do not want the users to be shown below the post bit? it is making the post browsing page longer.

what if:

- the user says thanks to the post
- there is a "your thanks has been accepted" alert
- the button changed from thanks to remove thanks?

is the above possible?

ohgenki 07-29-2006 09:26 AM

btw, i think this will be useful:

to allow the users to find thanked post by a particular user from the postbit/postbit_legacy, find:

Code:

        <if condition="$show['search']">
                <tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>

and add:

Code:

                <tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=findthanks&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[post_thanks_search_user]</phrase></a></td></tr>
below it

mml770 07-30-2006 04:56 PM

It's not showing on 3.6 after installation, I have version 2.0 Gold, is there a new version for 3.6 or this should also work for 3.6?

TygerTyger 07-30-2006 06:36 PM

Quote:

Originally Posted by Abe1
Not sure what you want. Please explain more.

Hello there! Thank you for picking up on my request.

What I mean is, in the feature list at the top it says:
- Counts how many thanks a post gets

However, there is no way to display this. I would really, really love it if this could be phrased so it can be shown with a post. And the same with the post groan function, as they are husband and wife.

Abe1 07-30-2006 11:39 PM

Quote:

Originally Posted by TygerTyger
Hello there! Thank you for picking up on my request.

What I mean is, in the feature list at the top it says:
- Counts how many thanks a post gets

However, there is no way to display this. I would really, really love it if this could be phrased so it can be shown with a post. And the same with the post groan function, as they are husband and wife.

It does already. Right above all the thanks it was the number of thanks the post has. If it is one or zero, it does not have a number.

Abe1 07-30-2006 11:40 PM

Quote:

Originally Posted by mml770
It's not showing on 3.6 after installation, I have version 2.0 Gold, is there a new version for 3.6 or this should also work for 3.6?

Try the current version. 2.0 is VERY old.

TygerTyger 07-31-2006 07:18 AM

Quote:

Originally Posted by Abe1
It does already. Right above all the thanks it was the number of thanks the post has. If it is one or zero, it does not have a number.

Hm, perhaps this is not working as it should for some reason. Probably because of me. Or is it because it's 3.6RC3? Seems to be working fine though.

Right above all the thanks, according to your instructions, I have:

Code:

$vbphrase[post_thanks_thanks]: $post[post_thanks_user_amount]
This is currently displaying how many posts that user has given in total across the whole forum. Below that I have:

Code:

<if condition="$post[post_thanks_thanked_times_on] == 1">
$vbphrase[post_thanks_time_post]
<else />
<if condition="$post[post_thanks_thanked_posts_on] == 1">
<phrase 1="$post[post_thanks_thanked_times]">$vbphrase[post_thanks_times_post]</phrase>
<else />
<phrase 1="$post[post_thanks_thanked_times]" 2="$post[post_thanks_thanked_posts]">$vbphrase[post_thanks_times_posts]</phrase>
</if>
</if>

Which is currently showing how many thanks that user has received in total from across the whole forum, and how many posts they received the thanks from.

Nothing is allowing me to show how many thanks an individual post has received.

Abe1 07-31-2006 12:10 PM

Quote:

Originally Posted by TygerTyger
Hm, perhaps this is not working as it should for some reason. Probably because of me. Or is it because it's 3.6RC3? Seems to be working fine though.

Right above all the thanks, according to your instructions, I have:

Code:

$vbphrase[post_thanks_thanks]: $post[post_thanks_user_amount]
This is currently displaying how many posts that user has given in total across the whole forum. Below that I have:

Code:

<if condition="$post[post_thanks_thanked_times_on] == 1">
$vbphrase[post_thanks_time_post]
<else />
<if condition="$post[post_thanks_thanked_posts_on] == 1">
<phrase 1="$post[post_thanks_thanked_times]">$vbphrase[post_thanks_times_post]</phrase>
<else />
<phrase 1="$post[post_thanks_thanked_times]" 2="$post[post_thanks_thanked_posts]">$vbphrase[post_thanks_times_posts]</phrase>
</if>
</if>

Which is currently showing how many thanks that user has received in total from across the whole forum, and how many posts they received the thanks from.

Nothing is allowing me to show how many thanks an individual post has received.

The second one.

The first is showing how many this user gave.

Jesus05uk 08-01-2006 12:39 PM

Will this for for 3.6?


All times are GMT. The time now is 09:58 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.02069 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
  • (6)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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