Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Answer Forums 1.0.0 Details »»
Answer Forums 1.0.0
Version: 1.0.1, by Gio~Logist Gio~Logist is offline
Developer Last Online: Oct 2022 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.7.3 Rating:
Released: 09-14-2008 Last Update: 09-20-2008 Installs: 197
DB Changes Uses Plugins
Code Changes  
No support by the author.

Brought To You By
ModernvB - Vbulletin Solutions & Services
http://www.modernvb.com

Premium Modification:
http://www.modernvb.com/vb_products....o&productid=10

Answers Forum
Ever wanted to enable the ability to specify a certain forum as an "answer" forum, where members can post questions and select the best answer given by the community? This is similar to yahoo answers, a very effective website where users can post questions and seek answers from registered users. Answering questions can get to be a mess, keep it organized and save yourself a bit of hassle when dealing with Q&A's. As a webmaster, you already have enough on your hands to have to worry about answering questions sometimes, and need an effective way to do this! Or maybe, you just want to let your community do it for you


Difference Between Answer Forum Light & Answer Forums Premium
* Enable a questions forum Lite/Premium
* Allow users to choose best answer Lite/Premium
* Question Statistics on forumdisplay Premium Only
* Top Helpers on forumdisplay Premium Only
* Recently Answered on forumdisplay Premium Only
* View Answered Topics Premium Only
* View Unanswered Topics Premium Only
* Answered Topics in postbit Premium Only
* Private Message user who's answer was chosen Premium Only
* Private Message answer provider if the answer is reset Premium Only
* Control user's ability to reset their own topic's answer Premium Only
* Allow usergroups to reset any topic's answer Premium Only
* Allow usergroups to select any topic's answer Premium Only *new
* Integrates with vbplaza (reward answer providers) Lite/Premium
* Integrates with vbcredits (reward answer providers) Premium Only

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #242  
Old 06-06-2009, 08:17 PM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bugriders View Post
Nice mod!! :up::up::up:

Installed and working great!

Many thanks!!

Question; I would like to put an icon-image before unanswered and answered. I tried in admin-> Phrase Manager, with <img scr="link-to-image"> but i only see the icon (don't know the name) as i need a plugin for my browser to see the image.

How can i fix it please?
That should have done the trick. What exactly happened?
Reply With Quote
  #243  
Old 07-04-2009, 06:46 PM
tiger tiger is offline
 
Join Date: Jul 2002
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks great I will give it a try the only 2 key things I see missing are the ability to have categories of answers and the ability to rate answers like 1-10 instead of just "best " answer.
Reply With Quote
  #244  
Old 07-15-2009, 03:57 PM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can always use prefixes if you don't want to use different forums
Reply With Quote
  #245  
Old 12-03-2009, 01:13 AM
saihat saihat is offline
 
Join Date: Nov 2008
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This
Reply With Quote
  #246  
Old 12-04-2009, 08:36 AM
Levi75 Levi75 is offline
 
Join Date: Aug 2007
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there

Sorry, but the mod doesn't show anything in postbit legacy. Any help to fix this?

Thank you
Reply With Quote
  #247  
Old 12-12-2009, 06:13 AM
eurosoft eurosoft is offline
 
Join Date: Aug 2008
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can vbExperience be integrated with its points system
Reply With Quote
  #248  
Old 12-13-2009, 06:06 AM
christicehurst christicehurst is offline
 
Join Date: Jan 2008
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The Enable Forum Answer doesn't show up on the Admin CP area
Reply With Quote
  #249  
Old 04-11-2010, 06:20 AM
alkatraz alkatraz is offline
 
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 384
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, any update on this for 4.0.x? I purchased the premium version back in 2008.

Thanks!
Reply With Quote
  #250  
Old 06-24-2010, 11:15 AM
Dragon Company's Avatar
Dragon Company Dragon Company is offline
 
Join Date: Dec 2004
Location: France
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

excellent thanks ! hope i will port on vbulletin 4, cause i will upgrade soon
Reply With Quote
  #251  
Old 06-29-2010, 09:43 PM
basketmen's Avatar
basketmen basketmen is offline
 
Join Date: Nov 2006
Posts: 446
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

(In forumdisplay) Top helpers by each forum, not Top helpers from all forum




Please help how to make Top Helpers on forumdisplay will showing Top helpers by each forum, not Top helpers from all forum, thats how looks like yahoo answer



like this health category in yahoo answer, and the top contributor


Science and mathematics category





please can you make little edit just for that or give a clue, we really need it to make like yahoo answer



i believe its in 'Answer Forums - Transform Forumdisplay' plugin

i already try add the red code below (The Top Helpers part code), by looking the code in blue (The stats code is by each forum, not all forum)

but its not right, get error, please help or give a clue to make this work, this is to make this mod better, like yahoo answer







Quote:
if($foruminfo[g_answer_forum]){

// Set cutoff date if once is applied
$af_cutoff = $vbulletin->options['answers_forums_cutoff_date'];

// Filter answers?
if($_REQUEST['show_answers'] == '1'){
$hook_query_where .= " AND thread.g_answer_forum_answer != '0' AND thread.dateline > '" . $af_cutoff . "'";
} elseif($_REQUEST['show_answers'] == '0'){
$hook_query_where .= "AND thread.g_answer_forum_answer = '0' AND thread.dateline > '" . $af_cutoff . "'";
}

// Stats
if($vbulletin->options['answers_forums_enable_stats']){
// An option is enabled, so show the right column
$show[right_column] = 1;

$total_answers = $vbulletin->db->query_first("SELECT count(threadid) AS total FROM " . TABLE_PREFIX . "thread WHERE forumid = " . $foruminfo['forumid'] . " AND g_answer_forum_answer != '0'");
$total_not_answered = $vbulletin->db->query_first("SELECT count(threadid) AS total FROM " . TABLE_PREFIX . "thread WHERE forumid = " . $foruminfo['forumid'] . " AND g_answer_forum_answer = '0' AND dateline > '" . $af_cutoff . "'");

if(!$total_not_answered['total']){ $total_not_answered['total'] = 0; }
$answers_forum['total_answered'] = $total_answers['total'];
$answers_forum['total_not_answered'] = $total_not_answered['total'];

if($total_answers['total']){

$answers_forum['total_answered_percent'] = round($total_answers['total'] / ($total_answers['total'] + $total_not_answered['total']) * 100);

} else {

$answers_forum['total_answered_percent'] = 0;

}
}

// Recently Answered
if($vbulletin->options['answers_forums_enable_recently_answered']){
// An option is enabled, so show the right column
$show[right_column] = 1;

// Recently answered questions
$answered_threads = $vbulletin->db->query_read("SELECT thread.threadid, thread.title, post.dateline, thread.postuserid, thread.postusername, answer_post.userid AS answer_userid, answer_post.username AS answer_username
FROM " . TABLE_PREFIX . "thread AS thread
LEFT JOIN " . TABLE_PREFIX . "post as post ON(post.postid = thread.lastpostid)
LEFT JOIN " . TABLE_PREFIX . "post as answer_post ON(answer_post.postid = thread.g_answer_forum_answer)
WHERE forumid = " . $foruminfo['forumid'] . " AND g_answer_forum_answer != '0' AND thread.dateline > '" . $af_cutoff . "'
ORDER BY post.dateline DESC
LIMIT 15
");

while($thread = $vbulletin->db->fetch_array($answered_threads)){
eval('$answers_forum_threads .= "' . fetch_template("answer_forums_answeredbit") . '";');
}
}

// Top helpers
if($vbulletin->options['answers_forums_enable_top_helpers']){
// An option is enabled, so show the right column
$show[right_column] = 1;

// Users with most answers IE: Our Top Helpers
$top_helpers_get = $vbulletin->db->query_read("SELECT userid, username, forum_answers FROM " . TABLE_PREFIX . "user WHERE forumid = " . $foruminfo['forumid'] . " ORDER BY forum_answers DESC LIMIT 10");

while($helper = $vbulletin->db->fetch_array($top_helpers_get)){
eval('$top_helpers .= "' . fetch_template("answer_forums_helperbit") . '";');
}
}

// Any enabled features to show?
if($show[right_column]){

// Wrap the forumdisplay with the new info
eval('$header .= "' . fetch_template("answer_forums_head") . '";');
eval('$answer_forums_foot .= "' . fetch_template("answer_forums_foot") . '";');
$footer = $answer_forums_foot . $footer;

}

}
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:23 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.07727 seconds
  • Memory Usage 2,324KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete