Character Names and Alts

Started by necranom, March 12, 2006, 05:49:02 PM

Previous topic - Next topic

willow1201

I have this running on 1.1.6 runs fine.

Now i want to know where in the db i can find these names, anyone know where to look ?

MissMaria

Quote from: theintensity on April 29, 2006, 01:51:35 PM
To avoid Undefined index errors filling up your forum error log, you might want to change

// WOW Names
if ($message['member']['options']['main_name'] != '')
echo '
', $txt['main_name'],' : ', $message['member']['options']['main_name'], '<br />';

if ($message['member']['options']['alt1_name'] != '')
echo '
', $txt['alt1_name'],' : ', $message['member']['options']['alt1_name'], '<br />';

if ($message['member']['options']['alt2_name'] != '')
echo '
', $txt['alt2_name'],' : ', $message['member']['options']['alt2_name'], '<br />';
if ($message['member']['options']['alt3_name'] != '')
echo '
', $txt['alt3_name'],' : ', $message['member']['options']['alt3_name'], '<br />';
if ($message['member']['options']['alt4_name'] != '')
echo '
', $txt['alt4_name'],' : ', $message['member']['options']['alt4_name'], '<br />';


Change it to

// WOW Names
if (!empty($message['member']['options']['main_name']))
echo '
', $txt['main_name'],' : ', $message['member']['options']['main_name'], '<br />';

if (!empty($message['member']['options']['alt1_name']))
echo '
', $txt['alt1_name'],' : ', $message['member']['options']['alt1_name'], '<br />';

if (!empty($message['member']['options']['alt2_name']))
echo '
', $txt['alt2_name'],' : ', $message['member']['options']['alt2_name'], '<br />';
if (!empty($message['member']['options']['alt3_name']))
echo '
', $txt['alt3_name'],' : ', $message['member']['options']['alt3_name'], '<br />';
if (!empty($message['member']['options']['alt4_name']))
echo '
', $txt['alt4_name'],' : ', $message['member']['options']['alt4_name'], '<br />';


Do I need to change this through the file system, or is there  way of doing it through SMF? The WOW file is a .zip, so I'm not sure how I'd change it thru the file system.  I'm using 1.1.7

techbot

for a WoW based mod, i was disappointed that it didn't work on my WoW theme on my site :(  i'm using wow_dk116v1. when i go to the default theme, its there but when i change themes i lose the fields
Any help is appreciated. Scornful comments will be met with a blank stare

maven

Great mod but a bit bad in layout: profile edit and view.

I Edited it a bit with some <hr>'s and subtitle to fit in better
Modded version is attached and I take no credit.
Grabb if you want.

Only tested for 1.1.11
But only html was altered so it should work for all previews supported versions.

maven

This one is with only mainchar in forum display.
But all chars filled in, in forum profile.

Advertisement: