vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Small New Thread Button on Forumhome (https://vborg.vbsupport.ru/showthread.php?t=91075)

flup 06-24-2005 10:00 PM

Small New Thread Button on Forumhome
 
This template modificated is made by flup.

This mod will add a little image behind your subforum titel wich gives your
users the ability to start a thread right ahead from the forumhome page.

Screenshot included.

//Update v1.01
Now a little icon is placed together with the icon explanation images on bottom of the page (screenshot posted)

Marco van Herwaarden 06-25-2005 06:57 PM

Will make a reply, so flup can see i installed this.

flup 06-25-2005 07:00 PM

Hehe :) Thanks MarcoH64 :)

Mark.B 06-25-2005 07:02 PM

I have advocated something similar for a while...I nicked the way XMB do it and have run my 3.0.7 board like this for some time:

http://www.bowlandcentral.com/forum

My method simply involved using a similar graphic but placed in a new column on the right hand side of the board. This does involve messing about with the conditionals for the mod column but it's not too much trouble.

flup 06-25-2005 07:15 PM

Looking good:)

Allan 06-25-2005 08:31 PM

nice idea, thank you Flup :)

~~~~~~~~~~~~~~~~
click install
~~~~~~~~~~~~~~~~

flup 06-28-2005 09:17 AM

Also working on vB3.5.0b3

Loki12 07-10-2005 05:06 PM

Nice. If I want the same feature to be displayed for my subforums (once I am viewing a particular forum with the list if subforums), where should I add the code?

tarantulas 07-14-2005 10:33 PM

when click at any category, it will list only forums in that category, and it should show the "New Thread" icon.. could you add that?

FleaBag 07-31-2005 02:16 PM

Hey flup, nice mod - installed, thanks a lot. :)

GrendelKhan{TSU 08-01-2005 03:05 AM

good stuff! thanx

<< 3.5 RC 1 installed ^^

.Tim 08-01-2005 04:15 AM

Sweet! I've actually been wanting something like this!

Xplorer4x4 08-18-2005 02:48 AM

Working on 3.5 RC2. Nice idea.

EDIT: I am getting better at codding. Ok, here is what i did to modify this to fit sub forums.

In the Forum Home Templates gorup find forumhome_subforumbit_post and below:
PHP Code:

<img class="inlineimg" src="$stylevar[imgdir_statusicon]/subforum_$forum[statusicon].gif" alt="" /> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a

Add this:
PHP Code:

<a href="newthread.php?do=newthread&f=$forum[forumid]"><img src="images/buttons/newthread-small.gif" border="0" alt="New Thread" /></a


piXelatedEmpire 10-09-2005 12:59 AM

Quote:

Originally Posted by Mark.B
I have advocated something similar for a while...I nicked the way XMB do it and have run my 3.0.7 board like this for some time:

http://www.bowlandcentral.com/forum

My method simply involved using a similar graphic but placed in a new column on the right hand side of the board. This does involve messing about with the conditionals for the mod column but it's not too much trouble.

I like the idea of a seperate column for this mod.. how would I achieve a similar thing on VB 3.5 Gold? I am quite new to this mod game, my apologies for bringing this thread back up.

Xplorer4x4 11-04-2005 04:53 PM

On second thought making this an in line image makes it slighlty more comestic on sub forums, and child forums:

PHP Code:

<a href="newthread.php?do=newthread&f=$forum[forumid]"><img class="inlineimg" src="images/buttons/newthread-small.gif" border="0" alt="New Thread" /></a


Xplorer4x4 11-05-2005 09:02 AM

Flup, would it be possible to to add some sort of if conditonal that will rpevent it showing up if the forum is simply a redirect to say your rules or support system ETC.

akanevsky 11-05-2005 10:40 AM

Nice. Why don't you actually make it in invision-style, with a small button aligned to the right?

flup 11-16-2005 07:29 PM

Quote:

Originally Posted by Xplorer4x4
Flup, would it be possible to to add some sort of if conditonal that will rpevent it showing up if the forum is simply a redirect to say your rules or support system ETC.

In the template look up for the code with the image & link.

Code:

<if condition="$forum['link']"> <else /> the image and link code </if>
That would do the trick I think :)

silurius 01-07-2006 09:33 PM

Awesome! Installed.

ShadowOne 10-20-2006 03:18 PM

Anyway To Make This So It Only Shows Up In A Certain Forum? Because I Have A Welcome Forum...And A New Thread ONLY For That One Would Be Nec... Right Now I Have It As A Link... Click In My Siggy To See What I Mean...


All times are GMT. The time now is 01:33 AM.

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.01156 seconds
  • Memory Usage 1,757KB
  • 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
  • (1)bbcode_code_printable
  • (3)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (20)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete