Random avatar for new users

Support for IntegraMOD 141

Moderator: Integra Moderator

Random avatar for new users

PostAuthor: Juppertje » Fri Jun 01, 2007 11:06 am

Is it possible to give people who has none avatar or new users automaticly a avatar? i Believe in the past theire was somwhere a option for it with the pictures below and then the name came in to it also i believe?

[flash=,:kmbk4wpq]http://www.mbclub.nl/forum/images/avatars/gallery/diversen/automator.gif[/flash:kmbk4wpq]
[flash=,:kmbk4wpq]http://www.mbclub.nl/forum/images/avatars/gallery/diversen/blue.gif[/flash:kmbk4wpq]
[flash=,:kmbk4wpq]http://www.mbclub.nl/forum/images/avatars/gallery/diversen/dashboard.gif[/flash:kmbk4wpq]
[flash=,:kmbk4wpq]http://www.mbclub.nl/forum/images/avatars/gallery/diversen/elektro.gif[/flash:kmbk4wpq]
[flash=,:kmbk4wpq]http://www.mbclub.nl/forum/images/avatars/gallery/diversen/guest.gif[/flash:kmbk4wpq]
[flash=,:kmbk4wpq]http://www.mbclub.nl/forum/images/avatars/gallery/diversen/ichat.gif[/flash:kmbk4wpq]
[flash=,:kmbk4wpq]http://www.mbclub.nl/forum/images/avatars/gallery/diversen/mail.gif[/flash:kmbk4wpq]
[flash=,:kmbk4wpq]http://www.mbclub.nl/forum/images/avatars/gallery/diversen/spotlight.gif[/flash:kmbk4wpq]
[flash=,:kmbk4wpq]http://www.mbclub.nl/forum/images/avatars/gallery/diversen/sync.gif[/flash:kmbk4wpq]

Those anybody know this or how to do this with IM 1.41
Last edited by Juppertje on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Juppertje
Integra Member
Integra Member
 
Posts: 113
Likes: 0 post
Liked in: 0 post
Joined: Sat May 20, 2006 1:12 pm
Cash on hand: 0.00

Re: Random avatar for new users

PostAuthor: found it » Fri Jun 01, 2007 11:50 am

There was a mod released for doing this avatarmagic I believe it was called... though it was released for version 1.3.2

I will have a look at my other comp later to see if I still have a copy of it....

:mrgreen:
Last edited by found it on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 4:29 am
Cash on hand: 0.00

Re: Random avatar for new users

PostAuthor: Juppertje » Fri Jun 01, 2007 1:34 pm

"found it";p="26187" wrote:There was a mod released for doing this avatarmagic I believe it was called... though it was released for version 1.3.2

I will have a look at my other comp later to see if I still have a copy of it....

:mrgreen:


It would be greath if it could be implantent in future version IM 1.42

I hate bugs and i know if you implant your own hacks and mods and afther that you have to upgrade your board the problems starts :(

So maybe it wil be a future in a next genaration IM <img>
Last edited by Juppertje on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Juppertje
Integra Member
Integra Member
 
Posts: 113
Likes: 0 post
Liked in: 0 post
Joined: Sat May 20, 2006 1:12 pm
Cash on hand: 0.00

PostAuthor: zenrei » Mon Jun 04, 2007 6:56 pm

it's called avatar magick... i have it running on my 141 site w/o a problem.. i installed version 0.1.0
Last edited by zenrei on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
IntegraMOD 141 RULES!!
[img=left]http://www.falloutzone.net/foz/images/smiles/attentionwhore.gif[/img]

[url=http]Click here to go to my site built with IntegraMOD 141[/url] <img>
User avatar
zenrei
Sr Integra Member
Sr Integra Member
 
Posts: 286
Likes: 0 post
Liked in: 0 post
Joined: Mon Oct 09, 2006 8:36 am
Cash on hand: 0.00

Re: Random avatar for new users

PostAuthor: Juppertje » Mon Sep 17, 2007 12:01 pm

where can i get it
Last edited by Juppertje on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Juppertje
Integra Member
Integra Member
 
Posts: 113
Likes: 0 post
Liked in: 0 post
Joined: Sat May 20, 2006 1:12 pm
Cash on hand: 0.00

PostAuthor: zenrei » Mon Sep 17, 2007 9:08 pm

Last edited by zenrei on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
IntegraMOD 141 RULES!!
[img=left]http://www.falloutzone.net/foz/images/smiles/attentionwhore.gif[/img]

[url=http]Click here to go to my site built with IntegraMOD 141[/url] <img>
User avatar
zenrei
Sr Integra Member
Sr Integra Member
 
Posts: 286
Likes: 0 post
Liked in: 0 post
Joined: Mon Oct 09, 2006 8:36 am
Cash on hand: 0.00

PostAuthor: Juppertje » Mon Sep 17, 2007 11:58 pm

"zenrei";p="28473" wrote:http://lordlaurin.lo.funpic.de/index.php?option=com_remository&Itemid=38&func=fileinfo&id=3


Greath thank you
Last edited by Juppertje on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Juppertje
Integra Member
Integra Member
 
Posts: 113
Likes: 0 post
Liked in: 0 post
Joined: Sat May 20, 2006 1:12 pm
Cash on hand: 0.00

PostAuthor: zenrei » Tue Sep 18, 2007 2:17 am

my pleasure <img>
Last edited by zenrei on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
IntegraMOD 141 RULES!!
[img=left]http://www.falloutzone.net/foz/images/smiles/attentionwhore.gif[/img]

[url=http]Click here to go to my site built with IntegraMOD 141[/url] <img>
User avatar
zenrei
Sr Integra Member
Sr Integra Member
 
Posts: 286
Likes: 0 post
Liked in: 0 post
Joined: Mon Oct 09, 2006 8:36 am
Cash on hand: 0.00

PostAuthor: Juppertje » Tue Sep 18, 2007 3:06 am

[quote=""zenrei";p="28478""]my pleasure :(

Code: Select all
# #-----[ OPEN ]------------------------------------------# includes/usercp_viewprofile.php##-----[ FIND ]------------------------------------------#         case USER_AVATAR_GALLERY:             $avatar_img = ( $board_config['allow_avatar_local'] ) ? '<img>' : '';             break;     }}##-----[ AFTER, ADD ]------------------------------------------# // AvatarMagick by LauriN (Begin)     if ((!$avatar_img) && (($board_config['default_avatar_set'] == 1) || ($board_config['default_avatar_set'] == 2)) && ($board_config['default_avatar_users_url'])){         $avatar_img = '<img>';     }// AvatarMagick by LauriN (End)


i only have

usercp_confirm.php
usercp_confirm_gd.php
usercp_profile.php


how did you solved this problem?
Last edited by Juppertje on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Juppertje
Integra Member
Integra Member
 
Posts: 113
Likes: 0 post
Liked in: 0 post
Joined: Sat May 20, 2006 1:12 pm
Cash on hand: 0.00

PostAuthor: zenrei » Tue Sep 18, 2007 3:35 am

this the the edit list i have:

Code: Select all
   ############################################################## ## MOD Title]http://www.laurin.net.tf/[/url] ## MOD De.scription: Combines the functionality of "Default avatar" and "Avatar Generator" ## MOD Version: 0.1.0 ## ## Installation Level: Easy ## Installation Time: ~ 10 Minutes ## Files To Edit: ##      admin/admin_board.php ##    language/lang_english/lang_faq.php ##      language/lang_english/lang_admin.php ##      profilcp/def/def_userfuncs_std.php ##      templates/subSilver/admin/board_config_body.tpl ##    ## ## Included Files: ##    avatar_make.php to / ##    avatar.php to / ##    avatar/automator.gif ##    avatar/blue.gif ##    avatar/dashboard.gif ##    avatar/elektro.gif ##    avatar/guest.gif ##    avatar/ichat.gif ##    avatar/mail.gif ##    avatar/spotlight.gif ##    avatar/sync.gif ##    avatar/trebucbd.ttf ##    language/lang_english/lang_avatargen.php ##    templates/ca_aphrodite/avatar_body.tpl ##    templates/MorpheusX/avatar_body.tpl ##    templates/subSilver/avatar_body.tpl ############################################################## ## For Security Purposes, Please Check: [url=http://www.phpbb.com/mods/]http://www.phpbb.com/mods/[/url] for the ## latest version of this MOD. Downloading this MOD from other sites could cause malicious code ## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered ## in our MOD-Database, located at: [url=http://www.phpbb.com/mods/]http://www.phpbb.com/mods/[/url] ############################################################## ## Author Notes: ## ## You server needs to have GD for this mod to work, contact your host if you are unsure. If you have any questions feel free to ask them in my forum which is located here: [url=http://www.elektro.net.tf]http://www.elektro.net.tf[/url] ## ##   This MOD "combines" the functionality of the following MODs: ##     - "Default avatar" from Manipe <admin> ##     - "Avatar Generator" from WinSrev <winsrev> ## ## You can choose the default/guest avatar background by following the "Configuration" link under the "General Admin" heading, in the left panel of the ACP. ## With the default installation you can use the following settings: ##    - guest ##    - elektro ##    - blue ##    - automator ##    - sync ##    - dashboard ##    - ichat ##    - mail ##    - spotlight ## ## AvatarMagick supports the following themes: ##    - subSilver ##    - Aphrodite ##    - MorpheusX ## ##  If you want other avatar background images, you have to upload the new images to the avatars folder in your phpBB root directory and make changes in the following files: ##    - avatar_make.php ##    - templates/*/avatar_body.tpl (if you want to add the choices to the AvatarMagick Generator too) ############################################################## ## MOD History: ## ##   2005-09-22 - Version 0.1.0 ##      - First version, seems to work fine. ## ############################################################## ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD ############################################################## # #-----[ COPY ]------------------------------------------ # copy avatar_make.php to / copy avatar.php to / copy avatar/automator.gif to /avatar/automator.gif copy avatar/blue.gif to /avatar/blue.gif copy avatar/dashboard.gif to /avatar/dashboard.gif copy avatar/elektro.gif to /avatar/elektro.gif copy avatar/guest.gif to /avatar/guest.gif copy avatar/ichat.gif to /avatar/ichat.gif copy avatar/mail.gif to /avatar/mail.gif copy avatar/spotlight.gif to /avatar/spotlight.gif copy avatar/sync.gif to /avatar/sync.gif copy avatar/trebucbd.ttf to /avatar/trebucbd.ttf copy language/lang_english/lang_avatargen.php to /language/lang_english/lang_avatargen.php copy templates/*/avatar_body.tpl to /templates/*/avatar_body.tpl # #-----[ SQL ]------------------------------------------ # INSERT INTO phpbb_config(config_name, config_value) VALUES ('default_avatar_guests_url', ''); INSERT INTO phpbb_config(config_name, config_value) VALUES ('default_avatar_users_url', ''); INSERT INTO phpbb_config(config_name, config_value) VALUES ('default_avatar_set', '3'); # #-----[ OPEN ]------------------------------------------ # admin/admin_board.php # #-----[ FIND ]------------------------------------------ # $disable_board_no = ( !$new['board_disable'] ) ? "checked="checked"" : ""; # #-----[ AFTER, ADD ]------------------------------------------ # // AvatarMagick by LauriN (Begin) $default_avatar_guests = ($new['default_avatar_set'] == '0') ? "checked="checked"" : ""; $default_avatar_users = ($new['default_avatar_set'] == '1') ? "checked="checked"" : ""; $default_avatar_both = ($new['default_avatar_set'] == '2') ? "checked="checked"" : ""; $default_avatar_none = ($new['default_avatar_set'] == '3') ? "checked="checked"" : ""; // AvatarMagick by LauriN (End) # #-----[ FIND ]------------------------------------------ #    "L_NO" => $lang['No'], # #-----[ AFTER, ADD ]------------------------------------------ # // AvatarMagick by LauriN (Begin)    "L_DEFAULT_AVATAR" => $lang['Default_avatar'],    "L_DEFAULT_AVATAR_EXPLAIN" => $lang['Default_avatar_explain'],    "L_DEFAULT_AVATAR_GUESTS" => $lang['Default_avatar_guests'],    "L_DEFAULT_AVATAR_USERS" => $lang['Default_avatar_users'],    "L_DEFAULT_AVATAR_BOTH" => $lang['Default_avatar_both'],    "L_DEFAULT_AVATAR_NONE" => $lang['Default_avatar_none'], // AvatarMagick by LauriN (End) # #-----[ FIND ]------------------------------------------ #    "S_DISABLE_BOARD_NO" => $disable_board_no, # #-----[ AFTER, ADD ]------------------------------------------ # // AvatarMagick by LauriN (Begin)    "DEFAULT_AVATAR_GUESTS_URL" => $new['default_avatar_guests_url'],    "DEFAULT_AVATAR_USERS_URL" => $new['default_avatar_users_url'],    "DEFAULT_AVATAR_GUESTS" => $default_avatar_guests,    "DEFAULT_AVATAR_USERS" => $default_avatar_users,    "DEFAULT_AVATAR_BOTH" => $default_avatar_both,    "DEFAULT_AVATAR_NONE" => $default_avatar_none, // AvatarMagick by LauriN (End) # #-----[ OPEN ]------------------------------------------ # language/lang_english/lang_faq.php # #-----[ FIND ]------------------------------------------ # $faq[] = array("I registered in the past but cannot log in anymore!", "The most likely reasons for this are: you entered an incorrect username or password (check the email you were sent when you first registered) or the administrator has deleted your account for some reason. If it is the latter case then perhaps you did not post anything? It is usual for boards to periodically remove users who have not posted anything so as to reduce the size of the database. Try registering again and get involved in discussions."); # #-----[ AFTER, ADD ]------------------------------------------ # $faq[] = array("--","Avatar Generator"); $faq[] = array("What is it?", "The <strong>Avatar Generator</strong> is used to generate avatars for this phpbb forum which the users can then use as their avatar"); $faq[] = array("What Version Is This?", "This avatar generator is version 1.2"); $faq[] = array("How do i get one?", "Goto [url=http://www.winsrev.com/]http://www.winsrev.com/[/url]"); $faq[] = array("The mod is installed but i dont see it anywhere, why?", "You may need to login to use the avatar generator"); $faq[] = array("How do i save the avatar i have made?", "There should be a link beneath the avatar that has been generated, the link says <strong>Click Here to add this to your profile avatar</strong> once you click this you will have a message that appears informing you about the change."); $faq[] = array("None of this helped me, what should i do?", "If your still having problems contact your forum admin, if you have a general question about the avatar generator you can find out at our forum located <a>here</a>. "); # #-----[ OPEN ]------------------------------------------ # language/lang_english/lang_admin.php # #-----[ FIND ]------------------------------------------ # // // That's all Folks! # #-----[ BEFORE, ADD ]------------------------------------------ # // AvatarMagick by LauriN (Begin) $lang['Default_avatar'] = 'Set a default avatar'; $lang['Default_avatar_explain'] = 'This gives users that haven't yet selected an avatar, a default one. Set the default avatar for guests and users, and then select wheather you want the avatar to be displayed for registered users, guests, both or none.'; $lang['Default_avatar_guests'] = 'Guests'; $lang['Default_avatar_users'] = 'Users'; $lang['Default_avatar_both'] = 'Both'; $lang['Default_avatar_none'] = 'None'; // AvatarMagick by LauriN (End) # #-----[ OPEN ]------------------------------------------ # profilcp/def/def_userfuncs_std.php # #-----[ FIND ]------------------------------------------ # //----------------------------------- // // user_avatar output function // //----------------------------------- function pcp_output_avatar($field_name, $view_userdata, $map_name='') {    global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;    global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;      $txt = '';    $img = '';    $res = '';    if ( !empty($view_userdata[$field_name]) && $userdata['user_viewavatar'] && $view_userdata['user_allowavatar'] && ($view_userdata['user_id'] != ANONYMOUS) )    {       switch ($view_userdata[$field_name . '_type'] )       {          case USER_AVATAR_UPLOAD:             $img = ( $board_config['allow_avatar_upload'] ) ? '<img>' : '';             break;          case USER_AVATAR_REMOTE:             $img = ( $board_config['allow_avatar_remote'] ) ? '<img>' : '';             break;          case USER_AVATAR_GALLERY:             $img = ( $board_config['allow_avatar_local'] ) ? '<img>' : '';             break;       }                 if ( ($img) && ($map_name == 'PHPBB.viewtopic.left') )                 {                         $tmp = append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $view_userdata['user_id']);                         $img = '<a>'. $img .'</a>';                 }       // result       $res = pcp_output_format($field_name, $txt, $img, $map_name);    }    return $res; } # #-----[ REPLACE WITH ]------------------------------------------ # //----------------------------------- // // user_avatar output function // //----------------------------------- function pcp_output_avatar($field_name, $view_userdata, $map_name='') {    global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;    global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;      $txt = '';    $img = '';    $res = '';    if ( !empty($view_userdata[$field_name]) && $userdata['user_viewavatar'] && $view_userdata['user_allowavatar'] && ($view_userdata['user_id'] != ANONYMOUS) )    {       switch ($view_userdata[$field_name . '_type'] )       {          case USER_AVATAR_UPLOAD:             $img = ( $board_config['allow_avatar_upload'] ) ? '<img>' : '';             break;          case USER_AVATAR_REMOTE:             $img = ( $board_config['allow_avatar_remote'] ) ? '<img>' : '';             break;          case USER_AVATAR_GALLERY:             $img = ( $board_config['allow_avatar_local'] ) ? '<img>' : '';             break;       }    }       $poster = ($view_userdata['user_id'] != ANONYMOUS) ? $view_userdata['username'] : ( (isset($view_userdata['post_username']) && ($view_userdata['post_username'] !='') ) ? $view_userdata['post_username'] : $lang['Guest'] );          if ((!$img) && ($board_config['default_avatar_set'] != 3)){       if (($board_config['default_avatar_set'] == 0) && ($view_userdata['user_id'] == -1) && ($board_config['default_avatar_guests_url'])){          $img = '<img>';       }       else if (($board_config['default_avatar_set'] == 1) && ($view_userdata['user_id'] != -1) && ($board_config['default_avatar_users_url']) ){          $img = '<img>';       }       else if ($board_config['default_avatar_set'] == 2){          if (($view_userdata['user_id'] == -1) && ($board_config['default_avatar_guests_url'])){             $img = '<img>';          }          else if (($view_userdata['user_id'] != -1) && ($board_config['default_avatar_users_url'])){             $img = '<img>';          }       }    }                     if ( ($img) && ($map_name == 'PHPBB.viewtopic.left') )                 {                         $tmp = append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $view_userdata['user_id']);                         $img = '<a>'. $img .'</a>';                 }                 // result                 $res = pcp_output_format($field_name, $txt, $img, $map_name);         return $res; }  # #-----[ OPEN ]------------------------------------------ # templates/subSilver/admin/board_config_body.tpl # #-----[ FIND ]------------------------------------------ #    <tr>      <th>{L_AVATAR_SETTINGS}</th>    </tr> # #-----[ AFTER, ADD ]------------------------------------------ #    <tr>       <td>{L_DEFAULT_AVATAR} <br><span>{L_DEFAULT_AVATAR_EXPLAIN}</span></td>       <td><input> {L_DEFAULT_AVATAR_GUESTS}   <input><br><input> {L_DEFAULT_AVATAR_USERS}   <input><br><input> {L_DEFAULT_AVATAR_BOTH}<br><input> {L_DEFAULT_AVATAR_NONE}</td>    </tr>    # #-----[ ADD LINK]------------------------------------------ # ADD YOUR LINK IN THE ACP/GENERAL ADMIN/QBARS SECTION AND LINK TO avatar.php AND CALL IT AvatarMagick # # #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ # # EoM  
Last edited by zenrei on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
IntegraMOD 141 RULES!!
[img=left]http://www.falloutzone.net/foz/images/smiles/attentionwhore.gif[/img]

[url=http]Click here to go to my site built with IntegraMOD 141[/url] <img>
User avatar
zenrei
Sr Integra Member
Sr Integra Member
 
Posts: 286
Likes: 0 post
Liked in: 0 post
Joined: Mon Oct 09, 2006 8:36 am
Cash on hand: 0.00

PostAuthor: zenrei » Tue Sep 18, 2007 3:36 am

let me know if there's anything on my list you don't have, ok?
Last edited by zenrei on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
IntegraMOD 141 RULES!!
[img=left]http://www.falloutzone.net/foz/images/smiles/attentionwhore.gif[/img]

[url=http]Click here to go to my site built with IntegraMOD 141[/url] <img>
User avatar
zenrei
Sr Integra Member
Sr Integra Member
 
Posts: 286
Likes: 0 post
Liked in: 0 post
Joined: Mon Oct 09, 2006 8:36 am
Cash on hand: 0.00

PostAuthor: Juppertje » Tue Sep 18, 2007 3:55 am

"zenrei";p="28484" wrote:let me know if there's anything on my list you don't have, ok?



strange this is the list i have with the link you gave to me

Code: Select all
################################################################ MOD Title]http://www.laurin.net.tf/#[/url]# MOD De.scription: Combines the functionality of "Default avatar" and "Avatar Generator"## MOD Version: 0.1.0## ## Installation Level: Easy## Installation Time: ~ 10 Minutes ## Files To Edit: ##       admin/admin_board.php##    language/lang_english/lang_faq.php##       language/lang_english/lang_admin.php##       includes/usercp_viewprofile.php##       templates/subSilver/admin/board_config_body.tpl##       viewtopic.php##    templates/*/overall_header.tpl#### Included Files:##    avatar_make.php to /##    avatar.php to /##    avatar/automator.gif##    avatar/blue.gif##    avatar/dashboard.gif##    avatar/elektro.gif##    avatar/guest.gif##    avatar/ichat.gif##    avatar/mail.gif##    avatar/spotlight.gif##    avatar/sync.gif##    avatar/trebucbd.ttf##    language/lang_english/lang_avatargen.php##    templates/ca_aphrodite/avatar_body.tpl##    templates/MorpheusX/avatar_body.tpl##    templates/subSilver/avatar_body.tpl############################################################## ## For Security Purposes, Please Check: [url=http://www.phpbb.com/mods/]http://www.phpbb.com/mods/[/url] for the ## latest version of this MOD. Downloading this MOD from other sites could cause malicious code ## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered ## in our MOD-Database, located at: [url=http://www.phpbb.com/mods/]http://www.phpbb.com/mods/[/url] ############################################################## ## Author Notes: ## ## You server needs to have GD for this mod to work, contact your host if you are unsure. If you have any questions feel free to ask them in my forum which is located here: [url=http://www.elektro.net.tf#]http://www.elektro.net.tf#[/url]###   This MOD "combines" the functionality of the following MODs:##     - "Default avatar" from Manipe <admin>##     - "Avatar Generator" from WinSrev <winsrev>#### You can choose the default/guest avatar background by following the "Configuration" link under the "General Admin" heading, in the left panel of the ACP.## With the default installation you can use the following settings:##    - guest##    - elektro##    - blue##    - automator##    - sync##    - dashboard##    - ichat##    - mail##    - spotlight#### AvatarMagick supports the following themes:##    - subSilver##    - Aphrodite##    - MorpheusX####  If you want other avatar background images, you have to upload the new images to the avatars folder in your phpBB root directory and make changes in the following files:##    - avatar_make.php##    - templates/*/avatar_body.tpl (if you want to add the choices to the AvatarMagick Generator too)############################################################## ## MOD History: ####   2005-09-22 - Version 0.1.0##      - First version, seems to work fine.## ############################################################## ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD ################################################################-----[ COPY ]------------------------------------------#copy avatar_make.php to /copy avatar.php to /copy avatar/automator.gif to /avatar/automator.gifcopy avatar/blue.gif to /avatar/blue.gifcopy avatar/dashboard.gif to /avatar/dashboard.gifcopy avatar/elektro.gif to /avatar/elektro.gifcopy avatar/guest.gif to /avatar/guest.gifcopy avatar/ichat.gif to /avatar/ichat.gifcopy avatar/mail.gif to /avatar/mail.gifcopy avatar/spotlight.gif to /avatar/spotlight.gifcopy avatar/sync.gif to /avatar/sync.gifcopy avatar/trebucbd.ttf to /avatar/trebucbd.ttfcopy language/lang_english/lang_avatargen.php to /language/lang_english/lang_avatargen.phpcopy templates/*/avatar_body.tpl to /templates/*/avatar_body.tpl##-----[ SQL ]------------------------------------------# INSERT INTO phpbb_config(config_name, config_value) VALUES ('default_avatar_guests_url', '');INSERT INTO phpbb_config(config_name, config_value) VALUES ('default_avatar_users_url', '');INSERT INTO phpbb_config(config_name, config_value) VALUES ('default_avatar_set', '3');# #-----[ OPEN ]------------------------------------------# admin/admin_board.php##-----[ FIND ]------------------------------------------# $disable_board_no = ( !$new['board_disable'] ) ? "checked="checked"" : "";##-----[ AFTER, ADD ]------------------------------------------# // AvatarMagick by LauriN (Begin)$default_avatar_guests = ($new['default_avatar_set'] == '0') ? "checked="checked"" : "";$default_avatar_users = ($new['default_avatar_set'] == '1') ? "checked="checked"" : "";$default_avatar_both = ($new['default_avatar_set'] == '2') ? "checked="checked"" : "";$default_avatar_none = ($new['default_avatar_set'] == '3') ? "checked="checked"" : "";// AvatarMagick by LauriN (End)##-----[ FIND ]------------------------------------------#     "L_NO" => $lang['No'],##-----[ AFTER, ADD ]------------------------------------------# // AvatarMagick by LauriN (Begin)     "L_DEFAULT_AVATAR" => $lang['Default_avatar'],     "L_DEFAULT_AVATAR_EXPLAIN" => $lang['Default_avatar_explain'],     "L_DEFAULT_AVATAR_GUESTS" => $lang['Default_avatar_guests'],     "L_DEFAULT_AVATAR_USERS" => $lang['Default_avatar_users'],     "L_DEFAULT_AVATAR_BOTH" => $lang['Default_avatar_both'],     "L_DEFAULT_AVATAR_NONE" => $lang['Default_avatar_none'],// AvatarMagick by LauriN (End)##-----[ FIND ]------------------------------------------#     "S_DISABLE_BOARD_NO" => $disable_board_no,##-----[ AFTER, ADD ]------------------------------------------# // AvatarMagick by LauriN (Begin)     "DEFAULT_AVATAR_GUESTS_URL" => $new['default_avatar_guests_url'],     "DEFAULT_AVATAR_USERS_URL" => $new['default_avatar_users_url'],     "DEFAULT_AVATAR_GUESTS" => $default_avatar_guests,     "DEFAULT_AVATAR_USERS" => $default_avatar_users,     "DEFAULT_AVATAR_BOTH" => $default_avatar_both,     "DEFAULT_AVATAR_NONE" => $default_avatar_none,// AvatarMagick by LauriN (End)##-----[ OPEN ]------------------------------------------#language/lang_english/lang_faq.php##-----[ FIND ]------------------------------------------#$faq[] = array("I registered in the past but cannot log in anymore!", "The most likely reasons for this are: you entered an incorrect username or password (check the email you were sent when you first registered) or the administrator has deleted your account for some reason. If it is the latter case then perhaps you did not post anything? It is usual for boards to periodically remove users who have not posted anything so as to reduce the size of the database. Try registering again and get involved in discussions.");##-----[ AFTER, ADD ]------------------------------------------#$faq[] = array("--","Avatar Generator");$faq[] = array("What is it?", "The <strong>Avatar Generator</strong> is used to generate avatars for this phpbb forum which the users can then use as their avatar");$faq[] = array("What Version Is This?", "This avatar generator is version 1.2");$faq[] = array("How do i get one?", "Goto [url=http://www.winsrev.com/]http://www.winsrev.com/[/url]");$faq[] = array("The mod is installed but i dont see it anywhere, why?", "You may need to login to use the avatar generator");$faq[] = array("How do i save the avatar i have made?", "There should be a link beneath the avatar that has been generated, the link says <strong>Click Here to add this to your profile avatar</strong> once you click this you will have a message that appears informing you about the change.");$faq[] = array("None of this helped me, what should i do?", "If your still having problems contact your forum admin, if you have a general question about the avatar generator you can find out at our forum located <a>here</a>. ");##-----[ OPEN ]------------------------------------------# language/lang_english/lang_admin.php##-----[ FIND ]------------------------------------------# //// That's all Folks!##-----[ BEFORE, ADD ]------------------------------------------# // AvatarMagick by LauriN (Begin)$lang['Default_avatar'] = 'Set a default avatar';$lang['Default_avatar_explain'] = 'This gives users that haven't yet selected an avatar, a default one. Set the default avatar for guests and users, and then select wheather you want the avatar to be displayed for registered users, guests, both or none.';$lang['Default_avatar_guests'] = 'Guests';$lang['Default_avatar_users'] = 'Users';$lang['Default_avatar_both'] = 'Both';$lang['Default_avatar_none'] = 'None';// AvatarMagick by LauriN (End)# #-----[ OPEN ]------------------------------------------# includes/usercp_viewprofile.php##-----[ FIND ]------------------------------------------#         case USER_AVATAR_GALLERY:             $avatar_img = ( $board_config['allow_avatar_local'] ) ? '<img>' : '';             break;     }}##-----[ AFTER, ADD ]------------------------------------------# // AvatarMagick by LauriN (Begin)     if ((!$avatar_img) && (($board_config['default_avatar_set'] == 1) || ($board_config['default_avatar_set'] == 2)) && ($board_config['default_avatar_users_url'])){         $avatar_img = '<img>';     }// AvatarMagick by LauriN (End)# #-----[ OPEN ]------------------------------------------# templates/subSilver/admin/board_config_body.tpl##-----[ FIND ]------------------------------------------#     <tr>       <th>{L_AVATAR_SETTINGS}</th>     </tr>##-----[ AFTER, ADD ]------------------------------------------#     <tr>         <td>{L_DEFAULT_AVATAR} <br><span>{L_DEFAULT_AVATAR_EXPLAIN}</span></td>         <td><input> {L_DEFAULT_AVATAR_GUESTS}   <input><br><input> {L_DEFAULT_AVATAR_USERS}   <input><br><input> {L_DEFAULT_AVATAR_BOTH}<br><input> {L_DEFAULT_AVATAR_NONE}</td>     </tr># #-----[ OPEN ]------------------------------------------# viewtopic.php# #-----[ FIND ]------------------------------------------#             case USER_AVATAR_GALLERY:                 $poster_avatar = ( $board_config['allow_avatar_local'] ) ? '<img>' : '';                 break;         }     }##-----[ AFTER, ADD ]------------------------------------------# // AvatarMagick by LauriN (Begin)     if ( $poster_id == ANONYMOUS && $postrow[$i]['post_username'] != '' )     {         $poster = $postrow[$i]['post_username'];     }       if ((!$poster_avatar) && ($board_config['default_avatar_set'] != 3)){         if (($board_config['default_avatar_set'] == 0) && ($poster_id == -1) && ($board_config['default_avatar_guests_url'])){             $poster_avatar = '<img>';         }         else if (($board_config['default_avatar_set'] == 1) && ($poster_id != -1) && ($board_config['default_avatar_users_url']) ){             $poster_avatar = '<img>';         }         else if ($board_config['default_avatar_set'] == 2){             if (($poster_id == -1) && ($board_config['default_avatar_guests_url'])){                 $poster_avatar = '<img>';             }             else if (($poster_id != -1) && ($board_config['default_avatar_users_url'])){                 $poster_avatar = '<img>';             }         }     }// AvatarMagick by LauriN (End)#-----[ OPEN ]------------------------------------------#templates/*/overall_header.tpl##-----[ FIND ]------------------------------------------#<a>{L_PROFILE}</a>##-----[ AFTER, ADD ]------------------------------------------#<a>AvatarMagick</a># #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ # # EoM
Last edited by Juppertje on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Juppertje
Integra Member
Integra Member
 
Posts: 113
Likes: 0 post
Liked in: 0 post
Joined: Sat May 20, 2006 1:12 pm
Cash on hand: 0.00

PostAuthor: zenrei » Tue Sep 18, 2007 8:57 am

if you pm me your email address, i'll zip up the mod i have and send it to you
Last edited by zenrei on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
IntegraMOD 141 RULES!!
[img=left]http://www.falloutzone.net/foz/images/smiles/attentionwhore.gif[/img]

[url=http]Click here to go to my site built with IntegraMOD 141[/url] <img>
User avatar
zenrei
Sr Integra Member
Sr Integra Member
 
Posts: 286
Likes: 0 post
Liked in: 0 post
Joined: Mon Oct 09, 2006 8:36 am
Cash on hand: 0.00

PostAuthor: Juppertje » Tue Sep 18, 2007 10:01 am

"zenrei";p="28490" wrote:if you pm me your email address, i'll zip up the mod i have and send it to you


you got a pm
Last edited by Juppertje on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Juppertje
Integra Member
Integra Member
 
Posts: 113
Likes: 0 post
Liked in: 0 post
Joined: Sat May 20, 2006 1:12 pm
Cash on hand: 0.00


Return to IntegraMOD 141

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot], Majestic-12 [Bot]