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)

dlewisr 04-26-2011 10:09 AM

Nice mod. Installed, nominated and rated. Cheers

Ted S 04-27-2011 12:50 AM

Quote:

Originally Posted by The Rocketeer (Post 2186557)
Hi, could you help me adding some space between this and the forum postbit border please?

currently its touching it.

https://vborg.vbsupport.ru/external/2011/04/13.jpg

edit: would also be nice if you introduced some new and more professional looking thumbs icons

Just add a margin attribute (style="margin-right:10px;") to the div in the helpful_answers template. If this sounds like greek let me know.

Ted S 04-27-2011 12:51 AM

Quote:

Originally Posted by Cybertims (Post 2188399)
Here's a problem I've got.

When someone makes a helpful thread all is fine, if a post inside that thread is marked as unhelpful the entire thread is then hidden, is is possible to only hide the posts that are marked as unhelpful?

Cheers

That's how the feature is designed to work. Have you modified any of your post templates or have other addons that alter posts?

Cybertims 04-28-2011 06:12 AM

Quote:

Originally Posted by Ted S (Post 2189106)
That's how the feature is designed to work. Have you modified any of your post templates or have other addons that alter posts?

Not that I know of, which file is likely to be the one changed to cause this? What should I be looking for?

Cheers in advance

Willy T 04-29-2011 07:52 PM

To add to the customization (& ultimately allowing this mod to be used in an alternative fashion), can you add a function to only allow the feedback on the first post?

Example: Used for ranking someones essay or statement.

The built in stars feature doesn't have the same benefits as your mod. That's basically my only reason for the request.

Thanks for your time!

Ted S 04-29-2011 10:38 PM

Quote:

Originally Posted by Cybertims (Post 2189563)
Not that I know of, which file is likely to be the one changed to cause this? What should I be looking for?

Cheers in advance

postbit or postbit_legacy related changes or templates

Ted S 04-29-2011 10:40 PM

Quote:

Originally Posted by Willy T (Post 2190104)
To add to the customization (& ultimately allowing this mod to be used in an alternative fashion), can you add a function to only allow the feedback on the first post?

Example: Used for ranking someones essay or statement.

The built in stars feature doesn't have the same benefits as your mod. That's basically my only reason for the request.

Thanks for your time!

Check the options out!

Britmovie 05-01-2011 01:32 PM

Hi not certain if this is a past problem I have searched. When the mod is enabled new posts that should be at the top and older at bottom appear all mixed. When disabled new posts are at the top again?

Anyone have a clue please?

Willy T 05-01-2011 07:58 PM

Quote:

Originally Posted by Ted S (Post 2190139)
Check the options out!

Of course I have. Unless it's hidden or rephrased, I only have any option that shows hide first post rating & not the other way around.

I want it so you can only vote on the first post & not the rest. What option would this be under?

Thank you kindly for your quick replies. It is greatly appreciated.

Ted S 05-01-2011 10:24 PM

Quote:

Originally Posted by Britmovie (Post 2190663)
Hi not certain if this is a past problem I have searched. When the mod is enabled new posts that should be at the top and older at bottom appear all mixed. When disabled new posts are at the top again?

Anyone have a clue please?

Are you using the hide negative ranked option? The mod doesn't resort any posts.

Ted S 05-01-2011 10:26 PM

Quote:

Originally Posted by Willy T (Post 2190802)
Of course I have. Unless it's hidden or rephrased, I only have any option that shows hide first post rating & not the other way around.

I want it so you can only vote on the first post & not the rest. What option would this be under?

Thank you kindly for your quick replies. It is greatly appreciated.

Gotcha! You can easily reverse that function... best solution for how the mod works right now.

sross 05-04-2011 02:08 AM

Hi, so far this is looking like a great mod for my forum. All I need is a way to show the ratings activity in my forumdisplay.. so there is a column in the list of threads that shows the rating, or it shows where the original vbuletin rating stars used to show. Is this possible? Thanks for any tips!

angeljs 05-08-2011 01:12 PM

Quote:

Originally Posted by wastemytime (Post 2094898)

Code:

Invalid SQL:

INSERT INTO vb_helpfulanswer
SET postid = 259155, threadid = 18705, userid = 1, yesno = '1', dateline = 1283840962;

MySQL-Error: Unknown column 'threadid' in 'field list'


I'm having this same problem. Was this fixed?

Edit: I managed to fix this by running this query in the database:

Code:

ALTER TABLE `helpfulanswer` ADD `threadid` INT(10) NULL

Ted S 05-08-2011 06:24 PM

Quote:

Originally Posted by angeljs (Post 2193299)
I'm having this same problem. Was this fixed?

Edit: I managed to fix this by running this query in the database:

Code:

ALTER TABLE `helpfulanswer` ADD `threadid` INT(10) NULL

