vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - [AJAX] Helpful Answers - Post Rating System (plus many sub-features) (https://vborg.vbsupport.ru/showthread.php?t=204117)

Ted S 01-14-2012 11:45 PM

Quote:

Originally Posted by sanika_p (Post 2287907)
You can do so when moving to the section where the vote is not possible, assessment set to zero?

I don't understand your post, please rephrase it.

sanika_p 01-15-2012 07:06 AM

I have forums in which the rank is Deny or Allow from admincp (Allow Helpful Answers?).
When I move thread wrom allow forum to deny forum - rank should be zero. You can do this?

Ted S 01-15-2012 10:39 PM

Quote:

Originally Posted by sanika_p (Post 2288059)
I have forums in which the rank is Deny or Allow from admincp (Allow Helpful Answers?).
When I move thread wrom allow forum to deny forum - rank should be zero. You can do this?

I'm sorry but I don't follow what you are saying... Deny or Allow? Rank should be zero?

trotskid 02-06-2012 09:01 AM

Quote:

Originally Posted by defetzer (Post 1964186)
Very nice hack !

To use it optimal for my board i have a question.
I will only use the 10 point sytem :
It is possible (with a change) to rate only first post,and not the answers ?
When yes,how?

Thank you.

Quote:

Originally Posted by Ted S (Post 1964774)
The script has an option to disable voting on the first post, simply look at the code in the XML file for this trigger (search by variable name) and reverse the condition!

Hi. What exactly must change in the xml file?

Ted S 02-06-2012 06:57 PM

Quote:

Originally Posted by trotskid (Post 2296715)
Hi. What exactly must change in the xml file?

You'll need to look through the code to see where it checks for disabling the first post and reverse that to disabling everything else.

If you don't have basic coding skills I would not suggest doing this yourself.

trotskid 02-07-2012 06:40 AM

Quote:

Originally Posted by Ted S (Post 2296928)
You'll need to look through the code to see where it checks for disabling the first post and reverse that to disabling everything else.

If you don't have basic coding skills I would not suggest doing this yourself.

This is why I wonder what changes must be made to reverse the function :p

Could you take a look? Also would be a good idea implement this option :cool:

Thanks.

Ted S 02-07-2012 07:40 AM

Quote:

Originally Posted by trotskid (Post 2297089)
This is why I wonder what changes must be made to reverse the function

The basics are explained above... Open the code, browse around, look for the variables by name... it's all well decently formatted and occasionally commented.

Quote:

Could you take a look? Also would be a good idea implement this option :cool:

Thanks.
There's been 3 or 4 requests for it in the couple years this mod has been out. Lots of other ideas way higher on the next update list but perhaps down the road if we do a more Q&A focused featureset.

trotskid 02-07-2012 08:32 AM

Quote:

Originally Posted by Ted S (Post 2297096)
The basics are explained above... Open the code, browse around, look for the variables by name... it's all well decently formatted and occasionally commented.

Ok, but I haven't much code knowledge..

Perhaps need to make changes here?

Code:

                                        // may end up disabling this all for the first post
                                        if($this->registry->options['helpans_hidefirst'] AND $this->post['postid'] == $this->thread['firstpostid']){
                                                $show['helpfulanswer'] = false;
                                                $show['rate_helpfulanswer'] = false;


trotskid 02-07-2012 04:47 PM

Quote:

Originally Posted by trotskid (Post 2297102)
Ok, but I haven't much code knowledge..

Perhaps need to make changes here?

Code:

                                        // may end up disabling this all for the first post
                                        if($this->registry->options['helpans_hidefirst'] AND $this->post['postid'] == $this->thread['firstpostid']){
                                                $show['helpfulanswer'] = false;
                                                $show['rate_helpfulanswer'] = false;


No help on this mod? Ok, forget this one in my forum..

Thanks

Simon Lloyd 02-07-2012 05:29 PM

Quote:

Originally Posted by trotskid (Post 2297190)
No help on this mod? Ok, forget this one in my forum..

Thanks

You're kidding right? you expected free help on a free mod in the timeframe you wanted?:down:

To post this morning and then post a "forget this..." 8 hours later because someone didn't "snap to it" for you means that i wont help you (and i was when i visited this thread last night!), you really dont deserve it!

Sorry but that really annoyed me!


All times are GMT. The time now is 07:44 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.02653 seconds
  • Memory Usage 1,754KB
  • 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
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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