PDA

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


cheat-master30
04-01-2008, 10:00 PM
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
04-02-2008, 10:36 AM
its nice that you release it but your to late today is April 2th

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

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

oh well, better prepared for next year :)

Digital Jedi
08-11-2008, 06:15 AM
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
08-13-2008, 10:48 PM
lol

thanks for your effort dude ;)

SuperJETT
08-14-2008, 05:01 PM
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
03-30-2009, 09:15 PM
April Fools is coming around, so I'm going to give this a nice little bump so people can maybe use it. :)

Keesa
03-31-2009, 11:34 PM
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
04-01-2009, 12:07 PM
It doesen't work for me! I have installed vBulletin 3.8.2 :(