This is part of the install routine but it sounds like it didn't get exexcuted. Glad you sorted it out!

The Rocketeer 05-09-2011 04:57 PM

Quote:

Originally Posted by Ted S (Post 2189104)
Just add a margin attribute (style="margin-right:10px;") to the div in the helpful_answers template. If this sounds like greek let me know.

Hi Ted,

I did as you suggested, but didnt really work for me...
do you have another fix :o

Code:

<div id="helpfulanswers_box_{vb:raw post.postid}" style="text-align:right; margin-right:10px;">

Ted S 05-14-2011 06:42 PM

Helpful Answers Users -

It's been a long time since this mod had a major update and I want to see what, if any, features would make it better for you. Is there a different way you'd like to see HA work? Another voting or reporting option? More controls? More interactions?

Share your thoughts for the next update!

SemperFideles 05-14-2011 07:57 PM

I was wondering when a new release might be imminent. Here is my wish list:

- Ability from product settings to set location of the helpful answers below the signature without the need for a manual edit of the template.
- Ability to select to display the usernames of those who found the post helpful (i.e. next to where it says "5 users found this post helpful" list their usernames separated by commas.)
- Ability to display on a user's postbit the number of helpful posts (i.e. below his post count list "Helpful Posts: 200")
- Ability to find all the helpful posts a user has made within his profile.
- Ability to find all the posts a user found helpful within his profile.

SemperFideles 05-19-2011 01:16 PM

