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)
-   -   Miscellaneous Hacks - [DBTech] Random Questions v2 (vB3) (https://vborg.vbsupport.ru/showthread.php?t=243968)

DragonByte Tech 06-04-2010 10:00 PM

[DBTech] Random Questions v2 (vB3)
 
1 Attachment(s)
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!
--------------------------------------------------------------------------------------------

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

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

Translations available @ [url="http://www.dragonbyte-tech.com/forums/91-Translations[/URL]
Support for translations handled by the translator in its respective threads only.

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


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

Quote:

Originally Posted by 93Corvette (Post 2048580)
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

1 Attachment(s)
Also im getting a red X

What should be there?

DragonByte Tech 06-05-2010 01:17 PM

Quote:

Originally Posted by matthewhotdude (Post 2048733)
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.


Quote:

Originally Posted by matthewhotdude (Post 2048734)
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

Quote:

Originally Posted by matthewhotdude (Post 2048742)
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

Quote:

Originally Posted by matthewhotdude (Post 2048750)
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

Quote:

Originally Posted by matthewhotdude (Post 2049531)
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
Code:

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

1 Attachment(s)
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

Quote:

Originally Posted by FleXy (Post 2078954)
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


All times are GMT. The time now is 05:32 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.01915 seconds
  • Memory Usage 1,833KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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