CarDomain Profile Field

Started by Mick., February 08, 2010, 12:11:58 AM

Previous topic - Next topic

Mick.

Link to Mod

For you automotive enthusiasts, this mod will add CarDomain,com field in the profile area where users can input their CarDomain's profile name.

***** In your profile when editing, simply type your user name.  Not the ID#.

-An icon will be created in the post profile, profile, members list, who's online.
-The CarDomain icon, once clicked, it will direct user to CarDomain.com user public profile.





*1.0 Initial Release

Matthew K.


Mick.


Matthew K.


butchs

I have been truly inspired by the SUGGESTIONS as I sit on my throne and contemplate the wisdom imposed upon me.

Mick.

#5
Updated for RC3 ;)

Changes made in:
/Sources/Load.php

Eclipse16V

Hi,
nice Mod. Thanks

How can i make it so that when a user dosent put a ID in this field the line not be displayed on the profil?

Sorry for the bad english

Thanks
I worked with:
SMF 2 in German

Shop:
SID Giessen

rngrdanny22

Do you mean like when someone puts the wrong thing in the field? I've had this happen a couple times on my site even after I told them EXACTLY what to do... it's frustrating... I'm actually going in and correcting any that are done wrong... thankfully I've only had about 10 actually use the feature so far... about 6 of them did it wrong... LOL

Mick.

Ideas are very welcome, ....if you have a different way, please let me know and i can do the changes.   Change is good ;)

rngrdanny22

would there be a way for the field to disallow certain characters such as:

/
:
.

I think if it disallowed these characters, they would realize their not supposed to enter a link, but just their user ID.

Eclipse16V

I meant if the field am empty. Thus if a user does not make with this field data is it is not also indicated.
I worked with:
SMF 2 in German

Shop:
SID Giessen

Eclipse16V

I worked with:
SMF 2 in German

Shop:
SID Giessen

Mick.

Quote from: Eclipse16V on July 22, 2010, 02:54:09 AM
^
Please Help


Ooops, ive been distracted lately.   I'll look at this today ;)

Mick.

Quote from: rngrdanny22 on June 29, 2010, 10:42:13 PM
would there be a way for the field to disallow certain characters such as:

/
:
.

I think if it disallowed these characters, they would realize their not supposed to enter a link, but just their user ID.


You could rewrite the description so its straight forward.

Open:
/Themes/default/languages/Profile.english.php

Find:
$txt['your_cardomain_profile'] = 'Your CarDomain account username (ex: http://www.cardomain.com/id/___$USERNAME___)';

Replace with:
$txt['your_cardomain_profile'] = 'Type your CarDomain account [b]username[/b]';

Mick.

Quote from: Eclipse16V on June 30, 2010, 09:51:13 AM
I meant if the field am empty. Thus if a user does not make with this field data is it is not also indicated.

If its not populated when modifying the profile, nothing shows at all.   Just like:
ICQ
AIM
MSN
YIM

Maserati


Advertisement: