Advertisement:

Author Topic: Custom Profile Field Mod  (Read 950231 times)

Offline drhamad

  • Sophist Member
  • *****
  • Posts: 1,358
  • Gender: Male
    • FMVperformance Automotive Communities
Re: Custom Profile Field Mod
« Reply #880 on: February 07, 2007, 04:05:12 PM »
I don't see that error on your forum?  I just posted fine.
FMVperformance:  3.51m posts, 63k members, 11 boards, 1 database

Mazda3Forums - SmallVolvos - MazdaSpeeders Mazda Club - FordFusionClubMazda CX-7 Club - MyMazda6
Now introducing: MKSdrivers.com - FocusDrivers - TaurusDrivers

Offline Tick

  • Full Member
  • ***
  • Posts: 466
  • Tiny Portal Support Team
    • Tiny Portal Hosting
Re: Custom Profile Field Mod
« Reply #881 on: February 07, 2007, 04:37:48 PM »
well  when I try to read it it says the above error

Offline DTDestroyer

  • Semi-Newbie
  • *
  • Posts: 30
  • Gender: Male
    • The Garage Poker Crew
Re: Custom Profile Field Mod
« Reply #882 on: February 07, 2007, 06:01:28 PM »
Great mod, realy fills in the blanks! I just have a few simple newbie questions;

1.   What BBC code would I place in Text to display before field to have the entered e-mail address displayed as an a href="mailto: link

2.   Where would I enter the code to reduce the size of the font in the profile? Found It

3.   Is it possible to break up the fields to show in different areas of the profile and not all grouped together?

Thanks for your help!
 
« Last Edit: February 08, 2007, 12:39:06 AM by DTDestroyer »

Offline Sarke

  • Jr. Member
  • **
  • Posts: 315
Re: Custom Profile Field Mod
« Reply #883 on: February 07, 2007, 08:31:45 PM »
Hi, great mod, thanks.

Just one bug to report.  When a field is moved and is a selection box, it leaves the date behind, making a duplicate entry every time it's moved to a new one.  E.g. CP2_data1, CP2_data2, CP2_data3, etc are left behind if CP2 is moved.

depends on the version but that is either a known bug or something that was fixed - have a look on the mod page to see what's been fixed 

I'm using the latest version.
My MODs          Please don't PM me for support, post in the appropriate topic.

Offline perplexed

  • SMF Hero
  • ******
  • Posts: 2,603
  • It's quite perplexing isn't it
Re: Custom Profile Field Mod
« Reply #884 on: February 08, 2007, 07:18:34 AM »
Great mod, realy fills in the blanks! I just have a few simple newbie questions;

1.   What BBC code would I place in Text to display before field to have the entered e-mail address displayed as an a href="mailto: link

2.   Where would I enter the code to reduce the size of the font in the profile? Found It

3.   Is it possible to break up the fields to show in different areas of the profile and not all grouped together?

Thanks for your help!
 

I think the answer to #1 is somewhere in these 59 pages, I'm pretty sure someone asked before

Offline kaype

  • Newbie
  • *
  • Posts: 5
Re: Custom Profile Field Mod
« Reply #885 on: February 08, 2007, 06:23:13 PM »
Hey guys I am not sure if this is answered before, but what I am looking for is a condition during registration. That is, if the user enters user@abc.com they they are shown a set of reg details/fields, but if they enter any other domain than abc.com then the are shown a different reg details/fields. There is also a catch here, there are few mandatory fields which change depending on the email, so that also needs to be taken care.

Thanks in advance

Offline skoozee

  • Semi-Newbie
  • *
  • Posts: 29
Re: Custom Profile Field Mod
« Reply #886 on: February 08, 2007, 06:38:16 PM »
hi everyone :)


i just installed this and guess i shouldnt have really, as now i have an error i cant fix.

if the mods installed i get this error when i click on features and options in the admin panel:
Fatal error: Cannot redeclare modifyprofilesettings() (previously declared in /home/backy4/public_html/forum/Sources/ModSettings.php:314) in /home/backy4/public_html/forum/Sources/ModSettings.php on line 319

if i uninstall the mod i get this error on all of the posts on the forum:
Fatal error: template_main() [function.require]: Failed opening required '/home/backy4/public_html/forum/Sources/CustomProfile.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/backy4/public_html/forum/Sources/Load.php(1724) : eval()'d code on line 318

so i cant win eitherway lol


SMF 1.1.1 fresh install no other mods or themes

anyone any ideas on fixing this please ?

Offline DTDestroyer

  • Semi-Newbie
  • *
  • Posts: 30
  • Gender: Male
    • The Garage Poker Crew
Re: Custom Profile Field Mod
« Reply #887 on: February 08, 2007, 08:10:55 PM »
Great mod, realy fills in the blanks! I just have a few simple newbie questions;

1.   What BBC code would I place in Text to display before field to have the entered e-mail address displayed as an a href="mailto: link

2.   Where would I enter the code to reduce the size of the font in the profile? Found It

3.   Is it possible to break up the fields to show in different areas of the profile and not all grouped together?

Thanks for your help!
 

I think the answer to #1 is somewhere in these 59 pages, I'm pretty sure someone asked before

I got through about 30 of them before i gave up and decided to ask!  lol

Offline kmik

  • Newbie
  • *
  • Posts: 1
Re: Custom Profile Field Mod
« Reply #888 on: February 09, 2007, 12:10:52 PM »
Sorry... I'm TOTALLY new at this... so I need a little hand holding.

