vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Show Thread Enhancements - Answer Forums 1.0.0 (https://vborg.vbsupport.ru/showthread.php?t=190990)

Greek76 10-03-2008 09:17 PM

If you could get the mod to work with vbplaza Ill purchase the premium version. I get database errors.

Hugo Holbling 10-04-2008 07:52 AM

Quote:

Originally Posted by Gio~Logist (Post 1622984)
You can do this by drawing a conditional based off of TIMENOW (get the number that gives you via php "echo TIMENOW;") and then create a conditional based off of it.

I'd appreciate some more guidance or help with how to achieve this for those of us without much knowledge of php.

hrk 10-05-2008 06:44 AM

installed at bought the premium version straight away to support your works

will be better is there is NO SINGLE template edit required for designing the best answer, answere, unanswered fields.

4x4 posted edit xml , can i have more info on that?

example

<span style="font-weight: bold; color: #006400;">Answered:</span>

<span style="font-weight: bold; color: #ff0000;">Unanswered:</span>

would like to replace the field with icons.

great hack. nominated

4x4 Mecca 10-05-2008 03:19 PM

Here is my code. If you go to "Plugin Manager" in your control panel, then find and Edit Plugin "Answer Forums - Show answered/notanswered In Forum" You can replace it with this and your own image links of course!

Code:

if($vbulletin->options['g_answer_forum_show_forumdisplay']){

// Set cutoff date if once is applied
$af_cutoff = $vbulletin->options['answers_forums_cutoff_date'];

if($foruminfo['g_answer_forum'] AND THIS_SCRIPT == 'forumdisplay' AND ($thread[dateline] > $af_cutoff OR $thread['g_answer_forum_answer'] != '0')){
   
        if(!$thread['g_answer_forum_answer']){
       
            $thread['movedprefix'] = '<img src="/forum/images/icons/exclamation.png" border="0" title="Not Answered">' .  $thread['movedprefix'];

        } else {

            $thread['movedprefix'] = '<img src="/forum/images/icons/accept.png" border="0" title="Answered">' . $thread['movedprefix'];
           
        }
   
}

}


Alfa1 10-05-2008 08:43 PM

Quote:

Originally Posted by Alfa1 (Post 1623024)
Please add this functionality: A 'Is this a question that you want an answer to Yes/No' Radio button on newthread.
If the thread creator selects Yes, then the thread will have Answer functionality.
If the thread creator selects No, then the thread will have no Answer functionality.

This way, the answer functionality does not have to be confined to dedicated forums

Is this something that you will add to either the light or premium version?
Having both threads with and without answer functionality in the same forums, is a must for me. Please be so kind to add this.

oly51 10-05-2008 11:06 PM

Quote:

Originally Posted by 4x4 Mecca (Post 1637905)
Here is my code.

Thanks!

hrk 10-05-2008 11:25 PM

thak you mecca 4x4 :)

dtv100 10-06-2008 12:14 AM

request :
to add donation icon for select usergroup that answer questions .(that way people could donate to those people)
Global search for all un-answer questions.
automation add reputation to select answer
pm send from person that click for best answer not by user that make the question if he did not click for best answer .
personal answer stats in postbit .
also make it when you check for new post in navlink search page show you answer and un-answer prefix to make it easy for member and staff find post .

Deepdog009 10-06-2008 03:23 AM

Gio~Logist all I can say is ...>>> Beauts <<< Keep the ball rolling...

hrk 10-07-2008 03:27 AM

nice work.

anymore premium feature in plan ?


All times are GMT. The time now is 09:56 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.01416 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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