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)

Noctavia 07-12-2009 12:38 AM

Quote:

Originally Posted by Ted S (Post 1846094)
You're using the wrong phrase variable. You need to edit:

Code:

<phrase 1="$post[goodrank]" 2="$post[totalrank]">$vbphrase[helpfulanswer_x_out_of_y]</phrase>
And change it to:

Code:

<phrase 1="$post[goodrank]" 3="$post[badrank]">$vbphrase[helpfulanswer_x_out_of_y]</phrase>

I changed the code you posted, however when I edit the helpfulanswer_x_out_of_y phease to say: {1} members liked this post. {3} members didn't like this post, I get the following message on each post:

0 members liked this post. [ARG:3 UNDEFINED] members didn't like this post.

I'm not currently running 1.9 as you mention it's not complete yet. I'm using version 1.8.4

Ted S 07-12-2009 02:55 AM

Looks like I gave you bad guidance... You need to leave 2="$post[totalrank]"

MarkusB 07-12-2009 03:35 PM

Have some problems with 1.8.4 during installation

did upload all files on right place
did import the Product xml

Now i don`t find the Mod in the list of Addons and no possibility to change settings because not present in the vbulletin adjustments.

The "helpful Answers Systems" Button is in the ACP, if i change something there a mysql error appears and tells me about a missing table (vb3_helpfulanswer' doesn't exist)

However, what is the best way to de install the left parts of this Mod, is it enough to remove the files with ftp, and clean the Skins from the HAS entries?
I would like to make a fresh install again.

Cheers Markus

Ted S 07-12-2009 03:58 PM

If the mod is not showing up as an installed product you should try doing an update first allowing overwrites and see if that works.

If not, check the plugin list for any code from the mod and remove it.

You can then remove the files uploaded via FTP and revert any templates created.

cooltechie 07-15-2009 03:47 AM

Error when using the ha_import.php file

Code:

Database error in vBulletin 3.8.3:

Invalid SQL:
UPDATE post SET totalrank=totalrank + 1,
                        goodrank=goodrank + 1 WHERE postid = 11756;

MySQL Error  : Unknown column 'totalrank' in 'field list'
Error Number  : 1054
Request Date  : Wednesday, July 15th 2009 @ 04:44:08 AM
Error Date    : Wednesday, July 15th 2009 @ 04:44:09 AM
Script        : http://www.example.com/forum/admincp/ha_import.php
Referrer      :
IP Address    : xxx.xxx.xxx.xxx
Username      :
Classname    : vB_Database
MySQL Version : 5.0.81-community


Ted S 07-15-2009 03:58 AM

Quote:

Originally Posted by cooltechie (Post 1848978)
Error when using the ha_import.php file

Code:

Database error in vBulletin 3.8.3:
 
Invalid SQL:
UPDATE post SET totalrank=totalrank + 1,
            goodrank=goodrank + 1 WHERE postid = 11756;
 
MySQL Error  : Unknown column 'totalrank' in 'field list'
Error Number  : 1054
Request Date  : Wednesday, July 15th 2009 @ 04:44:08 AM
Error Date    : Wednesday, July 15th 2009 @ 04:44:09 AM
Script        : http://www.example.com/forum/admincp/ha_import.php
Referrer      :
IP Address    : xxx.xxx.xxx.xxx
Username      :
Classname    : vB_Database
MySQL Version : 5.0.81-community


Try the new version I just posted.

cooltechie 07-15-2009 04:08 AM

Quote:

Originally Posted by Ted S (Post 1848980)
Try the new version I just posted.

Here's the new error:

Code:

Database error in vBulletin 3.8.3:

Invalid SQL:

                                SELECT postid
                                FROM helpfulpost as helpfulpost                               
                                WHERE post.threadid = 11756;

MySQL Error  : Unknown column 'post.threadid' in 'where clause'
Error Number  : 1054
Request Date  : Wednesday, July 15th 2009 @ 05:07:14 AM
Error Date    : Wednesday, July 15th 2009 @ 05:07:15 AM
Script        : http://www.example.com/forum/admincp/ha_import.php
Referrer      :
IP Address    : xxx.xxx.xxx.xxx
Username      :
Classname    : vB_Database
MySQL Version : 5.0.81-community


Ted S 07-15-2009 04:32 AM

Whoops. One more time please.

cooltechie 07-15-2009 04:38 AM

Quote:

Originally Posted by Ted S (Post 1848994)
Whoops. One more time please.

A different unknown column error

Code:

Database error in vBulletin 3.8.3:

Invalid SQL:

                                SELECT postid
                                FROM helpfulpost as helpfulpost                               
                                WHERE helpfulpost.threadid = 11756;

MySQL Error  : Unknown column 'helpfulpost.threadid' in 'where clause'
Error Number  : 1054
Request Date  : Wednesday, July 15th 2009 @ 05:36:38 AM
Error Date    : Wednesday, July 15th 2009 @ 05:36:40 AM
Script        : http://www.example.com/forum/admincp/ha_import.php
Referrer      :
IP Address    : xxx.xxx.xxx.xxx
Username      :
Classname    : vB_Database
MySQL Version : 5.0.81-community


Ted S 07-15-2009 03:16 PM

Are you already using the addon? If so, what version?


All times are GMT. The time now is 09:04 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.02494 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
  • (6)bbcode_code_printable
  • (4)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