Topic: Cant change messaging in profile

I was trying to create instead of messaging in profile "Character Info" so i change "jabber" to "race" ect and changed the database and when I click submit I just get nothing in the boxes and the database doesn't get it. it acts like its working but its not ??? Please help www.dlngle.com/forum/upload/index.php

Free games/arcade at dlngle.com

Re: Cant change messaging in profile

This is probably irrelevant but you should have all your files in forum/ instead of upload/. (eg. www.dlngle.com/forum/index.php)

I don't HAVE a signature, ok?

Re: Cant change messaging in profile

nah that didn't work I cant find any other script that would change nething :S? :$

Free games/arcade at dlngle.com

4 (edited by seva 2005-10-17 12:56)

Re: Cant change messaging in profile

Where you change jabber to race ?
You forgot change place, where fields information from profiles updated in bd

Hm... every pixel has it's own destiny

Re: Cant change messaging in profile

seva wrote:

Where you change jabber to race ?
You forgot change place, where fields information from profiles updated in bd

What you mean bd sorry im a newb hmm you mean db? could you show an example

Free games/arcade at dlngle.com

6

Re: Cant change messaging in profile

of cource database, sorry (base of data wink )
find in profile.php

        case 'messaging':
        {
            $form = extract_elements(array(blablabla));

Enter character infos, for example:

$form = extract_elements(array('race', 'herotype', 'etc.'));

And also find

$result = $db->query('SELECT u.username, u.email,u.about, u.title, u.realname, u.url, u.jabber, u.icq, ...

Add there u.race, u.herotype etc.

Hm... every pixel has it's own destiny

7

Re: Cant change messaging in profile

I mean, you can change attribute name in DB, and in code refer to null attribute 'jabber' f.e.

Hm... every pixel has it's own destiny

Re: Cant change messaging in profile

Yea i've already done that but i dont know about this part

                <fieldset>
                <legend><?php echo $lang_profile['Section messaging'] ?></legend>
                    <div class="infldset">
                        <dl>
                            <dt><?php echo $lang_profile['race'] ?>: </dt>
                            <dd><?php echo ($user['race'] !='') ? pun_htmlspecialchars($user['race']) : $lang_profile['Unknown']; ?></dd>
                            <dt><?php echo $lang_profile['class'] ?>: </dt>
                            <dd><?php echo ($user['class'] !='') ? $user['class'] : $lang_profile['Unknown']; ?></dd>
                            <dt><?php echo $lang_profile['align'] ?>: </dt>
                            <dd><?php echo ($user['align'] !='') ? pun_htmlspecialchars(($pun_config['o_censoring'] == '1') ? censor_words($user['align']) : $user['align']) : $lang_profile['Unknown']; ?></dd>
                            <dt><?php echo $lang_profile['sex'] ?>: </dt>
                            <dd><?php echo ($user['sex'] !='') ? pun_htmlspecialchars(($pun_config['o_censoring'] == '1') ? censor_words($user['sex']) : $user['sex']) : $lang_profile['Unknown']; ?></dd>
                            </dl>
                        <div class="clearer"></div>
                    </div>
                </fieldset>
Free games/arcade at dlngle.com

Re: Cant change messaging in profile

yea lol but its pissin me off that it just doesn't work tongue no reason why it shouldn't :S

Free games/arcade at dlngle.com

10

Re: Cant change messaging in profile

why <?php echo $lang_profile['Section messaging'] ?> ? ))
and for what censor sex ?) male of female ? or i don't understand smth ?))

Hm... every pixel has it's own destiny

Re: Cant change messaging in profile

All that was in there already i just deleted it and its to display other users profiles so its not that there must be a command somewhere that sends them all to the database :S?

Free games/arcade at dlngle.com

Re: Cant change messaging in profile

HAHAHAHA I GOT IT!!!
as simple as ....

!!!!!!!!!!!!!!!!!!!!!    break;   !!!!!!!!!!!!!!!!!!!!!!

underneath the extraction part in the profile.php file thanks for helping wink

Free games/arcade at dlngle.com

13

Re: Cant change messaging in profile

lol

Hm... every pixel has it's own destiny