1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Ask A Question 2.0

Provides an Ask A Question tab for visitors to find useful threads.

  1. AndyB

    AndyB Well-Known Member

    AndyB submitted a new resource:

    Ask A Question - Provides an Ask A Question tab for visitors to find useful threads.

    Read more about this resource...
  2. Alfa1

    Alfa1 Well-Known Member

    Last edited: Aug 19, 2015
  3. RoldanLT

    RoldanLT Well-Known Member

    Why not just incorporate this to quick search? and result will be shown on simple dropdown or overlay?
  4. RoldanLT

    RoldanLT Well-Known Member

    Same as how Discourse works.
  5. Mian Shahid

    Mian Shahid Well-Known Member

  6. tommydamic68

    tommydamic68 Well-Known Member

    How does this differ to just a typical search?
  7. AndyB

    AndyB Well-Known Member

  8. AndyB

    AndyB Well-Known Member

  9. Dan Hawkins

    Dan Hawkins Active Member

    This can be used to create a page similar to Apple's community "Ask A Question" (here: Official | Apple Support Communities ), we created this page from this AWESOME add-on.... Ask A Question | Volo Community Hub

    Many thanks to Andy for working closely with us to create this add-on, he's a great developer and a great guy all around!
    IPF, adwade and Mouth like this.
  10. Mouth

    Mouth Well-Known Member

    That looks great - congrats! Would you be happy to share the template code you used to create that?
    Agreed :)
  11. Dan Hawkins

    Dan Hawkins Active Member

    Sorry, only just saw this.

    Your best bet is to create a table grid, then use CSS properties to put a border on certain edges...

    set the style on the top row (namely the middle columns) to have:
    border-right: #eee 1px solid;
    border-bottom: #eee 1px solid;

    Then using CSS cast a grayscale over the images, then when the user hovers over the image, use the :hover CSS property to disable the grayscale effects. IMO this would give a neater impression during user experience.
  12. Robru

    Robru Active Member

    Is this also possible in this mod ;)
  13. AndyB

    AndyB Well-Known Member

    Last edited: Oct 31, 2015
    Robru likes this.
  14. mauzao9

    mauzao9 Well-Known Member

    Always had the idea of something like this but more like:

    - Define X Forum to be Ask A Question
    - When user Clicks Ask a Question (Instead of New Thread), it appears the title search first (of the same forum).
    - When user sees the results and they don't answer the question allow creation of new thread.

    But i guess this addon aims for something more global, it's cool anyway ^^
    IPF and Brandon Sheley like this.
  15. ichpen

    ichpen Well-Known Member

    Would be good to see a 'Start a new Thread' button built into the core of this addon. Good work Andy. Simple and effective. @AndyB

    Either a user configured forum for the new thread or if you want to get fancy a forum picker for the user to submit a thread to on the front end.
    Last edited: Nov 3, 2015
    Brandon Sheley and Dan Hawkins like this.
  16. AndyB

    AndyB Well-Known Member

  17. motowebmaster

    motowebmaster Active Member

    version 1.4 isn't working for me:

    Fatal Error: syntax error, unexpected 'array' (T_ARRAY) 1 minute ago - library/Andy/AskAQuestion/Model.php:282 
  18. AndyB

    AndyB Well-Known Member

  19. viper357

    viper357 Active Member

    What are prepared statements?
  20. ichpen

    ichpen Well-Known Member

    In simple terms they're sort of 'pre-compiled' sql which leads to the statement being parsed only once and executed many times. It avoids repeating DB analysis and optimization plans for every query that's run. In short, prepared SQL should run quicker.
    viper357 likes this.

Share This Page