Page Index Toggle Pages: 1 [2] 3 4 ... 8 Send TopicPrint
Very Hot Topic (More than 25 Replies) Extended Profiles for SP1.1 (Read 49975 times)
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 #15 - Feb 8th, 2003 at 6:33pm
Print Post  
Hi - can you be so kind as to tell me where the line was added and what it is? I have that file modified and do not want to replace with a clean install. Thanks much.
  

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 #16 - Feb 8th, 2003 at 8:49pm
Print Post  
bordeglobal wrote on Feb 8th, 2003 at 6:33pm:
Hi - can you be so kind as to tell me where the line was added and what it is? I have that file modified and do not want to replace with a clean install. Thanks much.


only one line added in the old ExtendedProfiles.pl - v1

<search for>
Code
Select All
# if username is obmitted, we'll generate the code for the registration page
	if ($pusername ne "") {
		@ext_profile = ext_get_profile($pusername);
	}
	else {
		if ($field{'required_on_reg'} == 1) { $field{'name'} = "* ".$field{'name'}; }
	} 


and add this after the above
Code
Select All
&FromHTML($field{'comment'}); 



Now HTML works fine in the comment field Wink

Thanks to Michael
  

   
Back to top
 
IP Logged
 
Jake
God Member
*****
Offline



Posts: 1265
Location: asia
Joined: Jun 22nd, 2002
Gender: Male
Re: Extended Profiles for SP1.1
Reply #17 - Feb 8th, 2003 at 9:00pm
Print Post  
@ Michael
I'm wondering,Is there a need to mod this line too?
Code
Select All
# modifies a field as submitted
sub ext_admin_edit2 {
	my @fields, @options;
	&is_admin;

	ToHTML($FORM{'name'});
	ToHTML($FORM{'comment'}); 

 

Is there a need to replace
Code
Select All
ToHTML($FORM{'comment'});   


with
Code
Select All
FromHTML($FORM{'comment'});   



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 #18 - Feb 9th, 2003 at 1:54pm
Print Post  
nope, no need for this
  

The Administrator.
Back to top
WWW  
IP Logged
 
plokoon
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 50
Joined: Jan 2nd, 2003
Re: Extended Profiles for SP1.1
Reply #19 - Feb 9th, 2003 at 10:16pm
Print Post  
When I installed this I couldnt see the time of last posts. So I uninstalled it.
WHY?
  
Back to top
 
IP Logged
 
Jake
God Member
*****
Offline



Posts: 1265
Location: asia
Joined: Jun 22nd, 2002
Gender: Male
Re: Extended Profiles for SP1.1
Reply #20 - Feb 10th, 2003 at 10:42am
Print Post  
plokoon wrote on Feb 9th, 2003 at 10:16pm:
When I installed this I couldnt see the time of last posts. So I uninstalled it.
WHY?

Where didn't you see the time,in the message display page or in the boardindex or anywhereelse?

It works fine for me. Cheesy
  

   
Back to top
 
IP Logged
 
plokoon
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 50
Joined: Jan 2nd, 2003
Re: Extended Profiles for SP1.1
Reply #21 - Feb 11th, 2003 at 1:44am
Print Post  
boardindex
  
Back to top
 
IP Logged
 
Jake
God Member
*****
Offline



Posts: 1265
Location: asia
Joined: Jun 22nd, 2002
Gender: Male
Re: Extended Profiles for SP1.1
Reply #22 - Feb 11th, 2003 at 10:07am
Print Post  
plokoon wrote on Feb 11th, 2003 at 1:44am:
boardindex

If you modded it manually try to focus to Subs.pl .My board works great, no problem about the last post time. Grin
Actually this mod doesn't touch anything in the BoardIndex.pl directly.
  

   
Back to top
 
IP Logged
 
Mark Question
Guest


Re: Extended Profiles for SP1.1
Reply #23 - Feb 13th, 2003 at 11:23am
Print Post  
Hi,

I've installed it on a testboard and it worked just fine  Shocked  no conflict with smilie mod Tongue

can't wait for this one to become "DONE"

Cheers.
  
Back to top
 
IP Logged
 
Mark_Question
New Member
*
Offline



Posts: 12
Location: Ghent
Joined: Feb 13th, 2003
Gender: Male
Re: Extended Profiles for SP1.1
Reply #24 - Feb 13th, 2003 at 12:01pm
Print Post  
Hi,

I've installed it on a testboard and it worked just fine Shocked  no conflict with smilie mod   Lips Sealed

can't wait for this one to become "DONE"  Cheesy

When will it be finished & approved ?

Cheers.
  
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 #25 - Feb 13th, 2003 at 1:34pm
Print Post  
Since this is the FINAL mods board, this mod already has the DONE status Wink

EDIT: just notices the outdated description in the first post, just fixed it
  

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



Posts: 12
Location: Ghent
Joined: Feb 13th, 2003
Gender: Male
Re: Extended Profiles for SP1.1
Reply #26 - Feb 13th, 2003 at 2:21pm
Print Post  
LOL !!!

ok that's great, mate  Grin Grin Grin

great work & belgian regards  8)
  
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 #27 - Feb 16th, 2003 at 11:20pm
Print Post  
What would I have to edit in display if I wanted the new fields to appear in the message area right under the actual message the user types rather than the profile section to the left? If its going to be a lot of work, then nevermind.
  

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 #28 - Feb 17th, 2003 at 11:04am
Print Post  
bordeglobal wrote on Feb 16th, 2003 at 11:20pm:
What would I have to edit in display if I wanted the new fields to appear in the message area right under the actual message the user types rather than the profile section to the left? If its going to be a lot of work, then nevermind.


in Display.pl search for
Code
Select All
$yymain .= qq~
		    </font></td>
		  </tr>
		</table>
		<hr width="100%" size="1" class="hr">
		<font size="2">
		$message
		</font>
		</td> 


and put
Code
Select All
~;
require "$sourcedir/ExtendedProfiles.pl";
$yymain .= ext_viewinposts($musername) . qq~ 

after $message
for cometic look add any HTML tag you want
  

   
Back to top
 
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 #29 - Feb 17th, 2003 at 1:31pm
Print Post  
Thanks Jake - you seem to be getting real good at support Smiley
  

Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1 [2] 3 4 ... 8
Send TopicPrint