Share

Softwares , Movies , Scripts , Games

This is a exclusive site for downloading movies & Games & PC Software


Social Engine Mobile Plugin: (Social Engine 2.83, Social Engine 3.x)







This image has been resized. Click this bar to view the full image. The original image is sized 742x386.



Got my hands on the latest Social Engine Mobile Plugin

I need one help still.

How do i put profile pics on the recent activity feed!

Here are the instructions:
1) Copy all the files to your server.
2) Go to the back-end of your site and click on view plugins.
3) Click on "install"
4) Make a copy of your index.php file for backup purposes.
5) Change your index.php file with the attached index.php file.

Seems to be working fine over here: http://www.asian-central.com/mobile_home.php

Download Link

there are many ways to detect if someone is using a mobile and then redirect to a certain page. Once i have tested it, if it actually works on s60/smart phones, and other phones i will post somke code that could be placed on index.php to rediect based on browser/mobile.

Code:
$mobile = "http://www.wapforum.in";
$text = $_SERVER['HTTP_USER_AGENT'];
$var[0] = 'Mozilla/4.';
$var[1] = 'Mozilla/3.0';
$var[2] = 'AvantGo';
$var[3] = 'ProxiNet';
$var[4] = 'Danger hiptop 1.0';
$var[5] = 'DoCoMo/';
$var[6] = 'Google CHTML Proxy/';
$var[7] = 'UP.Browser/';
$var[8] = 'SEMC-Browser/';
$var[9] = 'J-PHONE/';
$var[10] = 'PDXGW/';
$var[11] = 'ASTEL/';
$var[12] = 'Mozilla/1.22';
$var[13] = 'Handspring';
$var[14] = 'Windows CE';
$var[15] = 'PPC';
$var[16] = 'Mozilla/2.0';
$var[17] = 'Blazer/';
$var[18] = 'Palm';
$var[19] = 'WebPro/';
$var[20] = 'EPOC32-WTL/';
$var[21] = 'Tungsten';
$var[22] = 'Netfront/';
$var[23] = 'Mobile Content Viewer/';
$var[24] = 'PDA';
$var[25] = 'MMP/2.0';
$var[26] = 'Embedix/';
$var[27] = 'Qtopia/';
$var[28] = 'Xiino/';
$var[29] = 'BlackBerry';
$var[30] = 'Gecko/20031007';
$var[31] = 'MOT-';
$var[32] = 'UP.Link/';
$var[33] = 'Smartphone';
$var[34] = 'portalmmm/';
$var[35] = 'Nokia';
$var[36] = 'Symbian';
$var[37] = 'AppleWebKit/413';
$var[38] = 'UPG1 UP/';
$var[39] = 'RegKing';
$var[40] = 'STNC-WTL/';
$var[41] = 'J2ME';
$var[42] = 'Opera Mini/';
$var[43] = 'SEC-';
$var[44] = 'ReqwirelessWeb/';
$var[45] = 'AU-MIC/';
$var[46] = 'Sharp';
$var[47] = 'SIE-';
$var[48] = 'SonyEricsson';
$var[49] = 'Elaine/';
$var[50] = 'SAMSUNG-';
$var[51] = 'Panasonic';
$var[52] = 'Siemens';
$var[53] = 'Sony';
$var[54] = 'Verizon';
$var[55] = 'Cingular';
$var[56] = 'Sprint';
$var[57] = 'AT&T;';
$var[58] = 'Nextel';
$var[59] = 'Pocket PC';
$var[60] = 'T-Mobile';
$var[61] = 'Orange';
$var[62] = 'Casio';
$var[63] = 'HTC';
$var[64] = 'Motorola';
$var[65] = 'Samsung';
$var[66] = 'NEC';

$result = count($var);

for ($i=0;$i<$result;$i++)
{
$ausg = stristr($text, $var[$i]);
if(strlen($ausg)>0)
{
header("location: $mobile");
exit;
}

}
?>
Works fine just upload those missing empty tpl files given above and all should be fine. I just saw that this plgin is missing Recent Activity, this would be nice when wen it displays mobile users activities on the site. Also Notifications are not received on regular site when comment or message is sent. Besides all everything works great. Thanks
Share
Bookmark and Share

0 comments

Post a Comment

Comment To Get Rapidshare Premium Accounts

Recent Post