Page Index Toggle Pages: 1 ... 3 4 [5] 6 7 8 Send TopicPrint
Very Hot Topic (More than 25 Replies) Extended Profiles for SP1.1 (Read 50149 times)
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Extended Profiles for SP1.1
Reply #60 - Mar 11th, 2003 at 3:09pm
Print Post  
v1.2 has been released which fixes this problem. You only have to replace ExtendedProfiles.pl. Download link can be found in the first post of this thread.

@bordeglobal: You can apply the code change yourself by following these instructions:

Open ExtendedProfiles.pl and look for:
Code
Select All
		# if setting didn't get submitted, load old value 



then add the following before:
Code
Select All
		# load old settings which where invisible/restricted
		if ($field{'editable_by_user'} == 0 && $usergroup ne "Administrator") {
			$FORM{'ext_'.$id} = $oldprofile[$id];
		} 

  

The Administrator.
Back to top
WWW  
IP Logged
 
bordeglobal
God Member
*****
Offline


Only the Best Posters
Survive!

Posts: 1837
Location: Trinidad, West Indies
Joined: Sep 30th, 2002
Gender: Male
Re: Extended Profiles for SP1.1
Reply #61 - Mar 11th, 2003 at 6:44pm
Print Post  
Quote:
My software never has bugs. It just develops random features.

It works now. Thanks for correcting that random feature Wink
  

Back to top
WWW  
IP Logged
 
ms_ukyankee
Senior Member
****
Offline


fka whisper68

Posts: 365
Location: England
Joined: Apr 18th, 2002
Gender: Female
Re: Extended Profiles for SP1.1
Reply #62 - Mar 27th, 2003 at 4:29pm
Print Post  
I've been looking forward to installing this, many thanks Michael. I do have a small problem though. I have the Yams compatible version, failing at Step 9 because of Notify Plus.

Step 9
Code
Select All
<search for>
    </table><BR>

    </td>

  </tr><tr>

    <td class="catbg" bgcolor="$color{'catbg'}" height="25"><font size=2><b>$txt{'597'}</b></font></td>

  </tr><tr>

    <td class="windowbg" bgcolor="$color{'windowbg'}">

    <table border=0 width="100%" cellpadding="3">
</search for>

<replace>
~;
require "$sourcedir/ExtendedProfiles.pl";
$yymain .= ext_editprofile($INFO{'username'},"required") . qq~
    </table><br>
    </td>
  </tr><tr>
    <td class="catbg" bgcolor="$color{'catbg'}" height="25"><font size=2><b>$txt{'597'}</b></font></td>
  </tr><tr>
    <td class="windowbg" bgcolor="$color{'windowbg'}">
    <table border=0 width="100%" cellpadding="3">
~;
$yymain .= ext_editprofile($INFO{'username'},"additional") . qq~
</replace>
 



My Profile.pl relevant portion:
Code
Select All
&ShowBoards;

$yymain .= qq~
    </table><BR>
    </td>
 ~;
}

$yymain .= qq~
<!--- /Added for Notify Plus 2.2 --->

  </tr><tr>
    <td class="catbg" bgcolor="$color{'catbg'}" height="25"><font size=2><b>$txt{'597'}</b></font></td>
  </tr><tr>
    <td class="windowbg" bgcolor="$color{'windowbg'}">
    <table border=0 width="100%" cellpadding="3">
	 



Would this be correct manually?
Code
Select All
&ShowBoards;
~;

require "$sourcedir/ExtendedProfiles.pl";

$yymain .= ext_editprofile($INFO{'username'},"required") . qq~

    </table><BR>
    </td>
 ~;
}

$yymain .= qq~
<!--- /Added for Notify Plus 2.2 --->

  </tr><tr>
    <td class="catbg" bgcolor="$color{'catbg'}" height="25"><font size=2><b>$txt{'597'}</b></font></td>
  </tr><tr>
    <td class="windowbg" bgcolor="$color{'windowbg'}">
    <table border=0 width="100%" cellpadding="3">
~;

$yymain .= ext_editprofile($INFO{'username'},"additional") . qq~
 



Thank you in advance for any advice with this. Smiley
  

No longer active on Boardmod, migrated to another forum system.
Back to top
ICQ  
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Extended Profiles for SP1.1
Reply #63 - Mar 27th, 2003 at 6:00pm
Print Post  
almost, just leave the first ~; out. Like this:

Code
Select All
&ShowBoards;

require "$sourcedir/ExtendedProfiles.pl";

$yymain .= ext_editprofile($INFO{'username'},"required") . qq~

    </table><BR>
    </td>
 ~;
}

$yymain .= qq~
<!--- /Added for Notify Plus 2.2 --->

  </tr><tr>
    <td class="catbg" bgcolor="$color{'catbg'}" height="25"><font size=2><b>$txt{'597'}</b></font></td>
  </tr><tr>
    <td class="windowbg" bgcolor="$color{'windowbg'}">
    <table border=0 width="100%" cellpadding="3">
~;

$yymain .= ext_editprofile($INFO{'username'},"additional") . qq~
 

  

The Administrator.
Back to top
WWW  
IP Logged
 
ms_ukyankee
Senior Member
****
Offline


fka whisper68

Posts: 365
Location: England
Joined: Apr 18th, 2002
Gender: Female
Re: Extended Profiles for SP1.1
Reply #64 - Mar 29th, 2003 at 10:39am
Print Post  
Where'd my reply go?  ???

I'll try again.

Thank you Michael, but there was a problem. After I installed the mod, I went to edit my profile and in the cell labelled Additional Information, there was an untrapped error. My site is today in the middle of a server change so I can't go copy the exact error, but to the best of my knowledge, it was something like:

undefined subroutine ext_editproflie in X line of Profile.pl

X (179?) line was the last line of your code,
Code
Select All
$yymain .= ext_editprofile($INFO{'username'},"additional") . qq~  



Any thoughts?
  

No longer active on Boardmod, migrated to another forum system.
Back to top
ICQ  
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Extended Profiles for SP1.1
Reply #65 - Mar 29th, 2003 at 11:11am
Print Post  
If you want to know what happened to your post then please read the news.

try adding this line before it:
Code
Select All
require "$sourcedir/ExtendedProfiles.pl"; 

  

The Administrator.
Back to top
WWW  
IP Logged
 
ms_ukyankee
Senior Member
****
Offline


fka whisper68

Posts: 365
Location: England
Joined: Apr 18th, 2002
Gender: Female
Re: Extended Profiles for SP1.1
Reply #66 - Mar 29th, 2003 at 11:15am
Print Post  
Oh sorry, :blush: and thanks, I'll try it when my server is available again.
  

No longer active on Boardmod, migrated to another forum system.
Back to top
ICQ  
IP Logged
 
Jake
God Member
*****
Offline



Posts: 1265
Location: asia
Joined: Jun 22nd, 2002
Gender: Male
Re: Extended Profiles for SP1.1
Reply #67 - Mar 29th, 2003 at 2:39pm
Print Post  
How about trying something looks like this

Code
Select All
<td><input type="text" maxlength="40" name="email" size="30" value="$memsettings[2]"></td>
      </tr>
   [highlight size=2 color=red background=] ~;
require "$sourcedir/ExtendedProfiles.pl";
$yymain .= ext_editprofile($INFO{'username'},"required") . qq~[/highlight]
    </table><br>
    </td>
      <!--- Added for Notify Plus 2.2 --->
  </tr>
~;

if ($enable_notification == 1 || $enable_mailinglist == 1) {

$yymain .= qq~
<tr>
    <td class="catbg" bgcolor="$color{'catbg'}" height="25"><font size=2><b>$notify_txt{'19'}</b></font></td>
  </tr>
~;
}


if ($enable_notification == 1 || $enable_mailinglist == 1) {

$yymain .= qq~
<tr>
    <td class="windowbg" bgcolor="$color{'windowbg'}"><font size=2>
    <table border=0 width="100%" cellpadding="3">
~;
      &ShowHTMLPrefs;

$yymain .= qq~
    </table><BR>
    </td>
 ~;
}

if ($enable_mailinglist == 1) {

$yymain .= qq~
<tr>
    <td class="windowbg" bgcolor="$color{'windowbg'}"><font size=2>
    <table border=0 width="100%" cellpadding="3">
~;

&ShowBoards;

$yymain .= qq~
    </table><BR>
    </td>
 ~;
}

$yymain .= qq~
<!--- /Added for Notify Plus 2.2 ---> 



Please let me know does it work or not Wink
  

   
Back to top
 
IP Logged
 
valleyman2
Guest


Re: Extended Profiles for SP1.1
Reply #68 - Mar 30th, 2003 at 6:33pm
Print Post  
I really like what you've done here.  Most mods are difficult to install this was extremely easy..I assume that download counter must be wrong Shocked
  
Back to top
 
IP Logged
 
Adrian
Full Member
***
Offline



Posts: 219
Location: Amsterdam
Joined: Sep 9th, 2002
Gender: Male
Re: Extended Profiles for SP1.1
Reply #69 - Apr 10th, 2003 at 4:33pm
Print Post  
maybe someone is willing to help me here.

this is the link to the other topic

Please help !!

see attachment   ----- Begging for help ! ------
  

Register_____.txt ( 18 KB | Downloads )

Imagination is more important than knowledge. Knowledge is limited.[Albert Einstein]
Back to top
WWW  
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Extended Profiles for SP1.1
Reply #70 - Apr 15th, 2003 at 2:55pm
Print Post  
I posted the solution in your thread, Adrian
  

The Administrator.
Back to top
WWW  
IP Logged
 
An old man
Guest


Re: Extended Profiles for SP1.1
Reply #71 - May 3rd, 2003 at 3:31am
Print Post  
Very simple question
Now my board install this mod and it works great,my board is SP1.1.

I decide to update my forum to SP1.3.

Is there need to uninstall this mod ver for SP1.1 before i update to SP1.3 and then install the mod for SP1.3 again.
I usually install the mod manually.
If there is no need to uninstall this mod before upgrade to SP1.3.
How will the mod work with my SP1.3.are there a new code to add for new ver.

Thanks

  
Back to top
 
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Extended Profiles for SP1.1
Reply #72 - May 3rd, 2003 at 10:59am
Print Post  
Some code parts changed in SP1.3 which where modified by this mod. I suggest you to uninstall the mod, then update and reinstall the SP1.3 version of this mod afterwards. You won't loose any memberdata by uninstalling the mod file.
  

The Administrator.
Back to top
WWW  
IP Logged
 
Jake
God Member
*****
Offline



Posts: 1265
Location: asia
Joined: Jun 22nd, 2002
Gender: Male
Re: Extended Profiles for SP1.1
Reply #73 - May 4th, 2003 at 4:44am
Print Post  
Is it strongly recommened or not?

Now my forum moved some parts to SP1.2 and 1.3

But this mod still works fine with my new SP codes

I use this mod ver for SP1.1

The only part that i didn't fully update is removing all CGI module.
  

   
Back to top
 
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Extended Profiles for SP1.1
Reply #74 - May 4th, 2003 at 1:05pm
Print Post  
the only difference between the SP1.1 and SP1.3 version is that the code from YaBB.pl moved to Sublist.pl. Also, some ajustments to the search strings of Memberlist.pl were required but if that part works fine for you, there is no need to update the mod.
  

The Administrator.
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1 ... 3 4 [5] 6 7 8
Send TopicPrint