Page 2 of 5
Re: Statistics - Users and topics per day
Posted: 23 Mar 2010, 14:25
by Stoker
Use your backup of index_body.html or just undo the changes. The error is in that file.
Re: Statistics - Users and topics per day
Posted: 23 Mar 2010, 14:42
by Oliver
public_html/cache/tpl_skyblue_index_body.html.php on line 79
I've made all the changes back to the other except as provided below.
What is the original code for that?
Open: styles/subsilver2/template/index_body.html
Find:
Code: Select all
<p class="genmed">{TOTAL_POSTS} | {TOTAL_TOPICS} | {TOTAL_USERS} | {NEWEST_USER}</p>
Here, this is a .. What do I put these characters between <p> </ p> I would guess that that is the problem?
Code: Select all
<p><?php echo (isset($this->_rootref['TOTAL_POSTS'])) ? $this->_rootref['TOTAL_POSTS'] : ''; ?> • <?php echo (isset($this->_rootref['POSTS_PER_YEAR'])) ? $this->_rootref['POSTS_PER_YEAR'] : ''; ?> • <?php echo (isset($this->_rootref['POSTS_PER_DAY'])) ? $this->_rootref['POSTS_PER_DAY'] : ''; ?> • <?php echo (isset($this->_rootref['POSTS_PER_TOPIC'])) ? $this->_rootref['POSTS_PER_TOPIC'] : ''; ?> • <?php echo (isset($this->_rootref['POSTS_PER_USER'])) ? $this->_rootref['POSTS_PER_USER'] : ''; ?><br />
<?php echo (isset($this->_rootref['TOTAL_TOPICS'])) ? $this->_rootref['TOTAL_TOPICS'] : ''; ?> • <?php echo (isset($this->_rootref['TOPICS_PER_YEAR'])) ? $this->_rootref['TOPICS_PER_YEAR'] : ''; ?> • <?php echo (isset($this->_rootref['TOPICS_PER_DAY'])) ? $this->_rootref['TOPICS_PER_DAY'] : ''; ?> • <?php echo (isset($this->_rootref['TOPICS_PER_USER'])) ? $this->_rootref['TOPICS_PER_USER'] : ''; ?><br />
<?php echo (isset($this->_rootref['TOTAL_FILES'])) ? $this->_rootref['TOTAL_FILES'] : ''; ?> • <?php echo (isset($this->_rootref['FILES_PER_YEAR'])) ? $this->_rootref['FILES_PER_YEAR'] : ''; ?> • <?php echo (isset($this->_rootref['FILES_PER_DAY'])) ? $this->_rootref['FILES_PER_DAY'] : ''; ?> • <?php echo (isset($this->_rootref['FILES_PER_USER'])) ? $this->_rootref['FILES_PER_USER'] : ''; ?><br />
<?php echo (isset($this->_rootref['TOTAL_USERS'])) ? $this->_rootref['TOTAL_USERS'] : ''; ?> • <?php echo (isset($this->_rootref['USERS_PER_YEAR'])) ? $this->_rootref['USERS_PER_YEAR'] : ''; ?> • <?php echo (isset($this->_rootref['USERS_PER_DAY'])) ? $this->_rootref['USERS_PER_DAY'] : ''; ?> • <?php echo (isset($this->_rootref['NEWEST_USER'])) ? $this->_rootref['NEWEST_USER'] : ''; ?><br />
<?php echo ((isset($this->_rootref['L_START_DATE'])) ? $this->_rootref['L_START_DATE'] : ((isset($user->lang['START_DATE'])) ? $user->lang['START_DATE'] : '{ START_DATE }')); ?> <strong><?php echo (isset($this->_rootref['START_DATE'])) ? $this->_rootref['START_DATE'] : ''; ?></strong></p>
Thanks.
Re: Statistics - Users and topics per day
Posted: 23 Mar 2010, 14:46
by Stoker
This: <p class="genmed">{TOTAL_POSTS} | {TOTAL_TOPICS} | {TOTAL_USERS} | {NEWEST_USER}</p> is exactly what you put there. Exactly as it says...
and where the hell did you get that other code?!?
Re: Statistics - Users and topics per day
Posted: 23 Mar 2010, 14:54
by Oliver
Im here now. /cache/tpl_skyblue_index_body.html.php?
<h3><?php echo ((isset($this->_rootref['L_STATISTICS'])) ? $this->_rootref['L_STATISTICS'] : ((isset($user->lang['STATISTICS'])) ? $user->lang['STATISTICS'] : '{ STATISTICS }')); ?></h3>
<p>What do I put this intervention?</p>
<?php } } $this->_tpl_include('overall_footer.html'); ?>
Re: Statistics - Users and topics per day
Posted: 23 Mar 2010, 14:58
by Stoker
Dont edit that file.
I have NEVER told you to edit that file, nor the instructions!
We are talking about index_body.html, you will find it in your templates folder.
Re: Statistics - Users and topics per day
Posted: 23 Mar 2010, 15:39
by Oliver
This is the real index.body_html I made the changes directly to the forum style index.body.htm file. there will not be. This is where the real accessible.
Code: Select all
<!-- INCLUDE overall_header.html -->
<p class="{S_CONTENT_FLOW_END}<!-- IF S_USER_LOGGED_IN --> rightside<!-- ENDIF -->"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ELSE -->{CURRENT_TIME}<!-- ENDIF --></p>
<!-- IF U_MCP --><p>{CURRENT_TIME} <br />[ <a href="{U_MCP}">{L_MCP}</a> ]</p><!-- ELSEIF S_USER_LOGGED_IN --><p>{CURRENT_TIME}</p><!-- ENDIF -->
<div class="topic-actions" <!-- IF S_HAS_SUBFORUM -->style="margin-top: 2em;"<!-- ENDIF -->>
<div class="pagination">
<!-- IF S_DISPLAY_SEARCH -->
<a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a><!-- IF S_USER_LOGGED_IN --> • <a href="{U_SEARCH_UNREAD}">{L_SEARCH_UNREAD}</a> • <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><!-- ENDIF --> • <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a>
<!-- ENDIF -->
<!-- IF not S_IS_BOT and U_MARK_FORUMS -->
• <a href="{U_MARK_FORUMS}" accesskey="m">{L_MARK_FORUMS_READ}</a><!-- ENDIF -->
</div>
<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
<div class="search-box">
<form action="{U_SEARCH}" method="post" id="search">
<fieldset>
<input name="keywords" id="keywords" type="text" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="inputbox search tiny" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" onclick="if(this.value=='{LA_SEARCH_MINI}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_MINI}';" />
<input class="button2" value="{L_SEARCH}" type="submit" /><br />
</fieldset>
</form>
</div>
<!-- ENDIF -->
</div>
<!-- IF S_MCHAT_ENABLE and S_MCHAT_ON_INDEX and S_MCHAT_LOCATION --><!-- INCLUDE mchat_body.html --><!-- ENDIF -->
<!-- INCLUDE forumlist_body.html -->
<!-- IF S_MCHAT_ENABLE and S_MCHAT_ON_INDEX and not S_MCHAT_LOCATION --><!-- INCLUDE mchat_body.html --><!-- ENDIF -->
<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
<form method="post" action="{S_LOGIN_ACTION}" class="headerspace">
<h3><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- IF S_REGISTER_ENABLED --> • <a href="{U_REGISTER}">{L_REGISTER}</a><!-- ENDIF --></h3>
<fieldset class="quick-login">
<label for="username">{L_USERNAME}:</label> <input type="text" name="username" id="username" size="10" class="inputbox" title="{L_USERNAME}" />
<label for="password">{L_PASSWORD}:</label> <input type="password" name="password" id="password" size="10" class="inputbox" title="{L_PASSWORD}" />
<!-- IF S_AUTOLOGIN_ENABLED -->
| <label for="autologin">{L_LOG_ME_IN} <input type="checkbox" name="autologin" id="autologin" /></label>
<!-- ENDIF -->
<input type="submit" name="login" value="{L_LOGIN}" class="button2" />
</fieldset>
</form>
<!-- ENDIF -->
<!-- IF S_DISPLAY_ONLINE_LIST -->
<!-- IF U_VIEWONLINE --><h3><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h3><!-- ELSE --><h3>{L_WHO_IS_ONLINE}</h3><!-- ENDIF -->
<p>{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /><!-- IF TOTAL_GUESTS_ONLINE -->{GUESTS_PAST_24}<br /><!-- ENDIF --> <br />{LOGGED_IN_USER_LIST}
<!-- IF not S_IS_BOT --><br /><br />
{USERS_24HOUR_TOTAL}: <!-- BEGIN lastvisit -->{lastvisit.USERNAME_FULL}<!-- IF not lastvisit.S_LAST_ROW -->, <!-- ENDIF --><!-- END lastvisit -->
<!-- ENDIF -->
<!-- IF LEGEND --><br /><em>{L_LEGEND}: {LEGEND}</em><!-- ENDIF --></p>
<!-- ENDIF -->
<!-- IF S_DISPLAY_BIRTHDAY_LIST and BIRTHDAY_LIST -->
<h3>{L_BIRTHDAYS}</h3>
<p><!-- IF BIRTHDAY_LIST -->{L_CONGRATULATIONS}: <strong>{BIRTHDAY_LIST}</strong><!-- ELSE -->{L_NO_BIRTHDAYS}<!-- ENDIF --></p>
<!-- ENDIF -->
<!-- IF NEWEST_USER -->
<h3>{L_STATISTICS}</h3>
<p>{TOTAL_POSTS} • {TOTAL_TOPICS} • {TOTAL_USERS} • {NEWEST_USER}</p>
<!-- IF not S_IS_BOT -->
<h3 id="24hour_stats">{L_24HOUR_STATS}</h3>
<p>{24HOUR_POSTS} • {24HOUR_TOPICS} • {24HOUR_USERS}</p>
<!-- ENDIF -->
<!-- ENDIF -->
<!-- INCLUDE overall_footer.html -->
I need that code.
My code is like sh*t.see below..
Code: Select all
<p>{TOTAL_POSTS} • {TOTAL_TOPICS} • {TOTAL_USERS} • {NEWEST_USER}</p>
I think that proplem is that.
public_html/cache/tpl_skyblue_index_body.html.php?action=edit
Code: Select all
<p><?php echo (isset($this->_rootref['TOTAL_POSTS'])) ? $this->_rootref['TOTAL_POSTS'] : ''; ?></p>
Re: Statistics - Users and topics per day
Posted: 23 Mar 2010, 15:47
by Stoker
Then upload your real index.body_html and refresh the template.
Re: Statistics - Users and topics per day
Posted: 23 Mar 2010, 16:06
by Oliver
Index.body.html code is right...
Proplem is that...
I need that code.
My code is like sh*t.see below..
Code: Select all
<p>{TOTAL_POSTS} • {TOTAL_TOPICS} • {TOTAL_USERS} • {NEWEST_USER}</p>
I think that proplem is that.
public_html/cache/tpl_skyblue_index_body.html.php?action=edit
Code: Select all
<p><?php echo (isset($this->_rootref['TOTAL_POSTS'])) ? $this->_rootref['TOTAL_POSTS'] : ''; ?></p>
Re: Statistics - Users and topics per day
Posted: 23 Mar 2010, 16:09
by Stoker
Did you ever clear the cache manually in FTP?
That means delete all files in the cache folder except index.html and .htaccess
Re: Statistics - Users and topics per day
Posted: 23 Mar 2010, 16:24
by Oliver
Pulic_html---->Cache---->look like that...
http://img148.imageshack.us/img148/8947/nimetng.jpg
and
http://img407.imageshack.us/img407/3373/nimetn2o.jpg
error name is
public_html/cache/tpl_skyblue_index_body.html.php on line 75