Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Show "No Avatar" Image If No Avatar is Selected Details »
Show "No Avatar" Image If No Avatar is Selected
Mod Version: 1.00, by MW[MWGN] (Member) MW[MWGN] is offline
Developer Last Online: Jan 2003 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (1 vote - 5.00 average) Installs: 91
Released: 20 Mar 2002 Last Update: Never Downloads: 28
Not Supported  

What is it?
If the user has selected to not use avatar, then in the threads where the avatar will normally appear, instead of being blank because there is no avatar chosen, it will display a "No Avatar" image instead.

Credits
I would like to thank trilOByte, the creator of the Welcome Panel hack, for the "No Avatar" image, because there's where I stole...err...taken it from

Future Plans
Add an option to turn it on/off in the Admin CP.

Screenshot of the hack....

And the installation is in the next post

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	noavatarimage.jpg
Views:	789
Size:	15.6 KB
ID:	3956  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 20 Mar 2002, 22:50
MW[MWGN] MW[MWGN] is offline
 
Join Date: Nov 2001
Installation file is here... with the "No Avatar" image

Edit: OK, I've added the other modifications to the installation file just incase the hack doesn't quite work for some. I've tested this on my 2.2.6 and it works fine.
Attached Files
File Type: zip noavatarimage.zip (2.8 KB, 974 views)

Last edited by MW[MWGN]; 10 Jun 2002 at 16:48.
Reply With Quote
  #3  
Old 20 Mar 2002, 22:52
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Real name: Dan
Errr... nothing agaist you but why would you post someone elses code, that is already posted?
Reply With Quote
  #4  
Old 20 Mar 2002, 23:00
MW[MWGN] MW[MWGN] is offline
 
Join Date: Nov 2001
is it? oops..sorry
Reply With Quote
  #5  
Old 20 Mar 2002, 23:12
wooolF[RM]'s Avatar
wooolF[RM] wooolF[RM] is offline
 
Join Date: Jan 2002
lol
__________________

It's nice to be important but it's more important to be nice.
--------------------------------------------------------------------------------------------------------------------------------------------
Never discuss with an idiot, he'll just pull you down to his own level and beat you with experience!
--------------------------------------------------------------------------------------------------------------------------------------------
Its not the penis that makes the man, its the way he uses it.
Reply With Quote
  #6  
Old 21 Mar 2002, 02:06
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Real name: Dan
I mean the Welcome Panel hack
Reply With Quote
  #7  
Old 21 Mar 2002, 09:18
Recluse's Avatar
Recluse Recluse is offline
 
Join Date: Feb 2002
thanks dident work on mine surly i dident mess something this simple up
Reply With Quote
  #8  
Old 21 Mar 2002, 09:37
fonzerelli_79's Avatar
fonzerelli_79 fonzerelli_79 is offline
 
Join Date: Nov 2001
as far as i can remember, the welcome hack only adds the no avatar image on the foum hom page


MW[MWGN] hack (well i line changed) changes it in the posts and threads, yes they are very similar but not the same

anyhoo, cheers MW[MWGN]
__________________
| System 0 |
Reply With Quote
  #9  
Old 21 Mar 2002, 13:09
MW[MWGN] MW[MWGN] is offline
 
Join Date: Nov 2001
Yes, the welcome panel hack has the changed line in INDEX.PHP, while mine changes in functions.php to apply to posts and threads.

Recluse, what version are you running? And how does it not work..i.e. any errors?
Reply With Quote
  #10  
Old 24 Mar 2002, 18:48
69-FLy-gUy's Avatar
69-FLy-gUy 69-FLy-gUy is offline
 
Join Date: Nov 2001
does'nt work here either
Reply With Quote
  #11  
Old 25 Mar 2002, 14:05
MW[MWGN] MW[MWGN] is offline
 
Join Date: Nov 2001
version you running? Can you explain more HOW it doesnt work?
Reply With Quote
  #12  
Old 25 Mar 2002, 18:30
69-FLy-gUy's Avatar
69-FLy-gUy 69-FLy-gUy is offline
 
Join Date: Nov 2001
easy. in the thread it doesn't show the No avatar selected image... want to see my funtions.php?

running 2.2.4

Last edited by 69-FLy-gUy; 25 Mar 2002 at 22:02.
Reply With Quote
  #13  
Old 27 Mar 2002, 01:02
MW[MWGN] MW[MWGN] is offline
 
Join Date: Nov 2001
I think if the user dont have the ability to use a custom avatar, then the hack doesnt work...I'm working on a fix.

Edit: OK, at the moment I cant test the fix because my board's domain is switching DNS to point to the new server, so please give me a day or two and I'll post the update here

Last edited by MW[MWGN]; 27 Mar 2002 at 01:12.
Reply With Quote
  #14  
Old 27 Mar 2002, 23:30
MW[MWGN] MW[MWGN] is offline
 
Join Date: Nov 2001
OK, try this for those who cant get the hack working.
Find in /admin/functions.php:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I dont see why I can get it working with the code in the readme file but some can't... but try the above as well as the one in the readme and report if it works...thanks
Reply With Quote
  #15  
Old 28 Mar 2002, 00:01
ZiRu$'s Avatar
ZiRu$ ZiRu$ is offline
 
Join Date: Jan 2002
The original hack worked perfectly on 2.2.4

i didnt need to use your code MW[MWGN]!

Can someone please give me an update so the noavatar image under our name will be linked to the editavatar url?

please?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 00:01.

Layout Options | Width: Wide Color: