Firefox PHP

User Avatar Module

Posted by CH 
Re: User Avatar Module
February 24, 2006 02:19AM
Please post the full error.


Thomas Seifert
Re: User Avatar Module
February 24, 2006 02:24AM
I was hoping someone more familiar with it could. Perhpas make it a configurable option.

Steel Rat
[infinite-realities.com]
mcm
Re: User Avatar Module
March 07, 2006 07:57AM
Are the avatars selected from the users control panel?


mcm
[thaiexpat.org]
Re: User Avatar Module
March 07, 2006 09:33AM
No when you post.

Sergej

------------------------------------------
^AU^ Assassins United
[www.assassinsunited.com]
------------------------------------------
Re: User Avatar Module
March 14, 2006 02:15PM
Quote
Sergej
No when you post.

sorry but for this mod it is set in the users control panel. the one you are talking about sergej is here [www.phorum.org]
Re: User Avatar Module
April 03, 2006 03:50PM
I get this error messages:

Warning: in_array(): Wrong datatype for second argument in
/*/mod_user_avatar.php on line 34

Warning: implode(): Bad arguments. in /*/mod_user_avatar.php on line 50

What is wrong?
Re: User Avatar Module
May 30, 2006 03:50PM
I get following error:

Parse error: parse error, unexpected '}' in /var/www/members/cache/tpl-default-cc_index-toplevel_stage2-f033bf462d3f5c88630480e25a975999.php on line 18

Is there anyone who can help me?

I'm using Phorum 5.1.12
Re: User Avatar Module
May 30, 2006 04:44PM
You have edited your cc_index.tpl and did that wrong. Somewhere you have introduced an error in the template code.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: User Avatar Module
May 30, 2006 05:58PM
That's strange 'cause I haven't touched the cc_index.tpl

This how my cc_index.tpl looks like (like a virgin):
<div class="PhorumNavBlock" style="text-align: left;">
  <span class="PhorumNavHeading PhorumHeadingLeft">{LANG->Goto}:</span> 
{IF URL->INDEX}<a class="PhorumNavLink" href="{URL->INDEX}">{LANG->ForumList}</a>" 
{/IF}{IF URL->TOP}<a class="PhorumNavLink" href="{URL->TOP}">{LANG->MessageList}</a>" 
{/IF}{IF URL->POST}<a class="PhorumNavLink" href="{URL->POST}">{LANG->NewTopic}</a>" 
{/IF}<a class="PhorumNavLink" href="{URL->SEARCH}">{LANG->Search}</a>" {IF LOGGEDIN 
true}{IF ENABLE_PM}<a class="PhorumNavLink" href="{URL->PM}">{LANG->PrivateMessages}</a>"
{/IF}{/IF}<a class="PhorumNavLink" href="{URL->LOGINOUT}">{LANG->LogOut}</a>
</div>
<table id="phorum-menu-table" cellspacing="0" border="0">
  <tr>
    <td id="phorum-menu" nowrap="nowrap">{INCLUDE cc_menu}</td>
    <td id="phorum-content">
      {IF content_template}
        {INCLUDE_VAR content_template}
      {ELSE}
        <div class="PhorumFloatingText">{MESSAGE}</div>
      {/IF}
    </td>
  </tr>
</table>



Edited 1 time(s). Last edit at 05/30/2006 06:00PM by Baja.
Re: User Avatar Module
May 31, 2006 10:22AM
Take a look at /var/www/members/cache/tpl-default-cc_index-toplevel_stage2-f033bf462d3f5c88630480e25a975999.php
That's the file that has a problem on line 18. Looking there might give better information on where to look in the template source for a fix. This defenitely is a syntax error in the templates that is causing the PHP error in the compiled template.

A problem might be this bit:
{IF LOGGEDIN 
true}

If that code really is spread over two lines, then put the parts back together on one line. This way it's not recognized as a template statement and the accompanying {/IF} will cause an unmatched closing bracket "}" (just what the error message says).


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Sorry, only registered users may post in this forum.

Click here to login