Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)

Reply
 
Thread Tools Display Modes
  #1  
Old 12-31-2004, 12:11 PM
jluerken's Avatar
jluerken jluerken is offline
 
Join Date: Aug 2003
Location: Germany
Posts: 1,016
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 01-09-2005, 10:32 AM
jluerken's Avatar
jluerken jluerken is offline
 
Join Date: Aug 2003
Location: Germany
Posts: 1,016
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #3  
Old 01-09-2005, 10:35 AM
Tekton Tekton is offline
 
Join Date: Jun 2004
Location: Wisconsin
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I understand what you want, and it might not be too difficult. Just a question though: why do you split them?
Reply With Quote
  #4  
Old 01-09-2005, 12:08 PM
jluerken's Avatar
jluerken jluerken is offline
 
Join Date: Aug 2003
Location: Germany
Posts: 1,016
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 01-09-2005, 12:25 PM
Tekton Tekton is offline
 
Join Date: Jun 2004
Location: Wisconsin
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you prefer a sloppy throw-together in php, or would you rather it take longer and be integrated into the admin panel?
Reply With Quote
  #6  
Old 01-09-2005, 12:56 PM
jluerken's Avatar
jluerken jluerken is offline
 
Join Date: Aug 2003
Location: Germany
Posts: 1,016
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #7  
Old 01-10-2005, 09:10 AM
Tekton Tekton is offline
 
Join Date: Jun 2004
Location: Wisconsin
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How does this look so far?

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

http://img9.exs.cx/img9/4991/imgoptions5gr.png
Reply With Quote
  #8  
Old 01-10-2005, 10:01 AM
jluerken's Avatar
jluerken jluerken is offline
 
Join Date: Aug 2003
Location: Germany
Posts: 1,016
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tekton
Impressive. Thats exactly what I wanted.
Well done man!

When do you think will you post this hack?
Reply With Quote
  #9  
Old 01-10-2005, 10:20 AM
Tekton Tekton is offline
 
Join Date: Jun 2004
Location: Wisconsin
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

I'm joking. As soon as I finish completely testing it. Soon.
Reply With Quote
  #10  
Old 01-10-2005, 05:51 PM
jluerken's Avatar
jluerken jluerken is offline
 
Join Date: Aug 2003
Location: Germany
Posts: 1,016
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

I'm joking. As soon as I finish completely testing it. Soon.
You are my hero *hrhr*

I will look forward to it
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:06 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04535 seconds
  • Memory Usage 2,260KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete