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)

smacklan 05-10-2005 03:22 PM

I am getting the exact same MySQL error message and condition on my board since I upgraded.

YLP1 05-10-2005 03:28 PM

Yeppes...me too:

Code:

Database error in vBulletin 3.0.7:

Invalid SQL:
  UPDATE vb3_user
  SET reputation =  + reputation
  WHERE userid = 3
 
mysql error: You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near '+ reputation
  WHERE userid = 3' at line 2

mysql error number: 1064


Abe1 05-10-2005 05:25 PM

Hi, sorry for the error.

Upload the attached file over writing the current one in the root dir of your forum.

(I also updated the zip.)

smacklan 05-10-2005 06:29 PM

That did the trick Abe...thanks!! **Installed** :up:

mgurain 05-10-2005 08:59 PM

Quote:

Originally Posted by smacklan
That did the trick Abe...thanks!! **Installed** :up:

Thanks a lot Abe1

Hoang Tu Ao Den 05-11-2005 01:23 AM

I'm very interested in the Post Thank You Mod . However, I want know if there is modification to that Mod or another Mod that can do the following:

1. Do what the Post Thank You Mod do.
2. There's a hidden text tag that we can use, we user use this tag, a picture will appeared showing the text is hidden.
3. In order to see the text, user has to be registered longer than 30 days or have the reputation of xxx or more , or ... has 50 post or more.

Thank you.

Abe1 05-11-2005 12:34 PM

Quote:

Originally Posted by Hoang Tu Ao Den
I'm very interested in the Post Thank You Mod . However, I want know if there is modification to that Mod or another Mod that can do the following:

1. Do what the Post Thank You Mod do.
2. There's a hidden text tag that we can use, we user use this tag, a picture will appeared showing the text is hidden.
3. In order to see the text, user has to be registered longer than 30 days or have the reputation of xxx or more , or ... has 50 post or more.

Thank you.

2 and 3 have nothing to do with 1. You got to put in a mod request. Not here.

Abe1 05-11-2005 12:37 PM

Quote:

Originally Posted by mgurain
Thanks a lot Abe1

Just dont forget to click 'install' so you can be notified about updates.

YLP1 05-14-2005 06:22 PM

Whew...finally figured it out. Thanks anyway.

Vaelen 05-18-2005 06:42 AM

Thanks
hehe, ;)

Watson 05-18-2005 12:44 PM

