1
TriKster
Cannot modify system_block_newuser.html - Fixed
  • 2005/11/29 18:34

  • TriKster

  • Just popping in

  • Posts: 13

  • Since: 2004/3/7 2


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

Login

Who's Online

169 user(s) are online (114 user(s) are browsing Support Forums)


Members: 0


Guests: 169


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits