gcphost
03-26-2006, 10:00 PM
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
<title>$vboptions[bbtitle] - $vbphrase[search_results]</title>
# HACKED
<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!
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
<title>$vboptions[bbtitle] - $vbphrase[search_results]</title>
# HACKED
<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!