Page Index Toggle Pages: 1 [2] 3 4  Send TopicPrint
Very Hot Topic (More than 25 Replies) Adding new fields to member profile (Read 42430 times)
Dave Baughman
God Member
*****
Offline


I want my MTV

Posts: 2039
Location: Murfreesboro
Joined: May 18th, 2001
Gender: Male
Re: Adding new fields to member profile
Reply #15 - Nov 6th, 2001 at 8:28pm
Print Post  
Do you have anything between lines 20 and 30 already? If not, you need to print a "\n" for every line you want to skip.
  

I'm not sure if it's ignorance or apathy, but I don't know and I don't care.
Back to top
WWW  
IP Logged
 
salesplaza
Full Member
***
Offline


SalesPlaza is the one
!

Posts: 116
Joined: Jul 22nd, 2001
Gender: Male
Re: Adding new fields to member profile
Reply #16 - Nov 6th, 2001 at 8:32pm
Print Post  
This is what I've got :

ybladiebladie(password....encrypted)
Webmaster
webmaster@salesplaza.nl
SalesPlaza
http://www.salesplaza.nl
Webmaster van SalesPlaza.nl
644
Administrator
9814812


Male
Zoek niet verder, je hebt ons al gevonden !
blank.gif
Oerknal
Hoorn (NH)
11/07/1969
1

HERE IT IS PUT........
Hoe het allemaal begon ?
07/24/01 om 14:09:38


11/06/01 om 12:45:00


So, when I put the extra info in, it will display above : "Hoe het allemaal begon ?"

I followed the instructions above, and changed 20 to 30, so where do I have to put the extra \n ?!
  

Don't look any further ! You've already found us !
Back to top
WWWICQ  
IP Logged
 
Dave Baughman
God Member
*****
Offline


I want my MTV

Posts: 2039
Location: Murfreesboro
Joined: May 18th, 2001
Gender: Male
Re: Adding new fields to member profile
Reply #17 - Nov 7th, 2001 at 2:14pm
Print Post  
Anytime you want it to skip a line in the profile and print to the NEXT line, you have to print one "\n"
  

I'm not sure if it's ignorance or apathy, but I don't know and I don't care.
Back to top
WWW  
IP Logged
 
salesplaza
Full Member
***
Offline


SalesPlaza is the one
!

Posts: 116
Joined: Jul 22nd, 2001
Gender: Male
Re: Adding new fields to member profile
Reply #18 - Nov 7th, 2001 at 2:55pm
Print Post  
I would like to know WHERE exactly I should put this \n .......
  

Don't look any further ! You've already found us !
Back to top
WWWICQ  
IP Logged
 
Dave Baughman
God Member
*****
Offline


I want my MTV

Posts: 2039
Location: Murfreesboro
Joined: May 18th, 2001
Gender: Male
Re: Adding new fields to member profile
Reply #19 - Nov 7th, 2001 at 3:35pm
Print Post  
As I said, when you modify whatever prints to your username.dat file, everywhere you want it to skip a line when printing, you do a print "\n";

So:

print "field1\n";
print "field2\n";
print "field3\n";
print "\n";
print "\n";
print "field4\n";
print "field5\n";

Prints:

field1
field2
field3


field4
field5

into your username.dat file. If you have anymore questions, please start a post in the General posting board.
  

I'm not sure if it's ignorance or apathy, but I don't know and I don't care.
Back to top
WWW  
IP Logged
 
salesplaza
Full Member
***
Offline


SalesPlaza is the one
!

Posts: 116
Joined: Jul 22nd, 2001
Gender: Male
Re: Adding new fields to member profile
Reply #20 - Nov 14th, 2001 at 3:58am
Print Post  
OK, Dave, well I asked the question over there, but nobody seems to know how......anyway, I figured it out myself.

It works fine now !
  

Don't look any further ! You've already found us !
Back to top
WWWICQ  
IP Logged
 
wmbokkie
New Member
*
Offline


I love YaBB 1 Gold!

Posts: 14
Joined: Oct 15th, 2001
Gender: Male
Re: Adding new fields to member profile
Reply #21 - Jan 6th, 2002 at 5:34am
Print Post  
Did anyone got this working with sp??
I get the input fields but and output but there is nothing saved in my member file!
And i ofcourse used the exame names.

Does anyone know how to fix this??

Greets WB  ???
  
Back to top
 
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Adding new fields to member profile
Reply #22 - Jan 9th, 2002 at 6:22am
Print Post  
are you sure that the info isn't stored into the userfile? Or does maybe only the output not work properly?
  

The Administrator.
Back to top
WWW  
IP Logged
 
Suzzie
New Member
*
Offline


Woohoo

Posts: 12
Joined: Mar 10th, 2002
Gender: Female
Re: Adding new fields to member profile
Reply #23 - Mar 10th, 2002 at 8:18pm
Print Post  
In my english.lng file, there is already a $txt{'750'}... So I added it to the end as $txt{'797'}. However, I can't get it to display in posts, it may have something to do with the version I am using... YaBB 1 Gold - SP1. It does add it to the profile *.dat file, and where I want it, but when you save the changes it doesn't list it  and it doesn't show up when you view the profile, only when editing. Any help would be appreciated!
  

Suzzie
Back to top
 
IP Logged
 
Suzzie
New Member
*
Offline


Woohoo

Posts: 12
Joined: Mar 10th, 2002
Gender: Female
Re: Adding new fields to member profile
Reply #24 - Mar 10th, 2002 at 10:31pm
Print Post  
ahh nm I got it! Smiley Just had to fiddle around with it *forever*!! Cheesy
  

Suzzie
Back to top
 
IP Logged
 
reinhardt
New Member
*
Offline


I love YaBB 1G - SP1!

Posts: 33
Joined: Mar 14th, 2002
Re: Adding new fields to member profile
Reply #25 - Mar 18th, 2002 at 7:45pm
Print Post  
Okay I tried this all and it worked perfectly.  I also changed it to a text field instead of a single line text box.  Now I have two questions:

1. Is there a way I can let it interpret whatever is in there as html code?  ie. I can use <b></b> tags and <br>  tags.

2. Is there a way I can make it automatically detect if something is on a news line?  Because right now it just changes everything to a single-line.

Thanks.

I added this where you said it should go, including a little explanation of the new field:

Code
Select All
tr>
	<td width="320"><font size=2><b>$txt{'797'}: </b></font><br>
	<font size="1">$txt{'798'}</font></td>
	<td><font size=2><textarea name="carinfo" rows="10" cols="50" wrap="virtual">$memsettings[20]</textarea></font></td>
	</tr> 



and I found this:

Code
Select All
<tr>
    <td colspan="2" bgcolor="$color{'windowbg2'}" class="windowbg2" valign="middle" width="100%">
    <form action="$cgi;action=usersrecentposts;username=$useraccount{$INFO{'username'}}" method="POST">
    <font size=2>
    $online<BR><BR>
    <a ><BR>
    $txt{'460'} <select name="viewscount" size="1">
     <option value="5">5</option>
     <option value="10" selected>10</option>
     <option value="50">50</option>
     <option value="0">$txt{'190'}</option>
    </select> $txt{'461'}. <input type=submit value="$txt{'462'}"></form>
    </font></td>
  </tr> 



And added this afterwards:

Code
Select All
<tr height="25">
    <td class="titlebg" bgcolor="$color{'titlebg'}" colspan="2">
    &nbsp;<font size=2 class="text1" color="$color{'titletext'}"><b>$txt{'797'}:</b></font></td>
  </tr><tr>
    <td colspan="2" bgcolor="$color{'windowbg2'}" class="windowbg2" valign="middle" width="100%">
     <font size=2>
    $memsettings[20]
    </font></td>
  </tr> 



Yes I moved the /form  part.

I am sure you can see what I have done here.  Now I just need to find out how to add code.  then it will be complete.
  
Back to top
 
IP Logged
 
henry_s
New Member
*
Offline


I love moding up my boards
:D

Posts: 5
Joined: Mar 21st, 2002
Gender: Male
Re: Adding new fields to member profile
Reply #26 - Mar 24th, 2002 at 5:54pm
Print Post  
Hello,

I want to add a profile question that is "Are you a member of Barnet Gingerbread" with a drop down box like there is for male/female options. And the options to be Yes/No. But on top of that I also want it to display an image which varies on whether you choose yes/no to display an image everytime you post, underneath the Male/Female thing that you get when you post a post Displaying a small icon or bit of text. Do you understand what I mean? 

I realise this is a lot of work but can someone tell me how to do this, the code to edit, in which files etc.

Thanks in advance,

Henry

By the way I am using YaBB Gold SP 1.1 (latest)

I asked this on the YABB forum and was directed here..HELP!!
  

Check out my site at &lt;a href="http://www.y-a-w.co.uk">y-a-w.co.uk&lt;/a>
Back to top
WWW  
IP Logged
 
aussiedave
New Member
*
Offline


I love YaBB 1G - SP1!

Posts: 1
Joined: Apr 7th, 2002
Re: Adding new fields to member profile
Reply #27 - Apr 7th, 2002 at 12:27am
Print Post  
???  I cannot get additional fields to work following your tutorial but using the latest version of YABB Gold 1.1 ?

The fields show up fine on the member profile but when I add something to them and update the profile the infomration is not stored ???

What am I doing wrong, or does the tutorial need mpodifying for Yabb Gold 1.1 ?  If so caould you please tell me how to ad extra member fields, and I would also like these to display not on posts but on the member list for two of the new fields (I am making a past students forum and want to show the year they left the school and the grade).

Thanks in advance
  
Back to top
 
IP Logged
 
Trescool66
New Member
*
Offline


Live, Laugh, Love

Posts: 4
Joined: Apr 14th, 2002
Gender: Male
Re: Adding new fields to member profile
Reply #28 - Apr 14th, 2002 at 2:56pm
Print Post  
???
I'm lost.  I did not find this term at all in my English.lng file.

keys(%txt)

Am I missing something?

I am trying to add fields to member profile so they can input their mailing address.

Thanks.
Jim
  
Back to top
WWW  
IP Logged
 
Tea-Master
Forum Administrator
*****
Offline



Posts: 1945
Location: north germany
Joined: Oct 21st, 2001
Gender: Male
Re: Adding new fields to member profile
Reply #29 - Apr 14th, 2002 at 8:55pm
Print Post  
no all best Smiley
since SP1 there isn't anymore the string "keys(%txt)" !
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1 [2] 3 4 
Send TopicPrint