vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Show Thread Enhancements - Display Thank Score of thread near of the original poster (https://vborg.vbsupport.ru/showthread.php?t=180862)

vietdjclub 05-28-2008 10:00 PM

Display Thank Score of thread near of the original poster
 
Display Thank Score of thread near of the original poster


PLEASE CLICK HERE IF YOU USE THIS MOD

  1. This mod will Display Thank Score of thread near of the original poster on showthread.
  2. 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

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,

Code:

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

Quote:

Originally Posted by Fırtına (Post 1534855)
This error resolved in Forumdisplay after installing,

Code:

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

Quote:

Originally Posted by vietdjclub (Post 1535095)
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

Code:

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

Quote:

Originally Posted by vietdjclub (Post 1535095)
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.

Quote:

Originally Posted by tei727 (Post 1535765)
what is the rewrite url mod? i got this too

Code:

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

Quote:

Originally Posted by athlon64bit (Post 1535814)
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

Quote:

Originally Posted by Mdrop (Post 1536099)
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

Quote:

Originally Posted by vietdjclub (Post 1536106)
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 ;

Code:

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

Quote:

Originally Posted by silver surfer (Post 1536151)
nice one, but still this error when i turn it on ;

Code:

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 on your board?


or run this SQL via phpMyAdmin

PHP Code:

ALTER TABLE `postADD `post_thanks_amountINT10 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


Attachment 82317

vietdjclub 06-15-2008 02:29 AM

Quote:

Originally Posted by xorex (Post 1549583)
small problem in this version . look sreenshot pls


Attachment 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

Quote:

Originally Posted by xorex (Post 1549602)
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

Code:

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

$thankscored = "($mytitle0)";
REPLACE WITH
Code:

$thankscored = "($mytitle 0)";
FIND
Code:

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

$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


All times are GMT. The time now is 04: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.01318 seconds
  • Memory Usage 1,826KB
  • 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
  • (11)bbcode_code_printable
  • (1)bbcode_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (39)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete