vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - [DBTech] Random Questions v2 (vB4) (https://vborg.vbsupport.ru/showthread.php?t=243967)

DragonByte Tech 06-04-2010 10:00 PM

[DBTech] Random Questions v2 (vB4)
 
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 available at: http://www.dragonbyte-tech.com/forum.php

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

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

Quote:

Originally Posted by dr.tawy (Post 2048666)
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

Quote:

Originally Posted by TandyServices (Post 2048801)
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


Quote:

Originally Posted by DragonByte Tech (Post 2049480)
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/foru....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

Quote:

Originally Posted by ddaybofb (Post 2052308)
It won't submit the answer or be able to skip a question. http://www.clutchtimesports.net/foru....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

Quote:

Originally Posted by DragonByte Tech (Post 2052335)
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

Quote:

Originally Posted by BlackJacket (Post 2074115)
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

Veer 07-26-2010 12:39 PM

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

Code:

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

Quote:

Originally Posted by ToxXxicas (Post 2080397)
Im getting this database error at members profiles.
not working

Code:

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

Quote:

Originally Posted by thecelticway (Post 2080558)
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.

Quote:

Originally Posted by Gemma (Post 2080563)
Not working for me either. Pressing submit does nothing. The skip button works though.

Could you PM a test account for your site?

Quote:

Originally Posted by thecelticway (Post 2080626)
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.

Quote:

Originally Posted by bada_bing (Post 2080721)
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.

Quote:

Originally Posted by bada_bing (Post 2080723)
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


All times are GMT. The time now is 05:39 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.01343 seconds
  • Memory Usage 1,853KB
  • 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
  • (2)bbcode_code_printable
  • (12)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