Welcome, Guest. Please Login or Register.
April 19, 2024, 10:47:13 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  New Avatars Mod « previous next »
Pages: [1] 2 3 Reply Ignore Print
Author Topic: New Avatars Mod  (Read 6385 times)
Yngwiedis
Full Member
***
Posts: 111


Yngwie Rules !!!

WWW
New Avatars Mod
« on: June 11, 2002, 12:52:53 AM »
Reply with quote

http://www.yabb.info/community/index.php?board=144;action=display;threadid=8273
Logged
Yngwiedis
Full Member
***
Posts: 111


Yngwie Rules !!!

WWW
Re:New Avatars Mod
« Reply #1 on: June 12, 2002, 09:42:57 PM »
Reply with quote

Is this conversion so difficult ?
Come on guys. This mod is so usefull :)
Logged
Yngwiedis
Full Member
***
Posts: 111


Yngwie Rules !!!

WWW
Re:New Avatars Mod
« Reply #2 on: June 18, 2002, 03:15:04 PM »
Reply with quote

I dont see anyone interest to make this.
Please moderators delete this topic.
Logged
Big P
Mod Team
YaBB God
*****
Posts: 1462


"Back in '68, I don't like you, The End."

ICQ - 76064555pierceward@hotmail.com WWW
Re:New Avatars Mod
« Reply #3 on: June 18, 2002, 10:07:35 PM »
Reply with quote

I know perl, and its an easy mod to do so I'll give it a go tomorrow if all goes well. ;)
Logged

PHPNews has been released!!! Download it now!!!
Yngwiedis
Full Member
***
Posts: 111


Yngwie Rules !!!

WWW
Re:New Avatars Mod
« Reply #4 on: June 18, 2002, 10:10:47 PM »
Reply with quote

Thank you very very much Big P :)
You save me  ;)
Logged
maime
Noobie
*
Posts: 34


Let there be no doubt about it...I am a flying pig

WWW
Re:New Avatars Mod
« Reply #5 on: June 18, 2002, 11:13:44 PM »
Reply with quote

o yes an avatarmod would be a great mod I will use that definately  ;D
why are all those great mods not used in this forum btw It could  be a tribute and a nice show off for all the modmakers.
Logged
Yngwiedis
Full Member
***
Posts: 111


Yngwie Rules !!!

WWW
Re:New Avatars Mod
« Reply #6 on: July 08, 2002, 02:08:39 PM »
Reply with quote

Any luck with this Big P ?
Logged
Yngwiedis
Full Member
***
Posts: 111


Yngwie Rules !!!

WWW
Re:New Avatars Mod
« Reply #7 on: July 14, 2002, 05:05:30 PM »
Reply with quote

Big P are you there ? ::)
Logged
Big P
Mod Team
YaBB God
*****
Posts: 1462


"Back in '68, I don't like you, The End."

ICQ - 76064555pierceward@hotmail.com WWW
Re:New Avatars Mod
« Reply #8 on: July 14, 2002, 10:55:50 PM »
Reply with quote

Quote from: Yngwiedis on July 14, 2002, 05:05:30 PMBig P are you there ? ::)
OMG, I forgot completely about doing this! Sorry, I'll get to it now. Might want to wait for 1.4.1 for code changes. But I'll give it a go now anyhow.  ;)
Logged

PHPNews has been released!!! Download it now!!!
Yngwiedis
Full Member
***
Posts: 111


Yngwie Rules !!!

WWW
Re:New Avatars Mod
« Reply #9 on: July 17, 2002, 08:02:03 PM »
Reply with quote

Thanx Big P :)
You are great  ;)
Logged
Yngwiedis
Full Member
***
Posts: 111


Yngwie Rules !!!

WWW
Re:New Avatars Mod
« Reply #10 on: February 09, 2003, 07:49:34 PM »
Reply with quote

Big P like i see in Smilies Mod 2.0 you find a way to read a directory and add the smilies.
Is there anyway now to make and this mod ?
I think is easier because you find the solution for reading directories.
Logged
kablekid12
Noobie
*
Posts: 29


Hello

cablekid12@hotmail.com
Re:New Avatars Mod
« Reply #11 on: February 10, 2003, 01:02:45 AM »
Reply with quote

Quote from: Yngwiedis on June 11, 2002, 12:52:53 AM
http://www.yabb.info/community/index.php?board=144;action=display;threadid=8273

broken... the topic doenst exist
Logged

Yngwiedis
Full Member
***
Posts: 111


Yngwie Rules !!!

WWW
Re:New Avatars Mod
« Reply #12 on: February 10, 2003, 01:28:30 PM »
Reply with quote

 :( :( :( :(
Is a code from a mod for Y SP1.1 made by Michael of the boardmod.
I think a convertion for YaBBSE is easiest now.

I wrote this for a Gold Release board, actually, but it will work just as well in SP1. Yay for compatibility!  

After these two lines in profile.pl:
Code:                       $images .= qq~<option value="$line"$checked>$name\n~;
                 }  



Add this:
Code:### Organized Avatars ###
           elsif ( -d "$facesdir/$line" && $line ne ".." && $line ne ".") {
                 push (@subdirs, $line);
               }
     }

     foreach $dir (@subdirs) {
         opendir (DIR, "$facesdir/$dir") || fatal_error("$txt{'230'} ($facesdir/$dir)!<BR>$txt{'681'}");
         @contents = readdir (DIR);
         closedir (DIR);
         foreach $line (sort @contents){
           ($name, $extension) = split (/\./, $line);
           if ($line eq $memsettings[13]) { $checked = ' selected'; }
           if ($memsettings[13] =~ m~\Ahttp://~ && $line eq 'blank.gif') { $checked = ' selected'; }
           if ($extension =~ /gif/i || $extension =~ /jpg/i || $extension =~ /jpeg/i || $extension =~ /png/i ) {
               if ($line eq 'blank.gif') { $name = $txt{'422'}; }
               $name =~ s/\_/\ /g;
               $images .= qq~<option value="$dir/$line"$checked>$dir/$name\n~;
           }
         }
###/Organized Avatars ###  




It's very important that the code be added BETWEEN "$images .= qq~<option value="$line"$checked>$name\n~;
                 }" and the next "}", or else you'll cook everything.
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:New Avatars Mod
« Reply #13 on: February 11, 2003, 12:33:39 AM »
Reply with quote

I was just messing with that part of Profile.php; it's already installed in 1.5.1... at least.

-[Unknown]
Logged
blar
Jr. Member
**
Posts: 62


just be noob :D

ICQ - 60591109
Re:New Avatars Mod
« Reply #14 on: February 11, 2003, 09:37:46 PM »
Reply with quote

what do this mod?
Logged
Pages: [1] 2 3 Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  New Avatars Mod « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.036 seconds with 20 queries.