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)

FractalizeR 06-21-2010 07:00 AM

Localization bugs found and fixed:

helpful_statsbit_ten and helpful_statsbit should be fully phrased. Add the following phrases:
Code:

<phrase name="helpfulanswer_helpfulansw" date="0" username="Ted S" version="1.3.1"><![CDATA[Helpful answers]]></phrase>
<phrase name="helpfulanswer_from" date="0" username="Ted S" version="1.3.1"><![CDATA[from]]></phrase>
<phrase name="helpfulanswer_times" date="0" username="Ted S" version="1.3.1"><![CDATA[times]]></phrase>
<phrase name="helpfulanswer_posts" date="0" username="Ted S" version="1.3.1"><![CDATA[posts]]></phrase>

and phrase template:

PHP Code:

        <template name="helpful_statsbit" templatetype="template" username="Ted S" version="2.1.0"><![CDATA[
        
            <
h5 class="subsubsectionhead">{vb:rawphrase helpfulanswer_title}</h5>
            <
div class="blockrow">
                <
vb:if condition="$helpfulanswer_count">
                <
dl class="stats">
                    <
dt>{vb:rawphrase helpfulanswer_postsrated}</dt>
                    <
dd>{vb:raw helpfulanswer_count} {vb:raw helpfulanswer_posts}</dd>
                </
dl>
                </
vb:if>
                <
vb:if condition="$helpfulanswer_goodranks">
                <
dl class="stats">
                    <
dt>{vb:rawphrase helpfulanswer_postshavebeen}</dt>
                    <
dd>{vb:raw helpfulanswer_helpfulansw} {vb:raw helpfulanswer_goodranks} {vb:raw helpfulanswer_from} {vb:raw helpfulanswer_totalranks} {vb:raw helpfulanswer_times}</dd>
                </
dl>
                </
vb:if>
            </
div>
                
        ]]></
template


FractalizeR 06-21-2010 07:48 AM

The only thing I lack now (and that prevent me from starting using this addon on main forum) is the possibility for moderation staff to view how and who rated specified thread + the ability to cancel specific / all voting on it. Also that would be good to have an ability to close specific thread to voting completely. Some "holy war" threads could be locked from the beginning this way.

sticky 06-21-2010 11:18 AM

Quote:

Originally Posted by sticky (Post 2047465)
Is there any way to make this work with the "reputation user spread" option? It seems to not pay attention to it and allow someone to neg rep the same user multiple times.

Ted, would you be able to help with me with this please? I use helpful answers with the rep system but users are abusing the neg reps.

vivamexico55 06-21-2010 02:47 PM

Hi!

I just upgraded to 4.04 and the image to +1 is not showing, any idea why?

vivamexico55 06-21-2010 05:09 PM

Quote:

Originally Posted by vivamexico55 (Post 2056943)
Hi!

I just upgraded to 4.04 and the image to +1 is not showing, any idea why?

This is driving me crazy, I can see in the postbit that there's a line added when I enable the product and it goes away when I disable it, so something is happening, but the +1 image is not showing anymore.

Nothing actually changed besides updating the style, but I already uploaded the images to the new style. I've double checked that plugins are enabled, I re-ran the forum bulk enabler, I'm going crazy.

Anyone else upgraded to 4.04 and had this plugin disappear?

edit: When I say "+1 image" I mean the thumbs up, I disabled thumbs down

FractalizeR 06-21-2010 06:08 PM

Can you post HTML here? Are you using 10-point system?

vivamexico55 06-21-2010 06:39 PM

I'm using "Thumbs up/down" system. I can sure post HTML if it's not against the rules:

