vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=185129

New Post
by blind-eddie
12 Jul 2008 22:43

2 Attachment(s)
I ask this question a while back.



Always back-up any template before you edit them!!!

This a a simple Navbar Template edit.
To change the search perimeters from 24 hours to 10, 20 30, days,
When hitting New Post,

Open your Navbar Template

Search for:


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

Change this to:


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

Click Save.

Doing this will show all post from the last 10 days. The number of days,
can be what ever you want it to be.

-------------------------------------------------------------------------------
Optional Quick Links Edit

(This is in the Navbar template)
Search for:


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

Add Below that:


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

For each amount of days you wish to display, you will need make a new vbphrase.
To apply this One Optional edit, Go to,

Languages & Phrases/Phrase Manager/Add New Phrase

Varname: $vbphrase[new_posts_20]

Text: Last 20 days

Click Save

This step can be repeated, just change the Number of days on each one.
Once this optional edit has been completed, click save.
7/12/08, Add Text Doc of Instructions.
7/12/08, Added vbadvanced welcome block Template Edits.

ahmedeldeep 13 Jul 2008 02:19

thank you

GaiLoan 24 Aug 2008 02:54

how can you search by minutes ? like last 5 hours or last half hour, thanks for the mods

spaceČ 25 Aug 2008 10:57

Quote:

Originally Posted by GaiLoan (Post 1605484)
how can you search by minutes ? like last 5 hours or last half hour, thanks for the mods

I don't think it is possible with small effort, you'll have to add a query because there is no function "gethourly" in vBulletin.


All times are GMT. The time now is 09:32.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.