vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Creating Discussion thread for Announcementposts (https://vborg.vbsupport.ru/showthread.php?t=73567)

jluerken 12-31-2004 12:11 PM

Creating Discussion thread for Announcementposts
 
Hi,

I created two new forums.

1. Announcement and News
where I inform the users about changes etc. and

2. Announcement and News Discussions
where they can talk about the changes.

It would be nice now to have a hack which has a small checkbox while creating a new post in the first board asking me if I want to have a discussion thread created automatically.

If this option is turned on the hack should create a new post with the 'same name + DISCUSSION' like the original thread has in the second board.

Example:
You inform the users that you have a new style installed.

Threadtitle in Announcement and Newsforum: New style installed
Text: whatever

Checkbox: Create discussion thread - marked

After clicking on submit the hack should:
Post a thread called: New style installed discussion
in a specified board with the text.
Discuss about the latest announcement here

Then the hack should remind the threadid of the newly created thread and place it in the original thread New style installed just above the users signature (to make sure its the last line in the post).

Something like: Discuss this Announcement
which should be a link to the discussion thread.

Hopefully its clear what I want to do.

Thanks in advance
jluerken

jluerken 01-09-2005 10:32 AM

Quote:

Originally Posted by jluerken
Hi,

I created two new forums.

1. Announcement and News
where I inform the users about changes etc. and

2. Announcement and News Discussions
where they can talk about the changes.

It would be nice now to have a hack which has a small checkbox while creating a new post in the first board asking me if I want to have a discussion thread created automatically.

If this option is turned on the hack should create a new post with the 'same name + DISCUSSION' like the original thread has in the second board.

Example:
You inform the users that you have a new style installed.

Threadtitle in Announcement and Newsforum: New style installed
Text: whatever

Checkbox: Create discussion thread - marked

After clicking on submit the hack should:
Post a thread called: New style installed discussion
in a specified board with the text.
Discuss about the latest announcement here

Then the hack should remind the threadid of the newly created thread and place it in the original thread New style installed just above the users signature (to make sure its the last line in the post).

Something like: Discuss this Announcement
which should be a link to the discussion thread.

Hopefully its clear what I want to do.

Thanks in advance
jluerken

no one?

Tekton 01-09-2005 10:35 AM

I understand what you want, and it might not be too difficult. Just a question though: why do you split them?

jluerken 01-09-2005 12:08 PM

Quote:

Originally Posted by Tekton
I understand what you want, and it might not be too difficult. Just a question though: why do you split them?

The answer is easy.
I am using the news and announcement board also on my portal page and don't want to have comments there.

The users are not allowed to write in this board so I created a new one where they are :D

Tekton 01-09-2005 12:25 PM

Do you prefer a sloppy throw-together in php, or would you rather it take longer and be integrated into the admin panel?

jluerken 01-09-2005 12:56 PM

Quote:

Originally Posted by Tekton
Do you prefer a sloppy throw-together in php, or would you rather it take longer and be integrated into the admin panel?

Admin Panel :D

Tekton 01-10-2005 09:10 AM

How does this look so far?

http://img80.exs.cx/img80/1736/imgnewthread4su.png

http://img9.exs.cx/img9/4991/imgoptions5gr.png

jluerken 01-10-2005 10:01 AM

Quote:

Originally Posted by Tekton

Impressive. Thats exactly what I wanted.
Well done man!

When do you think will you post this hack?

Tekton 01-10-2005 10:20 AM

As soon as I get $60 in my paypal account.

I'm joking. :p As soon as I finish completely testing it. Soon. :)

jluerken 01-10-2005 05:51 PM

Quote:

Originally Posted by Tekton
As soon as I get $60 in my paypal account.

I'm joking. :p As soon as I finish completely testing it. Soon. :)

You are my hero *hrhr*

I will look forward to it :D

jluerken 01-11-2005 06:38 PM

Any news Tekton?

Tekton 01-11-2005 07:18 PM

Hi. Everything works great.... except for one thing... of course. :P

The preview button is creating the thread and extra info as well as the post button. I'm currently looking into it by trying to determine a way to check which is which (harder than it should be).

I could post it in beta forum I guess.. admin panel is kind of sloppy, but the preview button was the only thing I was concerned about fixing.

jluerken 01-15-2005 07:25 AM

Quote:

Originally Posted by Tekton
Hi. Everything works great.... except for one thing... of course. :P

The preview button is creating the thread and extra info as well as the post button. I'm currently looking into it by trying to determine a way to check which is which (harder than it should be).

I could post it in beta forum I guess.. admin panel is kind of sloppy, but the preview button was the only thing I was concerned about fixing.

Sounds ok. Hopefully you will manage to fix the last bug.

Tekton 01-16-2005 09:50 AM

Been busy upgrading site hacks for security reasons, so haven't gotten around to anything yet. Maybe I can fix it sometime this weekend.

jluerken 01-17-2005 05:35 AM

Quote:

Originally Posted by Tekton
Been busy upgrading site hacks for security reasons, so haven't gotten around to anything yet. Maybe I can fix it sometime this weekend.

Sounds good Tekton.

Weekend is over now. Any news? :speechless:

Tekton 01-17-2005 05:45 AM

Been working my butt of on a photopost problem (damn you photopost!), so no. I'll just add it in the beta thing and then maybe someone can fix the preview thing for me?

Tekton 01-18-2005 04:45 AM

Would you mind if it was a "Submit and create Discussion" button instead of a checkbox? The preview problem can be easily handled then.

jluerken 01-18-2005 08:15 AM

Quote:

Originally Posted by Tekton
Would you mind if it was a "Submit and create Discussion" button instead of a checkbox? The preview problem can be easily handled then.

It does not matter.

Important is that only admins see this button and that this button will only be displayed in the News Forum and not in all forums.

I think your option page takes already care about this anyway

Tekton 01-20-2005 03:56 AM

I'll post when I finish it (won't have time till friday/weekend most likely)

jluerken 01-24-2005 10:31 AM

Quote:

Originally Posted by Tekton
I'll post when I finish it (won't have time till friday/weekend most likely)


I know what you're talking about. I had also a lot of stress this weekend.
Lets take a look at this again this week. Hopefully we manage to get this final until february. :D

Tekton 01-27-2005 10:20 AM

Hiya jluerken~

https://vborg.vbsupport.ru/showthread.php?t=75216 :)


All times are GMT. The time now is 04:53 AM.

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.01168 seconds
  • Memory Usage 1,763KB
  • 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
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (21)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