Advertisement:

Author Topic: Age And Location  (Read 5316 times)

Offline SSimple Team

  • Jr. Member
  • **
  • Posts: 391
  • SMFSimple.com
    • SMFSimple.Com
Age And Location
« on: November 19, 2011, 12:57:07 PM »
Link to Mod


Age And Location
Developed by 4kstore for SMFSimple.com
SMF 2.0



El soporte oficial de los desarrolladores de nuestros mods lo encontraras en SMFSimple.com



Description:
Add information of location and age on the profile in posts

Descripcion:
Agregar informacion de ubicacion y edad en el perfil de cada usuario en los posts


Language Support | Lenguajes Soportados
- English
- Spanish_latin



Age And Location

Copyright 2011 | SMFSimple.com





Mi Web: SMFSimple.com -

lean

  • Guest
Re: Age And Location
« Reply #1 on: November 19, 2011, 05:21:52 PM »
Great work 4k!

Offline 4Kstore

  • SMF Hero
  • ******
  • Posts: 4,252
  • Gender: Male
    • agustintari on Facebook
    • @agustintarifa on Twitter
    • SSIMPLE TEAM PAGE
Re: Age And Location
« Reply #2 on: November 20, 2011, 03:21:27 PM »
¡¡NEW MOD: POSTING TEMPLATES!!!

Offline Hey Arnold!

  • Semi-Newbie
  • *
  • Posts: 93
  • Gender: Male
  • Hacer
    • W3schools
Re: Age And Location
« Reply #3 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 :)

Offline rickmastfan67

  • Jr. Member
  • **
  • Posts: 100
  • Gender: Male
    • @rickmastfan67 on Twitter
Re: Age And Location
« Reply #4 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.

Code: [Select]
<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. ;)

Offline bman7

  • Newbie
  • *
  • Posts: 6
Re: Age And Location
« Reply #5 on: July 02, 2012, 03:17:49 PM »
How come it tries to install the Prefix mod instead?

lean

  • Guest
Re: Age And Location
« Reply #6 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.

Offline liuxyon

  • Newbie
  • *
  • Posts: 9
Re: Age And Location
« Reply #7 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   

Offline legitimousuario

  • Newbie
  • *
  • Posts: 1
Re: Age And Location
« Reply #8 on: December 25, 2012, 03:18:01 PM »
How come it tries to install the Prefix mod instead?


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