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)

Simon Lloyd 06-09-2012 07:12 PM

Quote:

Originally Posted by Ted S (Post 2338202)
You mean like the 4.x version of this mod posted in the 4.x section of this forum?

Ted thats far too much of a clue!

Ted S 06-10-2012 04:14 AM

Quote:

Originally Posted by Simon Lloyd (Post 2338218)
Ted thats far too much of a clue!

:eek::eek::eek:

bbqchef33 07-19-2012 06:14 AM

getting this error... any clue?

Warning: curl_setopt() [function.curl-setopt]: Invalid curl configuration option in [path]/helpfulanswers.php on line 434

Ted S 07-21-2012 02:47 AM

Quote:

Originally Posted by bbqchef33 (Post 2349440)
getting this error... any clue?


Warning: curl_setopt() [function.curl-setopt]: Invalid curl configuration option in [path]/helpfulanswers.php on line 434

Disable the reporting option and you;ll be good to go.

bada_bing 02-19-2013 08:42 PM

I am having an issue with this script. If no one rates the post and you click on the "Skip right to it!" it tries to take me here http://www.mywebsite.com/forums/showpost.php?p= and obviously get a white page because there is no rating. Now if someone does rate the post helpful and you click the "Skip right to it" link it will take you to the post..

How can I alter this so that either the "Skip right to it! link does not appear until someone rates a post or that you can have the link grayed our or something until a post has been rated?

Thanks

Ted S 02-20-2013 05:48 AM

Quote:

Originally Posted by bada_bing (Post 2405292)
I am having an issue with this script. If no one rates the post and you click on the "Skip right to it!" it tries to take me here http://www.mywebsite.com/forums/showpost.php?p= and obviously get a white page because there is no rating. Now if someone does rate the post helpful and you click the "Skip right to it" link it will take you to the post..

How can I alter this so that either the "Skip right to it! link does not appear until someone rates a post or that you can have the link grayed our or something until a post has been rated?

Thanks

Edit the template helpful_answers_mosthelp_post and wrap the contents in a condition like:

<vb:if condition="$helpfulanswer['postid']">

...... ...... ......

</vb:if>

bada_bing 02-20-2013 03:50 PM

Quote:

Originally Posted by Ted S (Post 2405370)
Edit the template helpful_answers_mosthelp_post and wrap the contents in a condition like:

<vb:if condition="$helpfulanswer['postid']">

...... ...... ......

</vb:if>

Ted

That did not work when I tried to add the suggested code VB gave me an error when I tried to save it. This is what is currently in helpful_answers_mosthelp_post template.

Also I an running VB 3.87

HTML 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>


bada_bing 02-20-2013 03:56 PM

Ted,

Got it working.. Thanks much I just changed your code to this and that did it...

Edit the template helpful_answers_mosthelp_post and wrap the contents in a condition like:

if condition="$helpfulanswer['postid']">

...... ...... ......

</if>
***************

Ted S 02-20-2013 08:20 PM

Whoops... I wrote the condition for vB4. :D

bbqchef33 02-25-2013 03:36 AM

1 Attachment(s)
Im on 3.8.7. Mod works.. with a small problem.

i have the icon settings to " images - Thumbs up/thumbs down"

but on most users its says 'yes/no' in text, and on others its empty boxes. any ideas? Im ok on IE and firefox, problem seems to be on safari/mac and also pc/chrome.

I have changed it to different settings and it wither disappears on all , or yes/no text as stated above.


All times are GMT. The time now is 01:01 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.04083 seconds
  • Memory Usage 1,751KB
  • 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_html_printable
  • (5)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