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)

mfizzel 11-10-2005 02:16 PM

how do we upgrade from 2.2 to 2.5? do we just import and overwrite the xml?

Abe1 11-10-2005 05:48 PM

Quote:

Originally Posted by mfizzel
how do we upgrade from 2.2 to 2.5? do we just import and overwrite the xml?

Yes.

G0F0RBR0KE 11-10-2005 06:43 PM

I've modify the template but nothing showing.

Abe1 11-10-2005 06:47 PM

Quote:

Originally Posted by EvilAkuma
I've modify the template but nothing showing.

What happens when it's not modified?

G0F0RBR0KE 11-10-2005 06:47 PM

I'm not getting the thanks button

Abe1 11-10-2005 06:49 PM

Quote:

Originally Posted by EvilAkuma
I'm not getting the thanks button

Make sure you put the code in the post bit template.

G0F0RBR0KE 11-10-2005 06:51 PM

Everything is already in their, postbit and postbit_legacy

Abe1 11-10-2005 06:52 PM

Quote:

Originally Posted by EvilAkuma
Everything is already in their, postbit and postbit_legacy

Are your plugins enabled?

Abe1 11-10-2005 06:52 PM

Quote:

Originally Posted by EvilAkuma
Everything is already in their, postbit and postbit_legacy

and, are you looking at a post made by you?

G0F0RBR0KE 11-10-2005 06:55 PM

Yep and also members

I've check the plugin and it's enable. Going to reinstall it, hopefully it works.

G0F0RBR0KE 11-10-2005 06:56 PM

Just reinstall it, nothing happen.

Abe1 11-10-2005 06:57 PM

Quote:

Originally Posted by EvilAkuma
Just reinstall it, nothing happen.

Did you make the postbit edit in every style if you have a few?

G0F0RBR0KE 11-10-2005 06:59 PM

I have like 5 other style, but i'm doing it on the default skin that comes with the vbulletin.

G0F0RBR0KE 11-10-2005 07:10 PM

Nothing is happeing =(

G0F0RBR0KE 11-10-2005 07:13 PM

It's been fix, I had to disable it and enable it again.

Nice hack too

Time to click "install"

Keep up the work....

mfizzel 11-10-2005 07:27 PM

Big issue when upgrading to 2.5 - all members that have been thanked over 1,000 times now read as "Thanked 1 time in 1 post"

Just spent over an hour rebuilding all of the thank you stats and that didn't resolve it.

SecTa 11-10-2005 08:43 PM

Same issue. Just ended rebuilding the DB but nothing changed...

G0F0RBR0KE 11-10-2005 09:59 PM

A little reminder to new people that are installing this and having problem. Go to your ACP>Plugin System>Manage Product. Then disable "Post Thank You Hack" and enable it. This will allowed your postbit and postbit legacy to start working.

If you are using skin and aren't sure what to do, feel free to PM me, I'll be glad to fix it for you.

QATARAT 11-12-2005 07:05 AM

And THaNK U

Abe1


for ur time , work , suport and development This and more greates Hacks

In the attach is translation for ( Post Thank You Hack 2.5 ) in Arabic language .

for ( INSTALLATIONS And VBphrase )

THANKS OnCe MoRe

mfizzel 11-12-2005 12:26 PM

abe, any update on this?

Quote:

Originally Posted by mfizzel
Big issue when upgrading to 2.5 - all members that have been thanked over 1,000 times now read as "Thanked 1 time in 1 post"

Just spent over an hour rebuilding all of the thank you stats and that didn't resolve it.


Code Monkey 11-12-2005 03:47 PM

Quote:

Originally Posted by mfizzel
Big issue when upgrading to 2.5 - all members that have been thanked over 1,000 times now read as "Thanked 1 time in 1 post"

Just spent over an hour rebuilding all of the thank you stats and that didn't resolve it.

vb_number_format should be used for display only. If any calclations are to be done with the data then a unformated version must be used or you get lot's of incorect results.

Code Monkey 11-12-2005 03:52 PM

Maybe do something like this so that the display data is seperated from the rest of the working code.

PHP Code:

$this->post['post_thanks_user_amount_display'] = vb_number_format($this->post['post_thanks_user_amount']);
$this->post['post_thanks_thanked_times_display'] = vb_number_format($this->post['post_thanks_thanked_times']);
$this->post['post_thanks_thanked_posts_display'] = vb_number_format($this->post['post_thanks_thanked_posts']);] 


