Welcome, Guest. Please Login or Register.
May 27, 2022, 07:58:49 PM
Home Help Search Login 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  |  Topic: New Avatars Mod « previous next »
Pages: [1] 2 3 Reply Ignore Print
Author Topic: New Avatars Mod  (Read 6145 times)
Yngwiedis
Full Member
***
Posts: 111


Yngwie Rules !!!


WWW
New Avatars Mod
« on: June 10, 2002, 07:52:53 PM »
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, 04: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, 10:15:04 AM »
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."


WWW
Re:New Avatars Mod
« Reply #3 on: June 18, 2002, 05: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, 05: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, 06: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, 09:08:39 AM »
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, 12: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."


WWW
Re:New Avatars Mod
« Reply #8 on: July 14, 2002, 05:55:50 PM »
Reply with quote


Big 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, 03: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, 02: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


Re:New Avatars Mod
« Reply #11 on: February 09, 2003, 08:02:45 PM »
Reply with quote

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, 08:28:30 AM »
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.

Code: [Select]
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



WWW
Re:New Avatars Mod
« Reply #13 on: February 10, 2003, 07:33:39 PM »
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


Re:New Avatars Mod
« Reply #14 on: February 11, 2003, 04: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  |  Topic: 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.0.18 | SMF © 2021, Simple Machines
Valid XHTML 1.0! Valid CSS!
Page created in 0.141 seconds with 19 queries.