Welcome on custom page
Posted: 01 Nov 2011, 14:40
I have just created a custom page and would like the welcome mod on it here is what i done so far
i took the the code for styles/prosilver/template/index_body.html (the install code)
and placed it on my custom page html file and it works to a point but i cant get it to pull the rest of the data that is needed any hints in the right direction would be cool i guess it would be easy to do if there was files that come with the welcome mod but it dont so thats that lol
here is how it looks right now
and here is how it should look
take a peek here http://phpbbcodes.dyndns.org/ its only where i play with mods
i took the the code for styles/prosilver/template/index_body.html (the install code)
Code: Select all
<!-- IF not S_IS_BOT -->
<div class="forabg">
<div class="inner"><span class="corners-top"><span></span></span>
<ul class="topiclist">
<li class="header">
<dl class="icon">
<dt>{L_WELCOME_TO_MOD} {SITENAME}</dt>
</dl>
</li>
</ul>
<ul class="topiclist forums">
<li>
<dl>
<dd style="padding:5px; text-align: center; border:none;">
<!-- IF USER_AVATAR -->{USER_AVATAR}<!-- ELSE --><img src="{T_THEME_PATH}/images/no_avatar.gif" alt="" /><!-- ENDIF -->
</dd>
<dd class="lastpost" style="padding:5px; width:40%;">
<p>{S_WELCOME}</p>
<span><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<br />{CURRENT_TIME}<!-- ELSE -->{CURRENT_TIME}<!-- ENDIF --><!-- IF S_USER_LOGGED_IN --><br /><br />{S_JOINED_DATE}<br />{MEMBER_FOR}<!-- ENDIF --></span>
</dd>
<dd class="lastpost" style="padding:5px; width:36%;"><span>{TOTAL_POSTS} • {TOTAL_TOPICS}<br />{TOTAL_USERS}<br />{NEWEST_USER}
<!-- IF S_DISPLAY_ONLINE_LIST --><br /><br />{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<!-- ENDIF --></span>
</dd>
</dl>
</li>
</ul>
<span class="corners-bottom"><span></span></span></div></div>
<!-- ENDIF -->
here is how it looks right now
and here is how it should look
take a peek here http://phpbbcodes.dyndns.org/ its only where i play with mods