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 10-23-2005 11:26 PM

Quote:

Originally Posted by vibe
How do I put a small gif on top of the message, want to make it stand out a little more. Please see attachment.

Edit the post_thanks_legacy tempate.

Akutenshii 10-24-2005 12:40 AM

My error is strangely different.. I am getting the thanks box directly under the expanded thread view, and then multiple thanks boxes...

Please advise... also... where would I change the font for the text, and what if I did not want the thanks to be removed.. is there a simple modification for that?

Abe1 10-24-2005 02:16 AM

Quote:

Originally Posted by Akutenshii
My error is strangely different.. I am getting the thanks box directly under the expanded thread view, and then multiple thanks boxes...

Please advise... also... where would I change the font for the text, and what if I did not want the thanks to be removed.. is there a simple modification for that?

Can you post a picture?

Markco 10-24-2005 03:51 AM

Quote:

Originally Posted by Abe1
The zip has been updated. Just re-upload the product xml.

Ok thank's

Akutenshii 10-24-2005 05:17 PM

Ok. correcting the code fixed the location issue... still, I am interested in disabling the 'remove thanks' link. Is it possible to change the code slightly to disable this? Once thanked I do not desire for the thanks to be removed.

Uh...thanks. *smiles*

Abe1 10-24-2005 08:34 PM

Quote:

Originally Posted by Akutenshii
Ok. correcting the code fixed the location issue... still, I am interested in disabling the 'remove thanks' link. Is it possible to change the code slightly to disable this? Once thanked I do not desire for the thanks to be removed.

Uh...thanks. *smiles*

You can delete the option in the template. Go to your templates and edit the post_thanks ones removing that option.

Stussi 10-25-2005 08:33 AM

Hey Abe1!

Great Hack!!

But there's one Problem... the option to turn the Hack in specific Forums off is for our purposes senseless.
We want to turn the hack only in some Forums on and not off.
Otherwise we have to exclude 200 Forum IDs.....

Do you have an Idea?

Edit says:

I solved the problem by myself... this Hack ROCKS!! :D :)

ombossman 10-26-2005 08:48 AM

what is this problem and how to solve this problem please tell me

Database error in vBulletin 3.5.0:

Invalid SQL:

INSERT INTO setting
(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',
'0',
'0',
'number',
'',
90,
0,
1,
'post_thanks'
),
(
'post_thanks_post_count',
'post_thanks',
'0',
'0',
'boolean',
'yesno',
100,
0,
1,
'post_thanks'
);

MySQL Error : Duplicate entry 'post_thanks_forum_off' for key 1
Error Number : 1062
Date : Wednesday, October 26th 2005 @ 11:06:15 AM

Stussi 10-26-2005 08:53 AM

See instructions.txt ;)

NOTE: IF YOU ARE UPGRADING FROM A PRE 2.0 VERSION THAT WAS RUNNING ON A vBulletin v3.0 FORUM, RUN THESE 4 QUERIES MANUALY NOW.
--------------------------------------------------------------------
[sql]
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` = '';[/sql]

ombossman 10-26-2005 09:12 AM

Quote:

Originally Posted by Stussi
See instructions.txt ;)

NOTE: IF YOU ARE UPGRADING FROM A PRE 2.0 VERSION THAT WAS RUNNING ON A vBulletin v3.0 FORUM, RUN THESE 4 QUERIES MANUALY NOW.
--------------------------------------------------------------------
[sql]
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` = '';[/sql]

thanks for reply my post i try this method but have another error


here error


All times are GMT. The time now is 08:17 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.01672 seconds
  • Memory Usage 1,746KB
  • 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