The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Posts in last 24 hours
I would like to show the Posts in last 24 hours on my forum in the header, is this possible and how complicated will it be to create?
|
#2
|
||||
|
||||
Quote:
if the latter search.php?do=getdaily |
#3
|
|||
|
|||
No, I mean i if you look at my site (link in sig) in the top right it says:
There are 62 Users Online Now What i would like under their is There have been "x" post(s) in the last 24hrs. I'm just wondering if its possible Thanks for the reply though Zachery |
#4
|
||||
|
||||
If you want to have number of new posts since last visit to FORUMHOME try this thread...
http://www.vbulletin.com/forum/showthread.php?t=101600 You might be able to mod it a bit to do what you want.... just a thought coll |
#5
|
|||
|
|||
Quote:
I just want it to say: There have been "x" post(s) in the last 24hrs. Not "since your last visit there have been x posts" |
#6
|
|||
|
|||
This must be possible t do, i will pay anyone who can do it for me. If you can get the number of users on the forum shown on the header then surely you can show the number of pasts made in the last 23 hrs.
|
#7
|
||||
|
||||
In global.php FIND
PHP Code:
PHP Code:
Feel free to contact me for PayPal details if this does what you want |
#8
|
|||
|
|||
I get the following error below when i add
Code:
$lastposts[24hours] The following error occurred when attempting to evaluate the template 'header': Parse error: parse error, unexpected T_STRING, expecting ']' in /usr/home/yates238/public_html/includes/adminfunctions_template.php(3055) : eval()'d code on line 67 This is likely caused by a malformed conditional statement. |
#9
|
||||
|
||||
Hmm ... should not be a problem.
Can you attach your header template that is causing this error? |
#10
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|