Page Index Toggle Pages: [1] 2 3 ... 13 Send TopicPrint
Very Hot Topic (More than 25 Replies) [Done] User Mood and Re-Status (Read 26724 times)
xtrasweetgirl
Senior Member
****
Offline



Posts: 496
Joined: Oct 8th, 2002
Gender: Female
[Done] User Mood and Re-Status
May 9th, 2003 at 7:05am
Print Post  
Mod Final Version


User Mood and status SP.1.2.3.1

This mod allow users to select their  current mood and relationship statu in their profile like the zodiac mod.  

Demo pic



Installation:
Use the proper mod file, if you have the zodiac mod or the extended profile mod installed.

1) Modify YaBB files using BoardMod or manually.

2) Upload modified files to your server in ASCII mode.
Files modified:

- Admin.pl
- Profile.pl
- Post.pl
- Display.pl
- English.lng


3) Upload the Mood folder with all the signs to your YaBBImages folder (in binary mode)  (for example: YabbImages/moods)


History :
New since last version
- More signs added thanks to lady_lake
-All known bugs now fixed

-Mod Compartible with Carsten memberguest mod
-Mod compartible with the zodiac mod
-Mod compartible with Michael Extended profile mod
-Fixed bug that was causing some of the mood  
signs not show properly
Added new mood (buzzed thanks to Caliman

« Last Edit: Jun 12th, 2004 at 8:21am by xtrasweetgirl »  
Back to top
 
IP Logged
 
Jake
God Member
*****
Offline



Posts: 1265
Location: asia
Joined: Jun 22nd, 2002
Gender: Male
Re: User Mood and  Re-Statu.mod [SP1.3]
Reply #1 - May 9th, 2003 at 7:28am
Print Post  
Good job  Wink
  

   
Back to top
 
IP Logged
 
xtrasweetgirl
Senior Member
****
Offline



Posts: 496
Joined: Oct 8th, 2002
Gender: Female
Re: User Mood and  Re-Statu.mod [SP1.3]
Reply #2 - May 9th, 2003 at 8:06am
Print Post  
Quote:
Good job  Wink


Thanks Jake.. i added an extra mod file for boards with the zodiac mod installed.

Grin
  
Back to top
 
IP Logged
 
Iceberg
Full Member
***
Offline



Posts: 211
Joined: Mar 19th, 2003
Gender: Male
Re: User Mood and  Re-Statu.mod [SP1.3]
Reply #3 - May 9th, 2003 at 8:35am
Print Post  
Yeah, really good job. Thank you. Smiley
  

There is no similarity between the word "Iceberg" and me, but it sounds right for me and that's why I'm using it
Back to top
 
IP Logged
 
xxx
Guest


Re: User Mood and  Re-Statu.mod [SP1.3]
Reply #4 - May 9th, 2003 at 11:17am
Print Post  
Quote:
User Mood and statu Mod 1v.0 for SP1.3/SP.1.3.1

This mod allow users to select their  current mood and relationship statu in their profile like the zodiac mod.  

Demo pic
http://www.teencreek.com/img/captured.jpg




There is once thing I can't understand = why are you openning files at Post.pl???

what is this code is doing?

Code
Select All
$yySetLocation = qq~$cgi;action=display;num=$thread;start=$start#$mreplies~;
			if (-e "$memberdir/$username.mod") {
			fopen(FILE, "$memberdir/$username.mod");
			@mdfile = <FILE>;
			chomp $mdfile[0];
			fclose(FILE);
		}
	fopen(FILE, ">$memberdir/$username.mod");
	print FILE qq~$mdfile[0]~;
	fclose(FILE);
		if (-e "$memberdir/$username.rst") {
			fopen(FILE, "$memberdir/$username.rst");
			@mrstfile = <FILE>;
			chomp $mrstfile[0];
			fclose(FILE);
		}
	fopen(FILE, ">$memberdir/$username.rst");
	print FILE qq~$mrstfile[0]~;
	fclose(FILE);
			&redirectexit;
 

  
Back to top
 
IP Logged
 
xtrasweetgirl
Senior Member
****
Offline



Posts: 496
Joined: Oct 8th, 2002
Gender: Female
Re: User Mood and  Re-Statu.mod [SP1.3]
Reply #5 - May 9th, 2003 at 3:39pm
Print Post  
its a check to make sure that the user input is always remembered in display.pl..
  
Back to top
 
IP Logged
 
OldYaBBUser
God Member
*****
Offline


Only the Best Posters
Survive!

Posts: 1838
Joined: Sep 30th, 2002
Gender: Male
Re: User Mood and  Re-Statu.mod [SP1.3]
Reply #6 - May 9th, 2003 at 5:39pm
Print Post  
Hmmm... I wonder where this idea came from?
  
Back to top
WWW  
IP Logged
 
B
Full Member
***
Offline



Posts: 168
Location: Chicago area
Joined: Feb 11th, 2003
Gender: Male
Re: User Mood and  Re-Statu.mod [SP1.3]
Reply #7 - May 9th, 2003 at 7:25pm
Print Post  
Wherever it came from, it's pretty cool. Smiley I'm gonna test it out in a few mins.

B
  
Back to top
WWWYIM  
IP Logged
 
masterstanf2k
Ex Member


Re: User Mood and  Re-Statu.mod [SP1.3]
Reply #8 - May 9th, 2003 at 7:41pm
Print Post  
For 1.1 too? Or no?
  
Back to top
 
IP Logged
 
Scaper
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 43
Joined: Mar 19th, 2003
Re: User Mood and  Re-Statu.mod [SP1.3]
Reply #9 - May 9th, 2003 at 8:20pm
Print Post  
I get this error when trying to view a post
Quote:
Untrapped Error:
Unmatched right curly bracket at ./Sources/Display.pl line 604, at end of line syntax error at ./Sources/Display.pl line 604, near "}" Compilation failed in require at YaBB.pl line 72.


Here is part of my Display.pl
Code
Select All
	  $yymain .= qq~
  <tr>
    <td align="left" valign="top" colspan="2">~;
	if(exists $moderators{$username} || $settings[7] eq 'Administrator' || $settings[7] eq 'Global Moderator') {
		$yymain .= qq~<font size="1"><b>$img{'admin_func'}</b>
	  &nbsp;<a href="$cgi;action=movethread;thread=$viewnum">$img{'admin_move'}</a>$menusep
~;

	if($ss_advanced eq "1") { $yymain .= qq~
	  <a href="$cgi;action=split_splice;thread=$viewnum">$img{'admin_split_splice'}</a>$menusep~;
	} else { $yymain .= qq~
	  <a href="$cgi;action=split;thread=$viewnum">$img{'admin_split'}</a>$menusep
	  <a href="$cgi;action=splice;thread=$viewnum">$img{'admin_splice'}</a>$menusep~;
	}

	$yymain .= qq~
	  <a href="$cgi;action=removethread;thread=$viewnum" onclick="return confirm('$txt{'162'}')">$img{'admin_rem'}</a>$menusep
	  <a href="$cgi;action=lock;thread=$viewnum">$img{'admin_lock'}</a>$menusep
	  <a href="$cgi;action=sticky;thread=$viewnum">$img{'admin_sticky'}</a>
	  $menusep$admin_rate
</font>~;
	}
	$yymain .= qq~
    </td>
    <td valign="top" height="18" align="right"><font size="1">$selecthtml</font></td>
  </tr><tr>
    <td colspan="3" valign="top" align="right"><font size="1">$nav</font></td>
  </tr>
</table>
~;

$yytitle = $msubthread;
	&template;
	exit;

}