Adding another feature (actually it's a bug fix).

- Fix Helpful Answers page to correspond to the permissions that users have to read threads and thread titles.

The current "rollup page" allows unregistered users to see the thread titles of threads that are in the Admin and Mod fora. I've had this feature on for a while and I shudder to think what some unregistered users have been able to see in terms of thread titles in our Moderating fora. This is a HUGE bug.

Ted S 05-19-2011 06:20 PM

Quote:

Originally Posted by SemperFideles (Post 2197554)
Adding another feature (actually it's a bug fix).

- Fix Helpful Answers page to correspond to the permissions that users have to read threads and thread titles.

The current "rollup page" allows unregistered users to see the thread titles of threads that are in the Admin and Mod fora. I've had this feature on for a while and I shudder to think what some unregistered users have been able to see in terms of thread titles in our Moderating fora. This is a HUGE bug.

Bug implies something that works incorrectly from how it was designed. This page was built this way from day one as few people let rating in areas they wanted private and documented as such but I digress..

I suppose we can suffer the additional query overhead to do this checking if that's what people prefer.

SemperFideles 05-19-2011 06:39 PM

Good point. I guess I didn't read the documentation carefully enough. There are private forums where users would like to note that they found a post helpful but that doesn't imply that the data concerning what the post was about should have permissions to be viewed outside the members-only area. I guess I had grown accustomed to other products that maintain forum permissions when displaying data.

Ted S 05-20-2011 04:51 AM

Quote:

Originally Posted by SemperFideles (Post 2197682)
Good point. I guess I didn't read the documentation carefully enough. There are private forums where users would like to note that they found a post helpful but that doesn't imply that the data concerning what the post was about should have permissions to be viewed outside the members-only area. I guess I had grown accustomed to other products that maintain forum permissions when displaying data.

Easy enough to add in. Just increases the overhead of that page a bit... such as the tradeoff.

Neofate 05-29-2011 09:01 AM

Awesome! I've been looking for this mod for 4.x.x for a week now! Finally had to key in the right search keyword.. to find it. Maybe I'll be looking to code or find a better forum search function for VB.. lol. I'm sure it's out there.

But Ted, you rock, and thanks for this. Really, makes a big difference.

I MOTM, and Marked installed of course (and it isn't yet). ;)

You should do more mods, you have great talent and ideas.

Take care,

Neofate 05-29-2011 09:07 AM

Also -- I would be willing to 'donate' immediately for this overhead code which you could offer here for all to add manually if that would be quicker, or add to the code for download. Just let me know sir.

*I have noticed with my 4.1.3 -- Which I think has no problems with this mod.

That the thumbs up and down -- the {vb:raw helpful_answers} .. by default comes BEFORE the subject line.. and puts an awkward space between it and subject line.

Is there anyway I can get it to be 'inline' on the same line as the subject, so the subject looks normal? It makes the alignment of the listings look odd.. Is this normal behavior to push the subject line/header down?

Is there any logical reason why it can't be on the same line? There is more than enough space that is never occupied on the right hand side.

I also used the guide to place it below the signature, but while it works.. it have a space between it and the bottom of the post box.. (between it and the bar with the options to edit, quote, reply, multiquote and so on) -- AND it randomly will leave 2 to 4 single spaces between it and this option bar.

I use postbit_legacy by default.

Any answers , or help?

Maybe I need to modify the php, or some other code a bit to allow it to be inline with something?

I don't really mind where I have to put it, as long as it keeps the post box layout looking as it 'used' to.. or as intended.

I have it disabled until I can figure out an answer to this. Anyone is welcome to share ideas. I would appreciate it.

I will, as I said, donate for the option people are requesting and even to have this working properly.

Thank you !

ALBCODERS 05-29-2011 06:32 PM

This is a beautifull mod I like it,but not working on vb 4.0.3

Ted S 05-30-2011 05:42 AM

Quote:

Originally Posted by Neofate (Post 2201194)
Also -- I would be willing to 'donate' immediately for this overhead code which you could offer here for all to add manually if that would be quicker, or add to the code for download. Just let me know sir.

Thanks for the offer however donations do not drive my development; comments on the thread and the clear illustration that people are working to extend the offering of the mod are what I look for and updates [other than bug fixes] are released in batches so that people don't have to upgrade frequently. The next planned update will likely be an extensive update this summer as I mentioned a few posts back.

Quote:

That the thumbs up and down -- the {vb:raw helpful_answers} .. by default comes BEFORE the subject line.. and puts an awkward space between it and subject line.
Yes it does. It's placed in a DIV that shows up before the subjectline.

Quote:

Is there anyway I can get it to be 'inline' on the same line as the subject, so the subject looks normal? It makes the alignment of the listings look odd.. Is this normal behavior to push the subject line/header down?
It's a separate div but with css you can place it however you like... float it, pad it, color it, etc.

Quote:

Is there any logical reason why it can't be on the same line? There is more than enough space that is never occupied on the right hand side.
There's just about nothing that you can't do logically, however logic and easy [to install / avoid conflicts from] are different. The subject is an existing core part of the site and while it may be shorter most of the time, that's really about browser types, subject lengths, prefixes and resolution. I try to keep mods more universal... improving upon the base to fit your style better is a great idea. Very logical, very possible, but not ideal for a universal default.

Quote:

I also used the guide to place it below the signature, but while it works.. it have a space between it and the bottom of the post box.. (between it and the bar with the options to edit, quote, reply, multiquote and so on) -- AND it randomly will leave 2 to 4 single spaces between it and this option bar.
It's not random, it's a function of stacking spacing in the post, the height of the area, other elements that all combine to appear as more or less padding.

Quote:

Maybe I need to modify the php, or some other code a bit to allow it to be inline with something?
CSS, not PHP but yes, it's something you can and should customize to meet your exact needs.

If you aren't familiar with CSS I can help with this to a degree but vBulletin makes customizing styles painful. In short if you want two elements on the same line the easiest way is to "float" both of them, one to the left and one to the right. This is done with the attribute float:left; float:right. Let me know if that sounds greek or gets you started.

Quote:

I will, as I said, donate for the option people are requesting and even to have this working properly.
Again, please be clear on the difference between working properly and working how you want. I don't disagree with your request but your comment implies that there is a bug which other users will read and take as it. The truth is that you would like functionality and while perfectly reasonable to ask, it's very different than "not working properly".

scubasteve3 06-05-2011 05:32 AM

Hi Ted,
1. How would you make it so that users only rank the very first post (The initial thread)?

2. How do you get this to work on front page articles?

Thanks!!

Ted S 06-05-2011 05:59 AM

Quote:

Originally Posted by scubasteve3 (Post 2203683)
Hi Ted,
1. How would you make it so that users only rank the very first post (The initial thread)?

There's a feature to not show this on the first post. Enable that.

Then pop open product-helpful_answers vb404.xml and go to line 907, change this from == to !=

Save. Upload the XML file. Done.

Quote:

Originally Posted by scubasteve3 (Post 2203683)
2. How do you get this to work on front page articles?

As in posts on the frontpage or articles stored sepertely from posts?

baghdad4ever 06-05-2011 09:25 PM

hi

can you add button for every post by which the best answer chosen only by the thread starter?

and after he choose the best the thread automatically closed

Ted S 06-06-2011 06:11 AM

Quote:

Originally Posted by baghdad4ever (Post 2204003)
hi

can you add button for every post by which the best answer chosen only by the thread starter?

and after he choose the best the thread automatically closed

This is really a seperate mod which could certainly work with this but as you're no longer having user's vote per post there isn't much value in making it all one system. Better for someone to build a seperate "Best Answer" system and then share the display placement with Helpful Answers.

TheShanka 06-11-2011 09:05 AM

I'm unsure why this mod isn't currently working for my site; vBulletin 4.1.4 - I've installed it, all the files are up, made settings changed as I thought appropriate, but no joy. Perhaps it's the bit in the first post about it needing to be enabled in certain forums? How do I go about this as it only seems to mention threads in the Options for it.

Thanks in advance; looking forward to the feature working with my site - the members should get a real kick out of it.

Ted S 06-12-2011 12:24 AM

Quote:

Originally Posted by TheShanka (Post 2206164)
I'm unsure why this mod isn't currently working for my site; vBulletin 4.1.4 - I've installed it, all the files are up, made settings changed as I thought appropriate, but no joy. Perhaps it's the bit in the first post about it needing to be enabled in certain forums? How do I go about this as it only seems to mention threads in the Options for it.

Thanks in advance; looking forward to the feature working with my site - the members should get a real kick out of it.

If it's not enabled in the forum you are viewing it certainly won't show up in the forum to "work".

You can enable it in the same place you would enable any any other option, the forum manager. Or you can use the bulk manager in yoru Admin CP to enable it in many forums. Both are explained briefly in the install file but it's pretty simple, you check yes or not :D

scubasteve3 06-19-2011 12:17 AM

Quote:

Originally Posted by Ted S (Post 2203685)
There's a feature to not show this on the first post. Enable that.

Then pop open product-helpful_answers vb404.xml and go to line 907, change this from == to !=

Save. Upload the XML file. Done.



As in posts on the frontpage or articles stored sepertely from posts?

Thanks Ted. I got it so the vote only shows up on the first post.

What I mean was, is it possible to add the same voting system thumbs up/down for front page articles?

Also, Would it be possible to change the way it shows the rating score from X # of users found this helpful. To the Thumbs up Icon and +X (where x is the # of people who found this helpful)

One last thing, how are the results stored in the database? What I mean is, the default thread rating system, the score is titled "votetotal". So I can run a query to order by votetotal. Is this possible with this mod? (Sorry, I'm obviously not a programmer)

Thank you so much!

Ted S 06-19-2011 05:13 AM

Quote:

Originally Posted by scubasteve3 (Post 2209665)
What I mean was, is it possible to add the same voting system thumbs up/down for front page articles?

If it's just posts, yes, but it will take some work.

If you have articles via the CMS then you;d have to more or less rebuild it using the same code base. The system is setup for post IDs so another element would not work.

Quote:

Also, Would it be possible to change the way it shows the rating score from X # of users found this helpful. To the Thumbs up Icon and +X (where x is the # of people who found this helpful)
Edit the template. Remove the X of Y and replace it with the right variable as shown in ths first post of this thread.

Quote:

One last thing, how are the results stored in the database? What I mean is, the default thread rating system, the score is titled "votetotal". So I can run a query to order by votetotal. Is this possible with this mod? (Sorry, I'm obviously not a programmer)
There is a record of total votes and good votes per thread but it's in the table helpfulanswers, not post.

scubasteve3 06-19-2011 06:54 AM

Quote:

Originally Posted by Ted S (Post 2209745)
If it's just posts, yes, but it will take some work.
Edit the template. Remove the X of Y and replace it with the right variable as shown in ths first post of this thread.

Ok. I got that so now I can make it so it generates whatever I want it to say after the user has voted. Is it possible to add the gray version of the thumbs up/down image here and next to that say the text.

Ted S 06-20-2011 10:36 PM

Quote:

Originally Posted by scubasteve3 (Post 2209762)
Ok. I got that so now I can make it so it generates whatever I want it to say after the user has voted. Is it possible to add the gray version of the thumbs up/down image here and next to that say the text.

It's HTML, you can add whatever images or other elements you want. <img src="xxx"> for images...

scubasteve3 06-23-2011 03:42 PM

Quote:

Originally Posted by Ted S (Post 2210615)
It's HTML, you can add whatever images or other elements you want. <img src="xxx"> for images...

Right.

I guess what I'm trying to do is have it so that after you vote (for thumbs up only, no negative votes counted) then the green thumbs up will be replaced by a gray thumbsup and next to that will have +goodranks.

I got it so that it says +goodranks but I need some help with the if statement for if users have already voted to insert the gray thumbsup image.

Ted S 06-24-2011 12:03 AM

You already have to logic down... An image is no different than text, it merely needs a tag.

Just add the <img> tag to whatever code you changed the +goodranks bit too.

Hateman 06-27-2011 06:33 PM

Hi,

i installed mod_deflate (apache) on my server, but since this installation, this tool don't work correctly on firefox 5.0. Any ideas about this problem?

Ted S 06-27-2011 06:56 PM

Have you tried it with FF 5 without the module installed?

Hateman 06-28-2011 09:42 AM

Hi,

yes the same problem. But im not sure about the problem. I send you a private message with a link about it, is it okay?


All times are GMT. The time now is 09:20 PM.

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.02696 seconds
  • Memory Usage 1,869KB
  • 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
  • (4)bbcode_code_printable
  • (31)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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