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 06-01-2006 03:39 PM

Quote:

Originally Posted by jilly
Okay Abe1, what am I doing wrong? It still does not show the thanks either way, if the option is set to yes or no - here's what I have set up:

Use the Radio buttons. Set one to yes and one to no.

use this if condition:

<if condition="$post['fieldXX'] == 'yes'">

magic168 06-02-2006 03:33 AM

Abe,

This hack is exactly what I need, but I don't want it to say "Thanks" but rather something like "I Installed" -- how many things will I have to change (I can change the button easily) so it doesn't say "Thanks!" And can you point me to all the things?

Abe1 06-04-2006 02:00 AM

Quote:

Originally Posted by magic168
Abe,

This hack is exactly what I need, but I don't want it to say "Thanks" but rather something like "I Installed" -- how many things will I have to change (I can change the button easily) so it doesn't say "Thanks!" And can you point me to all the things?

1) You can chenge the button.

2) You can edit the phrases.

Not hard at all to do.

jilly 06-04-2006 07:23 PM

Got a question about the postbit

It says "Thanks" x
Then right below it says
"Has been thanked x times in x posts".
Is the first "Thanks" how many thanks the person has given out?

Abe1 06-04-2006 07:33 PM

Quote:

Originally Posted by jilly
Got a question about the postbit

It says "Thanks" x
Then right below it says
"Has been thanked x times in x posts".
Is the first "Thanks" how many thanks the person has given out?

The first thanks is like posts. Just like posts shows the amout of posts a user posted, thanks shows how many thanks a user gave.

Brandon Sheley 06-04-2006 07:42 PM

the button didn't show for me ?

Abe1 06-04-2006 07:52 PM

Quote:

Originally Posted by Loco.M
the button didn't show for me ?

Did you look at some-one elses post or your own? It wont show on your own post.

SecTa 06-04-2006 08:14 PM

Greetings, Abe1. First of all, thank You for creating and constantly updating this wonderful hack!

I have couple of questions...
As far as i understood, reputation points given by "thanks" are separated from usergroup reputation premissions, ie: if user, who is not premitted tho add reputation points, press "thanks" button, author of thanked post will still get RP... Is that right?
When i enable x RP per "thanks" feature, users with lots of thanks still have no RP. Only "thanks" maded after enabling the feature are counted. How can i convert all existing users' thanks to reputation points?

Abe1 06-04-2006 08:25 PM

Quote:

Originally Posted by SecTa
Greetings, Abe1. First of all, thank You for creating and constantly updating this wonderful hack!

I have couple of questions...
As far as i understood, reputation points given by "thanks" are separated from usergroup reputation premissions, ie: if user, who is not premitted tho add reputation points, press "thanks" button, author of thanked post will still get RP... Is that right?
When i enable x RP per "thanks" feature, users with lots of thanks still have no RP. Only "thanks" maded after enabling the feature are counted. How can i convert all existing users' thanks to reputation points?

You can't just do this. You would have to use the count and give rep points and reasons. I can't realy help you with this.

SecTa 06-04-2006 08:37 PM

Mybe some sql query can handle this? eg, if i want users to gain 1 RP per "thanks" then run some query that will make user's "thanks" amount = to user's RP*1?


All times are GMT. The time now is 04:54 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.01898 seconds
  • Memory Usage 1,741KB
  • 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