mfizzel 11-14-2005 07:30 PM

I don't follow what you mean.

I didn't have this issue until I installed 2.5.

Still waiting for a fix....:)

Abe1 11-15-2005 02:49 AM

Quote:

Originally Posted by mfizzel
I don't follow what you mean.

I didn't have this issue until I installed 2.5.

Still waiting for a fix....:)

Sorry, I'm realy busy right now. Mabe in a few days I'll be able to check it out. Check your VB date and time settings.

mfizzel 11-15-2005 02:54 AM

is there anywhere I can download a previous version of this? namely 2.2 which is what I was running before and it worked perfectly - tommorrow it'll be a week that all of the top contributers on my forum read 'Thanked 1 time in 1 Post'

Abe1 11-15-2005 11:16 PM

Quote:

Originally Posted by mfizzel
is there anywhere I can download a previous version of this? namely 2.2 which is what I was running before and it worked perfectly - tommorrow it'll be a week that all of the top contributers on my forum read 'Thanked 1 time in 1 Post'

This one should work fine.

mfizzel 11-15-2005 11:24 PM

Quote:

Originally Posted by Abe1
This one should work fine.

Thanks Abe!! Works perfect :D

crzy 11-18-2005 02:52 PM

i was using this hack before when was my forum 3.0.7... i upgrade my forum to 3.5.0 and my members really wanted this hack back and i trying install this hack but it says
Quote:

Database error in vBulletin 3.5.0:

Invalid SQL:

INSERT INTO *******
(varname, grouptitle, value, defaultvalue, datatype, optioncode, displayorder, advanced, volatile, product)
VALUES
(
'post_thanks_on_off',
'post_thanks',
'1',
'1',
'boolean',
'yesno',
10,
0,
1,
'post_thanks'
),
(
'post_thanks_forum_off',
'post_thanks',
'',
'',
'free',
'',
20,
0,
1,
'post_thanks'
),
(
'post_thanks_forum_first_all',
'post_thanks',
'0',
'0',
'boolean',
'yesno',
30,
0,
1,
'post_thanks'
),
(
'post_thanks_forum_first',
'post_thanks',
'',
'',
'free',
'',
40,
0,
1,
'post_thanks'
),
(
'post_thanks_date_all',
'post_thanks',
'1',
'1',
'boolean',
'yesno',
50,
0,
1,
'post_thanks'
),
(
'post_thanks_date_forum',
'post_thanks',
'',
'',
'free',
'',
60,
0,
1,
'post_thanks'
),
(
'post_thanks_usergroup_using',
'post_thanks',
'',
'',
'free',
'',
70,
0,
1,
'post_thanks'
),
(
'post_thanks_user_useing',
'post_thanks',
'',
'',
'free',
'',
80,
0,
1,
'post_thanks'
),
(
'post_thanks_reputation',
'post_thanks',
'3',
'0',
'number',
'',
90,
0,
1,
'post_thanks'
),
(
'post_thanks_post_count',
'post_thanks',
'1',
'0',
'boolean',
'yesno',
100,
0,
1,
'post_thanks'
),
(
'post_thanks_delete_own',
'post_thanks',
'1',
'1',
'boolean',
'yesno',
110,
0,
1,
'post_thanks'
);

MySQL Error : Duplicate entry 'post_thanks_on_off' for key 1
Error Number : 1062
Date : Friday, November 18th 2005 @ 04:46:07 PM
Script : http://www.***net/forum/admincp/plugin.php
Referrer : http://www.***.net/forum/admincp/plu...?do=productadd
IP Address : 88.111.******
Username : crazyb0y
Classname : vb_database

