View Full Version : Miscellaneous Hacks - [DBTech] Random Questions v2 (vB4)
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 available at: http://www.dragonbyte-tech.com/forum.php
-------------------------------------------------------------------------------------------
[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
-------------------------------------------------------------------------------------------
This mod displays a copyright notification in the footer of pages generated by this mod which includes:
1 Link to DragonByte Technologies homepage
1 Link to Product Description page of this modification
andyv72
06-05-2010, 12:19 AM
Screen ?
DragonByte Tech
06-05-2010, 12:32 AM
Added.
- David
dr.tawy
06-05-2010, 08:21 AM
excellent,
but can it be used like a request/helpdesk mod ?
DragonByte Tech
06-05-2010, 12:14 PM
excellent,
but can it be used like a request/helpdesk mod ?
That's not really the intention of the mod. Our plan with this was for it to be like the facebook application, a place where people can go to kill time.
- David
gwerzal
06-05-2010, 12:21 PM
I like this. Looks like a fun mod. Need to think of the best way to use it now
TandyServices
06-05-2010, 03:59 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
DragonByte Tech
06-05-2010, 04:14 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
We've identified a bug with these. An update will be posted soon.
- David
TandyServices
06-05-2010, 04:28 PM
Thanks a lot
DragonByte Tech
06-06-2010, 06:19 PM
Updated to 1.0.1:
All errors reported should now be fixed.
Please report any new issues should you have any.
Thanks,
David
TandyServices
06-07-2010, 02:47 AM
I still get the red X where people that don't have an avatar. If they do the avatar shows.
After that good mod. Thanks
COL NIL SATIS
06-07-2010, 09:11 AM
Tagged..looks great this does
klaush
06-07-2010, 12:54 PM
Nope! When installed you can?t change your settings (options)n in the usercp because of this error:
Fatal error: Class 'vB_Template' not found
Updated to 1.0.1:
All errors reported should now be fixed.
Please report any new issues should you have any.
Thanks,
David
DragonByte Tech
06-07-2010, 01:51 PM
This will be fixed in v1.1 expected to be released later today or tomorrow.
Fillip
TandyServices
06-07-2010, 02:13 PM
Is there a way to have only members that post show up? I have a lot of members that registered and never come back.. Then it always goes to them. How about an option like members with so many posts..
Just asking.. Works great for me but the red x for the avators when the people don't have one..
Gemma
06-10-2010, 10:46 AM
I had to disable this as it was breaking the Activity and Status Update tabs in users profiles.
I'm not sure if it was just a coincidence that it was these two tabs or if it would have broken any tabs placed after the Random Answer tab but it was causing them to be blank.
The other tabs displayed perfectly again after uninstalling this mod.
Hopefully it is something simple to fix :)
DragonByte Tech
06-10-2010, 11:24 AM
Yeah, the tabs will be working perfectly in the next update, which will be out ASAP :)
Fillip
djscoop
06-10-2010, 02:27 PM
I cant even access my forum now :(
Fatal error: require_once() [function.require]: Failed opening required 'D:\Hosting\6245095\html\forum/dbtech/random_questions/hooks/template_groups.php' (include_path='.;C:\php5\pear') in D:\Hosting\6245095\html\forum\includes\adminfuncti ons_template.php(5231) : eval()'d code on line 6
DragonByte Tech
06-10-2010, 02:34 PM
Can you please check that that file exists in the location mentioned in the error?
Fillip
iamspookysdaddy
06-11-2010, 01:46 AM
When I click teh Random Users from navbar a page can't be found error occurs. Do you have advice? THankshttp://www.site.com/community/dbt_rq.php?do=answer
DragonByte Tech
06-11-2010, 01:41 PM
Can you please verify that you have uploaded the files found inside the "upload" folder to your "community" folder on the site?
Fillip
DragonByte Tech
06-11-2010, 11:34 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
ddaybofb
06-12-2010, 01:29 AM
It won't submit the answer or be able to skip a question. http://www.clutchtimesports.net/forums/dbt_rq.php?do=answer
Nothing happens when u click the buttons.
Same for the Thanks/Like mod, whenever i try to click the Like or Thanks button/line it won't do anything.
DragonByte Tech
06-12-2010, 02:41 AM
It won't submit the answer or be able to skip a question. http://www.clutchtimesports.net/forums/dbt_rq.php?do=answer
Nothing happens when u click the buttons.
Same for the Thanks/Like mod, whenever i try to click the Like or Thanks button/line it won't do anything.
Do you have vbsupercharged installed?
it has known issues with javascript, and is likely to be causing the problems.
Iain
ddaybofb
06-12-2010, 01:28 PM
Do you have vbsupercharged installed?
it has known issues with javascript, and is likely to be causing the problems.
Iain
ah yeah, that was the problem, Thanks
BlackJacket
07-25-2010, 03:14 AM
I had this error occur when i installed this mod.
https://vborg.vbsupport.ru/external/2010/07/9.png
DragonByte Tech
07-25-2010, 05:27 PM
I had this error occur when i installed this mod.
https://vborg.vbsupport.ru/external/2010/07/9.png
A new version will be released soon. It should remove this issue for you.
- David
Its nice, I tried on my board but my users getting confused with this, Tired posting explanations and just removed.
I would like to see a full quiz mod instead of this.
Good luck.
Lovinmysailor
08-04-2010, 07:16 PM
Installed. thanks, my ladies love it!
DragonByte Tech
08-06-2010, 10:13 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
CRDeveloper
08-07-2010, 04:46 AM
Im getting this database error at members profiles.
not working
Database error in vBulletin 4.0.5:
Invalid SQL:
SELECT a.*, q.*, u.username, u.userid FROM vbulletin_dbt_random_questions_answers AS a
LEFT JOIN vbulletin_dbt_random_questions AS q USING (qid)
INNER JOIN vbulletin_user AS u USING(userid)
WHERE a.touserid = 7261 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
Error Number : 1052
Request Date : Saturday, August 7th 2010 @ 01:43:33 AM
Error Date : Saturday, August 7th 2010 @ 01:43:33 AM
Script : http://www.toxxxicas.com/foro/member.php/7261-GUCCI
Referrer : http://www.toxxxicas.com/foro/member.php/7261-GUCCI
IP Address : ##.##.##.##
Username : ToxXxicas.com
Classname : vB_Database
MySQL Version : 4.1.22-standard
DragonByte Tech
08-07-2010, 09:56 AM
Im getting this database error at members profiles.
not working
Database error in vBulletin 4.0.5:
Invalid SQL:
SELECT a.*, q.*, u.username, u.userid FROM vbulletin_dbt_random_questions_answers AS a
LEFT JOIN vbulletin_dbt_random_questions AS q USING (qid)
INNER JOIN vbulletin_user AS u USING(userid)
WHERE a.touserid = 7261 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
Error Number : 1052
Request Date : Saturday, August 7th 2010 @ 01:43:33 AM
Error Date : Saturday, August 7th 2010 @ 01:43:33 AM
Script : http://www.toxxxicas.com/foro/member.php/7261-GUCCI
Referrer : http://www.toxxxicas.com/foro/member.php/7261-GUCCI
IP Address : ##.##.##.##
Username : ToxXxicas.com
Classname : vB_Database
MySQL Version : 4.1.22-standard
Sorry about that, re-download the files and give it a try now.
- David
thecelticway
08-07-2010, 04:24 PM
Forum NOT working~~~~~~ HELP!!!!!!!
Warning: require_once([path]/dbtech/random_questions/hooks/cache_templates.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/class_bootstrap.php(1269) : eval()'d code on line 188
Fatal error: require_once() [function.require]: Failed opening required '/home/celticway/thecelticway.net/forum/dbtech/random_questions/hooks/cache_templates.php' (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/celticway/thecelticway.net/forum/includes/class_bootstrap.php(1269) : eval()'d code on line 188
Gemma
08-07-2010, 04:46 PM
Not working for me either. Pressing submit does nothing. The skip button works though.
thecelticway
08-07-2010, 08:46 PM
thanks for the help in getting this uploaded and fixed..... appears to be working ok but how do you configure it.... is it dependent on usergroups
bada_bing
08-08-2010, 03:36 AM
I have installed the lite version and so far it looks pretty cool I do however have a few questions as I am interested in the pro version.
I would like to make this feature more visible for my members maybe you have add a feature in the admincp where we can set the random questions in various location such as postbit
near there member name so a member can just click and answer a question about this member.
I would also like to see a vbadvanced module to for this mod.
bada_bing
08-08-2010, 03:39 AM
I also just noticed that when I choose random member and answer a question and click Submit it does nothing, but the skip question seems to work.
Also noticed that if I view my own profile and click "Request This User To Answer Questions About You. " and click Submit I get this error message "Invalid Action Specified."
Personally I think this is a glitch, you should not be able to go to your own profile and have this feature "Request This User To Answer Questions About You." doesnt make much sence
DragonByte Tech
08-08-2010, 02:06 PM
Forum NOT working~~~~~~ HELP!!!!!!!
Warning: require_once([path]/dbtech/random_questions/hooks/cache_templates.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/class_bootstrap.php(1269) : eval()'d code on line 188
Fatal error: require_once() [function.require]: Failed opening required '/home/celticway/thecelticway.net/forum/dbtech/random_questions/hooks/cache_templates.php' (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/celticway/thecelticway.net/forum/includes/class_bootstrap.php(1269) : eval()'d code on line 188
This means that you do not have all the files uploaded either at all or you have them in the wrong place. Please check you have all of them uploaded.
Not working for me either. Pressing submit does nothing. The skip button works though.
Could you PM a test account for your site?
thanks for the help in getting this uploaded and fixed..... appears to be working ok but how do you configure it.... is it dependent on usergroups
Yes, go to edit a usergroup and you will see a few options.
I have installed the lite version and so far it looks pretty cool I do however have a few questions as I am interested in the pro version.
I would like to make this feature more visible for my members maybe you have add a feature in the admincp where we can set the random questions in various location such as postbit
near there member name so a member can just click and answer a question about this member.
I would also like to see a vbadvanced module to for this mod.
That is interesting. I could look at something like this in a future version.
I also just noticed that when I choose random member and answer a question and click Submit it does nothing, but the skip question seems to work.
Also noticed that if I view my own profile and click "Request This User To Answer Questions About You. " and click Submit I get this error message "Invalid Action Specified."
Personally I think this is a glitch, you should not be able to go to your own profile and have this feature "Request This User To Answer Questions About You." doesnt make much sence
The request feature was just something I forgot to take out. I'll release a fixed version soon.
Also for the bug you have, I will look into this right away.
- David
thecelticway
08-08-2010, 06:17 PM
Originally Posted by thecelticway View Post
thanks for the help in getting this uploaded and fixed..... appears to be working ok but how do you configure it.... is it dependent on usergroups
Yes, go to edit a usergroup and you will see a few options.
checked the boxes~~~~~~when in a members profile I make the request I get......
vBulletin Message
Invalid Action Specified.
:confused:
betts02
08-08-2010, 09:13 PM
I have purchased the pro version and posted 2 questions on your site,Could you please look them up mate and try to give an answer, cheers
DragonByte Tech
08-09-2010, 02:54 AM
Originally Posted by thecelticway View Post
thanks for the help in getting this uploaded and fixed..... appears to be working ok but how do you configure it.... is it dependent on usergroups
Yes, go to edit a usergroup and you will see a few options.
checked the boxes~~~~~~when in a members profile I make the request I get......
vBulletin Message
Invalid Action Specified.
:confused:
See my previous post :)
I have purchased the pro version and posted 2 questions on your site,Could you please look them up mate and try to give an answer, cheers
I don't see any posts by you on there.
- David
thecelticway
08-09-2010, 11:48 AM
checked the boxes~~~~~~when in a members profile I make the request I get......
vBulletin Message
Invalid Action Specified.
See my previous post
all boxes are checked ~~~~Yes.........:erm:
DragonByte Tech
08-09-2010, 01:43 PM
checked the boxes~~~~~~when in a members profile I make the request I get......
vBulletin Message
Invalid Action Specified.
See my previous post
all boxes are checked ~~~~Yes.........:erm:
See my message about that above. I'll release a fix for it today.
betts02
08-09-2010, 06:57 PM
<a href="http://www.dragonbyte-tech.com/forums/53-Random-Questions" target="_blank">http://www.dragonbyte-tech.com/forum...ndom-Questions</a>
Both in the section for this mod mate, cheers
bada_bing
08-09-2010, 07:11 PM
Any update to this Mod to address the issues, personally you should release the full version here free so its fully tested and then allow people to donate so that you can work out all the bugs before charging for a script that is not complete. Sorry my .02
DragonByte Tech
08-09-2010, 07:36 PM
Any update to this Mod to address the issues, personally you should release the full version here free so its fully tested and then allow people to donate so that you can work out all the bugs before charging for a script that is not complete. Sorry my .02
Hey,
Could you try reinstalling the mod now. Overwrite every single file and reimport the product file. I had a similar bug that you mentioned a while back and doing that fixed the issue for me. If that doesn't work, could you PM me your site url and the login information of a test account.
Thanks,
David
bada_bing
08-09-2010, 08:16 PM
Hey,
Could you try reinstalling the mod now. Overwrite every single file and reimport the product file. I had a similar bug that you mentioned a while back and doing that fixed the issue for me. If that doesn't work, could you PM me your site url and the login information of a test account.
Thanks,
David
I just re-uploaded the files and imported the plugin with overrite checked I will PM you the site URL and login of a test account right now.
DragonByte Tech
08-10-2010, 12:05 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.
RedTrinity
08-10-2010, 07:38 AM
Is there a way to have only members that post show up? I have a lot of members that registered and never come back.. Then it always goes to them. How about an option like members with so many posts..
I 2nd this suggestion. Perhaps by utilising members from specific usergroups, if not by postcount or what not.
bada_bing
08-10-2010, 11:08 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.
Your last update DID NOT fix the submit issue, I cant click submit after trying to answer a random question.
You should still have access to my site with the test id to see for yourself
DragonByte Tech
08-10-2010, 02:31 PM
I 2nd this suggestion. Perhaps by utilising members from specific usergroups, if not by postcount or what not.
Your last update DID NOT fix the submit issue, I cant click submit after trying to answer a random question.
You should still have access to my site with the test id to see for yourself
That is because you haven't overwritten all files. You need to reupload all the files.
- David
CRDeveloper
08-10-2010, 06:21 PM
Still getting the error
Database error in vBulletin 4.0.5:
Invalid SQL:
SELECT a.*, q.*, u.username, u.userid FROM vbulletin_dbt_random_questions_answers AS a
LEFT JOIN vbulletin_dbt_random_questions AS q USING (qid)
INNER JOIN vbulletin_user AS u USING(userid)
WHERE a.touserid = 1 AND
(private = 0 OR u.userid = 1 OR touserid = 1)
ORDER BY a.dateline DESC
LIMIT 0, 30;
MySQL Error : Unknown column 'toxxxic_vbulletin.q.userid' in 'on clause'
Error Number : 1054
Request Date : Tuesday, August 10th 2010 @ 03:20:41 PM
Error Date : Tuesday, August 10th 2010 @ 03:20:42 PM
Script : http://www.toxxxicas.com/foro/member.php/1-ToxXxicas.com
Referrer : http://www.toxxxicas.com/foro/member.php/1-ToxXxicas.com
IP Address : #.#.#.#
Username : ToxXxicas.com
Classname : vB_Database
MySQL Version : 4.1.22-standard
RedTrinity
08-11-2010, 02:45 AM
That is because you haven't overwritten all files. You need to reupload all the files.
- David
Eh? :confused: Was Tandyservices' suggestion already added in the latest update? I'm pretty sure I uploaded all the files properly.
Sforums
03-28-2011, 07:09 AM
never mind...got it.
GONUMBER6
06-30-2012, 11:21 PM
I am getting this error when I click on the random questions
Fatal error: Call to undefined function log_admin_action() in /home/englishb/public_html/forums/dbt_rq.php on line 39
Nevermind I am a dummy :P I found the problem
GONUMBER6
06-30-2012, 11:36 PM
Okay HELP, I cannot find where to do all of this stuff in 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
GONUMBER6
06-30-2012, 11:42 PM
Is there a way that the questions are asked about active users? Every question that pops up is from a member who is never on.
Alan_SP
07-01-2012, 11:48 PM
This is pro feature.
Read the first post, so you'll get familiar what is free and what is only in pro version. If you like or need this mod, you'll probably buy it, as there are so many useful things only in pro version.
DragonByte Tech
07-02-2012, 07:19 PM
Okay HELP, I cannot find where to do all of this stuff in 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 reviewIf you can't see the Random Questions AdminCP group, please add yourself to Super Administrators in config.php
Fillip
GONUMBER6
07-03-2012, 03:33 AM
I got the pro version but it seems to have some bugs, I think this mod is going to be fun!
Alan_SP
07-03-2012, 11:21 AM
Good thing is that DBTech is very fast in solving of all bugs in their products. You only need to report bugs, preferably on their site (because of vborg rules they can't support here their pro versions), and you'll see that they'll be solved pretty soon. :)
SpaceStar
07-13-2012, 12:49 AM
I have an odd issue with some of your mods... they are not getting added to the Navbar automatically. This one suppose to add a link in navbar - but it's not doing... I have the same issue with your other mods ...
I have an odd issue with some of your mods... they are not getting added to the Navbar automatically. This one suppose to add a link in navbar - but it's not doing... I have the same issue with your other mods ...
Not all of the mods have been updated since vb4.2 was released. Many of their mods have in fact been updated, but not all yet.
SpaceStar
07-13-2012, 03:30 AM
Not all of the mods have been updated since vb4.2 was released. Many of their mods have in fact been updated, but not all yet.
That explains the problem :) Thanks
TandyServices
10-07-2012, 02:51 PM
Is this mod going to get updated for 4.2.0?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.