PDA

View Full Version : Mini Mods - Replace Avatar with Joke picture for April Fools Day


cheat-master30
02 Apr 2008, 01:27
Again, this is an extremely simple edit which requires maybe one file upload and one template (or if you have style selection between normal and legacy, two) to be edited.

Find:


<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>

Replace with (noted bolded):

<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="images/avatars/ 1_face.jpg" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>

Replace the bolded with the image address. You can also wrap the code in conditionals and such likes for different images per usergroup or something. I did this on my own site for one of about four April Fools Day jokes, and it was a minor annoyance/novelty.

Few Example Images:

[see attachments]

Attached are the two images I used personally.

John3971
02 Apr 2008, 12:36
its nice that you release it but your to late today is April 2th

cheat-master30
02 Apr 2008, 16:09
Depending on time zone, I released it either April 1st or 2nd. I know, should have probably released it earlier...

Brandon Sheley
11 Aug 2008, 08:06
ha, that's awesome you released it april 2nd :d

oh well, better prepared for next year :)

Digital Jedi
11 Aug 2008, 08:15
Depending on time zone, I released it either April 1st or 2nd. I know, should have probably released it earlier...
According the the release date, it says it was posted April 1st.

Tharos
14 Aug 2008, 00:48
lol

thanks for your effort dude ;)

SuperJETT
14 Aug 2008, 19:01
I did this in 2007 and enhanced it by pulling a random image from a directory full of blinkies. It was a big hit.

Winterworks
30 Mar 2009, 23:15
April Fools is coming around, so I'm going to give this a nice little bump so people can maybe use it. :)

Keesa
01 Apr 2009, 01:34
Oooh, if anyone has the conditionals on how to make this doable by usergroups, that would rock.

It works. I have a forum full of people ready to kill me now thanks to their Perez Hilton avatars.

heeeeeeeeeeeeeeeeee

Il Pompa
01 Apr 2009, 14:07
It doesen't work for me! I have installed vBulletin 3.8.2 :(