PDA

View Full Version : Show Thread Enhancements - Display Thank Score of thread near of the original poster


vietdjclub
05-28-2008, 10:00 PM
Display Thank Score of thread near of the original poster

PLEASE CLICK HERE (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=180862) IF YOU USE THIS MOD



This mod will Display Thank Score of thread near of the original poster on showthread.
Instantly you will know how many visitor has THANKED and downloaded from the poster's thread.



how to install
1.Download file product-vietdjclub_thank_score.xml
2.login ACP -->Plugins & Products-->Manage Products-->Add/Import Product-->Select file product-vietdjclub_thank_score.xml

Allow Overwrite : Yes

Click OK. All Done

NOW SELECT Display thank score near poster ON vbulletin option

1. SELECT yes TO ENABLE OR no TO DISABLE.
2. PLACE Individual Forums ID to Turn Off THIS HACK (v1.0.3)


CLICK HERE TO VIEW DEMO (http://www.vietdjclub.com/deezay/forumdisplay.php?f=2)

Version 1.0.2 Fixed
show thank =0
fix Invalid SQL


Version 1.0.3
show thank =0
fix Invalid SQL
Individual Forums to Turn Off (view attack)

Version 1.0.4
show thank = 0
fix Invalid SQL
Individual Forums to Turn Off (view attack)
add score title (view setting option)

steve1966
05-29-2008, 06:49 AM
Thanks give it a try

ry215
05-29-2008, 08:43 AM
Thanks!

*Noob™ click installed* :D

Fırtına
05-29-2008, 08:56 AM
This error resolved in Forumdisplay after installing,

Database error in vBulletin 3.7.1:

Invalid SQL:
SELECT post_thanks_amount FROM post WHERE post_thanks_amount > 0 AND threadid =;

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 1
Error Number : 1064
Request Date : Thursday, May 29th 2008 @ 12:54:32 PM
Error Date : Thursday, May 29th 2008 @ 12:54:33 PM
Script : http://www.-----------------.net/isletim-sistemleri-f183.html
Referrer : http://www.-----------.net/index.php
IP Address : 77.****.220.**
Username : Fırtına
Classname : vB_Database
MySQL Version : 5.0.45-community

vietdjclub
05-29-2008, 01:11 PM
This error resolved in Forumdisplay after installing,

Database error in vBulletin 3.7.1:

Invalid SQL:
SELECT post_thanks_amount FROM post WHERE post_thanks_amount > 0 AND threadid =;

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 1
Error Number : 1064
Request Date : Thursday, May 29th 2008 @ 12:54:32 PM
Error Date : Thursday, May 29th 2008 @ 12:54:33 PM
Script : http://www.-----------------.net/isletim-sistemleri-f183.html
Referrer : http://www.-----------.net/index.php
IP Address : 77.****.220.**
Username : Fırtına
Classname : vB_Database
MySQL Version : 5.0.45-community



your site use rewrite URL .I think you should try to disable rewrite URL mod. Thank for reporting.

Darthvader2007
05-29-2008, 11:02 PM
Thanks for this mod :D
I will get this one also.

tei727
05-30-2008, 12:18 AM
your site use rewrite URL .I think you should try to disable rewrite URL mod. If you still got this trouble i will test my code, but i'm sure that this hack is working fine. Thank for reporting.what is the rewrite url mod? i got this too

Database error in vBulletin 3.7.1:

Invalid SQL:
SELECT post_thanks_amount FROM post WHERE post_thanks_amount > 0 AND threadid = ORDER BY post_thanks_amount DESC LIMIT 0 , 1;

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 'ORDER BY post_thanks_amount DESC LIMIT 0 , 1' at line 1
Error Number : 1064

vietdjclub
05-30-2008, 01:15 AM
your site use rewrite URL .I think you should try to disable rewrite URL mod. If you still got this trouble i will test my code, but i'm sure that this hack is working fine. Thank for reporting.

what is the rewrite url mod? i got this too

Database error in vBulletin 3.7.1:

Invalid SQL:
SELECT post_thanks_amount FROM post WHERE post_thanks_amount > 0 AND threadid = ORDER BY post_thanks_amount DESC LIMIT 0 , 1;

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 'ORDER BY post_thanks_amount DESC LIMIT 0 , 1' at line 1
Error Number : 1064


please update version 1.0.2 i have just FIXED error Invalid SQL

athlon64bit
05-30-2008, 01:15 AM
It would be better if it said "Given Thanks" plural rather than Given Thank.:)

vietdjclub
05-30-2008, 01:19 AM
It would be better if it said "Given Thanks" plural rather than Given Thank.:)

thank athlon64bit. just changed to Given Thanks on V1.0.2

vietdjclub
05-30-2008, 10:48 AM
Version 1.0.3 add Individual Forums to Turn Off.

Mdrop
05-30-2008, 10:51 AM
Can you make a setting that i can change the place of the score?, after views or something?

vietdjclub
05-30-2008, 10:55 AM
Can you make a setting that i can change the place of the score?, after views or something?

dont know what you want , sorry. more info ?

Mdrop
05-30-2008, 11:02 AM
dont know what you want , sorry. more info ?
I will show the 'thank score' next to the 'views' how can i do that?

*Screen for more info:
http://img105.imageshack.us/img105/3672/thankser1.png

silver surfer
05-30-2008, 11:56 AM
nice one, but still this error when i turn it on ;


Database error in vBulletin 3.7.0:

Invalid SQL:
SELECT post_thanks_amount
FROM post
WHERE threadid = 4937
ORDER BY post_thanks_amount
DESC LIMIT 0 , 1;

MySQL Error : Unknown column 'post_thanks_amount' in 'field list'
Error Number : 1054
Request Date : Friday, May 30th 2008 @ 05:54:42 AM
Error Date : Friday, May 30th 2008 @ 05:54:43 AM
Script : http://pspower.us/forumdisplay.php?f=8
Referrer : http://pspower.us/index.php
IP Address : xxx.xx.xxxx.xx
Username : Insane
Classname : vb_database
MySQL Version : 4.1.22-max-log


any ideas... ?

tei727
05-30-2008, 12:53 PM
update works great!

vietdjclub
05-30-2008, 11:49 PM
nice one, but still this error when i turn it on ;


Database error in vBulletin 3.7.0:

Invalid SQL:
SELECT post_thanks_amount
FROM post
WHERE threadid = 4937
ORDER BY post_thanks_amount
DESC LIMIT 0 , 1;

MySQL Error : Unknown column 'post_thanks_amount' in 'field list'
Error Number : 1054
Request Date : Friday, May 30th 2008 @ 05:54:42 AM
Error Date : Friday, May 30th 2008 @ 05:54:43 AM
Script : http://pspower.us/forumdisplay.php?f=8
Referrer : http://pspower.us/index.php
IP Address : xxx.xx.xxxx.xx
Username : Insane
Classname : vb_database
MySQL Version : 4.1.22-max-log


any ideas... ?

you must installed [AJAX] Post Thank You Hack (https://vborg.vbsupport.ru/showthread.php?t=165673) on your board?


or run this SQL via phpMyAdmin

ALTER TABLE `post` ADD `post_thanks_amount` INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL

Fırtına
06-01-2008, 04:07 PM
All errors fixed, thank you vietdjclub :kiss:

vietdjclub
06-01-2008, 08:51 PM
thank Fırtına for Turkish language in vers. 1.0.3

xorex
06-04-2008, 10:58 AM
russian translate

update first post please

vietdjclub
06-04-2008, 11:55 AM
thank xorex for Russian language in vers. 1.0.3

vietdjclub
06-06-2008, 03:06 AM
what new on vers 1.0.4
you can setiing score title via setting option

vietdjclub
06-14-2008, 01:29 PM
update Turkish language product-vietdjclub thank score V1.0.4

thank my friend

xorex
06-15-2008, 01:52 AM
please update russian translate ... thanx Vietdjclub for great mod !

xorex
06-15-2008, 02:08 AM
small problem in this version . look sreenshot pls


82317

vietdjclub
06-15-2008, 02:29 AM
small problem in this version . look sreenshot pls


82317


change 'give thanks' to 'give thanks: ' or 'give thanks= ' in setting Score Title

thank for Russian lang.

xorex
06-15-2008, 03:01 AM
Vietdjclub How to insert a space between them without symbols ( = or : ) ?

so It would be desirable (Given Thanks: XX) or (Given Thanks XX)

thanx

vietdjclub
06-15-2008, 03:35 AM
Vietdjclub How to insert a space between them without symbols ( = or : ) ?

so It would be desirable (Given Thanks: XX) or (Given Thanks XX)

thanx

just do follow step

Open Plugin: Display the thank score of threads - Calculate the thank score (showthread.php)

FIND
$thankscored = "($mytitle0)";

REPLACE WITH
$thankscored = "($mytitle 0)";

FIND
$thankscored = "($mytitle".$thankgivenscore['post_thanks_amount'].")";

REPLACE WITH
$thankscored = "($mytitle ".$thankgivenscore['post_thanks_amount'].")";

DO IT 2 TIMES

SAVE Plugin. DONE

xorex
06-15-2008, 04:23 AM
Wow quick reply nice ! thanx :up:

attached fixed ver.

good job chief :)

Namaless
07-09-2008, 11:18 AM
I have added one feature:

If the "Title" is empty, send to template only number (I have a table and need only number of given thanks).


See attachment..

Regards.

dimab
07-14-2008, 01:31 PM
great mod! very useful when using this the thank you mod as an "attendence" system.

SSJB_7
07-29-2008, 08:57 AM
very nice thx

GaiLoan
08-21-2008, 09:01 AM
Thanks the mods, my doesnt show how many user giving thanks in postbit or postbit legacy like the demo pics.

charlie71
10-05-2008, 09:55 PM
great hack! do you can add a function to sort the threads by amount of thanks?

apiasto
10-05-2008, 10:32 PM
nice and installed.thnx

dimab
01-13-2010, 12:59 AM
will this be ported to vbulletin v4?

BirdOPrey5
08-03-2011, 09:55 AM
This is an interesting mod but I'm concerned because as it's programmed it adds an extra query for every thread shown on forumdisplay... That could be 20 to 40 (usually) extra queries depending on how many threads you list per page.

It might benefit from options to enable only for certain usergroups to limit server load.

Darkman7030
07-11-2015, 07:43 AM
Please update for vb4

webnsn
10-30-2015, 06:58 PM
not showing for ENGLISH

I would like to install for www.wikinewforum.com