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)
-   -   Add-On Releases - [AJAX] Helpful Answers - Allow users to rate individual posts (https://vborg.vbsupport.ru/showthread.php?t=204139)

Ted S 08-12-2009 09:34 PM

Quote:

Originally Posted by libertylounge (Post 1864730)
Additionally, there's something wrong with the query you say to run if you switch between the 10 point scale and the up/down vote:

Code:

UPDATE post SET goodrank = '', totalrank = '';
DELETE FROM helpfulanswer;

I get the following error:



And:

Which script did you run to get this error?

basketmen 08-26-2009 01:38 PM

guys, is there version for vbulletin 3.6 for this hack

i had try to install but get this when importing

Quote:

The following dependencies were not met:
This product is not compatible with version 3.6.8 of vBulletin. (Compatible starting with 3.7.0)

Ted S 08-26-2009 03:00 PM

You can edit the modification to install on 3.6 but it is not supported against the 3.6 code although it should work just fine.

Ted S 09-01-2009 01:34 AM

Hello Helpful Answers users. Today I am please to announce 2.0.0 which is a big number that includes a big feature long asked for (although the actual changes are rather small).

2.0 introduces user level stats on good votes, totalvotes and bad votes which you can put right into the postbit template using $post[hagoodrank] $post[hatotalrank] and $post[habadrank]

These stats combine a user's entire post history (votes on their posts) into simple numbers for your use.

Updating to 2.0 may take a few minutes as old votes are converted into the user profile. To reduce queries the user table is extended to offer both a good and total rank field.

2.0 requires uploading all .php files as well as updating the XML plugin and to use the new variables you will need to edit your postbit template as you see fit.

viper357 09-01-2009 09:40 AM

Quote:

Originally Posted by Ted S (Post 1874798)
You can edit the modification to install on 3.6 but it is not supported against the 3.6 code although it should work just fine.

Does this still apply to 2.0.0 on 3.6.12? I haven't installed it yet.

viper357 09-01-2009 12:06 PM

Ok, I've got it installed and running on 3.6.12 but it's only showing on the first post, any idea why?

edit: If you view the full thread then it only shows in the first post, but if you click on the individual post number (to show only that post - showpost.php) then it shows fine, just on the showthread.php it doesn't.

edit again: It's showing on the first post of each page of a thread.

viper357 09-01-2009 12:58 PM

I've tried playing around with it by putting it in different places, it will show up wherever I put it but still only in the first post. I have tried the manual option as well.

I have disabled all of my other hacks 5 at a time but that made no difference.

Ted S 09-01-2009 09:45 PM

Quote:

Originally Posted by viper357 (Post 1877676)
Does this still apply to 2.0.0 on 3.6.12? I haven't installed it yet.

Yes. 3.6, 3.7 and 3.8 are all fairly similar and I can't think of anything that would break in this mod. However as I don't have a 3.6 test site anymore I can't validate that myself.

Ted S 09-01-2009 10:00 PM

Quote:

Originally Posted by viper357 (Post 1877758)
I've tried playing around with it by putting it in different places, it will show up wherever I put it but still only in the first post. I have tried the manual option as well.

I have disabled all of my other hacks 5 at a time but that made no difference.

Check your options... are you setting this to not appear in the first post by chance? Have you changed any other settings?

viper357 09-02-2009 06:26 AM

Quote:

Originally Posted by Ted S (Post 1878065)
Check your options... are you setting this to not appear in the first post by chance? Have you changed any other settings?

If I set that to not appear then it doesn't appear, if I set it to appear in the first post then it does appear, so it is doing what it is supposed to do, but it only shows in the first post, here is a link so you can see --> http://www.marineaquariumsa.com/showthread.php?t=5238

On that link, post number 2 does not have the thumbsup, but if you click on the post number to show just the post then it suddenly appears --> http://www.marineaquariumsa.com/show...76&postcount=2

I am desperate to get this working, my members are crying for something like this :)

Ted S 09-02-2009 06:34 PM

Quote:

