PDA

View Full Version : Miscellaneous Hacks - [DBTech] Random Questions v2 (vB3)


DragonByte Tech
06-04-2010, 10:00 PM
Random Questions: What is it?

DragonByte Technologies is proud to present version 1.0 of [DBTech] Random Questions.


The Random Questions mod is intended to increase activity in your forum, attract back old members, and encourage members to form friendships (and thus stay).

It accomplishes this by allowing/encouraging users to answer random questions about each other. The questions are settable by the admin (5 included in the Lite XML as an example). The questions can be anything from ?What do you think {usernames} favourite game is?? to ?Do you think {username} Wants a pet dinosaur??. These questions usually serve to bring random people closer together, and have people communicate with each other who otherwise might not have. It's a great way to inspire closer bonds in your community (And, of course, having friends is one of the big reason people stay on forums).

-------------------------------------------------------------------------------------------

If you like this mod please hit the https://vborg.vbsupport.ru/external/2015/08/1.png button to the right ---->

Please remember to click the, https://vborg.vbsupport.ru/external/2015/08/2.png button to the right if you installed the mod ---->

What does 'Marking As Installed' do ?

* It helps you to stay on top of updates - members who have installed modifications will be notified by us whenever new updates are available.

* For security issues - vbulletin.org will contact all members who have installed a modification whenever a security issue is brought to their attention.

* Marking a modification as installed also helps us know how many people are using our work, giving us extra incentive to provide more features and new modifications.

We appreciate the support!
--------------------------------------------------------------------------------------------

Priority support & Product Demos available at: http://www.dragonbyte-tech.com/forum.php

-------------------------------------------------------------------------------------------

Translations available @
Support for translations handled by the translator in its respective threads only.

-------------------------------------------------------------------------------------------


[U][B]Lite Feature List:

v2.0 Features:

Answer Rating: You can rate the answers people have given you via your own profile. Let people know what you think of their answers!


v1.1 Features:

Random Questions: This lets users click on a tab to start answering random questions about other members, anything from should they post more, to what animal would they be. The questions load in realtime AJAX, and after submitting an answer, a new question will fade in.

Notifications: Users are notified whenever a new answer is submitted about them, letting them keep up to date on what people are saying about them!

Profile ?Answers? Tab: Adds a new tab to the profile letting you keep track of what answers have been made about you.

Permissions: Set who can use the mod, exactly what answers they can see and what options are available to them.

Question Manager: Allows admins to add, edit or delete questions to be asked. You can add an Unlimited number of questions in here


Extra Pro Features:

Extra Privacy Options: Set whether your answer is public or private, per answer. This lets you answer a question about someone without the rest of the forum seeing what you said.

Specify who to answer about: This lets you choose who you want to answer questions about ? Everyone, Friends, Online users or even specify a particular person!

User Options: A variety of extra options for users, allowing them to submit questions for consideration, toggle the notification on new answers and more.

Requests: Lets users send PMs requesting specific other users answer questions about them

User Limitations: Require X posts to have questions answered about that member, require X answers to see answers about oneself.


Feature List: Lite
Front-End

Answer Questions Page
Ajax submitting/reloading of questions
Log statistics about each answer
Send notification for new answers
Profiles
Answers Tab
Answer Ratings AdminCP

vBulletin Options
Global enable/disable
Turn statistic tracking on/off
Turn request PM's on/off
Turn review questions on/off
Usergroup Permissions
Can view own answers
Can view all answers
Can view private answers
Can specify own questions
Can submit questions for review
Can send request PM
Edit User
Is user banned from viewing/answering questions
Question Manager
Add/Edit/Delete questions
View/Approve pending questions for review
Feature List: Pro
Front-End

Answer Questions Page
Set answer as public/private
Specify if answering for - random users/specified user/friends/users online
Require x posts to be included
Require X answers to read answers
Options
Specify own questions page
Toggle notification on new answers
Define usernames to answer questions about
Submit questions for review page
Profiles
Send request PM asking for question to be asked about yourself
Misc
Random Answer Widget/Bar

93Corvette
06-05-2010, 01:41 AM
I have reread the instructions many times but I don't understand what this mod does....I even went to the 4.0.3 post and reviewed the extra screen shots and still don't understand.

Can someone explain what it does?

DragonByte Tech
06-05-2010, 12:20 PM
I have reread the instructions many times but I don't understand what this mod does....I even went to the 4.0.3 post and reviewed the extra screen shots and still don't understand.

Can someone explain what it does?
Basically, after installing the mod you will get a new section in your AdminCP. Open this and add a few questions to the mod. By using {username}, you can insert the name of the username the question is being answered about.

You then need to open the community dropdown menu on your site. There you'll see a new link. After clicking this link you will be present with a screen with a random member of your site and a random question that you added. You can then answer the question about this person. After submitting, a new question with a new user will popup.

- David

DragonByte Tech
06-05-2010, 12:34 PM
Basically, It lets members answer questions about each other when they are waiting for posts to be replied to etc. People get notified about it, and it could bring inactive members back to your forum (Someone answered a question about me? I want to see what it said!) etc etc.

The idea was taken from an *insanely* popular facebook mod.

Iain

matthewhotdude
06-05-2010, 12:44 PM
So can everyone submit questions?

when I go into someones profile and click

"Request This User To Answer Questions About You"

I get the following

"Invalid Action Specified."

matthewhotdude
06-05-2010, 12:47 PM
Also im getting a red X

What should be there?

DragonByte Tech
06-05-2010, 01:17 PM
So can everyone submit questions?

when I go into someones profile and click

"Request This User To Answer Questions About You"

I get the following

"Invalid Action Specified."
This is a feature that was removed. I'll update the product file soon to reflect the changes.


Also im getting a red X

What should be there?
This is a bug with avatars. I will post a fix soon with the update I mentioned above.


Keep the reports coming :)

- David

matthewhotdude
06-05-2010, 01:19 PM
any idea when the update will be

DragonByte Tech
06-05-2010, 01:21 PM
any idea when the update will be
Most likely sometime today.

- David

matthewhotdude
06-05-2010, 01:22 PM
Another bug....if you I go see who is online this happens (click link)
http://www.chattaboxforums.com/online.php

matthewhotdude
06-05-2010, 01:28 PM
Thats strange it's stopped doing it now, before it was going to a blank white page with dbt_rq wrote on it

matthewhotdude
06-05-2010, 01:33 PM
thats strange it's doing it at random, uninstalled till this is fixed

DragonByte Tech
06-05-2010, 01:38 PM
Thats strange it's stopped doing it now, before it was going to a blank white page with dbt_rq wrote on it
I think I know the cause of this. It will be fixed soon.

- David

TandyServices
06-05-2010, 03:56 PM
When I installed. Have the red X's for the avatars and My who's online went blank. Might be mix matching with one of the other mods. Anyways I like this mod but had to disable until update then try again. Sorry DragonByte Tech

Edit = Wrong forum. needs to be in 4.0 forum..

matthewhotdude
06-05-2010, 06:07 PM
can't wait for this to be fixed...think my member will love it

matthewhotdude
06-06-2010, 08:28 AM
any news on the update?

DragonByte Tech
06-06-2010, 12:56 PM
Will be posted sometime later today.

DragonByte Tech
06-06-2010, 06:21 PM
Updated to 1.0.1:

All errors reported should now be fixed.

Please report any new issues should you have any.

Thanks,
David

matthewhotdude
06-06-2010, 07:30 PM
Hmm now there is no where in ADMINCP to add the questions

matthewhotdude
06-06-2010, 07:32 PM
Ahh forget that I forgot to re enable it

matthewhotdude
06-06-2010, 07:34 PM
Avatars are still not showing where the red x is it's looking for the avatar in the root of my forum http://www.chattaboxforums.com/


A requst for a skip button so you can skip some questions

matthewhotdude
06-06-2010, 07:57 PM
Bug

I have been answering questions but when I go into someone profile and look at the questions asked about them, they are all the same question, not matching the actual quesion I have answered

DragonByte Tech
06-06-2010, 08:04 PM
Bug

I have been answering questions but when I go into someone profile and look at the questions asked about them, they are all the same question, not matching the actual quesion I have answered
Hrm, thats strange. I'll look into this.

Thanks for the report.

- David

matthewhotdude
06-06-2010, 08:07 PM
Thanks, ignore the avatar problem, that seems to have sorted it's self out now

Another thing about the other problem.

The first question that you answer is the question that shows up on eveyones profiles even if it's a different question you have answered

DragonByte Tech
06-06-2010, 11:17 PM
We'll be fixing this mod up over the next couple days, so hang tight :)
Thanks everyone for your reports and your patience :)


Fillip

