Tutorial ID.DLE-1099-24
CreatedSeptember 1, 2012
IS THIS TUTORIAL HELPFUL?
Print This Tutorial
Upgrade theme from 9.4 to 9.5
Since Datalife Engine 9.5 was released, there are some tags and styles are changed and we see many websites have posted the tutorials how to upgrade theme from 9.4 to 9.5 but we don't see any of them explain what exactly those tags are and what for, in this tutorial we will show you the tags you need to know and tell you what they are so that if you are not using Default theme you can modify and upgrade your theme easily...

Additional Tags for DLE 9.5 in user profile:

There are a few tags added in 9.5 but we don't seem to find the information anywhere, even the themes come with the DLE 9.5 package don't even add these tags in the themes so this information you can only find in DLEStarter.com!...
The following tags are applied to template files [b]userinfo.tpl[/b] and [b]comments.tpl[/b]
  1. [b][fullname][/b]xxx[b][/fullname][/b] is used for open and close tag if full name field [b]{fullname}[/b] was input, for example, in templates/Default/userinfo.tpl, find:

    Find:

    <li><span class="grey">Full name:</span> <b>{fullname}</b></li>
    

    Replace with:

    [fullname]<li><span class="grey">Full name:</span> <b>{fullname}</b></li>[/fullname]
    
    If the user input the information in Full name filed then it will show, if not then nothing will show, this tag is intended for remove empty fields in user profile and comments
  2. [b][icq][/b]xxx[b][/icq][/b] is used for open and close tag if icq field [b]{icq}[/b] was input, for example, in templates/Default/userinfo.tpl,

    Find:

    <li><span class="grey">ICQ:</span> <b>{icq}</b></li>
    

    Replace with:

    [icq]<li><span class="grey">ICQ:</span> <b>{icq}</b></li>[/icq]
    
    If the user input the information in icq filed then it will show, if not then nothing will show, this tag is intended for remove empty fields in user profile and comments
  3. [b][land][/b]xxx[b][/land][/b] is used for open and close tag if location field [b]{land}[/b] was input, for example, in templates/Default/userinfo.tpl,

    Find:

    <li><span class="grey">Location:</span> {land}</li>
    

    Replace with:

    [land]<li><span class="grey">Location:</span> {land}</li>[/land]
    
    If the user input the information in location filed then it will show, if not then nothing will show, this tag is intended for remove empty fields in user profile and comments
  4. [b][info][/b]xxx[b][/info][/b] is used for open and close tag if short information field [b]{info}[/b] was input, for example, in templates/Default/userinfo.tpl,

    Find:

    <li><span class="grey">Information:</span> {info}</li>
    

    Replace with:

    [info]<li><span class="grey">Information:</span> {info}</li>[/info]
    
    If the user input the information in short information filed then it will show, if not then nothing will show, this tag is intended for remove empty fields in user profile and comments
  5. [b][signature][/b]xxx[b][/signature][/b] is used for open and close tag if signature field [b]{signature}[/b] was filled,

    For example:

    [signature]<hr /> <b>{signature}</b>[/signature]
    
    If the user filled the information in signature filed then it will show, if not then nothing will show, this tag is intended for remove empty fields in user profile and comments
  6. [b][news-num][/b]xxx[b][/news-num][/b] is used for open and close tag if the user have posted article in your website,

    For example:

    [news-num]<li style="margin-top:10px;">Posts: <b>{news-num}</b>  <span class="button">{news}</span> 
    [rss]<img alt="" src="{THEME}/images/ico/ico_rss.png" border="0" style="vertical-align:middle; margin-bottom: 3px;" title="Feed - Bookmark Posts" />[/rss]</li>[/news-num]
    
    If the user had posted at least 1 article in your website then it will show, if not then nothing will show, this tag is intended for remove empty fields in user profile and comments
  7. [b][comm-num][/b]xxx[b][/comm-num][/b] is used for open and close tag if the user have posted comment in your website,

    For example:

    [comm-num]<li style="margin-top:10px;">Comments: <b>{comm-num}</b> <span class="button">{comments}</span></li>[/comm-num]
    
    If the user had posted at least 1 comment in your website then it will show, if not then nothing will show, this tag is intended for remove empty fields in user profile and comments

[b]Reference User Manual[/b]:
- http://dle-news.ru/extras/diffs/95/
comments powered by Disqus