Originally Posted by viper357 (Post 1878238)
If I set that to not appear then it doesn't appear, if I set it to appear in the first post then it does appear, so it is doing what it is supposed to do, but it only shows in the first post, here is a link so you can see --> http://www.marineaquariumsa.com/showthread.php?t=5238

On that link, post number 2 does not have the thumbsup, but if you click on the post number to show just the post then it suddenly appears --> http://www.marineaquariumsa.com/show...76&postcount=2

I am desperate to get this working, my members are crying for something like this :)

Strange.

Let's give the attached version a shot (note this uses 2.0 so if you are not on 2.0 it will upgrade you).

Let me know if it works...

viper357 09-03-2009 04:32 PM

Quote:

Originally Posted by Ted S (Post 1878541)
Strange.

Let's give the attached version a shot (note this uses 2.0 so if you are not on 2.0 it will upgrade you).

Let me know if it works...

No change, still the same.

Ted S 09-03-2009 07:15 PM

Very strange. What other mods are you running that alter your posts? Have you tried turning other ones off?

gdll 09-20-2009 06:57 PM

hey viper, did you get it to work on 3.6 ?

kNeeLy 09-26-2009 10:34 AM

I just installed this after seeing it used on a forum I regular...so I figured I'd give it a shot!! marked as installed and werking with no problems on 3.7.4!!!

Tortikova 09-28-2009 07:36 PM

same problem, as viper357 has =(
3.7.0, tried disabling all installed plugins - did not help =(
any ideas?

Ted S 09-28-2009 09:52 PM

Quote:

Originally Posted by Tortikova (Post 1891944)
same problem, as viper357 has =(
3.7.0, tried disabling all installed plugins - did not help =(
any ideas?

Have you customized your postbit templates? What version are you running?

Tortikova 09-29-2009 08:48 AM

Quote:

Have you customized your postbit templates? What version are you running?
yep, but I've tried using default ones - the same story =(
I'm using 3.7.0 and was trying 1.9.5, 2.0.0 and 2.0.1 plugin versions

Ted S 10-01-2009 01:23 AM

Quote:

Originally Posted by Tortikova (Post 1892207)
yep, but I've tried using default ones - the same story =(
I'm using 3.7.0 and was trying 1.9.5, 2.0.0 and 2.0.1 plugin versions

Give the attached plugin file a try.

Ted S 11-09-2009 05:50 AM

Wow! I just looked at the log for the sites using the tracking feature (anonymous of course) and there's been over 300,000 votes to date. In the last month numbers have almost doubled... 75%+ of votes are still positive and as more sites add helpful answers expect the numbers to only grow as people start looking for this as a standard feature.

To celebrate I'm looking to release 2.5 before the new vbulletin 4.0 comes out so send in your feature suggestions today!

pjkcards 01-02-2010 07:23 PM

When I try to import the product into 3.6.7, I get an error saying it isn't compatible. Is there a way to bypass this so I can see if I can get it to work? Cheers.

Ted S 01-02-2010 11:18 PM

Quote:

Originally Posted by pjkcards (Post 1945256)
When I try to import the product into 3.6.7, I get an error saying it isn't compatible. Is there a way to bypass this so I can see if I can get it to work? Cheers.

Edit the XML file... near the top is the min version.

pjkcards 01-03-2010 07:26 PM

Quote:

Originally Posted by Ted S (Post 1945417)
Edit the XML file... near the top is the min version.

Great, thanks.

I installed it, and it appears to work. However, when I rate 1 post in a thread, it refreshed the page, and returns a "1 of 1 members have found this post helpful" under ALL of the posts in that thread. I want it to rate individual posts. Know of a way around this?

Cheers!

Ted S 01-03-2010 09:30 PM

Quote:

Originally Posted by pjkcards (Post 1946268)
Great, thanks.

I installed it, and it appears to work. However, when I rate 1 post in a thread, it refreshed the page, and returns a "1 of 1 members have found this post helpful" under ALL of the posts in that thread. I want it to rate individual posts. Know of a way around this?

Cheers!

This mod is for individual posts. Sounds like something is different in 3.6 that's causing the same code to get rendered. You'd have to look at the code strucutre -- I don't offer support for that old of a version although I'm pretty sure others are running this mod on 3.6.

pjkcards 01-15-2010 07:08 PM

Thanks for the info.

If anyone reads this and has discovered the problem, please send me a PM. Thanks in advance.
Cheers.

nerbert 06-18-2010 09:05 PM

I would like to display a net rating equal to (good rating) - ( bad rating). I thought it would be easy to define a new variable in helpfulanswers.php to do that but it doesn't seem to work.

I can do the phrase edits and HTML but I'm no good at PHP.

Thanks.

SCuN 06-20-2010 05:51 PM

whether it would be possible to do something like that in this modification, for example, posts which got 10 negative ratings [or average] , were hidden and you click that you can see them. This would be useful in hiding does not help or do not need posts

Ted S 06-20-2010 06:15 PM

Quote:

Originally Posted by SCuN (Post 2056550)
whether it would be possible to do something like that in this modification, for example, posts which got 10 negative ratings [or average] , were hidden and you click that you can see them. This would be useful in hiding does not help or do not need posts

This is already a feature.

SCuN 06-20-2010 07:38 PM

and on what basis it works because I never see this in the options?

I mean something like the image, but that is an example of Polish web page

Ted S 06-20-2010 10:13 PM

Quote:

Originally Posted by SCuN (Post 2056606)
and on what basis it works because I never see this in the options?

I mean something like the image, but that is an example of Polish web page

You'll need to use the 3.8 version to get this feature. I do not support 3.7 anymore.

SCuN 06-21-2010 08:42 AM

I used version 3.8 but still can not find this option ... whenever I click minus the post and so have estimation of +0 ... When I click on + everything is okay +1

Ted S 06-22-2010 08:29 PM

Quote:

Originally Posted by SCuN (Post 2056805)
I used version 3.8 but still can not find this option ... whenever I click minus the post and so have estimation of +0 ... When I click on + everything is okay +1

The option is in the Helpful Answers configuration, you must enable the feature and set a threshold for posts to be hidden, they must then have a number below that threshold for it to work.

SCuN 06-23-2010 05:38 AM

uninstalled version 2.0.0b, installed version 2.0.5 , really not find this option, I attach a screen with the setup on my vB

toolblast 10-15-2010 03:04 AM

Installed on 3.6 and getting the same issue as other posters in this thread where it is showing ONLY on the FIRST POST of each page in the thread. For example, it shows on the OP but then none of the other posts on that thread page, but when you go to page 2 of the thread, its on the first post of that page.... but not on any others. Very strange.

Other than that the plugin works, when I click it the votes are cast and it works... but only on the first post which isnt what I need.. I want it showing on all posts!!!

Anyone find a solution????

toolblast 10-15-2010 04:46 PM

Found the solution, for those running 3.6 go into the plugin that renders the postbit start, and remove the 'hook' code that appears somewhere in the middle... it doesn't seem to affect anything and now the ratings will appear on all posts instead of just the first one.

toolblast 10-15-2010 04:48 PM

AJAX still appears to not be working... when I click the thumbs it refreshes the page and I lose where I was. However, the function does work and shows 1 of 1 members found helpful, etc. But it isn't ajax which is annoying as it refreshes the page and scrolls back to the top.

Any solutions to this??? I've added in the yahoo ajax js libraries... still nothing

Ted S 10-19-2010 04:17 AM

Quote:

Originally Posted by toolblast (Post 2110454)
AJAX still appears to not be working... when I click the thumbs it refreshes the page and I lose where I was. However, the function does work and shows 1 of 1 members found helpful, etc. But it isn't ajax which is annoying as it refreshes the page and scrolls back to the top.

Any solutions to this??? I've added in the yahoo ajax js libraries... still nothing

This mod is for 3.7... I would expect some issues on 3.6


All times are GMT. The time now is 09:27 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.01431 seconds
  • Memory Usage 1,829KB
  • 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
  • (1)bbcode_code_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (37)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