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)

Eternal2u 02-24-2005 09:12 AM

tghere already in there..

giving me duplicate error trying to run them.

could it being 3.0.7 have any affect?

Abe1 02-24-2005 01:29 PM

Quote:

Originally Posted by Eternal2u
tghere already in there..

giving me duplicate error trying to run them.

could it being 3.0.7 have any affect?

Not that i know of. I'm running it on 3.0.7 normaly.

I was able to install on 3.0.7 with out any problems.

xtreme-mobile 02-24-2005 04:20 PM

does this work on vb 3.06

Abe1 02-24-2005 04:22 PM

Quote:

Originally Posted by xtreme-mobile
does this work on vb 3.06

It should. I don't see any reason why not.

xtreme-mobile 02-24-2005 04:24 PM

ok i may try it :)

xtreme-mobile 02-24-2005 04:51 PM

this is what i get when i click start installation

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: Thursday 24th of February 2005 11:50:00 AM
Script: http://www.extreme-mobile.com/forums...step=dophrases
Referer: http://www.extreme-mobile.com/forums...ks_install.php
Username: admin
IP Address: xxx.xxx.xxx.xx

Abe1 02-24-2005 04:54 PM

Quote:

Originally Posted by xtreme-mobile
this is what i get when i click start installation

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: Thursday 24th of February 2005 11:50:00 AM
Script: http://www.extreme-mobile.com/forums...step=dophrases
Referer: http://www.extreme-mobile.com/forums...ks_install.php
Username: admin
IP Address: xxx.xxx.xxx.xx

did you install twice? or any part of it?

can you try to uninstall then install?

xtreme-mobile 02-24-2005 04:55 PM

ill click uninstall and try again

do i just upload the files then just siomply click start the installation?

Abe1 02-24-2005 04:57 PM

Quote:

Originally Posted by xtreme-mobile
ill click uninstall and try again

do i just upload the files then just siomply click start the installation?

yes. nothing else

xtreme-mobile 02-24-2005 05:00 PM

k ill put everything back to norm and try again

xtreme-mobile 02-24-2005 05:33 PM

getting errors now when uninstalling

Phrases Removed Successfully

Database error in vBulletin 3.0.6:

Invalid SQL: ALTER TABLE `user` DROP `post_thanks_user_amount`
mysql error: Can't DROP 'post_thanks_user_amount'. Check that column/key exists

mysql error number: 1091

Date: Thursday 24th of February 2005 12:25:45 PM
Script: http://www.extreme-mobile.com/forums...install&step=3
Referer: http://www.extreme-mobile.com/forums...install&step=2
Username: admin

and it wont let me upload my showthread to my ftp anymore it says exceeded its disk limit???

xtreme-mobile 02-24-2005 05:36 PM

ok am getting somewhere with the re-installation but i think my showthread file is corrupted i cant download it to edit it again

xtreme-mobile 02-24-2005 05:39 PM

have managed to download my show thread.php but its blank and ive lost the original :(

The-Aeon 02-27-2005 10:48 AM

great hack :) I installed it.

I would click the Thank Button but I can't find it ;)

I have made a little language modifikation for my german board, I moded only one phrase and two templates.

you can see it on the image i attached. When you give me the permission, Abe1m, i could post that little mod :)

sorry for my bad english, i hope its not the worsed one ;)

Abe1 02-27-2005 12:19 PM

Quote:

Originally Posted by The-Aeon
great hack :) I installed it.

I would click the Thank Button but I can't find it ;)

I have made a little language modifikation for my german board, I moded only one phrase and two templates.

you can see it on the image i attached. When you give me the permission, Abe1m, i could post that little mod :)

sorry for my bad english, i hope its not the worsed one ;)

Sure you can post it. But I can't give any support for it.

dacho 03-07-2005 10:21 AM

if user want to see who "10X" him ?

Abe1 03-07-2005 01:18 PM

Quote:

Originally Posted by dacho
if user want to see who "10X" him ?

Go to your public profile and click to see the thanks that you were given.

LEAD_WEIGHT 03-10-2005 12:59 AM

The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.


This is what i get for an error? any clues cause I will reinstall and follow the instructions agian. :disappointed:

vb3.0.7

If possible could u place the pic of section of edits here cause if I am doing my copy & paste wrong then I do not know what going on. I installed uninstalled in twice and get the same error. :o
or I can post my screenshots of my edits.

Post Thank You Hack version 1.03

upload
--------------------------------------------------------------------
post_thanks.php -> root dir ??? Forum Directory or public_html Dir.
post_thanks_acp.php -> /admincp/ this ok understood
post_thanks_install.php -> /admincp/ this ok understood
post_thanks.gif -> /images/buttons/ this ok understood
--------------------------------------------------------------------

Code:

http://www.theundergroundsource.com/forums/

LEAD_WEIGHT 03-12-2005 12:34 AM

I found the problem it had to do with edits with extra spaces :p

mindbuster 03-12-2005 06:44 AM

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.

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.

Abe1 03-21-2005 11:09 PM

Quote:

Originally Posted by Lionel
with all the 0 and 1 at least tell me what they are.

Thouse should be in the defualt values.

Lionel 03-21-2005 11:12 PM

so basically I just worry about group title, option code and display order? The rest does not matter if I put 0 or 1, right?

Abe1 03-21-2005 11:34 PM

Quote:

Originally Posted by Lionel
so basically I just worry about group title, option code and display order? The rest does not matter if I put 0 or 1, right?

Correct. The main thing is to get the order going 10,20,30,40...

Or any number. Just make sure NOT '0'. If it's zero, it wont show.

chooah 03-22-2005 07:26 AM

installed the update, when i search for a users thanked posts it blanks, and still the thanks icon is not exclusive to the first post (I have it setup in AdminCP so it should only show in the first post...) ... anyone else sharing this experience?

Lionel 03-23-2005 02:48 AM

The counter in the first line does not seem to update, both as per attached image and as per your screenshot:
Posts/Compliments: 444/0

and the user has been thanked already.

Abe1 03-23-2005 01:20 PM

Quote:

Originally Posted by Lionel
The counter in the first line does not seem to update, both as per attached image and as per your screenshot:
Posts/Compliments: 444/0

and the user has been thanked already.

444/0 =

444 = his posts

0 = the amount of times he GAVE thanks

The next line says how many times he was thanked.

mikey86 03-25-2005 02:30 AM

doe sthis hide the link aswell?

Abe1 03-27-2005 12:38 PM

Quote:

Originally Posted by mikey86
doe sthis hide the link aswell?

No it doesn't.

Polo 03-28-2005 01:35 PM

I modified this hack quite a bit and now i'm using it at my website :) thanks Abe ;)

[high]* Polo clicks install...[/high]

teedizz 04-06-2005 11:37 PM

Abe1...is there anyway to make it to where if someone clicks the Thanks icon that it kinda counts as a post? Reason being I run a forum where alot of stuff is hidden with the [*hide][*/hide] codes & I want it to where if someone clicks the thanks icon it shows whats behind the hide code instead of having to reply & see whats behind the hide code itself. Is this possible & if so how can this be done. Thank you bro


All times are GMT. The time now is 08:25 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.01577 seconds
  • Memory Usage 1,829KB
  • 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
  • (1)bbcode_code_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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