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)

Ted S 07-29-2010 02:28 AM

Quote:

Originally Posted by bfdzio (Post 2075846)
Fixed it!

I thought I had no plugins that had anything to do with the postbit but totally forgot about one of them (Add Ignore User to Postbit dropdown). Real amateur mistake by me not disabling that then trying it. I just assumed it couldn't be anything because my postbit_legacy was 100% default. Works fine now.

I'll pay for the top post block now :)

This weekend...

bfdzio 07-29-2010 02:24 PM

Quote:

Originally Posted by Ted S (Post 2076048)
This weekend...

Awesome, set me up with a donation link and i'll gladly help you out. This rating system literally calms my board. They are rabid football fans.

How hard would it be to code the collapsing of posts based on a NET total for votes? Reason I ask is because some people just are idiots and don't like certain people, and will always rate them down. I have one poster who could post a really good write up and he would have +40/-10. I can set it to -9 to collapse at -10...but I don't want a post with +40 and a net of +30 to be hidden.

Ted S 07-29-2010 04:44 PM

Quote:

Originally Posted by bfdzio (Post 2076322)
Awesome, set me up with a donation link and i'll gladly help you out. This rating system literally calms my board. They are rabid football fans.

How hard would it be to code the collapsing of posts based on a NET total for votes? Reason I ask is because some people just are idiots and don't like certain people, and will always rate them down. I have one poster who could post a really good write up and he would have +40/-10. I can set it to -9 to collapse at -10...but I don't want a post with +40 and a net of +30 to be hidden.

Not hard.. I'll add it in

11133 07-29-2010 07:14 PM

is it posible to restrict the member based on helpfull answers

i have mod with who members below xx cant view link/images/attachments

byt spammers make it fast,... and can i integrate this so if they have xx helpfull answers to can gave the permision

thanks

Ted S 07-29-2010 07:23 PM

Quote:

Originally Posted by 11133 (Post 2076458)
is it posible to restrict the member based on helpfull answers

i have mod with who members below xx cant view link/images/attachments

byt spammers make it fast,... and can i integrate this so if they have xx helpfull answers to can gave the permision

thanks

It is not.

11133 07-30-2010 10:16 AM

any other hack where i can limit member permision (view attachment, links images)
based on helpfull answers

CvP 07-30-2010 11:14 AM

Quote:

Originally Posted by 11133 (Post 2076723)
any other hack where i can limit member permision (view attachment, links images)
based on helpfull answers

no.
however, you can take a mod that limits attachment/images based on anything....then go and change that "anything" to helpful ans variables.

11133 07-30-2010 02:43 PM

Quote:

Originally Posted by CvP (Post 2076738)
no.
however, you can take a mod that limits attachment/images based on anything....then go and change that "anything" to helpful ans variables.

i use Advanced Permissions Based on User's Post Count
https://vborg.vbsupport.ru/showthrea...27s+Post+Count

how can integrate it instead post count to grab from helpfull answers number

thanks in advanced

Britmovie 07-30-2010 03:21 PM

Hi I installed as directed on www.britmovie.net/britforum but nothing shows. Using the latest of your mod and vb and default theme? Am I missing permissions somewhere?

CvP 07-30-2010 08:22 PM

Quote:

Originally Posted by 11133 (Post 2076817)
i use Advanced Permissions Based on User's Post Count
https://vborg.vbsupport.ru/showthrea...27s+Post+Count

how can integrate it instead post count to grab from helpfull answers number

thanks in advanced

I'll take a look into it but it'll take time. I'll be busy for next few days.

11133 07-30-2010 08:53 PM

Quote:

Originally Posted by CvP (Post 2076966)
I'll take a look into it but it'll take time. I'll be busy for next few days.

its ok, take a look when you have time
thanks a lot

Ted S 07-31-2010 06:04 AM

Quote:

Originally Posted by Britmovie (Post 2076842)
Hi I installed as directed on www.britmovie.net/britforum but nothing shows. Using the latest of your mod and vb and default theme? Am I missing permissions somewhere?

Did you enable the mod in the forum you are testing on?

Ted S 08-01-2010 01:10 AM

Version 2.3.3 is now live for vB 4.0.4 and 4.0.5 and adds in a top rated post option.

Coming next... a scheduled task to close low rated threads.

Got other ideas? Share them for a future update.

sticky 08-01-2010 04:09 AM

Basically what was mentioned before,

- Exclude certain usergroups from voting
- Exclude negative reputations from voting
- Follow VB reputation user spread option rules
- Voting per day based on usergroup or exempt Administrators
- Hide posts with low ratings

That would make it perfect :) This is just a personal request but I would like that instead of having the thumbs up / thumbs down disappear for those not allowed to vote it is still there but they get an error that explains why they can't. So if a user is banned from using it, or doesn't have enough posts, the thumbs up/down doesn't just disappear but they are reminded with a message why they can't use it or need more posts to use it.

CvP 08-01-2010 05:23 AM

Quote:

Originally Posted by Ted S (Post 2077431)
Version 2.3.3 is now live for vB 4.0.4 and 4.0.5 and adds in a top rated post option.

Coming next... a scheduled task to close low rated threads.

Got other ideas? Share them for a future update.

voters' names under the post! like the thank you hack, like XenForo does!

Ted S 08-01-2010 07:28 AM

Quote:

Originally Posted by CvP (Post 2077484)
voters' names under the post! like the thank you hack, like XenForo does!

That would make a much different mod... you'd be able to tell who voted what so I assume you'd want to show their vote as well?

bfdzio 08-01-2010 03:46 PM

Awesome work, I am able to get the link to the top rated post which is great. Did you also re-code the top rated post block (which is supposed to list the top rated posts) to work in this yet?

Also in the next update will you be getting the net rating tossed in?

CvP 08-01-2010 04:25 PM

Quote:

Originally Posted by Ted S (Post 2077519)
That would make a much different mod... you'd be able to tell who voted what so I assume you'd want to show their vote as well?

It can be admin defined.

1 show user names
2 show user names with votes
3 show user names for members; show user names with votes for moderators

for 1, have a box with small text size and comma list all user names.
for 2, place two box with small text size and comma list all user names accordingly.
for 3, combine 1 and 2 and simple template if condition.

Ted S 08-01-2010 04:52 PM

Quote:

Originally Posted by bfdzio (Post 2077682)
Awesome work, I am able to get the link to the top rated post which is great. Did you also re-code the top rated post block (which is supposed to list the top rated posts) to work in this yet?

Also in the next update will you be getting the net rating tossed in?

The top rated posts feature is working fine?

bfdzio 08-01-2010 04:59 PM

Maybe only works for new threads from here on out? Let me try and re-install it. I only get the top rated post, but not the post block.

Ted S 08-01-2010 05:11 PM

Quote:

Originally Posted by bfdzio (Post 2077712)
Maybe only works for new threads from here on out? Let me try and re-install it. I only get the top rated post, but not the post block.

Doesn't matter when it was voted on... where are you expecting to see the post block?

bfdzio 08-01-2010 05:29 PM

After the first post..? I only receive the one at the very top that says "See the top rated post in this thread. Click here"

Ted S 08-01-2010 06:25 PM

Quote:

Originally Posted by bfdzio (Post 2077745)
After the first post..? I only receive the one at the very top that says "See the top rated post in this thread. Click here"

There's nothing set to display after the first post... that's not a feature of this mod?

bfdzio 08-01-2010 06:51 PM

Quote:

Originally Posted by Ted S (Post 2077770)
There's nothing set to display after the first post... that's not a feature of this mod?

Ahh, I thought the "Enable Most Helpful Post Block" option was to put a post block after the first post, and have like the top 3 or so rated posts. I misread it...it says the same as the "Get Top Post per Thread" block. Would be a great feature ;)

10 Gauge 08-01-2010 11:27 PM

Quote:

Originally Posted by Ted S (Post 2077431)
Version 2.3.3 is now live for vB 4.0.4 and 4.0.5 and adds in a top rated post option.

Coming next... a scheduled task to close low rated threads.

Got other ideas? Share them for a future update.

I'd like to see CvP's post display mod as an actual built-in selectable display option. :) I can't update without having to redo it every time.

Ted S 08-02-2010 02:49 AM

Quote:

Originally Posted by bfdzio (Post 2077783)
Ahh, I thought the "Enable Most Helpful Post Block" option was to put a post block after the first post, and have like the top 3 or so rated posts. I misread it...it says the same as the "Get Top Post per Thread" block. Would be a great feature ;)

So like a list of the top 3? Anything else?

sticky 08-02-2010 03:04 AM

Quote:

Originally Posted by Ted S (Post 2077951)
So like a list of the top 3? Anything else?

Nope, just those changes and it is perfect :) It already is a great mod, this really is an integral feature on my forum just need the full integration as you stated: "Updated integration of Reputation System to accommodate weighted scale, limits."

tpearl5 08-02-2010 12:22 PM

Hrm, I'm not getting the most helpful post link at the top - I have the option enabled. Using 4.0.4

edit: nevermind - got it!

Ted - can the $toppost['postid'] = $threadinfo['postid'] be used to highlight the post?

bfdzio 08-02-2010 01:27 PM

Quote:

Originally Posted by Ted S (Post 2077770)
There's nothing set to display after the first post... that's not a feature of this mod?

Quote:

Originally Posted by Ted S (Post 2077951)
So like a list of the top 3? Anything else?

Top 3, Top 5, whichever...heck make it an admin option..maybe 3 is too little for some people. Or just have it be a certain rating to be in there.

Only other option is the post rating to be done on a net total, since I have a problem with people getting voted +40 and -10, and if I have collapse set to -10 it gets collapsed. I'd rather just set posts to collapse at a NET of -3 and call it good.


Quote:

Originally Posted by tpearl5 (Post 2078110)
Hrm, I'm not getting the most helpful post link at the top - I have the option enabled. Using 4.0.4

There are two options, enable them both..not sure which would do it.

tpearl5 08-02-2010 03:32 PM

Quote:

Originally Posted by tpearl5 (Post 2078110)
Ted - can the $toppost['postid'] = $threadinfo['postid'] be used to highlight the post?

Actually - I figured this out too. Had to register the variable with postbit...

Added
PHP Code:

vB_Template::preRegister('postbit_legacy', array('toppost' => $toppost['postid'])); 

After
PHP Code:

$template_hook['showthread_above_posts'] .= $templater->render(); 

In Helpful Answers -- Query To Get Votes & User Vote History

Then added
PHP Code:

<vb:if condition="$toppost == $post['postid']">Rated most helpful post - </vb:if> 

Before
PHP Code:

<a name="post{vb:raw post.postid}" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_post}}#post{vb:raw post.postid}" 

in postbit_legacy

tpearl5 08-02-2010 04:12 PM

For anyone interested with the above I also figured out how to highlight the top post...

Here's what it looks like: http://nikonites.com/feedback-sugges...teractive.html

Assuming you're using postbit_legacy:

Edit template postbit.css:
After
PHP Code:

.postbitlegacy .postbody, .eventbit .eventdetails .eventbody {
    
margin-{vb:stylevar left}: {vb:stylevar postbitlegacy_userinfo_width};
    
border-{vb:stylevar left}: {vb:stylevar postbit_userinfo_border};
    
background: {vb:stylevar postbit_background};
    
_background-imagenone;
    
padding-bottom1em;


Add
PHP Code:

.postbitlegacy .postbody.toppost {
    
background#F0FFF0;


In postbit_legacy
After
HTML Code:

<div class="postbody
Add
HTML Code:

<vb:if condition="$post['threadid'] AND $toppost == $post['postid']">toppost</vb:if>
So the line will look like this:
HTML Code:

<div class="postbody <vb:if condition="$post['threadid'] AND $toppost == $post['postid']">toppost</vb:if>">
The above must be done for this to work.

tpearl5 08-03-2010 03:10 PM

If anyone ended up using this yesterday, I added a small condition so that private messages would not highlight ($post['threadid'] AND $toppost == $post['postid']) it is included above.

vivamexico55 08-04-2010 02:20 AM

I hope this mod is revamped soon so all these positive changes are integrated, thanks for your contributions

wefictionjoe 08-05-2010 06:28 PM

I'm sure this was asked someone else, but i can't seem to find it.

Is there any way or allowing the user to change their vote?
For example, if I like a post, and then the poster changes the content, I'd like the ability to revoke my like, or at the very least, dislike the new post.

Thanks. Great Mod. Site is almost done.

Ted S 08-05-2010 08:35 PM

Quote:

Originally Posted by wefictionjoe (Post 2079723)
I'm sure this was asked someone else, but i can't seem to find it.

Is there any way or allowing the user to change their vote?
For example, if I like a post, and then the poster changes the content, I'd like the ability to revoke my like, or at the very least, dislike the new post.

Thanks. Great Mod. Site is almost done.

Not at this time.

sticky 08-08-2010 02:43 PM

For the next version could we get it so that for the minimum post check the helpful answers block does not disappear, it instead shows an error when clicked informing the user that their post count is not yet high enough?

With the minimum post check the way it is, people think there is an error that it does not show.

sticky 08-08-2010 02:45 PM

Quote:

Originally Posted by tpearl5 (Post 2078200)
For anyone interested with the above I also figured out how to highlight the top post...

Here's what it looks like: http://nikonites.com/feedback-sugges...teractive.html

Assuming you're using postbit_legacy:

Edit template postbit.css:
After
PHP Code:

.postbitlegacy .postbody, .eventbit .eventdetails .eventbody {
    
margin-{vb:stylevar left}: {vb:stylevar postbitlegacy_userinfo_width};
    
border-{vb:stylevar left}: {vb:stylevar postbit_userinfo_border};
    
background: {vb:stylevar postbit_background};
    
_background-imagenone;
    
padding-bottom1em;


Add
PHP Code:

.postbitlegacy .postbody.toppost {
    
background#F0FFF0;


In postbit_legacy
After
HTML Code:

<div class="postbody
Add
HTML Code:

<vb:if condition="$post['threadid'] AND $toppost == $post['postid']">toppost</vb:if>
So the line will look like this:
HTML Code:

<div class="postbody <vb:if condition="$post['threadid'] AND $toppost == $post['postid']">toppost</vb:if>">
The above must be done for this to work.

This is pretty cool! Is there any way to do this so that it automatically highlights posts that have say, 5 people who like the post? Basically just have a setting that an admin can edit, "How many users like post before highlightning?"

Ted S 08-08-2010 06:04 PM

Quote:

Originally Posted by sticky (Post 2080889)
For the next version could we get it so that for the minimum post check the helpful answers block does not disappear, it instead shows an error when clicked informing the user that their post count is not yet high enough?

With the minimum post check the way it is, people think there is an error that it does not show.

Great idea!

You should be able to do this just by editing out lines:

Code:

} else if ($this->registry->options['helpans_min'] AND $this->registry->userinfo['posts'] < $this->registry->options['helpans_minnum']) {
      // might need to have more post count
      $show['rate_helpfulanswer']=false;

The error part is already build in.

sticky 08-08-2010 11:08 PM

Quote:

Originally Posted by Ted S (Post 2080963)
Great idea!

You should be able to do this just by editing out lines:

Code:

} else if ($this->registry->options['helpans_min'] AND $this->registry->userinfo['posts'] < $this->registry->options['helpans_minnum']) {
      // might need to have more post count
      $show['rate_helpfulanswer']=false;

The error part is already build in.

I can't seem to find those lines to remove in helpfulanswers.php ?

Ted S 08-09-2010 01:44 AM

Quote:

Originally Posted by sticky (Post 2081075)
I can't seem to find those lines to remove in helpfulanswers.php ?

Sorry, those are in the XML plugin file.


All times are GMT. The time now is 08:09 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.02134 seconds
  • Memory Usage 1,881KB
  • 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
  • (2)bbcode_code_printable
  • (6)bbcode_html_printable
  • (8)bbcode_php_printable
  • (28)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