just tried this again, and again still no admin options :(

Dead like a stick in the water for me, lost interest in this, tried it half a dozen times

Hoang Tu Ao Den 05-29-2005 11:11 PM

Sorry if I confused you guys earlier,
Is there anyway to combine Post Thanks You Hack with Lock Down hack, or Hide hacks ?
( User can only see the hidden content only after clicking the Thank You button).

Waiting for the reply.
Thanks

Abe1 05-30-2005 01:17 PM

Quote:

Originally Posted by Hoang Tu Ao Den
Sorry if I confused you guys earlier,
Is there anyway to combine Post Thanks You Hack with Lock Down hack, or Hide hacks ?
( User can only see the hidden content only after clicking the Thank You button).

Waiting for the reply.
Thanks

Sorry, not familur with the hack. I'm not doing any work on this hack until vB comes out with 3.5 so it should be a few weeks.

xtreme-mobile 05-31-2005 07:29 PM

hi

can anyone help me

ive installed the ahck but when it got to the TEMLPLATE edits the text i had to find in the postbit etc could not be found, what do you do if it says the code im looking for does not exist?

many thanks

dean

xtreme-mobile 06-01-2005 06:42 PM

any one :(

Abe1 06-01-2005 06:44 PM

Quote:

Originally Posted by xtreme-mobile
any one :(

Can you PM me your postbit template? (please put it in "html" tags)

SCRIPT3R 06-02-2005 10:46 PM

Quote:

[NEW]Option to give a user who receives thanks reputation points.
i think i'm blind 'cause i can't find this option anywhere (need to turn it off)... can someone guide me. :)

Abe1 06-02-2005 11:05 PM

Quote:

Originally Posted by GearTripper
i think i'm blind 'cause i can't find this option anywhere (need to turn it off)... can someone guide me. :)

It's built-in to be off but there are all the options in the 'vbulletin options' in the user cp.

SCRIPT3R 06-03-2005 02:45 AM

Quote:

Originally Posted by Abe1
It's built-in to be off but there are all the options in the 'vbulletin options' in the user cp.

i figured there was an option somewhere, but didn't notice it in your screenshots posted here. i'll look again and look for it int he CP options. soo far it's getting a good response though at one of my forums. thnx.

michael5472 06-05-2005 02:29 PM

amazing such a cool idea "thanks" :D

Abe1 06-05-2005 09:26 PM

Here is small fix you can do so that the usernames will show in alphbetical order.

(This is done over what you had placed while installing the hack.)

Open includes/functions_showthread.php

Find:
HTML Code:

$post_thanks_cashe = $DB_site->query("SELECT * FROM ". TABLE_PREFIX ."post_thanks WHERE threadid='$post[threadid]'");
Replace with:
HTML Code:

$post_thanks_cashe = $DB_site->query("SELECT * FROM ". TABLE_PREFIX ."post_thanks WHERE threadid='$post[threadid]' ORDER BY username");

H@K@N 06-07-2005 07:22 PM

Hi @ll,

after i switched to php 5.04 i am getting a blank page when i clicking on Th@nks, but the thank is accepted.

What could be the reason ?

th@nks

Abe1 06-07-2005 07:27 PM

Quote:

Originally Posted by H@K@N
Hi @ll,

after i switched to php 5.04 i am getting a blank page when i clicking on Th@nks, but the thank is accepted.

What could be the reason ?

th@nks

No clue. I'd have to test on php 5.04 to find out. As far as I know, vBulletin doesn't fully support php5.

H@K@N 06-07-2005 07:32 PM

i knew, but everything except 2 hacks is working ...

If i click on the Thanks Button, i have as Url following on the blank Page :

Code:


http://www.aslanlar.de/post_thanks.php?do=post_thanks&p=112033

so system is accepting the click on thanks, but its not jumping to the thread back.


gr33tz

Abe1 06-07-2005 07:36 PM

Quote:

Originally Posted by H@K@N
i knew, but everything except 2 hacks is working ...

If i click on the Thanks Button, i have as Url following on the blank Page :

Code:


http://www.aslanlar.de/post_thanks.php?do=post_thanks&p=112033

so system is accepting the click on thanks, but its not jumping to the thread back.


gr33tz

The jumping back is a vBulletin jumping function. maybe turn off the hack until vB comes out with 3.5 and I release a version of this hack using the plug-in/hook system.

H@K@N 06-07-2005 07:57 PM

Ok thx then i will wait, but one remark 4 your conclusion.

The Hack Delete Post with one Button in Postbit, located here: https://vborg.vbsupport.ru/showthread.php?t=70684

is working, because it also uses the jumping back function ...

gr33tz

SCRIPT3R 06-26-2005 07:18 PM

getting the following error when someone tried to THANK a deleted user.

Quote:

Database error in vBulletin 3.0.3:

Invalid SQL:
UPDATE user
SET post_thanks_thanked_times = 1 + post_thanks_thanked_times
WHERE userid =

mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3

mysql error number: 1064

Date: Wednesday 22nd of June 2005 12:38:18 AM
Script: http://www.hookupboard.com/forums/po...s&p=584191
Referer: http://www.hookupboard.com/forums/sh...ad.php?t=35183
Username: xxx
IP Address: xxx

Abe1 06-27-2005 02:49 AM

Quote:

Originally Posted by GearTripper
getting the following error when someone tried to THANK a deleted user.

Thanks. I will try to fix for my vb3.5 upgrade.

vNPowers 06-27-2005 11:38 AM

Thanks, Nice

1nf3rn0 06-28-2005 10:23 PM

getting this error when i click on the thanks button everything goes thru and shows properly, but as it says thankl you for saying thanks, it shows the below error...other than that, that is the only problem...dont know why or how...i have added maybe 2 other hacks which would be the welcome panel hack and the who visited today (24 hour option) hack...if you can help thank you...if not im lookin more into it now!

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /global.php on line 329

Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 2290

Abe1 06-30-2005 04:02 PM

Quote:

Originally Posted by 1nf3rn0
getting this error when i click on the thanks button everything goes thru and shows properly, but as it says thankl you for saying thanks, it shows the below error...other than that, that is the only problem...dont know why or how...i have added maybe 2 other hacks which would be the welcome panel hack and the who visited today (24 hour option) hack...if you can help thank you...if not im lookin more into it now!

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /global.php on line 329

Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 2290

Did you download the latest zip file?

1nf3rn0 07-01-2005 04:03 PM

Quote:

Originally Posted by Abe1
Did you download the latest zip file?

yes sir i did...and thank you for the reply and the support...i really love this hack but i disabled fo rthe time being because of the erros...but yes, i did dload the latest version and reinstalled and i know i did it right....i check and dbl checked, and triple checked then quadruple checked...lol....just cant figure out this lil error...

mindbuster 07-02-2005 03:21 PM

Quote:

Originally Posted by Abe1
I'm not familer with ushop. I may a look at though some day.

Bump :D

deb0 07-02-2005 03:50 PM

How do I upgrade from 1.0? What's the best (safest method)?

thx in advance

1nf3rn0 07-02-2005 05:59 PM

Quote:

Originally Posted by deb0
How do I upgrade from 1.0? What's the best (safest method)?

thx in advance

you should be able to dload the latest version and then add the install file to your admincp and run that bad boy, within that you should see where it says "upgrade to1.x"...hope that helps...in other words...its all in the new installer file!

Abe1 07-03-2005 01:28 AM

Quote:

Originally Posted by deb0
How do I upgrade from 1.0? What's the best (safest method)?

thx in advance

I think the best would be to run the update for each one at a time. Here are the versions you missed. Just upload the install file and run it. Then do it to the next version. and finaly to the last version.

BlackRabbit 07-04-2005 05:58 PM

Quote:

Originally Posted by 1nf3rn0
getting this error when i click on the thanks button everything goes thru and shows properly, but as it says thankl you for saying thanks, it shows the below error...other than that, that is the only problem...dont know why or how...i have added maybe 2 other hacks which would be the welcome panel hack and the who visited today (24 hour option) hack...if you can help thank you...if not im lookin more into it now!

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /global.php on line 329

Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 2290

Yep.. me too.. getting the same error here as well.. please fix it please.. :)

BR ;)

paul41598 07-06-2005 12:27 PM

The search feature doesnt work in this hack? Or for me at least. Everytime I thank someone, then go back to view all my thanked posts from my user profile, it says

"Sorry - no matches. Please try some different terms"

Any ideas?

I rebuilt all the counters and it still does it

Abe1 07-06-2005 02:11 PM

Quote:

Originally Posted by paul41598
The search feature doesnt work in this hack? Or for me at least. Everytime I thank someone, then go back to view all my thanked posts from my user profile, it says

"Sorry - no matches. Please try some different terms"

Any ideas?

I rebuilt all the counters and it still does it

"View all thanked posts" to is see what posts you GOT thanked in. NOT which posts YOU thanked people.

It's bacily there because users wanted to see where they were thanked.

You want a feature to see were YOU thanked? Ask me for it. I'm just about to come out with the vb3.5 upgrade and if you want this feature in, let me know.

1nf3rn0 07-07-2005 04:29 PM

Quote:

Originally Posted by 1nf3rn0
getting this error when i click on the thanks button everything goes thru and shows properly, but as it says thankl you for saying thanks, it shows the below error...other than that, that is the only problem...dont know why or how...i have added maybe 2 other hacks which would be the welcome panel hack and the who visited today (24 hour option) hack...if you can help thank you...if not im lookin more into it now!

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /global.php on line 329

Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 2290

any ideas Abe1?...glad i'm no tthe only one gettin this error...


All times are GMT. The time now is 11:33 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.01671 seconds
  • Memory Usage 1,840KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_html_printable
  • (20)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