HTML Code:

        <div class="posthead">
                <label for="post_imod_checkbox_598184">
                <span class="postdate old">
               
                <span class="date">Proximos Conciertos 2010, 12-nov-2009</span>
               
                </span>
                </label>
                <span class="nodecontrols">
                <!-- vBSkinworks Modification: Moved post control links from bottom left to top right -->
               
               
                        <a title="Add Infraction for dball" href="infraction.php?do=report&amp;p=598184" rel="nofollow"><img src="images/custom/vuel/buttons/infraction.gif" alt="Add Infraction for dball" /></a>
               
               
                        <a title="Reportar post" href="report.php?p=598184" rel="nofollow"><img src="images/custom/vuel/buttons/report.gif" alt="Reportar post" /></a>
               
               
               
                        <a name="post598184" href="showthread.php?51405-Proximos-Conciertos-2010&amp;p=598184&amp;viewfull=1#post598184" class="postcounter">#1</a>
               
               
                        <input class="postimod" type="checkbox" id="post_imod_checkbox_598184" name="plist[598184]" value="0" />
               
                </span>
        </div>
        <div class="postdetails">
                <div class="userinfo">
                        <!-- vBSkinworks Modification: Moved a user title, rank, rep, and avatar into the "username_container" div which is center-aligned -->
                        <div class="username_container">
                       
                                <div class="popupmenu memberaction">
        <a class="username offline popupctrl" href="member.php?230-dball" title="dball no ha iniciado sesi?n"><strong>dball</strong></a>
        <ul class="popupbody popuphover memberaction_body">
                <li class="left">
                        <img src="images/custom/vuel/site_icons/profile.png" alt="" />
                        <a href="member.php?230-dball">
                                Ver perfil
                        </a>
                </li>
               
                <li class="right">
                        <img src="images/custom/vuel/site_icons/forum.png" alt="" />
                        <a href="search.php?do=finduser&amp;userid=230&amp;contenttype=vBForum_Post&amp;showposts=1" rel='nofollow'>
                                Ver posts del Foro
                        </a>
                </li>
               
               
                <li class="left">
                        <img src="images/custom/vuel/site_icons/message.png" alt="" />
                        <a href="private.php?do=newpm&amp;u=230" rel='nofollow'>
                                Mensaje privado
                        </a>
                </li>
               
               
               
               
               
               
               
                <li class="right">
                        <img src="images/custom/vuel/site_icons/article.png" alt="" />
                        <a href="list.php/author/230-dball" rel='nofollow'>
                                Ver art?culos publicados
                        </a>
                </li>
               

               
                <li class="left">
                        <img src="images/custom/vuel/site_icons/add.png" alt="" />
                        <a href="profile.php?do=addlist&amp;userlist=buddy&amp;u=230">
                                Agregar a tu lista de amiguis
                        </a>
                </li>
               

               
               
        </ul>
</div>
 
                       
                        <br />
                        Inutil para la Patria
                        <br />
                       
                       
                       
                        <br />
                       
                       
                                <img src="customavatars/avatar230_39.gif" alt="Avatar de dball" />
                       
                       
                        </div>
                       
                       
                       
                       
                                <hr />
                                <dl class="userinfo_extra">
                                        <div><dt>Se pervirti? desde</dt> <dd>septiembre-2006</dd></div>
                                        <div><dt>vengo de</dt> <dd>morado, joar joar vengo de morado</dd></div>
                                       
                                        <div><dt>Coeficiente Intelectual</dt> <dd>2,215</dd></div>       
                                       
                                </dl>
                               
                                <dl class="userinfo_extra">
                                        <center><img class="inlineimg onlinestatus" src="images/custom/vuel/statusicon/user_offline.gif" alt="dball no ha iniciado sesi?n" border="0" />

 </center>
                                </dl>
                               
                                <div class="imlinks">
                                           
                                </div>
                               
                       
                </div>
                <div class="postbody">
               
                        <div class="postrow">
                               

                                       
                        [B]<div id="helpfulanswers_box_598184" style="text-align:right;">                [/B]
                                <br /><hr size="1" style="color:$stylevar[tborder_bgcolor]" />       
                               
                        </div>               
                                       
                                <div class="content">
                                        <div id="post_message_598184">
                                                <blockquote class="postcontent restore ">
               
<br />
<img src="http://4.bp.blogspot.com/_s3CEKuJPGog/St5j1xdMiBI/AAAAAAAAQzE/iI4Xk7gWfvE/s400/cerati_coca_cola_fest.jpg" border="0" alt="" /><br />
<br />
y ya tengo boletos! <img src="images/smilies/tortu.gif" border="0" alt="" title="Tortu" class="inlineimg" />
                                                </blockquote>
                                        </div>

                                       
                                </div>
                        </div>
                       
                        <div class="after_content">

I bolded the only thing about helpful answers I can find.

vivamexico55 06-21-2010 06:43 PM

Here's a sample page if you want to see the HTML directly

http://www.leforo.com/showthread.php...onciertos-2010

vivamexico55 06-21-2010 06:55 PM

Willing to paypal 10 bux for any help solving this =)

FractalizeR 06-22-2010 10:42 AM

Are you sure your style has all template template hooks in place? Check with developer. Plugin is in place, but it seems that template hook which is rendering voting buttons in place does not work.


All times are GMT. The time now is 11: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.01657 seconds
  • Memory Usage 1,811KB
  • 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
  • (1)bbcode_html_printable
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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