Why So Scared

A blog about; Programming, Music and Random Stuff

Archive for September, 2009

Change CNAME in WHM

I wanted my domain to work with MobileMe, here’s how to do it if you have WHM.

1. Login to WHM.
2. Click on “Edit DNS zone”.
3. Choose the domain name for which you wish to edit CNAME record.
5. Choose record type that is prefixed with “www” with CNAME in the drop down box.
6. Enter Value/Destination in last text box.
7. Click Save button to submit the changes.

Tags:
posted by Juo in tidbit and have No Comments

Warez-DnB Image Host Whitelist

To keep Warez-DnB as intact as possible I’ve decided to launch http://images.warez-dnb.com/ a free image hosting service for all our members to use when making new posts. (We do monitor this folder, anything that’s upload that isn’t an image will be swiftly deleted). As we trust it will be used for the purpose its been created.

Enter an image host whitelist, this basically only displays images from websites that are on the list, in the case of Warez-DnB images will not only be displayed if they are hosted on.

http://images.warez-dnb.com/
http://www.warez-dnb.com/

If the image isn’t hosted on one of the above services a URL will take its place.

I’ve decided to do this because its really annoying when you browse a forum and there are dead image links, its also annoying for other hosts to have their bandwidth effectively leeched off them from a totally different website, which usually leads to them banning the offending site.

Tags:
posted by Juo in Warez-DnB and have Comments (2)

SMF 2.0 Custom Button in "Start new topic"

With the help of SMF forum member Arantor I was able to add a custom button to my Simple Machines Forum 2.0 (Warez-DnB)

To add a custom button you need to make an edit in the Sources/Subs-Editor.php file.

Locate
// The below array makes it dead easy to add images to this control. Add it to the array and everything else is done for you!
$context['bbc_tags'] = array();
$context['bbc_tags'][] = array(

You can now see how a button is made up within SMF 2.0 for this example we will use the [img] button.

'img' => array('code' => 'img', 'before' => '[img]', 'after' => '[/img]', 'description' => $txt['image']),

You can see how this is made up, to add your own function (in the case of Warez-DnB a button that will atomically copy in the text [img]http://images.my-domain.com/nocd.png[/img]

I added

'noimg' => array('code' => 'noimg', 'before' => '[img]http://images.warez-dnb.com/nocd.png', 'after' => '[/img]', 'description' => $txt['No picture']),

You’ll also want to add the button within your theme’s images/bbc folder that needs to be the same file name as the function, in this case “noimg.gif”

Simple stuff but handy to know.

Tags: ,
posted by Juo in SMF, tidbit and have Comments (9)

What Im Expecting from Apple Sept. 9th event

september-9th-2009-invite

  • New iPods (Nano, Touch)
  • iTunes 9.0 (Social)
  • Apple TV Update
  • Steve Jobs to take the stage
  • The Beetles available iTunes
  • No Tablet (yet)

Will we see new iPods with cameras? How about iTunes 9 with some whiz-bang new social networking features?

Tags:
posted by Juo in Apple and have No Comments