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)

faisaly.com 08-12-2012 12:48 AM

Great thanx this will let users feel at comfort now... and feel fair...

Is there a way that can hide posts with overall negative ratings? currently there is only an option which hides any post that gets just a negative rate ! if some others rate that post as postive it will still remain hidden. and there is also another setting which we can specify how many negative ratings can cause a post to get hidden! this is useless too , because i need a way to hide only the overall negative posts . what if the now negative posts , get positive later , or what happens to a post which has 40 rates in total , and only lets say 5 votes are negative , this will cause the whole post to get hidden which is undesirable .

webmajstorinet 09-26-2012 08:34 PM

Hi,

i like your plugin but i'd like to replace this:
<div id="helpfulanswers_box_78186" style="text-align:right;"><br>

with this:
<div id="helpfulanswers_box_78186" style="float: right;text-align:right;">

Where do i do that? I can't seem to find the proper file.

Thanks

Ted S 09-26-2012 08:49 PM

Quote:

Originally Posted by webmajstorinet (Post 2368812)
Hi,

i like your plugin but i'd like to replace this:
<div id="helpfulanswers_box_78186" style="text-align:right;"><br>

with this:
<div id="helpfulanswers_box_78186" style="float: right;text-align:right;">

Where do i do that? I can't seem to find the proper file.

Thanks

78186 is dynamically added so search your templates on helpfulanswers_box_ and you'll find it.

Braddock 10-19-2012 07:59 AM

1 Attachment(s)
Perhaps somebody is able to help me with a little Problem.

Why the postname is not shown right?
This is profile.php?do=helpfulans, under helpfulanswers.php the Name is shown correctly.

Ted S 10-19-2012 08:17 AM

Quote:

Originally Posted by Braddock (Post 2374188)
Perhaps somebody is able to help me with a little Problem.

Why the postname is not shown right?
This is profile.php?do=helpfulans, under helpfulanswers.php the Name is shown correctly.

Revert your PRF templates & language file and see if it persists.

Braddock 10-19-2012 09:47 AM

I think the Problem is that helpfulfans would like to show the posttitle. But this Posts haven`t one. What do i have to change that the Threadtitle is shown?

And btw, i`m not a pro! :(

Braddock 10-19-2012 10:31 AM

1 Attachment(s)
Ok, a friend of mine helped me.

Quote:

Originally Posted by changes in XML
Row 553 ff:
$helpfulposts = $db->query_read("
SELECT ha.yesno,post.title,post.postid,user.username,thre ad.title as ttitle
FROM " . TABLE_PREFIX . "helpfulanswer as ha
LEFT JOIN " . TABLE_PREFIX . "post as post ON (ha.postid = post.postid)
LEFT JOIN " . TABLE_PREFIX . "thread AS thread ON(post.threadid = thread.threadid)
LEFT JOIN " . TABLE_PREFIX . "user as user ON (ha.userid = user.userid)
WHERE post.userid = ". $vbulletin->userinfo['userid'] ."
ORDER BY ha.dateline DESC
LIMIT 50
");

and

Row 572:
$templater->register('title', $helpfulpost['ttitle']);

Quote:

Originally Posted by changes in helpful_answers_notbit

Find in row 3

{vb:raw postid} #{vb:raw postid} -

and delete it


Ted S 10-19-2012 03:32 PM

Quote:

Originally Posted by Braddock (Post 2374207)
Ok, a friend of mine helped me.

If you've stopped using post titles this mod will have many other issues.

piratarg 10-26-2012 02:55 AM

1 Attachment(s)
Very thanks, good mod! :)

A help please: is possible to move here?

https://vborg.vbsupport.ru/attachmen...1&d=1351223673

Ted S 10-26-2012 03:49 AM

Quote:

Originally Posted by piratarg (Post 2376047)
Very thanks, good mod! :)

A help please: is possible to move here?

https://vborg.vbsupport.ru/attachmen...1&d=1351223673

Sure. You can use the manual template placement option as explained in the install file / admin options and put it anywhere in your postbit template you like.


All times are GMT. The time now is 09:46 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.02323 seconds
  • Memory Usage 1,744KB
  • 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