vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - [AJAX] Helpful Answers - Allow users to rate individual posts (https://vborg.vbsupport.ru/showthread.php?t=233296)

systutorials 01-16-2012 06:39 AM

Cool thanks Ted, i've got the variables which is all good. Just with the placement I actually want to place it here:

http://i44.tinypic.com/sllegw.jpg

Do you know the name of the template I need to edit ?

systutorials 01-16-2012 06:50 AM

All good found it under postbit_legacy. Using the {vb:raw post.goodrank} variable works well. Thanks again

systutorials 01-16-2012 06:57 AM

actually I think I spoke to soon, i'm 3/4 of the way there
This is what it looks like now:
http://i44.tinypic.com/359y3vm.jpg
But helpful posts only displays 1 on the actual post that was helpful. It doesn't carry around with it the total amount of helpful posts the user has made. Is there another variable for this ?
It would be similar to the information you see when you click on the user and then click on about me and view the information "Helpful Postings - Rated Helpful 1 out of 1 times"

systutorials 01-16-2012 11:00 AM

found it, I used {vb:raw post.hagoodrank}
sorry for all the posts :)

BlueCheri 01-16-2012 12:26 PM

Installed.

Working fine.

Thanx and rgds

Ted S 01-16-2012 03:43 PM

Quote:

Originally Posted by systutorials (Post 2288502)
found it, I used {vb:raw post.hagoodrank}
sorry for all the posts :)

Trying stuff on your own... trying again... You're my hero for the day no matter how many posts were made.

Let me know if there's anything else you need :up:

SilverBoy 01-16-2012 03:56 PM

Quote:

Originally Posted by Ted S (Post 2288437)
You are correct.

We'll add this to the bug list but honestly as no one else has mentioned this since the 4.x version came out, it's not something you'll see added in until our next major update.

no problem, but could you please give me the template code to add it manually?

Ted S 01-16-2012 04:15 PM

Quote:

Originally Posted by SilverBoy (Post 2288606)
no problem, but could you please give me the template code to add it manually?

The template was never ported from the 3.8 version, you'd have to convert it yourself.

Code:

<if condition="!$GLOBALS['FIRSTPOSTID'] AND $helpfulanswer[postid] != $GLOBALS['qrfirstpostid']">   
            <div style="padding:5px;">
            <table class="tborder" cellpadding="4" cellspacing="0" border="0" width="100%" align="center">
            <tr>
                <td class="alt1" style="padding:15px;font-weight"bold;text-align:center;">
       
                <phrase 1="$vboptions[bbtitle]" 2="$helpfulanswer[postid]">$vbphrase[helpfulanswer_mosthelp_post]</phrase>   
           
                </td>
            </tr>
            </table>
            </div>
        </if>


SilverBoy 01-16-2012 04:29 PM

Thanks Ted.

I suggest you in the next version to change the content of the block to display the post that most voted as helpful not just link to it.

klaus 01-24-2012 12:46 AM

Is there a variable I can use to display the total weight of a post after it got ranked up and down?

Example: 2 plus votes = Weight 2, 4 plus votes and 1 minus vote = weight 3, 6 minus votes weight = -6

To me it makes more sense to display the total weight of posts then how many plus and how many minus voted. Just give me the total as one number.

Thank you in advance and I love this product.


All times are GMT. The time now is 02:52 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.02338 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
  • (3)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