1; 

line 604 is the last }
  
Back to top
 
IP Logged
 
xtrasweetgirl
Senior Member
****
Offline



Posts: 496
Joined: Oct 8th, 2002
Gender: Female
Re: User Mood and  Re-Statu.mod [SP1.3]
Reply #10 - May 9th, 2003 at 8:30pm
Print Post  
OldYaBBUser wrote on May 9th, 2003 at 5:39pm:
Hmmm... I wonder where this idea came from?



Say Thanks to bordeglobal for the mod idea.  Wink


Tongue
  
Back to top
 
IP Logged
 
masterstanf2k
Ex Member


Re: User Mood and  Re-Statu.mod [SP1.3]
Reply #11 - May 9th, 2003 at 8:32pm
Print Post  
For SP1.1?? Or NO!?
  
Back to top
 
IP Logged
 
xtrasweetgirl
Senior Member
****
Offline



Posts: 496
Joined: Oct 8th, 2002
Gender: Female
Re: User Mood and  Re-Statu.mod [SP1.3]
Reply #12 - May 9th, 2003 at 8:32pm
Print Post  
Quote:
For 1.1 too? Or no?



You still running SP1.1 huh ?.... okie dokie one SP1.1 version coming in a few minutes..


Grin
  
Back to top
 
IP Logged
 
caliman
God Member
*****
Offline


Swanky

Posts: 1220
Location: Pt. Richmond
Joined: Mar 20th, 2002
Gender: Male
Re: User Mood and  Re-Statu.mod [SP1.3]
Reply #13 - May 9th, 2003 at 8:33pm
Print Post  
Just a guess, but try moving the curly above yytitle.


ON a side note,

Code
Select All
<version>
This version is for the Sp1.3/Sp1.3.1 version of YaBB only
</version> 



What is preventing this from 1.1? Testing?
  
Back to top
WWW  
IP Logged
 
caliman
God Member
*****
Offline


Swanky

Posts: 1220
Location: Pt. Richmond
Joined: Mar 20th, 2002
Gender: Male
Re: User Mood and  Re-Statu.mod [SP1.3]
Reply #14 - May 9th, 2003 at 8:33pm
Print Post  
Wow. Everybody is typing at the same time!
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: [1] 2 3 ... 13
Send TopicPrint