vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - [AJAX] Thumbs Up? (https://vborg.vbsupport.ru/showthread.php?t=285654)

maki_69 07-19-2012 11:22 AM

I installed mod on my other forum and works fine and I don't know how is problem on the first forum ;/. When I end configuring mod I will be testing mod on first forum (maybe other plugin conflict with this mod?).
You add phrase "sc_thumbs_title_thumbsdown" and "sc_thumbs_title_thumbsup" but You didn't use it in mod but You use twice "sc_thumbs_thumbs_down" and "sc_thumbs_thumbs_up" (templates "sc_thumbs_box").

EDIT: I know where is bug :). Turn on voting only in first post and you will see the same bug what mine. If You turn on voting in every post Your mod works fine.

Scandal 07-19-2012 02:41 PM

Quote:

Originally Posted by maki_69 (Post 2349468)
EDIT: I know where is bug :). Turn on voting only in first post and you will see the same bug what mine. If You turn on voting in every post Your mod works fine.

wow, you're right! I'll fix it as soon as posible. :up:

Thanks, ;)

maki_69 07-19-2012 03:06 PM

Hmm, now i'm testing mod on other forum and I saw in my postbox e-mail with vbulletin database errors like this:

"Database error in vBulletin 3.8.7:

Invalid SQL:
SELECT * FROM sc_thumbs_post WHERE postid IN () ORDER BY username ASC;

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 username ASC' at line 1"

If You have a time and desire, I have another proposals for modifications Your mod like:
- public statistic (eg: with the best post from latest x days)
- disabling for view post with more than x "thumbs down" or mark the best posts in topic
A little imagination and this mod will be the best mod of the month :P

3raq4all 07-19-2012 05:17 PM

Quote:




Hello
How do I get on the variable for the number?
I want to add the number to the Post template
I hope to help

What exactly you want to do? These numbers refers the thumbs has been given on the whole site.
I want to add the number of figures for each member of thumb template to the Post Legacy I just want the numbers for this variable

Scandal 07-19-2012 05:53 PM

Quote:

Originally Posted by maki_69 (Post 2349537)
Hmm, now i'm testing mod on other forum and I saw in my postbox e-mail with vbulletin database errors like this:

"Database error in vBulletin 3.8.7:

Invalid SQL:
SELECT * FROM sc_thumbs_post WHERE postid IN () ORDER BY username ASC;

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 username ASC' at line 1"

If You have a time and desire, I have another proposals for modifications Your mod like:
- public statistic (eg: with the best post from latest x days)
- disabling for view post with more than x "thumbs down" or mark the best posts in topic
A little imagination and this mod will be the best mod of the month :P

Can you give me more info about the database error? I need the url of the error and the info of user (he is a guest or a member?). I think this info is on the e-mail.

Thanks for your ideas, will see on the next versions!!

The bug with only first post function, fixed!

Quote:

Originally Posted by 3raq4all (Post 2349584)
I want to add the number of figures for each member of thumb template to the Post Legacy I just want the numbers for this variable

The variables you need for postbit legacy are:
$post[sc_thumbs_up_received]
$post[sc_thumbs_down_received]
$post[sc_thumbs_up_gave]
$post[sc_thumbs_down_gave]
:up:

maki_69 07-19-2012 07:26 PM

Quote:

Originally Posted by Scandal (Post 2349599)
Can you give me more info about the database error? I need the url of the error and the info of user (he is a guest or a member?). I think this info is on the e-mail.

Url: http://my_forum.pl/thumbs.php
User: Drytomm (but this rather can't help with fix problem)

Shortly I check fixed version :)

3raq4all 07-19-2012 07:56 PM

Quote:

Originally Posted by Scandal (Post 2349599)
Can you give me more info about the database error? I need the url of the error and the info of user (he is a guest or a member?). I think this info is on the e-mail.

Thanks for your ideas, will see on the next versions!!

The bug with only first post function, fixed!


The variables you need for postbit legacy are:
$post[sc_thumbs_up_received]
$post[sc_thumbs_down_received]
$post[sc_thumbs_up_gave]
$post[sc_thumbs_down_gave]
:up:




Thank you, King :up:

Chris8 08-07-2012 07:34 PM

Looks very promising.

How about adding ability to thumb up blog (vbblog) entries and comments?
Useful could be also to see a page with of most thumbed up or thumbed down posts or a search feature for most thumbed up or thumbed down posts.

Kolektor 08-11-2012 07:16 AM

works perfectly! :)
Hope to see more features ;)
love you man!
Nominated to MOTM!

Kolektor 08-11-2012 07:26 AM

There is one uncached template:

sc_thumbs_memberinfo_block

:)


All times are GMT. The time now is 04:01 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.01227 seconds
  • Memory Usage 1,745KB
  • 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
  • (6)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
  • (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