Back to vBulletin 3.5 Template Modifications

Search: New Posts - Auto-refresh.
Mod Version: 1.00, by gcphost

This modification is in the archives.
vB Version: 3.5.4 Rating: (1 vote - 5.00 average) Installs: 6
Released: 27 Mar 2006 Last Update: Never Downloads: 1
Not Supported Template Edits Is in Beta Stage  

I tend to keep my browser on the New Post page to see if there are any new posts needing my attention.

With most popular web e-mail clients you see how many new e-mails there are in your browsers title bar along with an auto refresh to check for new e-mails, why not have the same for your forums?

I did this for my last forums and figured I would do it for vB, since this forum has given me tons of cool stuff already I enjoy trying to give some stuff back, hopefully someone else will find this u sefull.

This is very easy to do so give it a shot:

admincp > style manager > edit templates > search templates > search_results

Modify the header:
# ORIGINAL
Code:
<title>$vboptions[bbtitle] - $vbphrase[search_results]</title>
# HACKED
Code:
<title><if condition="$action == 'getdaily'">$numitems posts today - </if>$vboptions[bbtitle] - $vbphrase[search_results]</title>
<if condition="$action == 'getdaily'"><meta http-equiv="refresh" content="30" url="search.php?do=getdaily"></if>
Note the change of the title to add how many posts there are new and the check to see if we're on the search page, if so do the refresh every 30 seconds.

Really basic but very functional, got to love tabbed browsing and the ability to see all "new" activity without being on the tab, super lazy!

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2024