vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Mini Mods - Quick New-Thread (https://vborg.vbsupport.ru/showthread.php?t=171918)

DivisionByZero 03-01-2008 10:00 PM

Quick New-Thread
 
Originally chartered by another vBulletin.org member, I thought this one would be useful to a few, so here it is.

This mod works just like the forumjump, but when you select the forum, you immediately jump to post a new thread in the selected forum.

Instructions

1. Upload the product XML

2. Insert the variable $quickthread anywhere in your templates where you want this modification to appear.

Note: The default plugin hook location is global_start (for noobs). If you're skilled enough, and you're placing this modification somewhere specific, you can easily modify the hook location to your liking.

PoetJA-1975 03-02-2008 07:24 PM

This looks AWESOME - I've had new Members register and can't seem to find how to post a thread?!?!? Weird if you ask me - but anyway - this should help immensely!

Thanx for sharing!

Jacquii.

Looks good - but would be so much better if there's options to include which forums are listed in the menu AND for forums that aren't open for posts to be unclickable. When you click those forums - the "Sorry! This forum is not accepting new posts." message is shown...

ALSO - how can it be used on vBadvanced pages? Is there a global variable to use?

As an FYI: Uncached templates: cb_quickthread (1)

Xray12345 03-02-2008 07:38 PM

Great Job!

^Installed^

PoetJA-1975 03-02-2008 08:32 PM

BTW - screencap... Looks just like the quick jump menu:

http://img217.imageshack.us/img217/9...stmenuexm6.gif

DivisionByZero 03-03-2008 04:14 AM

Quote:

Originally Posted by PoetJA-1975 (Post 1455387)
Looks good - but would be so much better if there's options to include which forums are listed in the menu AND for forums that aren't open for posts to be unclickable. When you click those forums - the "Sorry! This forum is not accepting new posts." message is shown...

It's a mini-mod, not something I want to invest a lot of time in.

Quote:

Originally Posted by PoetJA-1975 (Post 1455387)
how can it be used on vBadvanced pages? Is there a global variable to use?

global_start, the default.

codershark 03-03-2008 06:31 AM

is that under 3.7 also running ?

PoetJA-1975 03-03-2008 04:20 PM

Quote:

Originally Posted by MisterPopularity (Post 1455657)
It's a mini-mod, not something I want to invest a lot of time in.

global_start, the default.

OK - Thanx
Anyway - the global variable is quickthread
Question: how can I get the uncached template to be cached? See the screenshot:

https://vborg.vbsupport.ru/

Again - Thanx for the sharing - This is a wonderful addition to JPiC
Already I've had tons of people complement us for making navigation that much easier.

Jacquii.

TCE Killa 03-03-2008 04:56 PM

This is great but I am trying to align it to the right my forums (where the quick forum jump is set).. At the moment it is automatically set to the left. I have tried aligning it in the template to the right but to no success. Any other ideas how to do this? Thanks.

PoetJA-1975 03-03-2008 06:27 PM

Quote:

Originally Posted by TCE Killa (Post 1456083)
This is great but I am trying to align it to the right my forums (where the quick forum jump is set).. At the moment it is automatically set to the left. I have tried aligning it in the template to the right but to no success. Any other ideas how to do this? Thanks.

You could put it in a table...
In the template cb_quickthread
Add at the beginning:

HTML Code:

<table cellpadding="0" cellspacing="0" border="0" width="100%" align="right">
<td><tr>


Add at the end:
HTML Code:

</tr></td>
</table>

I suppose it would make a difference exactly where you're putting the $quickthread variable though... For instance if you're putting in in the SHOWTHREAD template --- you could simply find:
HTML Code:

<td>
$forumjump
</td>

And add directly below:
HTML Code:

<td>
$quickthread
</td>

Anyway - Hope this helps...

Jacquii.

TCE Killa 03-03-2008 09:15 PM

Thanks alot it worked... But I did however have the Quick Thread directly right next to the Forum jump so all I did was made a new code:

PHP Code:

<tr><td>
$quickthread
</td></tr

Adding the <tr> tags and placing it above:
PHP Code:

<tr>
         <
td>
         
$forumjump
         
</td>
      </
tr

Now it is above the forum jump to the right, instead of next to it. Thanks alot for the help :D


All times are GMT. The time now is 10:27 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.01223 seconds
  • Memory Usage 1,749KB
  • 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
  • (4)bbcode_html_printable
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete