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.

Suzie 11-16-2012 09:54 PM

I think I fixed my problem.

DaChief 12-05-2012 02:45 PM

Is there a german translation?
At least for:

Quote:

Did you find this post helpful?
Great Mod, just what we were looking for!
Thanks!

Ted S 12-05-2012 07:36 PM

Quote:

Originally Posted by DaChief (Post 2388677)
Is there a german translation?

Our mods are officially supported in English only but use the phrase system to translate or edit as you see fit.

DaChief 12-05-2012 09:12 PM

Okay got it, Thanks!

Quijar Haderak 12-16-2012 07:34 PM

1 Attachment(s)
First, thank for this Add-on...

I've made ​​some changes to customize it and want to share them:

4 new images modified by me, in PNG format and valid for any background color, 20x20px and removed the " | ".

Added margin-right: 10px; in the voting layer to not be so attached to the table limit.

Added align="absmiddle" to the properties of the images in the voting layer to adjust the alignment of the text with the image.

Attached new images and product xml file with the changes made by me, the rest is unchanged.

Rideharder 12-17-2012 04:47 AM

Quote:

Originally Posted by Quijar Haderak (Post 2391154)
First, thank for this Add-on...

I've made ​​some changes to customize it and want to share them:

4 new images modified by me, in PNG format and valid for any background color, 20x20px and removed the " | ".

Added margin-right: 10px; in the voting layer to not be so attached to the table limit.

Added align="absmiddle" to the properties of the images in the voting layer to adjust the alignment of the text with the image.

Attached new images and product xml file with the changes made by me, the rest is unchanged.

Thanks!

Ted S 12-17-2012 11:06 PM

Quote:

Originally Posted by Quijar Haderak (Post 2391154)
First, thank for this Add-on...

I've made ​​some changes to customize it and want to share them:

4 new images modified by me, in PNG format and valid for any background color, 20x20px and removed the " | ".

Added margin-right: 10px; in the voting layer to not be so attached to the table limit.

Added align="absmiddle" to the properties of the images in the voting layer to adjust the alignment of the text with the image.

Attached new images and product xml file with the changes made by me, the rest is unchanged.

Thanks! Are you ok with me rolling your contribution into the official mod files?

Quijar Haderak 12-18-2012 04:10 PM

Quote:

Originally Posted by Ted S (Post 2391398)
Thanks! Are you ok with me rolling your contribution into the official mod files?

of course you can...

DrPrepper 01-04-2013 01:19 PM

I need* to clear our complete history of helpfulanswers and start over from scratch. Do I only have to dump/empty the tables helpfulanwser and helpfulpost?

* the reason for this is that we started with anonymous voting. But now we want to show names of voters, but we don't want to infringe the privacy of our members by revealing the votes they gave when the system was anonymous.

Ted S 01-04-2013 05:44 PM

Quote:

Originally Posted by DrPrepper (Post 2394647)
I need* to clear our complete history of helpfulanswers and start over from scratch. Do I only have to dump/empty the tables helpfulanwser and helpfulpost?

* the reason for this is that we started with anonymous voting. But now we want to show names of voters, but we don't want to infringe the privacy of our members by revealing the votes they gave when the system was anonymous.

Gotcha...

Just clear those two tables and the fields added to the user profile... if you have a large user set this may take a while.

UPDATE user SET hagoodrank = 0;
UPDATE user SET hatotalrank= 0;

Muhammad Rahman 01-23-2013 10:27 PM

hey Ted ..

Can create a widget that contains best answer and bad answer ...

Ted S 01-24-2013 04:06 AM

Quote:

Originally Posted by Muhammad Rahman (Post 2399043)
hey Ted ..

Can create a widget that contains best answer and bad answer ...

You sure can. The sum total of each post is stored in the mod's tables making this easy to query using the MIN() and MAX() query functions.

Muhammad Rahman 01-24-2013 12:07 PM

Can you provide sample code for this ..
I can not coding ..

_________________________
sorry, my English bad ..

Ted S 01-24-2013 04:34 PM

Quote:

Originally Posted by Muhammad Rahman (Post 2399159)
Can you provide sample code for this ..
I can not coding ..

_________________________
sorry, my English bad ..

You can find some very talented coders in the Paid Mods section of this forum.

Muhammad Rahman 01-27-2013 12:13 AM

how do I change it :
https://vborg.vbsupport.ru/external/2013/01/10.png

to be like this :
https://vborg.vbsupport.ru/external/2013/01/8.jpg

Muhammad Rahman 01-27-2013 02:45 AM

Quote:

Originally Posted by Muhammad Rahman (Post 2399760)

Fix ... :)

Ted S 01-27-2013 07:28 PM

Quote:

Originally Posted by Muhammad Rahman (Post 2399760)

You'll have to edit the helpful answers bit template to remove the phrase and then layer in the vote counts.

Fudgyyy 02-06-2013 03:56 PM

Quote:

Originally Posted by Ted S (Post 2399914)
You'll have to edit the helpful answers bit template to remove the phrase and then layer in the vote counts.

First off, I want to thank you for an incredible mod. I love it.

I apologize for being a pain in the butt, but how do you access the helpful answers bit template? I've been trying to achieve a similar look, but I just can't seem to find it.

Ted S 02-06-2013 04:22 PM

Quote:

Originally Posted by Fudgyyy (Post 2402416)
First off, I want to thank you for an incredible mod. I love it.

I apologize for being a pain in the butt, but how do you access the helpful answers bit template? I've been trying to achieve a similar look, but I just can't seem to find it.

It's in your template manager... You can look it up directly [it's grouped with the rest of the mod's templates] or search by html elements.

Fudgyyy 02-06-2013 04:38 PM

Quote:

Originally Posted by Ted S (Post 2402423)
It's in your template manager... You can look it up directly [it's grouped with the rest of the mod's templates] or search by html elements.

I appreciate that. I was going out of my way to find the words exactly, and I didn't think of just looking for a rawphrase. Thanks.

fworth 02-07-2013 01:19 PM

I install but nothing is showing up in post. I went to option~helpful answers setting still nothing. Please advise?
I'm using 4.2. I put all the setting to yes and still nothing shows up....

Ted S 02-08-2013 07:23 AM

Quote:

Originally Posted by fworth (Post 2402618)
I install but nothing is showing up in post. I went to option~helpful answers setting still nothing. Please advise?
I'm using 4.2. I put all the setting to yes and still nothing shows up....

Did you enable the mod in the forum you are viewing threads for? Did you review the settings beyond just clicking yes [some yes are to disable things]?

Dwarden 03-20-2013 07:12 AM

got quite some issues with correct code for ""helpful_answers_mosthelp_post""

seems like the url / value of the 'most voted' fails :(

yet ""helpful_toppost"" works fine

vB 4.2.0 pl3

tried both auto and manual insert to template

1.
can anyone provide fully working code example for ""helpful_answers_mosthelp_post"" ?

2.
any has simple fix for /profile.php?do=helpfulans
to show actual thread names ?

Ted S 03-20-2013 04:53 PM

Quote:

Originally Posted by Dwarden (Post 2411114)
got quite some issues with correct code for ""helpful_answers_mosthelp_post""

seems like the url / value of the 'most voted' fails :(

yet ""helpful_toppost"" works fine

What do you mean it "fails"?

Dwarden 03-21-2013 03:37 AM

it's empty and never populates the content of the post under first post
tried use older coder posted somewhere in depth of thread with similar result ...

Ted S 03-21-2013 04:05 AM

Quote:

Originally Posted by Dwarden (Post 2411324)
tried use older coder posted somewhere in depth of thread with similar result ...

I'm not understanding...?

Dwarden 03-22-2013 08:13 AM

Quote:

Originally Posted by Ted S (Post 2411328)
I'm not understanding...?

in short the default code ""helpful_answers_mosthelp_post"" don't work or not imports properly ...

hence why I'm asking how it looks, can you post the content of it (after installed)?

Ted S 03-22-2013 07:22 PM

Quote:

Originally Posted by Dwarden (Post 2411544)
in short the default code ""helpful_answers_mosthelp_post"" don't work or not imports properly ...

hence why I'm asking how it looks, can you post the content of it (after installed)?

Is the template appearing in your template manager?

Did you enable the option?

Bluefin221 03-23-2013 06:33 PM

I noticed you can ban individual users from voting, I want to ban every single user but one selected usergroup is this possible?

Ted S 03-25-2013 09:30 PM

Quote:

Originally Posted by Bluefin221 (Post 2411816)
I noticed you can ban individual users from voting, I want to ban every single user but one selected usergroup is this possible?

It's not something you can do without hacking into the code yourself.


All times are GMT. The time now is 12:41 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.02637 seconds
  • Memory Usage 1,842KB
  • 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
  • (25)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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