DragonByte Tech
06-11-2010, 11:33 PM
Random Questions has been revamped and updated to v2.0, and now contains new features like rating answers and more options for deciding who to answer questions about etc.

We hope you enjoy this update :)


DragonByte Tech Development Team

matthewhotdude
06-12-2010, 10:09 AM
Have upgraded, now it's not showing in the community drop down.

Edit.

Sorted now, forgot to redo the permissions, now on the nav bar there is a option for random questions but you cant click it.

And when you go into someone profile and request them to answer questions about you, it still says invalid action specified

DragonByte Tech
06-12-2010, 12:45 PM
Fixed both issues, please re-download and re-upload, and also re-import the XML :)


Fillip

matthewhotdude
06-12-2010, 01:38 PM
Done, thats fixed, but still the same question as before.

The first question that is asked is the answer that shows up in everyones profile for the questions that have been asked

lets say the first question is what day is it? you answer sunday for user 1

then user 2 next question is what month is it, you answer June.

you will go into there profile and it will be

"what day is it" answer - June

hope that sort of makes sence

DragonByte Tech
06-12-2010, 02:32 PM
Updated the zip file again, please re-download and re-upload :)

It will unfortunately not fix for past questions due to the database entries being incorrect, but all future answers will be correct.


Fillip

deadlySniper
06-12-2010, 05:13 PM
Ok sorry the wrong post in the other area

I am getting this error when trying to edit my options in the UserCP
Fatal error: Class 'vB_Template' not found in /home/****/public_html/ventrilox.com/forums/dbtech/random_questions/hooks/profile_editoptions.php on line 3

DragonByte Tech
06-12-2010, 07:21 PM
Try re-downloading aand re-uploading, I believe I fixed it :)


Fillip

matthewhotdude
06-12-2010, 08:04 PM
Now you dont have the option to invite people to ask questions about you

DragonByte Tech
06-12-2010, 08:07 PM
It was never intended to be a Lite feature and the link was included by mistake :(


Fillip

matthewhotdude
06-12-2010, 08:15 PM
Oh :( you tease

matthewhotdude
06-13-2010, 12:28 AM
Disable Random Question NotificationsDo you want to recieve a new notification when somebody has answered a random question about you.
Yes
No

That option in USERCP is there anyway to set the default to yes for all users?

matthewhotdude
06-13-2010, 12:37 AM
Whats the submit button for?

DragonByte Tech
06-13-2010, 12:14 PM
Submitting ratings, clicking it will have no effect when you've already rated all your answers.

Fillip

FleXy
08-04-2010, 06:46 AM
Hello, after clean install (not update) on members.php I see this error:

Database error in vBulletin 3.8.5:

Invalid SQL:

SELECT a.*, q.*, u.username, u.userid FROM vb_dbt_random_questions_answers AS a
LEFT JOIN vb_dbt_random_questions AS q USING (qid)
INNER JOIN vb_user AS u USING(userid)
WHERE a.touserid = 6201 AND
(private = 0 OR userid = 1 OR touserid = 1)
ORDER BY a.dateline DESC
LIMIT 0, 30;

MySQL Error : Column 'userid' in where clause is ambiguous

How to fix or what to do to make it work? thanks!

DragonByte Tech
08-04-2010, 02:14 PM
Hello, after clean install (not update) on members.php I see this error:

Database error in vBulletin 3.8.5:

Invalid SQL:

SELECT a.*, q.*, u.username, u.userid FROM vb_dbt_random_questions_answers AS a
LEFT JOIN vb_dbt_random_questions AS q USING (qid)
INNER JOIN vb_user AS u USING(userid)
WHERE a.touserid = 6201 AND
(private = 0 OR userid = 1 OR touserid = 1)
ORDER BY a.dateline DESC
LIMIT 0, 30;

MySQL Error : Column 'userid' in where clause is ambiguous


How to fix or what to do to make it work? thanks!
Hey,

I'll have this fixed for you soon.

- David

FleXy
08-04-2010, 10:31 PM
Thanks, David. Nice to see your quick answers at your mods threads.
Still waiting for new realise.

DragonByte Tech
08-05-2010, 01:33 AM
Thanks, David. Nice to see your quick answers at your mods threads.
Still waiting for new realise.
I should have it for you on the 6th (I won't be around on the 5th), although I might be able to slot it in on the 5th. I'll see what happens!

- David

FleXy
08-06-2010, 04:36 PM
How its going? :)

DragonByte Tech
08-06-2010, 10:08 PM
Updated:

- Statistics page is now available.
- Option to be emailed when you receive a new Random Question about you added.
- Usernames are now clickable!
- Recent Questions and Answers page added.
- Several bug fixes

- David

FleXy
08-06-2010, 10:14 PM
thanks for update. I will try it :) main idea is very intresting.

ps. you forgot to add UPLOAD dir to archive :)

