The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Fork Threads Details »» | |||||||||||||||||||||||||
Boring Preamble
Sometimes a thread gets really long or some posts generate interesting but off topic conversation. I wanted to test the new cool product manager system and thought of this very simple mod to add Fork Thread functionality to the end user. What it does Allows the end user to divert off-topic tangents into a new thread, while automatically quoting the original thread. Specs Plugin: Included Phrases added automatically: 2 fork_prefix and fork_this_post Templates added automatically: 1 newpost_fork Templates to edit: 1 postbit or postbit_legacy Images to upload: 1 (optional) fork.gif How to Install This is a full blown plugin. Follow the usual instructions for a plugin. Then you have to edit the postbit or postbit_legacy template. For the graphical version you have to insert these lines where you want the link to appear: PHP Code:
PHP Code:
Updated to version 1.0.1 on 08/18/2005 *Modified to use the phrase manager. *Fixed minor bug when "Automatically Quote Post / Thread Title" was set to "no". *Fixed minor bug where after processing the title I pointed to the wrong variable Preview and Live Demo Preview attached. Or you can Register and try to fork the posts in the fork me thread. Graphics help solicited The quickie image I put together of a fork sucks If someone comes up with an edited image of the .psd file vb comes with I will edit this post. Wishlist for this mod 1. I doubt I will have the time to put this together, but it would be nice if there was a dropdown with forums the user has permission to post in so that the user can fork the thread to a different forum. 2. Adding a post to the original thread stating it had been forked and a link to the new thread Final note Oblivion Knight donated an image you can use of a fork (Thanks). It is attached to this post. Show Your Support
|
Comments |
#17
|
|||
|
|||
Quote:
|
#18
|
|||
|
|||
Quote:
Would it look better to have a full blown post with a link to the fork or just a note in smallfont in the post that was forked? (I think the latter, but the complexity of the mod would become considerably greater). |
#19
|
|||
|
|||
Quote:
Quote:
I'll switch wording to reflect the best received suggestions. |
#20
|
|||
|
|||
Quote:
This is similar to the quote feature. It starts a new thread quoting the old post. |
#21
|
|||
|
|||
OH......
I thought this was only for the admin. O.K consider this installed on The UberGamers Forums |
#22
|
|||
|
|||
Um if we're supposed to get the fork image from the attachment, I dont like the fact that it has a white background. Can you make it transparent?
|
#23
|
|||
|
|||
Quote:
|
#24
|
|||
|
|||
dont worry i suck at em too :P
|
#25
|
|||
|
|||
Quote:
|
#26
|
|||
|
|||
Thanks for the nice comments everybody!
|
#27
|
||||
|
||||
Quote:
|
#28
|
|||
|
|||
Just a quick question to any vb dev.
There are two new variables called in the plugin. I didn't really see the point of initializing them with a $var=""; statement considering the vars are not used in any database calls, plus they are essentially initialized with a value when they are used. If those fields are attempted to be passed into the page, since they aren't globalized, they should be nullified anyway. However, I know you are doing funky things with plugins, serializing them etc, so I wanted to know what are your best practices for new vars in a plugin? |
#29
|
|||
|
|||
Fork off!
|
#30
|
||||
|
||||
This doesn't seem to be functioning correctly if the option "Automatically Quote Post / Thread Title" is set to No.
Every time I click on the fork icon, the new thread title is "Forked Thread: " with the same added inside the URL tags. Shouldn't it be grabbing the thread title if no post title is defined? |
#31
|
|||
|
|||
I wasn't sure the best way to handle that as the setting is set to "yes" for me.
Are you saying you want the post part of it to quote the title and leave the subject blank? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|