Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications
New Post Details »»
New Post
Version: 1.00, by blind-eddie blind-eddie is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.7.2 Rating:
Released: 07-11-2008 Last Update: 07-12-2008 Installs: 16
Supported Template Edits
 

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:

Code:
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[new_posts_nav]</a></td>
Change this to:

Code:
<td class="vbmenu_control"><a href="search.php?do=getdaily&amp;days=10" accesskey="2">$vbphrase[new_posts_nav]</a></td>
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:

Code:
<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
Add Below that:

Code:
<tr><td class="thead">View Post From</td></tr>
<td class="vbmenu_control"><a href="search.php?do=getdaily&amp;days=20" accesskey="2">$vbphrase[new_posts_20]</a></td>
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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 07-13-2008, 01:19 AM
ahmedeldeep's Avatar
ahmedeldeep ahmedeldeep is offline
 
Join Date: Jun 2007
Location: Egypt
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you
Reply With Quote
  #3  
Old 08-24-2008, 01:54 AM
GaiLoan GaiLoan is offline
 
Join Date: Dec 2007
Location: California,US
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how can you search by minutes ? like last 5 hours or last half hour, thanks for the mods
Reply With Quote
  #4  
Old 08-25-2008, 09:57 AM
space? space? is offline
 
Join Date: May 2008
Location: Germany
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GaiLoan View Post
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.
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 07:03 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04182 seconds
  • Memory Usage 2,224KB
  • Queries Executed 17 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (3)postbit
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete