xoops forums

TriKster

Just popping in
Posted on: 2005/11/29 18:34
TriKster
TriKster (Show more)
Just popping in
Posts: 13
Since: 2004/3/7 2
#1

Cannot modify system_block_newuser.html - Fixed

EDIT: Fixed both online and newusers by reinstalling the system module. Thanks anyhow

John


Hello again,

I have run into another roadblock.

XOOPS Version: 2.2.3a-Final
Module Name/Version: unkown
PHP Version: PHP 4.4.0
MySQL Version: Latest or unknown
Web Server Software (Apache/IIS/Other): Apache
Operating System: OpenBSD
Theme you are using: 240blackxps from: http://www.goxoops.com/

Custom template: (No)
MySQL Debug Messages: None
Smarty Debug Messages: None

A full description of the issue: Unable to turn off date stamp in new users block.

Template edit lets me delete the following information but does not save:

<table cellspacing="1" class="outer">
  <{foreach 
item=user from=$block.users}>
    <
tr class="<{cycle values="even,odd"}>" valign="middle">
      <
td align="center">
      <{if 
$user.avatar != ""}>
      <
img src="<{$user.avatar}>" alt="" width="32" /><br />
      <{/if}>
      <
a href="<{$xoops_url}>/userinfo.php?uid=<{$user.id}>"><{$user.name}></a>
      </
td>
      <
td align="center"><{$user.joindate}></td>
    </
tr>
  <{/foreach}>
</
table>


The
<td align="center"><{$user.joindate}></td>
is only seen in the template configuration, but using vim to manually edit this file it shows as this:

<table cellspacing="1" class="outer">
  <{foreach 
item=user from=$block.users}>
    <
tr class="<{cycle values="even,odd"}>" valign="middle">
      <
td align="center">
      <{if 
$user.avatar != ""}>
      <
img src="<{$user.avatar}>" alt="" width="32" /><br />
      <{/if}>
      <
a href="<{$xoops_url}>/userinfo.php?uid=<{$user.id}>"><{$user.name}></a>
      </
td>
    </
tr>
  <{/foreach}>
</
table>


I have deleted this block and retried to make the date disappear. Is there another system_block_newuser.html file somewhere? The one in: /modules/system/templates/blocks is the only instance of this I can find. So I am quite puzzled as to what file XOOPS is working with and what file I am working with. Any help would be appreciated.

Thank you

John