![]() |
What is the code for Dateline
I am trying to figure out what code calls the Dateline
{vb: dateline} ? Trying to add a url string but I need to add the dateline in as well. Thanks in advance! |
It depends on the template and whether or not it has been defined and registered for use in that template or not. If not, then you would need to write a plugin to define/pre-register it.
|
Thanks Lynne,
Just as an example, <a href="{vb:link member, {vb:raw userid}}"><img src="{vb:raw vboptions.bburl}/image.php?{vb:raw session.sessionurl}u={vb:raw userid}&type=profile" alt="" class="post_avatar" /></a> I would assume it is this, right where the amp is - but doesnt that stand for "&" I am currently testing my mod on a registered template. |
You do want to escape the ampersand in the URL by using &
|
Quote:
|
I very much doubt it is even defined to be used in that template. And what dateline are you looking for - the dateline of the post? The dateline for the current time on the server? The dateline for the current time the user is seeing?
|
Quote:
I think once I register it then all will be good. I want my custom memberaction_dropdown to show only on articles / blogs - Lynne, could you point out which php files I would need to register them on? |
You need to create a plugin to do it. Cellarius wrote a really good article that you may be interested in - [vB4] Rendering templates and registering variables - a short guide
|
All times are GMT. The time now is 01:13 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|