DragonByte Tech
08-07-2010, 09:51 AM
thanks for update. I will try it :) main idea is very intresting.

ps. you forgot to add UPLOAD dir to archive :)
Woops, I'll get that fixed now. My bad!

- David

FleXy
08-07-2010, 10:11 AM
Thanks, David :) Nice< i go to download and test it... seems that this addon can make real community anв date members.

FleXy
08-07-2010, 10:28 AM
Submit an answer button does not work for me :( only "Skip Question"

ps. Is here a feature to go to user profile and answer to questions about him?
pps. Is there a option to choose only ACTIVE MEMBERS as RANDOM users?

thanks :)

DragonByte Tech
08-09-2010, 04:53 PM
Submit an answer button does not work for me :( only "Skip Question"

ps. Is here a feature to go to user profile and answer to questions about him?
pps. Is there a option to choose only ACTIVE MEMBERS as RANDOM users?

thanks :)
What browser are you using?

For your other questions:
#1: That is not currently in but is something we could maybe look at in the future.
#2: That is a Pro feature only! :(

- David

FleXy
08-09-2010, 06:28 PM
What browser are you using?
firefox 3.x

#1 - very good idea i think...
#2 :-( :-( :-(

will uninstall... it's a pity, but does not usefull for me.. but idea about questions for members is brilliant

DragonByte Tech
08-10-2010, 12:06 AM
Just uploaded a small maintenance release. The issues with the submit button should be gone now and the request link is gone from profiles.

FleXy
08-10-2010, 06:12 AM
Just uploaded a small maintenance release. The issues with the submit button should be gone now
yes, sure



and the request link is gone from profiles.


why? and how to use it at lite version if its not allow to request users to answer and if random need to answer questions about silets users for years. that does not need anybody.

DragonByte Tech
08-10-2010, 02:32 PM
why? and how to use it at lite version if its not allow to request users to answer and if random need to answer questions about silets users for years. that does not need anybody.
Because it is a Pro feature only. The link got left in by accident in the last update.

- David

Abu2
01-12-2011, 05:33 PM
Hi! i can't delete questions - there is a white page, when click "delete"...

yotsume
01-13-2011, 08:34 PM
Great MOD but no WOL? The whos Online shows as Unknown Location! Can you please tell us how to fix that???

yotsume
01-13-2011, 08:48 PM
UGGG!!! How can I set it so that the option for receive notifications is set to yes by default please.

yotsume
01-13-2011, 08:51 PM
So please tell me how do we submit a quest to be added by the admin? I have the pro version and there seems to be no way to submit a question even though that is stated as an option!?

DragonByte Tech
01-13-2011, 09:35 PM
So please tell me how do we submit a quest to be added by the admin? I have the pro version and there seems to be no way to submit a question even though that is stated as an option!?
Please keep pro discussions on our site :) Post a new thread over there.

- David

Warlord
01-13-2011, 10:18 PM
I can't figure out how to answer questions about anyone.

I've updated the user permissions, so that's not it. I even added a question just to see if it needed a little kick in the pants to get going.

Attached is a screen shot of the Random Questions tab as seen on my members profiles.

Am I missing something here?

yotsume
01-13-2011, 10:20 PM
Well then lets try a lite question then:

The notifications do NOT work on vb3.7x. When a user selects to have notifications and a new question is answered it does not show under the notifications as shown in your screen shot no matter if the option is set to yes or no.

What am I missing here please?

Warlord
01-16-2011, 12:50 PM
Bump

Warlord
01-17-2011, 06:03 PM
Nevermind, I figured it out. I have a custom header so it didn't auto insert a link for me.

Anyway, I went to your website to see how much the paid version was but didn't see a price for it anywhere. You might think about updating your site a little. I might have bought it.

great kitten
08-30-2011, 05:47 PM
I have problems, not how to make the questions appear as depicted in the screenshot, only the choice of questions get a submit button, nothing more ...

to see if someone helps me, thanks

https://vborg.vbsupport.ru/external/2011/08/2.png