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)

tpearl5 02-10-2009 03:25 AM

Quote:

Originally Posted by Ted S (Post 1739175)
I'm pleased to announce the release of version 1.4.0 which contains several major feature updates and a few bug fixes. See the complete change log below:

- (Feature) Added optional integration with the reputation system
- (Feature) Added optional variable to identify the top rated thread in template conditionals
- (Feature) Added optional statistics to a user's profile
- (Admin) Added Bulk tool to enable system in forums
- (Admin) Option to disable automatic template plugin
- (System) Add overall rank variable for template conditionals
- (System) Auto add to templates for easier installs (no more templates to edit)
- (System) Added hook locations throughout addon
- (Bug) Fixes issue where non-ajax users weren't getting votes counted
- (Bug) Don't show HR line if no votes and user cant vote

This wraps up most of the requested features on my list. If there's something you would like to see added that was not put into 1.4.0 please let me know.

And of course as a new release please report any bugs or errors you find.

When "Enable Profile Voting Stats" is turned on this warning is thrown in the user's profile:

Code:

Warning: Division by zero in /home/SITE/public_html/includes/class_profileblock.php(250) : eval()'d code on line 50
Also, the second option "Manual Template Placement" - I think that title is wrong (If enabled the user's profile will reflect total good, bad and total ratings of their posts. Adds a query each time a user's profile is viewed.)

Ted S 02-10-2009 03:27 AM

Edit, I appologize but I spoke too quickly on this...

What you're looking to do isn't difficult but it's also not native to addon... But that doesn't need to stop you. What is a concern is the number of queries added (one per post).

Votes are stored in a table and along side the post but not with the user so to fetch them you need separately from the big query that fetches threads. If you're interested in this (realize it's one query per post) let me know and I can write up the code.

Ted S 02-10-2009 03:28 AM

Quote:

Originally Posted by tpearl5 (Post 1739346)
When "Enable Profile Voting Stats" is turned on this warning is thrown in the user's profile:

Thanks. Are you using 1.4.1 which I posted a bit back or 1.4.0?

Quote:

Also, the second option "Manual Template Placement" - I think that title is wrong (If enabled the user's profile will reflect total good, bad and total ratings of their posts. Adds a query each time a user's profile is viewed.)
Thanks. Will fix...

Ted S 02-10-2009 03:31 AM

Version 1.4.2 posted which fixes a mess-up in the admin option phrases causing some confusion over a stats tool. Just a mislabeled field, upgrading is not necessary.

GigaSb 02-10-2009 06:10 AM

how do i make the text to be in the right side?

I added div align into postbit_legacy:

<div align="right">
$helpful_answers
</div>

it worked at first.. but when updated to last version its not effecting.

jlew24asu 02-10-2009 11:04 AM

installed. so is this supposed to only show up in the first post of the thread or all posts? (in a given forum)

Ted S 02-10-2009 02:38 PM

Quote:

Originally Posted by jlew24asu (Post 1739671)
installed. so is this supposed to only show up in the first post of the thread or all posts? (in a given forum)

This modification is for rating all posts in a thread.

Ted S 02-10-2009 02:39 PM

Quote:

Originally Posted by jlew24asu (Post 1739671)
installed. so is this supposed to only show up in the first post of the thread or all posts? (in a given forum)

You can either wrap the code in a table cell aligned right or edit the template helpful_answers to change the alignment of the DIV.

tpearl5 02-10-2009 05:47 PM

Quote:

Originally Posted by Ted S (Post 1739350)
Thanks. Are you using 1.4.1 which I posted a bit back or 1.4.0?



Thanks. Will fix...

I was using 1.4.0. Updated to 1.4.2 which fixed both problems. thanks!

jlew24asu 02-10-2009 06:23 PM

ok thanks Ted


All times are GMT. The time now is 05:54 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.01031 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
  • (1)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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