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)

Andreas 12-07-2005 10:00 PM

Automatic Discussion Thread
 
Automatic Discussion Thread

Description
This Hack allows you to automatically post a discussion Thread along with a new Thread (useful for announcements, news, etc.)
The destination can be defined in forum manager for each forum; link, title and first post text are customizable through vBulletin settings, there is also a usergroup permission for this feature.

Details
1 Product XML (11 Phrases, 3 Settings, 4 Plugins)

This Hack is unsupported! All support requests except proven bugs will be ignored

Jenta 12-08-2005 12:49 PM

For the inevitable, what do you mean? What does this do? ;)
EXAMPLE: http://www.vbulletin.com/forum/showt...49#post1027249

michaelbenson 12-08-2005 02:40 PM

I'll install, but the description is vague :p

kall 12-08-2005 03:52 PM

Quote:

Originally Posted by michaelbenson
I'll install, but the description is vague :p

Vague? One would think that anyone who uses vB would know instinctively what this does...all Announcements on vBulletin.com are made in this fashion - One announcement thread, and another to discuss it.

Snake 12-08-2005 04:18 PM

This sounds interesting...

D.Ilyin 12-08-2005 04:22 PM

6 install's ..... and evryone succesed?
hm.....
Just try to install on localhost board. Redo all nesasery operations 3 times and.... Nothing happend :(. Only admincp options avable (all nessesary option's cheked there), but when start a new thread, no one chekbox added to new thread.

My steps:
1. install this extension
2. go to http://localhost/forum/admincp/forum.php?do=edit&f=1. Select second forum (see pic1.gif)
3. go directly to http://localhost/forum/forumdisplay.php?f=1 and start new thread.

What i do wrong?

jluerken 12-08-2005 04:47 PM

Quote:

Originally Posted by D.Ilyin
6 install's ..... and evryone succesed?
hm.....
Just try to install on localhost board. Redo all nesasery operations 3 times and.... Nothing happend :(. Only admincp options avable (all nessesary option's cheked there), but when start a new thread, no one chekbox added to new thread.

My steps:
1. install this extension
2. go to http://localhost/forum/admincp/forum.php?do=edit&f=1. Select second forum (see pic1.gif)
3. go directly to http://localhost/forum/forumdisplay.php?f=1 and start new thread.

What i do wrong?

Give the usergroup rights to create a discussion thread and then you can see the box when creating a newthread :D

D.Ilyin 12-09-2005 06:45 AM

Quote:

Originally Posted by jluerken
Give the usergroup rights to create a discussion thread and then you can see the box when creating a newthread :D

thank's :). Didn't find this oprion :(. Thinks if i attach screenshots for this hack nobody kill me :).

D.Ilyin 12-09-2005 06:48 AM

opps.... almost fogot :)..... Install :)

theArchitect 12-09-2005 09:34 AM

How can I set a variable in the title to be stripped by this hack?

At the moment all of my announcements at pre-fixed [Announcement]. So when the auto thread is created I get [Discussion] [Announcement] Topic Name.

Is there a way to strip [Announcement] out without having to edit the thread title each time?

Also, how do I have a link auto created in the discussion thread linking back to the announcement thread?

But still another inspired idea. :)

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.

fta2k 06-30-2008 03:15 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"' ''



Worked an absolute treat.

Thanks mate

https://vborg.vbsupport.ru/external/2008/06/5.jpg

jluerken 09-01-2008 12:58 PM

There is a small bug in this addon.

Pressing PREVIEW while creating a new thread does create a discussion thread.
Andreas is there a way to get an update for this hack with?

btw. working great on 3.7.3

Andreas 09-27-2008 04:10 PM

Should be easy to fix.

Please remind me via E-Mail if no fix is available as of October 20th.

Total666 09-28-2008 02:42 AM

Great stuff ...

dave6901_2000 10-31-2008 12:27 AM

having an issue it will only allow admins , super mods and mods any other user group it posts but the link ends up invalid

dave6901_2000 10-31-2008 12:50 AM

never mind got it fixed :)

jcghound 10-31-2008 02:01 AM

can you share how you fixed the invalid link issue?

bigcurt 05-06-2009 03:41 PM

Possibly an update for 3.8 or does this work without an update?

Thanks

Kobra Khan 05-11-2009 04:46 AM

is it possible to make this work on vBulletin Version 3.8.2 ?

CMFINC 05-14-2009 07:02 PM

Quote:

Originally Posted by Kobra Khan (Post 1808401)
is it possible to make this work on vBulletin Version 3.8.2 ?

i have been cheeking as well.. would be sweet if someone could let us know or make one to work for 3.8
really miss this one.

bigcurt 09-26-2009 09:18 PM

Would love to see an update for this.

fta2k 07-05-2010 12:07 AM

Just installed in 3.8.4 again and it's working like a charm

jluerken 09-22-2010 10:04 AM

I really love this hack and I want to know if there is a vb4 version available already?

jluerken 10-02-2010 04:10 PM

Hey Andreas, any plans to update this for vb4.x?

jluerken 12-21-2010 12:27 PM

bump

jluerken 03-07-2013 07:18 PM

Hey Andreas, it's a while ago now and I am still using and loving your addon.
Really would like to see a version for vB 4.2.

jluerken 03-08-2013 07:25 AM

Ok it works with vb4.2 also with a small change.

In the "newthread" template search for
Code:

                                        {vb:raw disablesmiliesoption}
and add above
Code:

                                        <vb:if condition="$show['autodiscuss']">
                                        <li>
                                                <label for="cb_autodiscuss"><input type="checkbox" name="autodiscuss" value="1" id="cb_autodiscuss" tabindex="1" $checked[autodiscuss] /> {vb:rawphrase post_assigned_discussion_thread}</label>
                                        </li>
                                        </vb:if>

The change in the readme file is for older vb version where phrases where called differently.
If the phrase does not show up, create a new one of type GLOBAL with the text you want and the name "post_assigned_discussion_thread"


All times are GMT. The time now is 04:54 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.01357 seconds
  • Memory Usage 1,819KB
  • 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
  • (6)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (37)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete