PDA

View Full Version : Major Additions - Discuss!! A Yahoo Answers Clone for vB3


Christos Teriakis
04-19-2012, 10:00 PM
Sorry, no more free time......

Discuss!!
A Yahoo Answers Clone
vB3.6, 3.7, 3.8

by ChrisTERiS (http://www.vbulleton.com/)


1. Why we need a discussion mod:confused:

Maybe sounds crazy to have a powerfull forum and to install this AddOn. But this is not true. I do agree that vB has tons of features for any type of discussions. But from the other point Yahoo Answers (and dozens of similars sites) became famous, because they offer a simple way to users to get replies. Short questions, with a couple of replies. Why to go in a complicated system for this? And why to add dozens of extra categories, subcategories etc etc, just for this? This is the reason that you need it.

2.- How it works?

Very simple, so easy to use by novice users too. A member is posting a question in any of your categories (unlimited level are supporting) and then is waiting other members to post a reply. Reads the replies, chooses the best and that's all. There is no need for discussion here.


3.- Installation
Download, unzip and upload all files from the "upload" folder where your vb installation is (you can't install in different directory).
Goto you admincp and import the product-discuss.xml
That's all:)4.- Configuration


Configuration is very easy and is like all other addons here. You need to follow the steps below, and soon you'll be ready:

First of all goto Usergroup permissions and set what each usergroup can do or not do.
Goto Discuss General setting, check the default values and change them if you want
PM Templates. I believe that the predefinied text is ok for most of you. But if you want you can change them. Please don't touce the variables (anything inside {}). The available variables are:
{questiontitle} : Title with link
{questiontitle_nolink} : As above but without link
{category} : Category name with link
{category_nolink} : Category without link
{questionowner} : The author's username with link
{questionowner_nolink} : As above, no link
{description} : 200 chars from the question body
{username} : This is the "To:" value. eg Dear {username},
{postdate_short} : Post date in format that you've set as long dates
{postdate_long} : Same as above in long date format
{signature} : Anything that you've set in your settings
Last step is to set your categories.5.- Copyright


In the footer of each page there is a link back to my site vBulletON.com. Even if it easy to remove it, please avoid doing it. Respect if you want to be respected. That's the only that I can say.

6.- PRO version

Currently there is no one. I don't use to build an addon, and then remove 90% of its features to make a free version. No. This is all that I've done. Sure there are dozens of more features that I can add. If I see that this mod becomes popular then I'll add them but as commercial version.

7.- Live Demo

http://www.christeris.com/testvb3/discuss.php

Login:
demouser1 / demopass1
demouser2 / demopass2
demouser3 / demopass3

Enjoy
Chris

DEGE
04-20-2012, 07:25 PM
Great module...

Just a thought... What happens if the questioner does not pick a "best reply" ? Has it the same work as Yahoo's? Does the system pick the most voted?

And moreover... How is this accessed within VBulletin? Is there a link in the navbar?

Thanks for your development

yeppuda
04-20-2012, 09:35 PM
i liked...
Thanks... same as facebook...
Very thanks...

Christos Teriakis
04-21-2012, 05:00 AM
Great module...

Just a thought... What happens if the questioner does not pick a "best reply" ? Has it the same work as Yahoo's? Does the system pick the most voted?

And moreover... How is this accessed within VBulletin? Is there a link in the navbar?

Thanks for your development

Currently only the question's poster can chooses the best unswer as there is no voting system. As for the link, yes there is one which auto adding during installation (at the end).

Chris

BirdOPrey5
04-21-2012, 06:01 PM
Looks great!

Christos Teriakis
04-21-2012, 06:10 PM
Thank you all for your kind words. Step by step I'll add more features.

Chris

Hellmaster
04-22-2012, 10:17 PM
Sounds so good!

Tyran1
04-23-2012, 08:54 PM
German : http://www.vbulletin-germany.org/showthread.php?9540-Frage-Antwort-System-(Discuss)&p=79856#post79856


Feature: Anonym posting ;-)

ricardoNJ
04-24-2012, 08:36 PM
Great, but ... it could be have an "My Answers" !!!????

ricardoNJ
04-24-2012, 08:42 PM
How I know what was "best answer"??? I can't see nothing.

ricardoNJ
04-24-2012, 08:54 PM
..and who won?

JacquiiDesigns
05-01-2012, 03:56 PM
Wow! What an intriguing modification! Thanks so much for the share and good luck in this months MOTM voting ;)

J.

viper357
05-02-2012, 05:17 AM
Feature: Anonym posting ;-)Agreed, nice add-on, I think anonymous posting would be helpful. I haven't installed it yet but can we set permissions on usergroups to allow anonymous users to post questions?

klaush
05-03-2012, 09:42 AM
Thanks Chris for this nice add!

One problem with the "categories" in which members can ask a question but they also can post a question in the "select all area". Or better, when a member do not choose a category for the question the question is "categoryless"!

Any idea ow to solve this?

Christos Teriakis
05-03-2012, 10:01 AM
Great, but ... it could be have an "My Answers" !!!????

In the next release :-)

Christos Teriakis
05-03-2012, 10:03 AM
Thanks Chris for this nice add!

One problem with the "categories" in which members can ask a question but they also can post a question in the "select all area". Or better, when a member do not choose a category for the question the question is "categoryless"!

Any idea ow to solve this?

members are able to post without choosing a category? eg letting the default "Select Category"?. That's a bug, I'll check it.

Christos Teriakis
05-03-2012, 10:04 AM
How I know what was "best answer"??? I can't see nothing.

Question's owner must mark an answer as best answer. When he does it, then there is a "Best Answer" bedides that answer.

Christos Teriakis
05-03-2012, 10:07 AM
Agreed, nice add-on, I think anonymous posting would be helpful. I haven't installed it yet but can we set permissions on usergroups to allow anonymous users to post questions?

Its a bit complicating to add this feature. Not that it can't be added, but in this case user must enter an email address to be notify for new answers, and also to add some checks in the auto PMs. I'll see ...

klaush
05-03-2012, 12:41 PM
Yes, they can. Thanks for fixing that.

members are able to post without choosing a category? eg letting the default "Select Category"?. That's a bug, I'll check it.

Bayou Buck
05-03-2012, 08:38 PM
Looks like a great Mod...Question:

Can you add an option in the CP to where we can display the most recent 1-3 questions on the Forum Home page?

klaush
05-24-2012, 10:38 AM
Hi Chris, any update to this:

Yes, they can. Thanks for fixing that.

TheComputerGuy
06-25-2012, 10:25 PM
your demo doesn't work.

klaush
06-26-2012, 07:07 AM
Hello Chris, is ths still supportet?

3raq4all
06-26-2012, 02:36 PM
Does not appear to me
Do not know where I find?

Christos Teriakis
06-26-2012, 04:23 PM
@klaush
@3raq4all
-------------
Why do you think that is not supporting? Is there any bug report that I didn't replied and fixed? Of course I'm greatfull to all of you for your nice comments, but I was very busy to come online just to reply to compliments.

Chris

klaush
06-26-2012, 04:57 PM
members are able to post without choosing a category? eg letting the default "Select Category"?. That's a bug, I'll check it.

There was this bug, if you remember? Did you fix it already?

Thanks for feedback, Chris!

Christos Teriakis
06-26-2012, 05:32 PM
There was this bug, if you remember? Did you fix it already?

Thanks for feedback, Chris!

Is someone else who can confirm this bug? I checked the code and is correct:

if(document.forms["question"].categoryid != undefined){
if(!isNaN(document.forms["question"].categoryid.value) == 0) {
alert('$vbphrase[discuss_error_category_number]');
return false;
}else if(document.forms["question"].categoryid.value ==0){
alert("$vbphrase[discuss_error_category_zero]");
return false;
}
}


The problem is that I don't have any vB3 installation to check it in real. But the same code exists in the version for vB4, and I didn't got any report there.

Can you give me your installation URL to try it? or better goto Add question form, and right click to see the page's code, and save that code in a file. Then post it here to give a look.

Chris

klaush
06-26-2012, 06:27 PM
Here we are:

function validateForm_question()
{
if(document.forms["question"].title.value.length == 0) {
alert('You need to enter a title for your Question.');
return false;
}
if(document.forms["question"].categoryid != undefined){
if(!isNaN(document.forms["question"].categoryid.value) == 0) {
alert('Category id must be a number.');
return false;
}else if(document.forms["question"].categoryid.value ==0){
alert("Please Select a Category.");
return false;
}
}
if(document.forms["question"].categoryid != undefined){
if(document.forms["question"].type.value == 0){
alert("");
return false;
}
}
return true;
}

And you can choose "Please choose a category".