vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Automatic Discussion Thread (https://vborg.vbsupport.ru/showthread.php?t=102496)

eNforce 01-29-2006 08:42 PM

This is a nice hack :D

Only issue I have is when the "discussion thread" is created it disables smilies in the post until you uncheck the 'disable smilies' box.

jluerken 03-15-2006 12:27 PM

Hi Andreas,

your PM box here reached its limit. Please clean up so that I can reach you again :D

Is it possible that you add an extra option to this hack in the forumsettings

1. Force Discussion thread creation
2. Discussion thread on user choice (default)

If the first option is marked for a forum than a discussion thread should be created every time a user creates a new thread (without changing the thread in any way. like doing a thread copy as board admin).

If the second option is marked it should be like it is now.

I have a board where users should post applications and the admins should get a notification in their board and should have an option to talk about this application.
I think your hack can solve this for me with this little modification.

Can you do this?

IrPr 07-07-2006 11:34 AM

I installed this hack but Autmatic disucssion checkbox doesnt appears in Newthread template, i set permission for my usergroup and defined destination forum in admincp
any idea ?

Ramsesx 09-03-2007 06:42 AM

Works fine on 3.6.7 thanks

fta2k 02-26-2008 01:00 PM

If anyone has time to look at this I know its unsupported but why can only admin post
a discussion thread, I have all usergroups set to yes for can post discussion thread...

Would someone be able to write this with out usergroup permissions so everyone
can do it, or make it so I can hard code the usergroups that can. thank you

ishare 03-06-2008 09:52 AM

Works fine with 3.7 Beta 5 too.
Thanks a lot

Datenpapst 04-09-2008 11:01 AM

Is there a possibility to get the Thread Content also as a quote or so in the Discussion Hack?

fta2k 06-29-2008 02:44 AM

Is there any way to make the post discussion check automatically?

Wanting to make it so that if a post is made the discussion post is made by default.

jluerken 06-29-2008 09:04 AM

Quote:

Originally Posted by fta2k (Post 1561732)
Is there any way to make the post discussion check automatically?

Wanting to make it so that if a post is made the discussion post is made by default.

Yes there is!
Change the following lines of the Plugin newthread_form_complete from
PHP Code:

$checked['autodiscuss'] = ($_POST['autodiscuss']) ? 'checked="checked"' ''

to
PHP Code:

$checked['autodiscuss'] = ($_POST['autodiscuss'] OR empty($postpreview)) ? 'checked="checked"' ''


fta2k 06-30-2008 03:01 AM

Quote:

Originally Posted by jluerken (Post 1561883)
Yes there is!
Change the following lines of the Plugin newthread_form_complete from
PHP Code:

$checked['autodiscuss'] = ($_POST['autodiscuss']) ? 'checked="checked"' ''

to
PHP Code:

$checked['autodiscuss'] = ($_POST['autodiscuss'] OR empty($postpreview)) ? 'checked="checked"' ''



Thank you very much, I'm going to try it now.


All times are GMT. The time now is 02:13 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.00985 seconds
  • Memory Usage 1,741KB
  • 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
  • (4)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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