The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
You Last Visited On
I did a search and couldn't find anything.
How would I add an indicator of when a user last visited. It would go in the Navbar template along with the time code I have there. Example: Code:
You last visited on Friday, 6/22/2012, 4:14 PM GMT -7. |
#2
|
|||
|
|||
The code for that is already in the header template, but it's commented out (for some reason I don't understand - maybe just a style choice). Anyway, as it turns out you can also copy it directly to the navbar template and it will work. It looks like this:
Code:
{vb:rawphrase last_visited_x_at_y, {vb:raw pmbox.lastvisitdate}, {vb:raw pmbox.lastvisittime}} |
Благодарность от: | ||
Amaury |
#3
|
|||
|
|||
Quote:
|
#4
|
|||
|
|||
So, new question. How I would I move the last visited into the one of the areas I marked in this screenshot? (Navigation bar or sub-navigation bar.)
|
#5
|
||||
|
||||
use this code to control the place
PHP Code:
top: 50px and right: 800px --------------- Added [DATE]1347223244[/DATE] at [TIME]1347223244[/TIME] --------------- also you can change the color use this PHP Code:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|