![]() |
Also installed this, very funny!
How do I get it to work on the index page? Since that has no id? |
I found a bug... if someone uses the [IMG] tag... the image gets broken because it enchenferizes the link to the image as well.
|
Love it love it love it :D
A nice thing for the future (for April Fools jokes lol) would be the option to automatically make all forums encheferized, so you don't need to enter all your forum ids ;) Thanks for making this - I laughed so hard today! :D |
I had the same experience as Jaxel today; it broke all the posted images and the smileys too.
On the upside, I was able to display random avatars of the Chef with a little help from the vBulletin.org forum. I've attached a zip file of the six Swedish Chef avatars I used; they're all a bit on the large size (most are 100 pixels high) so you may want to resize them. Create a subdirectory named SwedishChef in the images/misc directory and upload them there. Then go to Plugins and Products: Plugin Manager, find the Encheferizer section, and click on Edit for the postbit_display_start hook. Add: Code:
$newavatar = mt_rand(1, 6); Next, edit your postbit template. Find: Code:
<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> Code:
<td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="http://www.yourforum.com/images/misc/SwedishChef/swedish_chef$newavatar.jpg" border="0" /></a></td> |
Hugh, what's the deal?
Are you ever going to release the next update? |
It's a pity any quoted text shows up as normal, otherwise this would be great.
|
Someone needs to make a pig-latin version of this mod.
|
Quote:
I'm working on making this an option. -- hugh |
Here's come code I wrote fro dealing with smilies and html entities that get broken in Chef-speak. My only problem is when I put this into the for loop (~ line 106), the smilies and entities are moved to the front of the Encheferized text. I've only had a couple of minutes to mess with this, so I'm sure someone with more of an idea of what this loop is doing (cheesegrits?) will know how to fix this :)
PHP Code:
|
I can't stop laughing...
|
All times are GMT. The time now is 11:00 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|