Advertise on Vortex
Advertise on Vortex


Adobe Photoshop 7

Paint Shop Pro 7

3D Tutorials

Scripts & Coding

Other
MySQL - B2 Smilies
  • Script: b2
  • Skill Level: Easy
  • Credit: Adge of Avenue11.org
  • Final Product: Smilies in your blog!

    -------------------------------------------------------------------------------------

  • b2config.php in an html editor. Find this code: // ** Smilies options ** # set this to 1 to enable smiley conversion in posts # (note: this makes smiley conversion in ALL posts) $use_smilies = 0;
  • Change the 0 in "use_smilies = 0" to 1. It should look like this: $use_smilies = 1; . Save this file, and upload it to your main b2 directory. My b2 directory is /b2, so I would upload b2config.php to /b2.
  • Download b2smilies.zip, unzip it, and upload it to your b2 directory.
  • In your b2 directory, there should be a folder called b2-include. Go to that folder andb2edit.form.php. Find this code: <textarea rows="9" cols="40" style="width:100%" name="content" tabindex="4" wrap="virtual" id="content"> < ?php echo $content ?></textarea>
  • Replace that whole code with b2smilies2.zip. Now save the b2edit.form.php file, and upload it to the b2-include folder where youd it.
  • Log in to your b2 control panel and click on the Post/Edit link. In the url, /b2 must be different. Just change it to whatever folder your b2 files are in. Once you are at the page, you should see a bunch of smilies on the right. Click on the smilie that you want to use, and it should show up int he textarea. Your smilies should show up in your blog once you post it!


  • remixx.net v 4_3