Brand new install of SMF... this is the FIRST mod I attempted to install, haven't even done so much as a test post, or change themes...

After attempting to install this mod, I got:

Error in Package Installation
At least one error was encountered during a test installation of this package...

and:

1.     Execute Modification     ././Sources/ModSettings.php     File not found
2.    Execute Modification    ././Themes/default/Profile.template.php    File not found
3.    Execute Modification    ././Themes/default/Display.template.php    File not found
4.    Execute Modification    ././Themes/default/PersonalMessage.template.php    File not found
5.    Execute Modification    ././Themes/default/Register.template.php    File not found
6.    Execute Modification    ././Sources/Register.php    File not found
7.    Extract File    ./Sources/CustomProfile.php    
8.    Extract File    ./Themes/default/languages/CustomProfile.english.php    

when I attempt to install anyway, well, no surprise, it's not there :(

Can anyone suggest (in layman's terms) how I can overcome this?

Offline perplexed

  • SMF Hero
  • ******
  • Posts: 2,603
  • It's quite perplexing isn't it
Re: Custom Profile Field Mod
« Reply #889 on: February 09, 2007, 05:46:49 PM »
Great mod, realy fills in the blanks! I just have a few simple newbie questions;

1.   What BBC code would I place in Text to display before field to have the entered e-mail address displayed as an a href="mailto: link

2.   Where would I enter the code to reduce the size of the font in the profile? Found It

3.   Is it possible to break up the fields to show in different areas of the profile and not all grouped together?

Thanks for your help!
 

I think the answer to #1 is somewhere in these 59 pages, I'm pretty sure someone asked before

I got through about 30 of them before i gave up and decided to ask!  lol

ok I looked but I couldnt find it on here either...

however I managed to work it out :)

try this

Text to display before field (BBC is ok if enabled above)

Code: [Select]
[url=http://mailto:
Text to display after field (BBC is ok if enabled above)

Code: [Select]
]Email Me[/url]
remember to check the parse BBC box :)

If someone enters an email address it will display 'email me' as the link or whatever else you put there.  You could also add an image instead.

Offline DTDestroyer

  • Semi-Newbie
  • *
  • Posts: 30
  • Gender: Male
    • The Garage Poker Crew
Re: Custom Profile Field Mod
« Reply #890 on: February 09, 2007, 06:00:52 PM »
Sick, that works great, is it possable to display the email address instead of e-mail me?

Thanks again........

Offline perplexed

  • SMF Hero
  • ******
  • Posts: 2,603
  • It's quite perplexing isn't it
Re: Custom Profile Field Mod
« Reply #891 on: February 09, 2007, 06:05:32 PM »
lol sorry I misunderstood, I thought you didnt want the email address to show up?

If you just want an email field just create a field called email address, no need for special code, and then an email address will be displayed

Offline DTDestroyer

  • Semi-Newbie
  • *
  • Posts: 30
  • Gender: Male
    • The Garage Poker Crew
Re: Custom Profile Field Mod
« Reply #892 on: February 09, 2007, 06:14:27 PM »
We are close, looking to display link and have it clickable!

Offline perplexed

  • SMF Hero
  • ******
  • Posts: 2,603
  • It's quite perplexing isn't it
Re: Custom Profile Field Mod
« Reply #893 on: February 09, 2007, 06:19:36 PM »
lol what exactly to you want to happen?

Offline DTDestroyer

  • Semi-Newbie
  • *
  • Posts: 30
  • Gender: Male
    • The Garage Poker Crew
Re: Custom Profile Field Mod
« Reply #894 on: February 09, 2007, 06:53:18 PM »
myname@yourspace.com

If I just enter the email address alone in the field, it show the address, but not as a link.

With your help it is now a link that says e-mail me, I just want to display the address (instead of email me) and have it as a clickable link.

Sorry if I was not clear....

and a pain in the ass......lol
 

Offline WxChat.com

  • Semi-Newbie
  • *
  • Posts: 46
  • Gender: Male
    • WxChat.com
Re: Custom Profile Field Mod
« Reply #895 on: February 09, 2007, 07:48:29 PM »
Code: [Select]
[url=http://mailto:myname@yourspace.com]myname@yourspace.com[/url]

Offline DTDestroyer

  • Semi-Newbie
  • *
  • Posts: 30
  • Gender: Male
    • The Garage Poker Crew
Re: Custom Profile Field Mod
« Reply #896 on: February 09, 2007, 07:52:38 PM »
That wouldent work,
I'm trying to do it with the users email address in a custom profile field

Offline WxChat.com

  • Semi-Newbie
  • *
  • Posts: 46
  • Gender: Male
    • WxChat.com
Re: Custom Profile Field Mod
« Reply #897 on: February 09, 2007, 07:58:52 PM »
ah I see you want their email to echo in between the [url] tags

Offline WxChat.com

  • Semi-Newbie
  • *
  • Posts: 46
  • Gender: Male
    • WxChat.com
Re: Custom Profile Field Mod
« Reply #898 on: February 09, 2007, 08:00:21 PM »
I don't think it is possible unless you can assign variables (PHP)

Offline DTDestroyer

  • Semi-Newbie
  • *
  • Posts: 30
  • Gender: Male
    • The Garage Poker Crew
Re: Custom Profile Field Mod
« Reply #899 on: February 09, 2007, 08:00:37 PM »
you got it, any idea's?