Welcome, Guest. Please Login or Register.
April 28, 2025, 06:39:31 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  |  Completed mods  |  [beta] Internal Avatar Deletion Mod 1.5.4 « previous next »
Pages: [1] Reply Ignore Print
Author Topic: [beta] Internal Avatar Deletion Mod 1.5.4  (Read 1792 times)
Metho
Sr. Member
****
Posts: 342


I'm a llama!

[beta] Internal Avatar Deletion Mod 1.5.4
« on: July 19, 2003, 11:09:17 PM »
Reply with quote

BETA 1.0

This mod will remove all references to internal avatars, thus forcing users to have linked off-site avatars.

**INSTALLATION INSTRUCTIONS**
1. Run this .mod file under BoardMod
2. Upload all changed files (2 files) into their directories
3. Run internalavatarupdate.php

This mod modifies two files:
Profile.php
english.lng

Future plans:
In database query add user fields to define extra avatars to reset to blank.gif

**NOTES: PLEASE READ BEFORE INSTALLING!!**
Right now, for some reason boardmod is not seeing the text in Profile.php that it needs to find. Probably some odd whitespacing issue. I'm trying to fix it. It may find it on some peoples, but most likely not. But you can manually apply the two changes in Profile.php very easily, nothing hard at all, just follow the instructions.

On the database update file: This searches for any members with the default avatar images set, and sets them to blank.gif. This is done because until you or they modify and save their profile again, those avatars will appear in the messages but not the profile. Once it updates, it'll never happen again. This update file does all the work for you, just upload and run it. If I get a chance, I may even tonight add a feature where you can specify a filename (If you've put custom avatar's in there you want to reset) and then the update will auto-fix them for you. Note that this DOES NOT delete the files in your avatar folder, it merely references those select profiles to blank.gif, which you NEED to keep in your avatars folder if you don't want bad link X.

I probably could've done this with an if statement and one of the str type things, but my php knowledge is still pretty low, so this was the easiest and most effective way I found in a short time. As I said, improvements are expected on this one.

Otherwise, enjoy, you can download it here

If you use this mod and it works nicely, please post on this thread your YaBB SE version. I'd like to get a complete list of what this is confirmed compatible with. Any comments and questions are also more than welcome. :)

Methonis
« Last Edit: July 19, 2003, 11:11:49 PM by Metho » Logged

acf [delete me]!
YaBB God
*****
Posts: 521


la especialidad de grafic

WWW
Re:[beta] Internal Avatar Deletion Mod 1.5.4
« Reply #1 on: July 20, 2003, 05:07:18 AM »
Reply with quote

i am getting a parse error:

QuoteParse error: parse error in /home/thecrew/public_html/aliencowfarm/forum/Sources/Profile.php on line 452

http://www.thebasement.yabbsites.com/aliencowfarm/forum/index.php?board=;action=profile;user=aliencowfarm
Logged

Metho
Sr. Member
****
Posts: 342


I'm a llama!

Re:[beta] Internal Avatar Deletion Mod 1.5.4
« Reply #2 on: July 20, 2003, 11:39:18 AM »
Reply with quote

Check your im please.

Methonis
Logged

acf [delete me]!
YaBB God
*****
Posts: 521


la especialidad de grafic

WWW
Re:[beta] Internal Avatar Deletion Mod 1.5.4
« Reply #3 on: July 20, 2003, 01:45:05 PM »
Reply with quote

thanx it works great!
Logged

Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [beta] Internal Avatar Deletion Mod 1.5.4 « 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.029 seconds with 19 queries.