Archive for September, 2009:
Using both php4 and php5 at the same time in Directadmin
If you wish to use both php4 and php5 at the same time, custombuild will allow you to do this.
Note that you must have the 2 copies of php running as different types, one as CLI and one as CGI (suPhp). You cannot have both running as CLI, and similarly you cannot have both running as CGI.
First, make sure you’re running custombuild.
This is the guide to install it if you don’t have it:
http://files.directadmin.com/services/custombuild/1.1
To setup both php4 and php5, you’ll be editing the options.conf, eg:
Mycode to add megavideo video in your MyBB Forum
Simple steps
1) Login to your mybb admin panel
2) go to mycode
3) Click on “Add new Mycode”
4) Now write following
i) Title: megavideo
ii) Regular expression:
\[megavideo\](.*?)\[/megavideo\]
iii) Replacement:
Mycode to add google video in your MyBB Forum
Simple steps
1) Login to your mybb admin panel
2) go to mycode
3) Click on “Add new Mycode”
4) Now write following
i) Title: google video
ii) Regular expression:
(\[googlevideo\]|<a href=\”(http://)?video.google.(com|co\.uk)/videoplay\?docid=)(\W?)(\d{15,20})(\[/googlevideo\]|\” target=\”_blank\”>(.*?)</a>)
iii) Replacement:
<embed style=”width:400px; height:326px;” id=”VideoPlayback” type=”application/x-shockwave-flash” src=”http://video.google.com/googleplayer.swf?docId=${4}${5}&hl=en” flashvars=”"> </embed>
iv) Enable: yes
5) Save mycode
Mycode to add youtube video in your MyBB Forum
Simple steps
1) Login to your mybb admin panel
2) go to mycode
3) Click on “Add new Mycode”
4) Now write following
i) Title: youtube
ii) Regular expression:
(\[youtube\]|(<a href=\”)?(http://)?(www.)?youtube.com/watch\?v=)(.{11}?)((.*?)\” target=\”_blank\”>)?((.*?)\[/youtube\]|(.*?)</a>)
iii) Replacement:
Adding key words in MyBB for SEO
SEO is very very important for any website or forum or blog. MyBB does not provide the option to add key words by default but here are few easy steps for you to add them for Search engine optimization.
1) First, login to Admin Control Panel ( ACP ) , then click on template&Style then click on Template on left side
2) Click on Search/Replace tab