vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Post Thank You Hack 1.10 (https://vborg.vbsupport.ru/showthread.php?t=73410)

junkiesnetwork 03-15-2005 02:29 AM

Yeah, thats what we want to do as well.. (ushop).. any way that's possible?

Timan 03-15-2005 11:16 AM

Hello, awesome mod, one quick question, is there a way to edit the actual link of the thank you button, I'm trying to have it as text rather than a graphic.

y2ksa 03-15-2005 12:08 PM

great hack m8 thank you

Abe1 03-15-2005 03:13 PM

Quote:

Originally Posted by Timan
Hello, awesome mod, one quick question, is there a way to edit the actual link of the thank you button, I'm trying to have it as text rather than a graphic.

The link is in the PHP.

Abe1 03-15-2005 03:14 PM

Quote:

Originally Posted by mindbuster
How could i implement this with uShop/uCash ?

I want to give the thanked person a small amount of uCash for each "thanks" he gets.

I'm not familer with ushop. I may a look at though some day.

xtreme-mobile 03-18-2005 07:09 PM

im having probs getting this to work :(

when ive uploaded the files etc and go to the installation bit i get the following error

Database error in vBulletin 3.0.6:

Invalid SQL: INSERT INTO phrase (phraseid, languageid, varname, text, phrasetypeid) VALUES (NULL, '0', 'post_thanks_update_post_thanks_counters', 'Post Thank You Counters', '2')
mysql error: Duplicate entry 'post_thanks_update_post_thanks_counters-0-2' for key 2

mysql error number: 1062

Date: Friday 18th of March 2005 02:07:00 PM
Script: http://www.extreme-mobile.com/forums...step=dophrases
Referer: http://www.extreme-mobile.com/forums...ks_install.php
Username: admin
IP Address: xx.xxx.xxx.xxx

any ideas?

Abe1 03-20-2005 12:20 PM

Quote:

Originally Posted by xtreme-mobile
im having probs getting this to work :(

when ive uploaded the files etc and go to the installation bit i get the following error

Database error in vBulletin 3.0.6:

Invalid SQL: INSERT INTO phrase (phraseid, languageid, varname, text, phrasetypeid) VALUES (NULL, '0', 'post_thanks_update_post_thanks_counters', 'Post Thank You Counters', '2')
mysql error: Duplicate entry 'post_thanks_update_post_thanks_counters-0-2' for key 2

mysql error number: 1062

Date: Friday 18th of March 2005 02:07:00 PM
Script: http://www.extreme-mobile.com/forums...step=dophrases
Referer: http://www.extreme-mobile.com/forums...ks_install.php
Username: admin
IP Address: xx.xxx.xxx.xxx

any ideas?

It seems like you tried running this script twice. Try to run the uninstaller then the installer again.

Lionel 03-21-2005 10:31 PM

My problem is that none of the settings are displaying in the setting group in vboptions. And they are all in DB.

Reason: the order of mysql structure is not the same as the inserts.

so your group title got inserted in value
INSERT INTO setting VALUES ('post_thanks_on_off', 'post_thanks','1','1', 'yesno', 10, 0, 0);

Can you please post a fix for me about the proper order of the inserts?

posting a screenshot

Abe1 03-21-2005 11:06 PM

Quote:

Originally Posted by Lionel
My problem is that none of the settings are displaying in the setting group in vboptions. And they are all in DB.

Reason: the order of mysql structure is not the same as the inserts.

so your group title got inserted in value
INSERT INTO setting VALUES ('post_thanks_on_off', 'post_thanks','1','1', 'yesno', 10, 0, 0);

Can you please post a fix for me about the proper order of the inserts?

posting a screenshot

Your order doesn't look the same as everyone elses. I'll try to set up a fix for this in my next release. For not, use phpmyadmin and switch the values of what it says in the 'default value' and what it says is the 'oder value'. Edit for ALL 8 post_thanks options.

Lionel 03-21-2005 11:08 PM

with all the 0 and 1 at least tell me what they are.


All times are GMT. The time now is 08:16 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.01417 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)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
  • (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