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 10-17-2010 07:06 PM

Quote:

Originally Posted by alfanexus (Post 2110754)
Would it be possible to use this on blogs aswell? So users could rate blogs with the same function?

You would have to duplicate the mod files and tweak them, not hard but not simple either

Alan_SP 10-17-2010 11:29 PM

This would be excellent if it could be used for CMS and blog as well. Anyway, excellent add-on. :up:

sticky 10-18-2010 06:40 AM

Quote:

Originally Posted by Alan_SP (Post 2111124)
This would be excellent if it could be used for CMS and blog as well. Anyway, excellent add-on. :up:

On the CMS it would be great!

sticky 10-18-2010 06:40 AM

Ted, this mod was recently released that has a cap on how much negative reputation a user can give: https://vborg.vbsupport.ru/showthread.php?t=251044

Just wanted to see if it would be possible to integrate this cap into the mod :)

KityKatze 10-20-2010 08:37 AM

Nifty mod, my users love it, thank you!

Found a small bug:

When you rate a thread using the 10-point scale it initially adds your rating to the votes total as well as reworking the rating - eg:


Loading the thread: "This post has been ranked 10 out of 10 with 1 vote"

After rating it also adds the score into how many votes have been cast - In this case 9: "This post has been ranked 9.5 out of 10 with 19 votes"

If you then reload the page you get the proper display: "This post has been ranked 9.5 out of 10 with 2 votes. "