i trying your query things
Quote:

DELETE FROM `setting` WHERE `grouptitle` = 'post_thanks' AND `product` = '';

DELETE FROM `settinggroup` WHERE `grouptitle` = 'post_thanks' AND `product` = '';

DELETE FROM `phrase` WHERE `varname` LIKE '%post_thanks%' AND `product` = '';

DELETE FROM `template` WHERE `title` LIKE '%post_thanks%' AND `product` = '';
but it says

An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table '***_****.setting' doesn't exist

please help me i need this hack cos my members doesnt share things anymore without this hack :)
thank you

Abe1 11-18-2005 03:02 PM

Quote:

Originally Posted by crzy
i was using this hack before when was my forum 3.0.7... i upgrade my forum to 3.5.0 and my members really wanted this hack back and i trying install this hack but it says



i trying your query things

but it says

An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table '***_****.setting' doesn't exist

please help me i need this hack cos my members doesnt share things anymore without this hack :)
thank you

In the error, what did it say 'INSERT TO'?

crzy 11-21-2005 10:27 AM

Quote:

Originally Posted by Abe1
In the error, what did it say 'INSERT TO'?

INSERT INTO kankane_forumsetting

Abe1 11-21-2005 01:54 PM

Quote:

Originally Posted by crzy
INSERT INTO kankane_forumsetting

Try runnning this:
PHP Code:

DELETE FROM `kankane_forumsettingWHERE `grouptitle` = 'post_thanks' AND `product` = '';

DELETE FROM `kankane_forumsettinggroupWHERE `grouptitle` = 'post_thanks' AND `product` = '';

DELETE FROM `kankane_forumphraseWHERE `varnameLIKE '%post_thanks%' AND `product` = '';

DELETE FROM `kankane_forumtemplateWHERE `titleLIKE '%post_thanks%' AND `product` = ''


crzy 11-21-2005 02:07 PM

thank you verymuch

NeutralizeR 11-28-2005 10:07 AM

AJAX version?

No need for the page refresh after clicking the thanks button...?

melodiq 11-28-2005 01:05 PM

just installed it... thnx!!!

mfizzel 12-01-2005 01:50 PM

the 'fixed' 2.5 version is only halfway fixed.

members that have been thanked over 2,000 times read correctly - ie - 2,347

members that have been thanked over 1,000 times but not over 2,000 still read 'Thanked 1 time in 1 post'

members thanked under 1,000 times read correctly

so the issue is with members thanked between 1,000 & 1,999 times

Abe1 12-02-2005 02:46 AM

Quote:

Originally Posted by mfizzel
the 'fixed' 2.5 version is only halfway fixed.

members that have been thanked over 2,000 times read correctly - ie - 2,347

members that have been thanked over 1,000 times but not over 2,000 still read 'Thanked 1 time in 1 post'

members thanked under 1,000 times read correctly

so the issue is with members thanked between 1,000 & 1,999 times

Thanks for this info. I will look into it.

mfizzel 12-02-2005 03:26 PM

no problem Abe, if you want me to test it out for you before you release it here just PM me

D.Ilyin 12-02-2005 04:21 PM

Abe1 another one fix:
when admin\mods\smods view "ligth" deleted threads they can thank's.

Abe1 12-02-2005 06:30 PM

Quote:

Originally Posted by mfizzel
no problem Abe, if you want me to test it out for you before you release it here just PM me

Ok. Thanks for you offer. I will contact you if I can't reproduce it but try fixing it anyway.

Abe1 12-02-2005 06:31 PM

Quote:

Originally Posted by D.Ilyin
Abe1 another one fix:
when admin\mods\smods view "ligth" deleted threads they can thank's.

Say that again???


All times are GMT. The time now is 12:10 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.01969 seconds
  • Memory Usage 1,842KB
  • 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
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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