Advertisement:

show gender and location

Aloittaja jankariwo, maaliskuu 01, 2008, 03:04:52 IP

« edellinen - seuraava »

jankariwo

I want gender and location to show in post but can't figure out where to switch this on. I am using Babylon theme which hasn't been quite helpful so far

codenaught

For gender:

Admin / Current Theme / Show gender images in message view

This mod will add age and location - http://custom.simplemachines.org/mods/index.php?mod=638. If you do not want the age shown there you could apply the code change manually that is shown on the mod page without including the part of code for age.
Dev Consultant
Former SMF Doc Coordinator

humbleworld

The MOD, however, is Compatible With:
1.1.1, 1.1.2, 1.1.3

Seems the MOD hasn't been updated lately.

codenaught

Lainaus käyttäjältä: humbleworld - maaliskuu 01, 2008, 11:40:14 IP
The MOD, however, is Compatible With:
1.1.1, 1.1.2, 1.1.3

Seems the MOD hasn't been updated lately.
It actually is quite unlikely however that the mod doesn't work for 1.1.4. It most likely does.

The most the user may possibly have to do probably would be adding ;version_emulate=1.1.3 to the end of the URL when they go to the package manager and then submitting the changed URL.
Dev Consultant
Former SMF Doc Coordinator

jankariwo

I didn't need the mod afterall; just add this code


echo '
', $txt[231], ': ', $message['member']['gender']['image'], '<br />';

// ===== Begin modification - Display Age and Location next to posts =====
// Show the member's age
if (isset($message['member']['age']))
echo '
', $txt[420], ': ', $message['member']['age'], '<br />';

// Show the member's location
if ($message['member']['location'] != '')
echo '
', $txt[227], ': ', $message['member']['location'], '<br />';
// ===== End modification =====

Advertisement: