MyBB Hacks

Full Version: Quick Thread
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
Hi there, I'm feeling like a complete eejit, but I installed the quick thread plugin so I could use it for the contact form. I did not want to have it on other parts of the forum, so I went to my forumdisplay template to remove it - but it is not there Ouch. It is however showing on my forum. Below is my forumdisplay template. I checked on the mybb default and the template has no edits at all. But I have the quick thread showing up on the MYBB default too.

Code:
<html>
<head>
<title>{$mybb->settings['bbname']} - {$foruminfo['name']} </title>
{$headerinclude}
<script type="text/javascript">
<!--
	lang.no_new_posts = "{$lang->no_new_posts}";
	lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}
{$moderatedby}
{$usersbrowsing}
{$rules}
{$subforums}
{$threadslist}
{$permission_box}
{$footer}
</body>
</html>


......Any ideas what may be wrong?

There are two ways to do that. But I prefer to do a template edit for that. You can find forumdisplay_quick_thread template in Global Templates. Remove the entire codes there. This template support XThreads template prefix system ( thank you very much, Yumi Smile ). With this way we can use it per forum basis.
Thanks RateU, I thought I was going insane.....Biggrin
Thanks Thanks a lot for this great plugin !!
Yumi, do you have a plan to 'enabling' the {$tfinputrow['my_key']} or {$tfinput['my_key']} variable in Quick Thread Form?

Right now, I can't design it. In some XThreads area, my Quick Thread Form is very long.
I really don't want to 'disable' it, the users of 'my forum' and me always use the form to submit a new thread in all area Oops
I don't think I ever thought of that.  I'll take a look.
Thanks, Yumi.
Sorry for the very late reply.  I haven't tested, but it looks like tfinputrow/tfinput should work (as long as you use the $GLOBALS version).
The only problem is that $extra_threadfields is forced into the template - I can change that.  Is that what you meant?

Note that optional fields still won't work through tfinputrow/tfinput.
Argh......!!!

How stupid I'm to not thinking about using the $GLOBALS version Oops

Yes, yes, yes. It works, Yumi!

I just need to hide some custom thread fields, and put the variable manually in my Quick Thread and newthread template.

I can design my Quick Thread templates now! Yipi

It's very rare the new thread page to be touched since I have this plugin Biggrin

For the non required field, I can set it to required, and put a default value to the fields, so the fields will be displayed on the Quick Thread, but users not to be "forced" to "fill" it Biggrin

Thank you very much, Yumi Smile
Glad it helped - it's not something obvious anyway Smile  The new version shouldn't force the use of $extra_threadfields any more either.
Pages: 1 2 3 4 5
Reference URL's