vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   End-User Options - Global "New Thread" Button in Navbar (https://vborg.vbsupport.ru/showthread.php?t=184118)

sockwater 07-01-2008 10:00 PM

Global "New Thread" Button in Navbar
 
This mod adds a New Thread button or link to the navbar so that your users can start a new thread with two clicks from anywhere on the forums. First they click New Thread, then they click on the forum they want to post in. The hierarchical list of forums should respect all forum permissions, and forums where the user can post are shown as a link.

Features:
  • Show/hide large New Thread button (Settings in the Global New Thread Button Options group)
  • Show large New Thread button as Text or the default vB New Thread button (https://vborg.vbsupport.ru/external/2008/08/32.gif) (added v1.1)
  • Show/hide navbar New Thread link
  • Show/hide forum descriptions on the listing of forums
  • All HTML is in templates (scroll down to the temlates that start with gntb_)
  • All language is in phrases (they all start with gntb_)
  • The product can be enabled/disabled in the Product Manager, rather than adding the extra overhead of an on/off switch in the options
  • Easy installation: Import the products XML file
https://vborg.vbsupport.ru/attachmen...1&d=1214960165

https://vborg.vbsupport.ru/attachmen...1&d=1215021085

Q-v-n-s-Q 07-02-2008 12:27 AM

very nice, thank you

TheInsaneManiac 07-02-2008 12:34 AM

Can you make a nicer New Thread button?

ssslippy 07-02-2008 01:23 AM

The new thread button needs to be a drop down menu that automatically check vs forum permisions otherwise u arnt saving any queries and minor bandwith.

Super Jinni 07-02-2008 01:50 AM

Quote:

Originally Posted by ssslippy (Post 1564397)
The new thread button needs to be a drop down menu that automatically check vs forum permisions otherwise u arnt saving any queries and minor bandwith.

I agree with you

xorex 07-02-2008 02:09 AM

very nice hack, thank you

Zaiaku 07-02-2008 02:31 AM

This possibly could be one of the the most use mods I've seen in a very long time. Definitely a time saver.

abrecher 07-02-2008 03:00 AM

Fantastic mod! I installed it and it works as posted.

pipedreams 07-02-2008 11:58 AM

WOW!! I've been looking for this mod for ages!

MUCH THANKS :D

ShiZoPhreN 07-02-2008 12:01 PM

*Clicks installed*

Thanks

brasolino 07-02-2008 12:17 PM

can i use this mod on 3.6.10 pl2 ?

Lea Verou 07-02-2008 12:57 PM

Nice! Tagged.

Hasann 07-02-2008 01:15 PM

Nice! Installed.

dvbusuario 07-02-2008 02:04 PM

Nice Thank you!

Installed!

PaulSonny 07-02-2008 02:48 PM

This isn't really any use for me but what an excellent idea and definately a time saver.

I haven't clicked installed but i've nominated for mod of the month.

Congrats, Paul.

Brandon Sheley 07-02-2008 02:54 PM

nice mod, I'll check it out later :)

sockwater 07-02-2008 04:53 PM

Quote:

Originally Posted by TheInsaneManiac (Post 1564374)
Can you make a nicer New Thread button?

My original intention was to have the current "button" as an example, and you can edit the gntb_newthreadbutton template and make it look any way you want.

Bluidkiti PMed me with a suggestion and what they did on their board, which is to use the default vB New Thread image (https://vborg.vbsupport.ru/external/2008/08/32.gif). I have now included this as an option in the product. Just download and reinstall.

sockwater 07-02-2008 05:05 PM

Quote:

Originally Posted by ssslippy (Post 1564397)
The new thread button needs to be a drop down menu that automatically check vs forum permisions otherwise u arnt saving any queries and minor bandwith.

You could have a dropdown menu, just like the forum jump menu, but if you wanted to check permissions and display a selective list of forums, you'd be adding at least one query (I think) to *every* pageview on your site.

The way it is currently set up does save clicks. The process to post is alway 2 clicks whereas currently, you have to go to the forumhome, click on a forum, then click new post (minimum 3 clicks, or more if the forum you want to post in is a sub-forum).

Also, the point isn't to save queries, it's to make a more logical user interface.

I'm going to look into the option of making it a popup menu as well. If it doesn't add a lot of overhead to all pageviews, it's a good idea. :)

macc 07-02-2008 05:45 PM

hello!

i updated hack and can not get this image (newthread.gif) to display on navbar ...

some help

regards

macc

Jase2 07-02-2008 06:59 PM

Installed! Thanks!

Any chance you could add a line break between each forum name ?

XYZ1234 07-02-2008 07:22 PM

How do I remove link from Navbar? Looks absolutely terrible on my theme,
www.irishrepublican.net


EDIT - Dont worry, using older version of hack.

Jase2 07-02-2008 07:30 PM

It can be removed by goin' to:

ACP --> vBulletin Options --> vBulletin Options --> Global New Thread Button Options --> Show Large New Thread Button --> No

I just have mine in the sidebar, as a link "Post A New Question". See: http://www.techsupportteam.org/forum/

sockwater 07-02-2008 07:56 PM

Quote:

Originally Posted by brasolino (Post 1564771)
can i use this mod on 3.6.10 pl2 ?

I don't see any reason it wouldn't work for 3.6.10. Can you give it a try and post back here to let us know how it went?

Quote:

Originally Posted by macc (Post 1565076)
i updated hack and can not get this image (newthread.gif) to display on navbar ...

It links to the default location for newthread.gif. If you have an image somewhere else, just edit the gntb_newthreadbutton template, and change $stylevar[imgdir_button]/newthread.gif to the URL to your image. Also, be sure you enable both Show Large New Thread Button and Show Large Button as Image in the settings.

Quote:

Originally Posted by Jase2 (Post 1565125)
Any chance you could add a line break between each forum name ?

Sure, edit the gntb_forumbit template and add a <br /> right before the closing list tag </ul>.

Quote:

Originally Posted by Daithi (Post 1565136)
How do I remove link from Navbar? Looks absolutely terrible on my theme,
www.irishrepublican.net

Use the options (Global New Thread Button Options), where you can enable/disable both the navbar link and/or the navbar button (to the left of the breadcrumbs.) BTW, I look at your site, and I don't think it looks bad. :) But I guess it's subjective.

Jase2 07-02-2008 08:03 PM

Thanks! Was a little unsure on which template to edit LOL.

PoetJA-1975 07-02-2008 08:40 PM

I can't believe this! Out of the 1st 3 posts - 2 were complaints - THAT SUX!
Anyway - thanx to the modification author SOCKWATER for sharing - I'd actually installed a similar mod that had the dropdown - was for 3.6.x and apparently the author isn't interested in making it compatible with the 3.7 series - Anyway... Thanx so much for the sharing ;)

Jacquii.

PoetJA-1975 07-02-2008 09:11 PM

Just a suggestion on possible button placement:

Find in navbar template:
Code:

<div class="navbar" style="font-size:21px;padding-left:6px;"><strong>$vboptions[bbtitle]</strong></div>
                </if>
        </td>

Add directly below:
Code:

<!-- Global "New Thread" Button -->
 <td class="alt1">
<div align="center"><a href="$vboptions[bburl]/newthread.php" title="Post A New Thread"><img src="$stylevar[imgdir_button]/newthread.gif"></a></div></td>
      <!-- / Global "New Thread" Button -->

Puts the button right to the left of "Logged in as ...." info - Up close and personal :P
Thanx again for the modification SOCKWATER - I was certainly looking for something just like this ;)

Jacquii.

http://img395.imageshack.us/img395/9...wthreadbl9.gif

ps - apologies for my "loudness" in the previous post :blush:

Lea Verou 07-02-2008 10:03 PM

Quote:

Originally Posted by sockwater (Post 1565033)
you'd be adding at least one query (I think) to *every* pageview on your site.

Not if you use AJAX... ;)

