Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: vbgamer45 on November 19, 2011, 12:57:07 PM

Title: Age And Location
Post by: vbgamer45 on November 19, 2011, 12:57:07 PM
Link to the mod (https://custom.simplemachines.org/index.php?mod=3241)

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fbit.ly%2FkZVDB6&hash=7836fdef4323714489209ed06cd4e4f88c199aea)

[glow=black,2,300]Age And Location[/glow]
Developed by 4kstore (http://www.smfsimple.com/index.php?action=profile;u=55) for SMFSimple.com (http://www.smfsimple.com/)
SMF 2.0



[glow=black,2,300]El soporte oficial de los desarrolladores de nuestros mods lo encontraras en SMFSimple.com[/glow]



[glow=black,2,300]Description:[/glow]
Add information of location and age on the profile in posts

[glow=black,2,300]Descripcion:[/glow]
Agregar informacion de ubicacion y edad en el perfil de cada usuario en los posts


Language Support | Lenguajes Soportados
- English
- Spanish_latin



[glow=black,2,300]Age And Location[/glow]

[glow=black,2,300]Copyright 2011 | SMFSimple.com (http://www.smfsimple.com/)[/glow]

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.creativecommons.org%2Fl%2Fby-nc-sa%2F3.0%2F88x31.png&hash=be27368905a4a8052533722bf679594f2501899d) (http://creativecommons.org/licenses/by-nc-sa/3.0/)
Title: Re: Age And Location
Post by: lean on November 19, 2011, 05:21:52 PM
Great work 4k!
Title: Re: Age And Location
Post by: 4Kstore on November 20, 2011, 03:21:27 PM
Quote from: Lean on November 19, 2011, 05:21:52 PM
Great work 4k!

Thanks lean! ;)
Title: Re: Age And Location
Post by: Eskuineko on December 24, 2011, 10:30:12 AM
Yo instalé este mod pero solo sale traducido la edad, se les olvidó traducir location

Aparece así:

Edad:
location:

Pueden corregirlo :)
Title: Re: Age And Location
Post by: rickmastfan67 on May 27, 2012, 02:41:28 AM
4Kstore, just thought I would pass this code to ya if you want to add in support for the built in "Core" theme.  So, here's the code to get this working correctly in the "Core" theme.  Otherwise, it doesn't pass when trying to install it on that theme since the coding for that area is different from the "default/Curve" theme.


<file name="$themes_dir/core/Display.template.php" error="skip">
       <operation>
<search position="before"><![CDATA[ <li>', $txt['member_postcount'], ': ', $message['member']['posts'], '</li>';
]]></search>
<add><![CDATA[
if(!empty($message['member']['age_text']))
echo '
<li>', $txt['user_age'], ': ', $message['member']['age_text'], '</li>';

if(!empty($message['member']['location']))
echo '
<li>', $txt['location'], ': ', $message['member']['location'], '</li>';
]]></add>
</operation>
</file>



Just thought I would help out anybody using this mod that is still using the "Core" theme for their forum. ;)
Title: Re: Age And Location
Post by: bman7 on July 02, 2012, 03:17:49 PM
How come it tries to install the Prefix mod instead?
Title: Re: Age And Location
Post by: lean on September 29, 2012, 10:34:07 AM
Sorry, SSimple Team not supported in English language at the moment.
In SMFSimple.com We are looking for partners with this language to provide better support to all.
Thanks for understanding.
Title: Re: Age And Location
Post by: liuxyon on October 04, 2012, 04:50:59 PM
it can't work for http://custom.simplemachines.org/themes/index.php?lemma=2576 and SMF2.0.2

I try install it , but it not show any in post   
Title: Re: Age And Location
Post by: legitimousuario on December 25, 2012, 03:18:01 PM
Quote from: bman7 on July 02, 2012, 03:17:49 PM
How come it tries to install the Prefix mod instead?


I used this code un the "aqua" style. Works great.
Thanks!