(also, minor point which I've changed in my phrase manager but the default says rate this thread instead of post.)

Seerkan 10-21-2010 10:10 PM

thanks, very helpful

just one thing:

text of the option "Hide Negative Posts - Count" shold be "Hide Negative THREADS- Count"

This option "Set how low the vote must be before hiding a thread"

sticky 10-26-2010 11:41 AM

Ted, would you be able to help me modify the "minimum post count" variable to use "minimum rep point" instead?

vietfancy 10-26-2010 08:28 PM

After click on voting (the thumb) I get this code...

PHP Code:

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


Ted S 10-28-2010 03:14 AM

Quote:

Originally Posted by vietfancy (Post 2114614)
After click on voting (the thumb) I get this code...

PHP Code:

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


Disable the reporting feature and you'll be all set

Ted S 10-28-2010 03:16 AM

Quote:

Originally Posted by sticky (Post 2114398)
Ted, would you be able to help me modify the "minimum post count" variable to use "minimum rep point" instead?

Should be pretty simple... Just need to look up the name of the variable, you can find it in the settings table or source code, once you have it I'll tell you where to swap things out (away from the vB source code right now)

vietfancy 10-28-2010 03:28 AM

Quote:

Originally Posted by Ted S (Post 2115089)
Disable the reporting feature and you'll be all set

Thank you it works great.

Here is one more thing. What do i do (what file should i edit) if i want to allow Guests to vote too?

Ted S 10-31-2010 10:14 PM

Quote:

Originally Posted by vietfancy (Post 2115094)
Thank you it works great.

Here is one more thing. What do i do (what file should i edit) if i want to allow Guests to vote too?

You would have to pretty much modify everything as the mod uses User IDs to stop double voting and you would have to switch or add an IP address or some other means to check.

Pvtiste 11-05-2010 12:29 PM

Wow thos mod is awsome !
thanks for sharing

sticky 11-06-2010 11:51 PM

Quote:

Originally Posted by Ted S (Post 2115090)
Should be pretty simple... Just need to look up the name of the variable, you can find it in the settings table or source code, once you have it I'll tell you where to swap things out (away from the vB source code right now)

I think I found it Ted, I may be wrong but I think this is it:

Code:

        // check if they have enough posts
        if($vbulletin->options['helpans_min'] AND $vbulletin->userinfo['posts'] < $vbulletin->options['helpans_minnum']){
                if($using_ajax){
                        $helpful_answers_error = construct_phrase($vbphrase['helpfulanswer_toofew'],$vbulletin->options['helpans_minnum'],$vbulletin->userinfo['posts']);

                        $templater = vB_Template::create('helpful_answers_error');
                        $templater->render();
                        $templater->register('helpful_answers_error', $helpful_answers_error);
                        print_output($templater->render());
                        exit;
                } else { eval(standard_error(fetch_error('helpfulanswer_toofew',$vbulletin->options['helpans_minnum'],$vbulletin->userinfo['posts'])));}
        }


amorosso 11-07-2010 01:33 PM

Awesome, it should be part of VB ..

Wurstteppich 11-11-2010 06:56 AM

Hi,

did anyone translate this to German language already and can provide me with his phrases?

Wurstteppich 11-11-2010 09:31 AM

One thing I noticed...when I click "Yes/No" to rate a users post, it takes ages (at least 5 seconds) till it changes to "Thanks for rating blabla". I use Google Chrome (didnt check with other browsers yet), does anyone have the same problem? I mean not the time to wait is the problem, but users don't recognize if the missed the spot and click another 2-3 times on it in the meantime.

chriske 11-15-2010 12:52 PM

1 Attachment(s)
Having style issues in 4.0.7.

The first screenshot is how a post normally looks, the second is how the post looks in forums where this mod is activated.

Anyone else experiencing this?

MyCTaK 11-16-2010 11:34 AM

1 Attachment(s)
I have the same problem as above (first and second posts are OK, but after them all are wider.
Another think i saw is style problem with background. I think probably it is because of the code below - there is no START, only END (see attached screenshot):

barakuda 11-16-2010 03:28 PM

installed and work ,thanks

Solarflex 11-20-2010 10:52 AM

Ok I'm having a problem here and I can't find the answer anywhere..

I'm a total noob when it comes to coding and stuff like this, so I need some explanation..

I have installed this plugin the way it was instructed but it's not showing. I have enabled it on all forums..

What I can't find anywhere in my ACP, however, are the following (emphasis on the bold):
"the Bulk Forum Enabler located in the Helpful Answers Tab."
and I haven't found any option anywhere saying
"manual template override"
So.. where do I find these options?

Wurstteppich 11-20-2010 11:12 AM

Does anyone else have the problem, that it takes 5-6 seconds till the display changes when you rate a post?

Solarflex 11-20-2010 11:55 AM

Ok the helpful answers tab is fixed. I see it now. But I still don't see the manual template override..?

KProjects 11-20-2010 06:37 PM

So - i've been using this and liked it.. then we had some jackass come in and voting thumbs down on a bunch.. I cleared his using the admin panel and now it says:

1 out of 4294967295 members found this post helpful. Did you find this post helpful?

is there a way to recount votes?

Ted S 11-22-2010 12:59 AM

Quote:

Originally Posted by KProjects (Post 2123949)
So - i've been using this and liked it.. then we had some jackass come in and voting thumbs down on a bunch.. I cleared his using the admin panel and now it says:

1 out of 4294967295 members found this post helpful. Did you find this post helpful?

is there a way to recount votes?

There are utility scripts inthe first post which can recount votes for you.

Ted S 11-22-2010 12:59 AM

Quote:

Originally Posted by Wurstteppich (Post 2123835)
Does anyone else have the problem, that it takes 5-6 seconds till the display changes when you rate a post?

Sounds like your database is bogged down. How long does it take to submit a thread?

Ted S 11-22-2010 01:01 AM

Quote:

Originally Posted by Solarflex (Post 2123841)
Ok the helpful answers tab is fixed. I see it now. But I still don't see the manual template override..?

It's one of the first options in the Helpful Answers settings...

Solarflex 11-22-2010 03:31 PM

Quote:

Originally Posted by Ted S (Post 2124492)
It's one of the first options in the Helpful Answers settings...

Ah I see. I thought it was that one, but it didn't say "(...) override" but "Manual Template Placement"

But anyway, I have that one set to NO, and all forums have this hack enabled, but I still don't see it...

Ted S 11-24-2010 04:04 AM

Quote:

Originally Posted by Solarflex (Post 2124689)
Ah I see. I thought it was that one, but it didn't say "(...) override" but "Manual Template Placement"

But anyway, I have that one set to NO, and all forums have this hack enabled, but I still don't see it...

Have you modified your postbit / postbit_legacy templates?

Wurstteppich 11-24-2010 09:48 AM

Quote:

Originally Posted by Ted S (Post 2124491)
Sounds like your database is bogged down. How long does it take to submit a thread?

Hi Ted,

database is fine, posting itself is done in a second.

chriske 11-24-2010 10:07 AM

Quote:

Originally Posted by chriske (Post 2122067)
Having style issues in 4.0.7.

The first screenshot is how a post normally looks, the second is how the post looks in forums where this mod is activated.

Anyone else experiencing this?

Anyone?

Solarflex 11-25-2010 01:32 PM

Quote:

Originally Posted by Ted S (Post 2125238)
Have you modified your postbit / postbit_legacy templates?

There are more people working on my site, so I'll ask them too. But when I look at my Style Manager the "postbit" and "postbit_legacy" are both normal. All of the "postbit_*" are. Just black... no "inherited -" or "customized style" color.., so I guess they aren't modified..

chriske 12-03-2010 08:46 PM

1 Attachment(s)
Also the Inline moderation is broken in the forums where this mod is activated :(

I realy like this mod, anyone have a idea how to fix it?

netzwart 12-08-2010 08:37 PM

1 Attachment(s)
Thank you for this great ADDON!!!

Right now, i am trying to move the display location of the ADDON. In the admincp there is said, that i will have to edit the template postbit/ postbig legacy to include the variable $helpful_answers, which allows for customizable display locations for the ADDON.

Unfortunatyly, i don?t know how to do this. Could anybody give me basic instructions, how and where to include the variable $helpful_answers in the corresponding template (finding and editing the template is not the problem!).

What i am trying to do, is to put the location of the MOD below the post (see screenshot), for example into the footer.

Thank you in advance

Netzwart

SORRY, found the solution in post

https://vborg.vbsupport.ru/showpost....76&postcount=2

of this thread !!!!! My fault !!!

netzwart 12-09-2010 05:59 AM

1 Attachment(s)
Hello,

in the control panel of the user, i am showing the latest received reputation of the user. If the new reputation is based on a voting by "Helpful Answers", it says: "Helpful Answers Negative (or Positive) Rating". (see Screenshot)

Where can i translate or change this Phrase ??? :confused:

I found the phrase in the admincp, changed/translated it, but nothing happens. No matter which language is chosen by the user, always the above-mentioned version of the phrase is shown :(

Netzwart

Greek76 12-09-2010 01:40 PM

Does this work with the latest vb version?

netzwart 12-09-2010 08:15 PM

Quote:

Originally Posted by Greek76 (Post 2131310)
Does this work with the latest vb version?

I don?t know, I am using VB 4.0.8 PL2 and not vB 4.1.0, because i have made so much amendments and don?t want to risk anything by upgrading ...

Netzwart

cungchuctanxuan 12-11-2010 07:51 PM

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

This is the error I get when pressing "like". The vote goes through tho.
Any idea. Thanks

preemz10314 12-11-2010 09:18 PM

doesnt work un installed.

Solarflex 12-12-2010 02:55 PM

Quote:

Originally Posted by Solarflex (Post 2125624)
There are more people working on my site, so I'll ask them too. But when I look at my Style Manager the "postbit" and "postbit_legacy" are both normal. All of the "postbit_*" are. Just black... no "inherited -" or "customized style" color.., so I guess they aren't modified..

Not edited.
What do I need to do?

Edit: Nvm. I found out. Problem fixed.


All times are GMT. The time now is 03:14 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.02482 seconds
  • Memory Usage 1,840KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (17)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