|
Joined: Jan 2000
Posts: 5,832 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,832 Likes: 20 |
I make the GFX and force you to make it and no shouts? lol 
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
I get 2 Errors! 1. The hack will not safe the profilfield "68" at my user.cgi (00000001.cgi) at the members directory 2. When I klick at my name I get the following: (RequireCodeNoINC) NonCGIPath/Templates/public_display_profile.pl: Global symbol "$gender_display" requires explicit package name at NonCGIPath/Templates/public_display_profile.pl line 214. Compilation failed in require at CGIPath/ubb_lib.cgi line 930. What can I do? My Board: http://www.d-talk.tv/cgi-bin/ultimatebb.cgi
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
1) make sure you made the change in ubb_lib.cgi $vars_config{'MaxMemFields'} = 43; -> $vars_config{'MaxMemFields'} = 71; (Make sure the modified ubb_lib.cgi is uploaded  ). 2) The main thing is to make sure my $profile_display = ""; appears above the added information in public_display_profile.pl. If this is added then tell me.
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
Hi Brett, that the code at public_display_profile.pl $user_profile[7] ||= 0; my $profile_display = ""; if($user_profile[68] eq '1' || $user_profile[68] eq '2') { my $img = 'female.gif'; if($user_profile[68] eq '2') {$img = 'male.gif'} $profile_display = qq! <tr bgcolor="$vars_style{AltColumnColor1}"> <td valign="top"> <font size="$vars_style{TextSize}" face="$vars_style{FontFace}"> <b>$vars_wordlets_mods{'gender-_-title'}</b> </font> </td> <td> <font size="$vars_style{TextSize}" face="$vars_style{FontFace}"> <img src="$vars_config{NonCGIURL}/$img" alt="$vars_wordlets_mods{'gender-_-opt_$user_profile[68]'}" /> </font> </td> </tr>!; } # end gender ubb_lib.cgi is correct I think
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
oh my, i just found the reason why it's giving you the error. Change $gender_display to $profile_display
you probably have ubb_lib correct, but could i have you just reupload it, just to make sure?
(Zip file updated per typo above)
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
Hehe, were can I find $gender_display??
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
Sorry, public_display_profile.pl 
|
|
|
|
Joined: Jan 2000
Posts: 5,832 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,832 Likes: 20 |
Hey Brett, why not wordlet the locations of male.gif and female.gif so users can point them to other locations?
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
Hi Brett,
the profilpage now works, but if I go to my profile edit gender to male and safe nothing happends! It will not be safed, what can I do...
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
In ubb_profile.cgi Instead of: ######## # find # ########
&WriteMemberProfile($user_number, @user_profile);
############# # add ABOVE # #############
$user_profile[68] = $in{gender}; do ############################### # find THE SECOND INSTANCE OF # ###############################
&WriteMemberProfile($user_number, @user_profile);
############# # add ABOVE # #############
$user_profile[68] = $in{gender};
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
Thank you Ian! Now it works!
|
|
|
|
Joined: Oct 2002
Posts: 394
Enthusiast
|
Enthusiast
Joined: Oct 2002
Posts: 394 |
would this work on 6.3.1.1? I was looking for something like this.
Thank you
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
Originally posted by Felix 10:
would this work on 6.3.1.1? I was looking for something like this.
Thank you
nope 
|
|
|
|
Joined: Jan 2000
Posts: 5,832 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,832 Likes: 20 |
upgrade  ..
|
|
|
|
Joined: Oct 2002
Posts: 394
Enthusiast
|
Enthusiast
Joined: Oct 2002
Posts: 394 |
I am afraid...  is not the money. its all the modifications I have in there, scared sheetless** that I wont make them work again. hey Ian, can you give it a try for 6.3.1.1 ?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
where would I get a 6.3.1.1 zip without any violations of the license agreement.  Upgrade
|
|
|
|
Joined: Jan 2000
Posts: 5,832 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,832 Likes: 20 |
Ian, according to Ted, so long as you own a current license you can request back copies (according to what he told me on the last chat I was on)
|
|
|
|
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
|
Admin Emeritus
Joined: Jan 2000
Posts: 5,073 |
s/current license/current member area subscription/ for a more accurate phrase.
UBB.classic: Love it or hate it, it was mine.
|
|
|
|
Joined: Jan 2000
Posts: 5,832 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,832 Likes: 20 |
Ok, so I'm right then? If you have a current member access sub you can request past versions from members?
I'm asking cas I was talkin to ted about acient versions and he said to ask on UBBDev :x...
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
oooh! then I want 1.5 like LK!
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
ya didn't even register 
|
|
|
|
Joined: Jan 2000
Posts: 5,832 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,832 Likes: 20 |
LK, can I have your 1.5  ...
|
|
|
|
Joined: Jan 2000
Posts: 5,832 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,832 Likes: 20 |
######################################################## ###Open ubb_registration.cgi ########################################################
######## # find # ########
&WriteMemberProfile($next_number, @thismemarray);
############## # add BEFORE # ##############
$thismearray[68] = $in{gender}; spews out an error for new registrations. Also, I want to require this option through "Profile Settings" if I remove the option to select none, how would I go about this?
|
|
|
|
Joined: Jan 2000
Posts: 5,832 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,832 Likes: 20 |
Also, for some reason my gender won't show via my profile... care to take a look?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
change it to $thismemarray[68]
MEM, not ME
<- made the mistake many times
|
|
|
|
Joined: Jan 2000
Posts: 5,832 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,832 Likes: 20 |
Well then, that solved the registration page error... Now why doesn't gender show in the profile?
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
Updated zip file on ubb_registeration typo.
Gizzy's issue was that, as Ian said earlier. The modification in ubb_profile, needs to go before the second WriteMemberProfile line.
|
|
|
|
Joined: Jan 2000
Posts: 5,832 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,832 Likes: 20 |
yeh yeh, I figured since I DL'd the mod directly from your site today that it'd be updated  ...
|
|
|
|
Joined: Oct 2004
Posts: 1
Junior Member
|
Junior Member
Joined: Oct 2004
Posts: 1 |
Hi, would this work on 6.7.2?
Regards GzR
|
|
|
|
Joined: Jan 2000
Posts: 5,832 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,832 Likes: 20 |
Any 6.7 mod should work just fine on its bugfix releases (6.7.0-6.7.2)
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 70
Joined: January 2007
|
|
Forums63
Topics37,571
Posts293,923
Members13,848
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|