TheInsaneManiac 07-03-2008 12:30 AM

Quote:

Originally Posted by sockwater (Post 1565021)
My original intention was to have the current "button" as an example, and you can edit the gntb_newthreadbutton template and make it look any way you want.

Bluidkiti PMed me with a suggestion and what they did on their board, which is to use the default vB New Thread image (https://vborg.vbsupport.ru/external/2008/08/32.gif). I have now included this as an option in the product. Just download and reinstall.

Awesome! Installed

Super Jinni 07-03-2008 01:14 AM

Quote:

Originally Posted by sockwater (Post 1565033)

I'm going to look into the option of making it a popup menu as well. If it doesn't add a lot of overhead to all pageviews, it's a good idea. :)

I think that will be really great

thanks for taking that into consideration

elmati 07-03-2008 01:58 AM

really nice! thanks m8! :)

Basit 07-03-2008 07:54 PM

Hello,

Is it possible to allow New Thread only in selected forum names instead of all Forum Names appearing (I have over 500). ?

Fırtına 07-04-2008 02:39 PM

Quote:

Originally Posted by PoetJA-1975 (Post 1565241)
Just a suggestion on possible button placement:

Find in navbar template:
Code:

<div class="navbar" style="font-size:21px;padding-left:6px;"><strong>$vboptions[bbtitle]</strong></div>
                </if>
        </td>

Add directly below:
Code:

<!-- Global "New Thread" Button -->
 <td class="alt1">
<div align="center"><a href="$vboptions[bburl]/newthread.php" title="Post A New Thread"><img src="$stylevar[imgdir_button]/newthread.gif"></a></div></td>
      <!-- / Global "New Thread" Button -->

Puts the button right to the left of "Logged in as ...." info - Up close and personal :P
Thanx again for the modification SOCKWATER - I was certainly looking for something just like this ;)

Jacquii.

http://img395.imageshack.us/img395/9...wthreadbl9.gif

ps - apologies for my "loudness" in the previous post :blush:




Thanks :D

steve1966 07-04-2008 03:16 PM

Thanks

TheInsaneManiac 07-04-2008 03:26 PM

Uninstalled. My members when they get new information they click the new thread button without going into the actual section. So if their new information is posted, then they can't see it, so they post the new topic. Next thing I know, I have 6 topics talking about the same exact thing.

Do you think you can implement a way so that after they select the forum, it shows the latest X posts?

cheat-master30 07-07-2008 05:19 PM

I'm going to try this mod since it seems like a good idea.

cmiller1014 07-18-2008 02:07 AM

Installed but does nothing on our site :(

SSJB_7 07-29-2008 08:38 AM

where can i find the button so i replace it with mines?, i uninstalling (the button) till you tell me.
i am looking forward it's very usefull mod

THX

lstintxs100 07-29-2008 11:42 PM

looks promissing.

lstintxs100 07-29-2008 11:49 PM

This does follow forum permissions in the listing right?

sockwater 08-01-2008 12:04 AM

Quote:

Originally Posted by SSJB_7 (Post 1586525)
where can i find the button so i replace it with mines?, i uninstalling (the button) till you tell me.
i am looking forward it's very usefull mod

THX

The button is your default 'new post' button.

Quote:

Originally Posted by lstintxs100 (Post 1587054)
This does follow forum permissions in the listing right?

Yes.


All times are GMT. The time now is 04:57 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.01356 seconds
  • Memory Usage 1,827KB
  • 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_code_printable
  • (13)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
  • (40)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