Topic: Array after Forum Description

I'm "kinda" new to php, so I need some help here.

I have this problem where I get the text "Array" after my Forum description that I don't want to have there.
When I go to the AdminCP and edit the forum from there it doesn't show on the description, it just show on the index page

http://phaxe.com/forum.JPG

I'm not sure what files to look on here, but I have looked on index.php, include/functions and include/common.php but can't find out where I need to edit.

Someone that can help me please?

Thank you,
PhaxeNor

Re: Array after Forum Description

Sounds like you edited index.php and messed with the moderator display wink
I'd suggest uploading a clean copy of index.php

Re: Array after Forum Description

Thats prolly the best idea; there may be an exploit where you can use some code in the description, if it allows it, and stop it from echoing anything after what you type.

Re: Array after Forum Description

towelie wrote:

Thats prolly the best idea; there may be an exploit where you can use some code in the description, if it allows it, and stop it from echoing anything after what you type.

Err, exploit isn't the right word, and using HTML to hide it isn't the right solution tongue

5 (edited by towelie 2007-05-23 00:41)

Re: Array after Forum Description

LoL, yea, I got caught up in this thing I was reading earlier.
Smartyrs go read my thread with the whole LIMIT thing.

Re: Array after Forum Description

Manage to find it our with some help smile

I removed the code so that the mods won't show, and I over looked this:

    if ($cur_forum['moderators'] != '')
    {
        $mods_array = unserialize($cur_forum['moderators']);
        $moderators = array();

        while (list($mod_username, $mod_id) = @each($mods_array))
            $moderators[] = '<a href="profile.php?id='.$mod_id.'">'.pun_htmlspecialchars($mod_username).'</a>';

        
    }

So that fixed the Array problem smile
Thank you so much anyway.

PhaxeNor