Page Index Toggle Pages: 1 ... 13 14 [15]  Send TopicPrint
Very Hot Topic (More than 25 Replies) Extended Profiles for SP1.3 (Read 42838 times)
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Extended Profiles for SP1.3
Reply #210 - Jan 30th, 2005 at 2:17pm
Print Post  
Quote:
The worst thing with that is that my girlfriend forbidds me any nearer contct to her, until this is done ~_~
Wow, she doesn't make things by halves eh?
  

The Administrator.
Back to top
WWW  
IP Logged
 
Ikari-Kun
God Member
*****
Offline



Posts: 501
Joined: Apr 25th, 2002
Gender: Male
Re: Extended Profiles for SP1.3
Reply #211 - Jan 30th, 2005 at 5:28pm
Print Post  
Unfortunally not, but I still love her. Wink
  

perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
Back to top
ICQ  
IP Logged
 
Ikari-Kun
God Member
*****
Offline



Posts: 501
Joined: Apr 25th, 2002
Gender: Male
Re: Extended Profiles for SP1.3
Reply #212 - Jan 31st, 2005 at 2:33am
Print Post  
(Sorry for double posting)

Okay I came up with something, syntax is: &save_profile(fieldname, value);

Code
Select All
sub save_profile {
	my $fieldname = shift;
	my $new_value = shift;

	my %profile_field_id;

	fopen (ITEM_KEYS, "< $vardir/extended_profiles_fields.txt") || &fatal_error("300 $txt{'106'}: $txt{'23'} extended_profiles_fields.txt");
	my @profile_fields = <ITEM_KEYS>;
	fclose (ITEM_KEYS);

	for (my $i = 0; $i <= $#profile_fields; $i++) {
		my ($item_name, $garbage) = split (/\|/, $profile_fields[$i], 2);

		$profile_field_id{$item_name} = $i;
		}

	fopen (USER_ITEMS, "< $memberdir/$username.ext");    #if the file doesn't exist, perl will simply produce an empty array *g*
	my @ext_values = <USER_ITEMS>;
	chomp (@ext_values);
	fclose(USER_ITEMS);

	$ext_values[$profile_field_id{$fieldname}] = $new_value;

	fopen (SAVE_ITEMS, "> $memberdir/$username.ext", 2);

	foreach (@ext_values) {
		print SAVE_ITEMS "$_\n";
		}

	fclose (SAVE_ITEMS);
} 



beginning value can be get with already existing sub &ext_get(), so everything fits together. Wink

Hope this is usefull for someone.
  

perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
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.3
Reply #213 - Mar 31st, 2005 at 3:37pm
Print Post  
mod updated to version 1.2.4. it fixes a colspan problem on the memberlist.
  

The Administrator.
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.3
Reply #214 - Jun 1st, 2005 at 8:28pm
Print Post  
If anyone is interested in adding a popup window for the profile data in the post view, go ahead and follow these instructions (this is the same feature recently added to the Y2 version of this mod):
http://www.boardmod.org/yabb/YaBB.pl?board=hacks;action=display;num=1117104635
  

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


I love YaBB 1G - SP1.2!

Posts: 19
Joined: May 18th, 2006
Re: Extended Profiles for SP1.3
Reply #215 - May 18th, 2006 at 9:46am
Print Post  
How can i install huhuhu when i install say No matching string found
  
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.3
Reply #216 - May 18th, 2006 at 9:49pm
Print Post  
Did you read the faqs? There is an explanation why this error can occure. Your best chance would be to install the mod manually (see faqs about this too).
  

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


I love YaBB 1G - SP1.2!

Posts: 19
Joined: May 18th, 2006
Re: Extended Profiles for SP1.3
Reply #217 - May 19th, 2006 at 2:19am
Print Post  
Micahel i have error can you help me about this

HERE:
starting log...

script path: C:\wamp\www\yabb\cgi-bin\yabb2\YaBB.pl

detected script: autodetect failed

selected script: extended_profiles_v124

installed mods: 0





now installing: Extended Profiles 1.2.4 for SP1.1 (extended_profiles_v124_sp11.mod)





Step 1 ... failed - ERR(1): Search string could not be found

Step 2 ... failed - ERR(2): Could not find file to edit (C:\wamp\www\yabb\cgi-bin\yabb2\Sources\Admin.pl)

Step 3 ... failed - ERR(1): Search string could not be found

Step 4 ... ok

Step 5 ... failed - ERR(1): Search string could not be found

Step 6 ... failed - ERR(1): Search string could not be found

Step 7 ... failed - ERR(1): Search string could not be found

Step 8 ... failed - ERR(1): Search string could not be found

Step 9 ... failed - ERR(1): Search string could not be found

Step 10 ... failed - ERR(1): Search string could not be found

Step 11 ... failed - ERR(1): Search string could not be found

Step 12 ... failed - ERR(1): Search string could not be found

Step 13 ... failed - ERR(1): Search string could not be found

Step 14 ... failed - ERR(1): Search string could not be found

Step 15 ... failed - ERR(1): Search string could not be found

Step 16 ... failed - ERR(1): Search string could not be found

Step 17 ... failed - ERR(1): Search string could not be found

Step 18 ... failed - ERR(1): Search string could not be found

Step 19 ... failed - ERR(1): Search string could not be found

Step 20 ... failed - ERR(1): Search string could not be found

Step 21 ... failed - ERR(1): Search string could not be found

Step 22 ... failed - ERR(2): Could not find file to edit pl)

Step 23 ... failed - ERR(2): Could not find file to edit pl)



> modifications failed! 22 errors occured. No files will be modified. Please see readme for help on the error messages.
  
Back to top
 
IP Logged
 
Anne
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 19
Joined: May 18th, 2006
Re: Extended Profiles for SP1.3
Reply #218 - May 19th, 2006 at 2:26am
Print Post  
ok im going to install a manually

First: Search for this file YaBB.pl
#END FASTFIND *

add this before it:
     elsif ($action eq 'ext_admin') { require "$sourcedir/ExtendedProfiles.pl"; &ext_admin; }

     elsif ($action eq 'ext_edit') { require "$sourcedir/ExtendedProfiles.pl"; &ext_admin_edit; }

     elsif ($action eq 'ext_edit2') { require "$sourcedir/ExtendedProfiles.pl"; &ext_admin_edit2; }

     elsif ($action eq 'ext_create') { require "$sourcedir/ExtendedProfiles.pl"; &ext_admin_create; }

     elsif ($action eq 'ext_reorder') { require "$sourcedir/ExtendedProfiles.pl"; &ext_admin_reorder; }



---------

The my question i did not find the code #END FASTFIND * in file YaBB.pl


WHY PLS HELP
  
Back to top
 
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Extended Profiles for SP1.3
Reply #219 - May 19th, 2006 at 6:46am
Print Post  
Hi
This is wrong Version of Extended Profiles. Why not search this Forum first.

YaBB 2 Boards are here.

YaBB 2 Finals
http://www.boardmod.org/yabb/YaBB.pl?board=newsy2

YaBB 2 Beta
http://www.boardmod.org/yabb/YaBB.pl?board=beta_y2
  

greetings
Jeff
Back to top
WWW  
IP Logged
 
Anne
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 19
Joined: May 18th, 2006
Re: Extended Profiles for SP1.3
Reply #220 - May 24th, 2006 at 3:03am
Print Post  
can i ask something  i already have,,,
i just create a text box jus Student ID.

in i show in Registration form i wont a validation
whe already have that student id you cannot register??

can i do that?
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 ... 13 14 [15] 
Send TopicPrint