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)
-   -   Add-On Releases - [AJAX] Helpful Answers - Post Rating System (plus many sub-features) (https://vborg.vbsupport.ru/showthread.php?t=204117)

cooltechie 07-23-2009 06:04 PM

This is the error I get when using the ha_import.php

Code:

Database error in vBulletin 3.8.3:

Invalid SQL:

                SELECT userid,postid,threadid
                FROM post_thanks as post_thanks;

MySQL Error  : Unknown column 'threadid' in 'field list'
Error Number  : 1054
Request Date  : Thursday, July 23rd 2009 @ 06:55:26 PM
Error Date    : Thursday, July 23rd 2009 @ 06:55:26 PM
Script        : http://www.example.com/forum/admincp/ha_import.php
Referrer      :
IP Address    : xxx.xxx.xxx.xxx
Classname    : vB_Database
MySQL Version : 5.0.81-community


cooltechie 07-23-2009 06:07 PM

Ouch, this one hurts the most when viewing posts.


Code:

Database error in vBulletin 3.8.3:

Invalid SQL:

                SELECT
                        post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS isdeleted,
                        user.*, userfield.*, usertextfield.*,
                        icon.title as icontitle, icon.iconpath,
                        avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight,
                        spamlog.postid AS spamlog_postid,
                        deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason,
                        editlog.userid AS edit_userid, editlog.username AS edit_username, editlog.dateline AS edit_dateline,
                        editlog.reason AS edit_reason, editlog.hashistory,
                        postparsed.pagetext_html, postparsed.hasimages,
                        sigparsed.signatureparsed, sigparsed.hasimages AS sighasimages,
                        sigpic.userid AS sigpic, sigpic.dateline AS sigpicdateline, sigpic.width AS sigpicwidth, sigpic.height AS sigpicheight,
                        IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, infractiongroupid
                       
                        ,helpfulpost.goodrank,helpfulpost.totalrank,helpfulanswer.helpfulanswerid,helpfulanswer.yesno
                FROM post AS post
                LEFT JOIN user AS user ON(user.userid = post.userid)
                LEFT JOIN userfield AS userfield ON(userfield.userid = user.userid)
                LEFT JOIN usertextfield AS usertextfield ON(usertextfield.userid = user.userid)
                LEFT JOIN icon AS icon ON(icon.iconid = post.iconid)
                LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)
                LEFT JOIN spamlog AS spamlog ON(spamlog.postid = post.postid)
                        LEFT JOIN deletionlog AS deletionlog ON(post.postid = deletionlog.primaryid AND deletionlog.type = 'post')
                LEFT JOIN editlog AS editlog ON(editlog.postid = post.postid)
                LEFT JOIN postparsed AS postparsed ON(postparsed.postid = post.postid AND postparsed.styleid = 8 AND postparsed.languageid = 1)
                LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 8 AND sigparsed.languageid = 1)
                LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)
                        LEFT JOIN helpfulpost AS helpfulpost ON(helpfulpost.postid = post.postid)LEFT JOIN helpfulanswer AS helpfulanswer ON(helpfulanswer.postid = post.postid and helpfulanswer.userid = 1)
                WHERE post.postid IN (0,13272,15596,15597,15611,15613)
                ORDER BY post.dateline;

MySQL Error  : Table 'example_vb.helpfulpost' doesn't exist
Error Number  : 1146
Request Date  : Thursday, July 23rd 2009 @ 06:52:51 PM
Error Date    : Thursday, July 23rd 2009 @ 06:52:51 PM
Script        : http://www.example.com/forum/showthread.php?t=2292
Referrer      : http://www.example.com/forum/forumdisplay.php?f=12
IP Address    : xxx.xxx.xxx.xxx
Classname    : vB_Database
MySQL Version : 5.0.81-community


Ted S 07-23-2009 07:57 PM

Looks like the fresh install did not fully initialize. I will be reworking the install code over the weekend to distribute to understand what went wrong.

Please remove 1.9 if you still have it installed and are getting errors. Most users of 1.9 who upgraded to it will not have issues.

furst 07-24-2009 02:47 PM

Is it possible to make it so that someone gets a helpful rating whenever they get regular reputation? Is that feature available yet?

tpearl5 07-24-2009 02:52 PM

Quote:

Originally Posted by furst (Post 1854681)
Is it possible to make it so that someone gets a helpful rating whenever they get regular reputation? Is that feature available yet?

I completely eliminated the reputation links, and hooked up the helpful answer system to reputation. There's really no reason to have both.

furst 07-24-2009 02:58 PM

Quote:

Originally Posted by tpearl5 (Post 1854683)
I completely eliminated the reputation links, and hooked up the helpful answer system to reputation. There's really no reason to have both.

I welcome it when members want to leave a comment in the reputation they give to another. They should have the option to do so if they want to.

Ted S 07-24-2009 06:43 PM

Reputation extends well beyond just rating posts so while votes can influence it, I have not seen much demand for the other way.

reddyink 07-25-2009 10:34 PM

Does this integrate with points system such as vbExperience? Does the ratings of replies get points?

thanks -

Ted S 07-26-2009 12:49 AM

This does not contribute to the points system although I'm open to suggestions.

tpearl5 07-26-2009 01:29 AM

FYI, I have 1.9 working with vbplaza (with one small code addition) without a problem...


All times are GMT. The time now is 08:35 PM.

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.02468 seconds
  • Memory Usage 1,751KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (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