Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
[New Posts | New Thread | Search] on Index page Details »
[New Posts | New Thread | Search] on Index page
Mod Version: 1.00, by ForumDog (Member) ForumDog is offline
Developer Last Online: Feb 2007 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.1 Rating: (1 vote - 5.00 average) Installs: 38
Released: 26 Jul 2006 Last Update: 30 Aug 2006 Downloads: 71
Not Supported Template Edits  

This adds forum section-specific New Posts, New Thread and Search links to the index page.

New Posts will only appear when there are new posts in that section and will only list new posts from the section.
New Thread will start a new thread in that section.
Search will start a search for only that section.

A search did bring up something similar but it was neither as complete nor as aesthetically pleasing (to me). I apologise if this is duplicated.

Open your forumhome_forumbit_level1/2_post template.



FIND:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

AFTER, ADD:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



Optional extras:
- Subscription code for each feed type, all conditionals so they'll only appear if you've turned that type on.
- Unsubscribe moved to the linkfest since it seems to fit better there. Be sure to delete the very similar code which appears immediately below where this code is inserted, everything between <if condition="$show['forumsubscription']"> and </if>.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Update:
- The conditional should now be correct so the links will only appear for open forums. It's up to you if you want to change that.
- The search link is now wrapped in a conditional so it doesn't appear when it's not wanted, most likely for Guests, New Thread is also now controlled as far as is possible by the statusicon conditional. Permission to start a new thread is only checked after clicking the link as far as I can tell, so it can't be done perfectly.
- Not a big deal, but added rel="nofollow" in a couple of places where the links aren't any use to search engines.


Known Issues:
- If there is no permission to start a new thread or search and there are no new posts to view but the unsubscribe link or a feed link appears then the line will begin with a |. It could be solved with a loooooooot of conditionals but it's not worth it. Change the formatting (use of |) if it bothers you.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	newpostsnewthreadsearch.png
Views:	2090
Size:	3.5 KB
ID:	51054  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 26 Jul 2006, 18:23
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Real name: Shawn
Very Creative , I will be using this
________
volcano vaporizer reviews

Last edited by Shazz; 06 Feb 2011 at 08:45.
Reply With Quote
  #3  
Old 30 Jul 2006, 11:05
A_N_K_A_R_A's Avatar
A_N_K_A_R_A A_N_K_A_R_A is offline
 
Join Date: Jan 2006
very nice thanks
Reply With Quote
  #4  
Old 30 Jul 2006, 14:13
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Real name: Josh
Lovely it could be much better if they were using images.
Reply With Quote
  #5  
Old 04 Aug 2006, 02:29
h_kakashi h_kakashi is offline
 
Join Date: Oct 2004
Installed Nice touch
Reply With Quote
  #6  
Old 07 Aug 2006, 07:59
tpzone's Avatar
tpzone tpzone is offline
 
Join Date: Aug 2006
piece of cake.. thank you for the mod, very nice!
Reply With Quote
  #7  
Old 09 Aug 2006, 08:57
TygerTyger TygerTyger is offline
 
Join Date: Aug 2005
Originally Posted by Dark Blade
Lovely it could be much better if they were using images.
Personal taste. I like quick and clean myself.
Reply With Quote
  #8  
Old 16 Aug 2006, 17:30
netwiz netwiz is offline
 
Join Date: Aug 2006
Seems to be nice. But in my installation i couldnot locate the forumhome_forumbit_level1/2_post template :-(
pls do update your steps keeping newbies also in mind:-(
Reply With Quote
  #9  
Old 16 Aug 2006, 17:39
ForumDog ForumDog is offline
 
Join Date: Jul 2006
AdminCP > Styles & Templates > Search in Templates > Search for forumbit

In the results, forumhome_forumbit_level1 and 2 will appear, you want the post versions of each and not the nopost versions.

Level 1 is the forum sections that show up on the index page, Level 2 is for subforums that show up on forum listing pages.

Reply With Quote
  #10  
Old 16 Aug 2006, 21:43
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
I have installed this but had to remove because its not displaying correctly when using subforums... If my subforum structure is setup like this

-Forum Name
--Forum (Locked)
---Child Forum1
---Child Forum2
---Child Forum3


Then locked forum show the New Thread- Search and when you click you get dont have access...
Reply With Quote
  #11  
Old 17 Aug 2006, 10:22
ForumDog ForumDog is offline
 
Join Date: Jul 2006
Try replacing it with this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That should (untested) mean that if the forum isn't locked or a link, display the links. Search is included in that, so if you want to allow people to search locked forums you'll have to move the </if> tag up so the Search link is outside it.
Reply With Quote
  #12  
Old 17 Aug 2006, 14:02
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Originally Posted by ForumDog
Try replacing it with this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That should (untested) mean that if the forum isn't locked or a link, display the links. Search is included in that, so if you want to allow people to search locked forums you'll have to move the </if> tag up so the Search link is outside it.
I will try this... Do you know how many queries this gernerates on every page load?
Reply With Quote
  #13  
Old 17 Aug 2006, 14:04
ForumDog ForumDog is offline
 
Join Date: Jul 2006
None. Not even a fairly large amount of conditionals will slow things down.
Reply With Quote
  #14  
Old 22 Aug 2006, 06:14
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Real name: Brandon
umm,,

http://forum.vbulletinsetup.com/f7/3...cribe-rss.html

I got this code from Keith Cohen months ago
with his permission


[New Thread] - [Search] - [Subscribe] - [RSS]

if you like what we've added at vBulletin Setup and want it on your site here is your code..

Here's the code I use in forumbit level 1 and 2:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

this assumes your vb is in a forums/ folder..

and like on our site, the forum home view don't allow new threads, so it was all useless and we just needed it on the forumdisplay page.. this is how to achieve that..


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and add this to your Additional CSS Definitions to make them small like on here


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

btw, i just changed style, so i haven't added this code back.. but i did post this last month on the link above, and had it on an old site b4 that
__________________

Email me for website help: brandon[at]sheley[dot]org

Last edited by Brandon Sheley; 22 Aug 2006 at 06:25.
Reply With Quote
  #15  
Old 22 Aug 2006, 07:11
Avalon111's Avatar
Avalon111 Avalon111 is offline
 
Join Date: Dec 2004
Real name: chris
This is great!!!

i have just changed it a bit (hope you dont mind )


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 06:55.

Layout Options | Width: Wide Color: