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)

designBox 10-01-2011 10:07 PM

I tried this but no luck.
The boxes are still replicated several times :(

Bill Bickley 10-03-2011 12:10 PM

Works like a charm!

I read the warning about switching to and from the 10-point scale. How do I run those queries? Within vBulletin?

Quote:

.....the following queries. Failure to do so will make for some very odd ratings.


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

christon26 10-03-2011 07:02 PM

Hi, on the profile page if the member has not rated any posts the section is just blank. I would like to add a condition that goes something like this:

Quote:

<ul class="list_no_decoration">

<if condition="MEMBER HAS RATED POSTS">

<if condition="$helpfulanswer[count]">
<li><span class="shade"><phrase 1="$prepared[username]" 2="$helpfulanswer[count]">$vbphrase[helpfulanswer_postsrated]</phrase></span></li>
</if>
<if condition="$helpfulposts[goodranks]">
<li><span class="shade"><phrase 1="$prepared[username]" 2="$helpfulposts[goodranks]" 3="$helpfulposts[totalranks]">$vbphrase[helpfulanswer_postshavebeen]</phrase></li>
</if>

</else>
<li><span class="shade"><phrase 1="$prepared[username]">$vbphrase[helpfulanswer_noratings]</phrase></span></li>
{I have already created the phrase for this}

</ul>
Is this possible? What conditional would I use, or would I have to add new code?

Ted S 10-04-2011 12:40 AM

Quote:

Originally Posted by christon26 (Post 2252847)
Hi, on the profile page if the member has not rated any posts the section is just blank. I would like to add a condition that goes something like this:

Is this possible? What conditional would I use, or would I have to add new code?

Use the $show variables rate_helpfulanswer to see if they've voted and guest to be sure it's a member.

christon26 10-04-2011 01:32 AM

Thanx Ted :) How exactly would I format that?

designBox 10-05-2011 08:03 AM

Ted, maybe any suggestion for my problem?

Ted S 10-06-2011 01:16 AM

Quote:

Originally Posted by designBox (Post 2251727)
Thank you for your fast reply.

I attached a screenshot.

What happens when you uninstall the modification or disable the stats feature?

designBox 10-06-2011 08:41 AM

When I disable the plugins, nothing happens. If you mean, is there any error message, no, there isn't.
I haven't tried yet to completly uninstall. I'll try later today and let you know.
Thank you for your help.

Ted S 10-06-2011 04:09 PM

Quote:

Originally Posted by designBox (Post 2253876)
When I disable the plugins, nothing happens. If you mean, is there any error message, no, there isn't.
I haven't tried yet to completly uninstall. I'll try later today and let you know.
Thank you for your help.

If you disable the plugin and it still shows the block there is something else in your system using the table records and you have a mod conflict.

jl255 10-07-2011 08:15 AM

Quote:

Originally Posted by Ted S (Post 2047459)
Nope. The profile queries the database to get those results and since we don't want one query for every post on a page, they don't work. Down the road I will add another table to store votes per user so they can be shown but this does not exist yet in this add-on.

hi ted, any updates on this essential feature? being able to show members how many they have earned is quite critical in encouraging other members to make good posts as it is displayed clearly for all to see. hope you can seriously consider this and adding it quickly :)


All times are GMT. The time now is 02:48 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.02806 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
  • (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