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)

Ted S 05-23-2009 03:41 AM

How does it not work?

Theater 05-23-2009 08:26 PM

Quote:

Originally Posted by Raptor (Post 1811994)
I made some nicer thumbs (you will need to change the helpful_answers_roll template to:

Code:

       
            <if condition="$show['helpfulanswer']">       
            <div id="helpfulanswers_box_$post[postid]">       
                <br /><hr size="1" style="color:$stylevar[tborder_bgcolor]" />                   
                <if condition="$vboptions[helpans_neg]">
                           
                    <if condition="$post['totalrank']">
                        <phrase 1="$post[goodrank]" 2="$post[totalrank]">$vbphrase[helpfulanswer_x_out_of_y]</phrase>
                    </if>
               
                    <if condition="$show['rate_helpfulanswer']">
                   
                        <strong>$vbphrase[helpfulanswer_didyoufind]</strong>
                        <a href="./helpfulanswers.php?do=rate&postid=$post[postid]&rank=1" <if condition="$vboptions[disable_ajax] != 2"> onclick="return helpfulanswers_rate($post[postid], 1);" </if> rel="nofollow" onmouseover="document.post_$post[postid]_up.src='images/buttons/ha_thumbsup.gif';" onmouseout="document.post_$post[postid]_up.src='images/buttons/ha_thumbsup_gray.gif';"><img name="post_$post[postid]_up" src="images/buttons/ha_thumbsup_gray.gif" width="16" height="18" border="0" alt="$vbphrase[helpfulanswer_yes]" /></a> |
                        <a href="./helpfulanswers.php?do=rate&postid=$post[postid]&rank=0" <if condition="$vboptions[disable_ajax] != 2"> onclick="return helpfulanswers_rate($post[postid], 0);" </if> rel="nofollow" onmouseover="document.post_$post[postid]_dn.src='images/buttons/ha_thumbsdn.gif';" onmouseout="document.post_$post[postid]_dn.src='images/buttons/ha_thumbsdn_gray.gif';"><img name="post_$post[postid]_dn" src="images/buttons/ha_thumbsdn_gray.gif" width="16" height="18" border="0" alt="$vbphrase[helpfulanswer_no]" /></a>
                   
                    <else />
                        <if condition="$post[helpfulanswerid] AND !$show[guest]">
                       
                        <if condition="$post[yesno]">
                            <img src="images/buttons/ha_thumbsup.gif" width="16" height="18" border="0" alt="$vbphrase[helpfulanswer_yes]" />
                            <img src="images/buttons/ha_thumbsdn_gray.gif" width="16" height="18" border="0" alt="$vbphrase[helpfulanswer_no]" />
                        <else />
                            <img src="images/buttons/ha_thumbsup_gray.gif" width="16" height="18" border="0" alt="$vbphrase[helpfulanswer_yes]" />
                            <img src="images/buttons/ha_thumbsdn.gif" width="16" height="18" border="0" alt="$vbphrase[helpfulanswer_no]" />
                        </if>
                   
                    </if>
                    </if>
                   
                    <if condition="$show['guest'] AND $vboptions['helpans_guestshow']">
                        <strong>$vbphrase[helpfulanswer_didyoufind]</strong>
                        <a href="./helpfulanswers.php?do=guestrate" rel="nofollow">$helpfulanswer_yes</a> |
                        <a href="./helpfulanswers.php?do=guestrate" rel="nofollow">$helpfulanswer_no</a>
                    </if>
                   
                <else />
               
                    <if condition="$post['totalrank']">
                        <phrase 1="$post[goodrank]">$vbphrase[helpfulanswer_x_found]</phrase>
                    </if>
               
                    <if condition="$show['rate_helpfulanswer']">
                        <strong>$vbphrase[helpfulanswer_didyoufind] <a href="./helpfulanswers.php?do=rate&postid=$post[postid]&rank=1">$vbphrase[helpfulanswer_yesidid]</a></strong>
                    </if>
                   
                </if>
               
            </div>           
            </if>


Thank you! These look great on my forum. :cool:

Quantnet 05-24-2009 02:14 AM

When I enable display rating for guests, it shows the Rating Display: Text Yes/No while I chose the rating display Thumb with rollover.
How do I make display for guests same as the setting I chose over all (thumb with rollover)

Trana 05-25-2009 01:38 AM

I finally got this to work properly.

Is there a way to display which threads have the highest total votes in all their posts?

Has anyone created a CMPS module for showing the results?

Ted S 05-25-2009 03:49 AM

Quote:

Originally Posted by Quantnet.org (Post 1816065)
When I enable display rating for guests, it shows the Rating Display: Text Yes/No while I chose the rating display Thumb with rollover.
How do I make display for guests same as the setting I chose over all (thumb with rollover)

Try using an image option besides rollovers.

Ted S 05-25-2009 03:50 AM

Quote:

Originally Posted by Trana (Post 1816589)
Is there a way to display which threads have the highest total votes in all their posts?

The mod does not do this at this time.

Trana 05-25-2009 04:09 AM

How about the ability to rate just the threads themselves?

Ted S 05-25-2009 04:57 AM

This system is for post rating. vBulletin includes a thread rating system.

Veer 05-25-2009 01:41 PM

Is there any option available to enable this mod on selective forum IDs? because I don't like to have this mod enabled on all forums.

thanks.

Ted S 05-25-2009 03:59 PM

Quote:

Originally Posted by Pehchaan (Post 1816833)
Is there any option available to enable this mod on selective forum IDs? because I don't like to have this mod enabled on all forums.

Yes.


All times are GMT. The time now is 10:30 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.02717 seconds
  • Memory Usage 1,755KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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