November 24, 2024, 11:46:53 PM

1,531,355 Posts in 46,734 Topics by 1,523 Members
› View the most recent posts on the forum.


Suggest items that will never be restocked

Started by Feynman, May 06, 2007, 03:30:00 PM

previous topic - next topic

0 Members and 4 Guests are viewing this topic.

Go Down

Hiro

why would it defeat the purpose?

Daddy

Quote from: Hiro on December 11, 2008, 04:23:05 PM
why would it defeat the purpose?
It's supposed to be low on bandwidth and resources so it loads quickly on phones.
Code Select
// Determine if this is using WAP, WAP2, or imode.  Technically, we should check that wap comes before application/xhtml or text/html, but this doesn't work in practice as much as it should.
if (isset($_SERVER['HTTP_ACCEPT']) && strpos($_SERVER['HTTP_ACCEPT'], 'application/vnd.wap.xhtml+xml') !== false)
$_REQUEST['wap2'] = 1;
elseif (isset($_SERVER['HTTP_ACCEPT']) && strpos($_SERVER['HTTP_ACCEPT'], 'text/vnd.wap.wml') !== false)
{
if (strpos($_SERVER['HTTP_USER_AGENT'], 'DoCoMo/') !== false || strpos($_SERVER['HTTP_USER_AGENT'], 'portalmmm/') !== false)
$_REQUEST['imode'] = 1;
else
$_REQUEST['wap'] = 1;
}

if (!defined('WIRELESS'))
define('WIRELESS', isset($_REQUEST['wap']) || isset($_REQUEST['wap2']) || isset($_REQUEST['imode']));

// Some settings and headers are different for wireless protocols.
if (WIRELESS)
{
define('WIRELESS_PROTOCOL', isset($_REQUEST['wap']) ? 'wap' : (isset($_REQUEST['wap2']) ? 'wap2' : (isset($_REQUEST['imode']) ? 'imode' : '')));

// Some cellphones can't handle output compression...
$modSettings['enableCompressedOutput'] = '0';
// !!! Do we want these hard coded?
$modSettings['defaultMaxMessages'] = 5;
$modSettings['defaultMaxTopics'] = 9;

// Wireless protocol header.
if (WIRELESS_PROTOCOL == 'wap')
header('Content-Type: text/vnd.wap.wml');
}



uhm yeah learn php and get back to me

Hiro

i'm the only one that uses it and pictures load fine. what about the ability to quote?

Daddy

Quote from: Angry Kewn Fruit on December 11, 2008, 04:24:50 PM

uhm yeah learn php and get back to me
Quote from: Hiro on December 11, 2008, 04:28:03 PM
i'm the only one that uses it and pictures load fine. what about the ability to quote?

The spy who loves you

I suggest JMV once again plays the guitar for us.

me003

Can we get rid of the halloween themed doodthings? no one uses them.  And I suggest making x-mas jew-mas themed ones but that's up to you guys.....well so is removing the halloween ones also.

frankendood; jackodood; scarecrowdood; ghouldood;

maybe ghouldood can stay.
Quote from: reefer on November 29, 2007, 11:32:08 PM
No offense to her but she kinda doesn't know crap about shit

FAMY2

Quote from: Amsid on December 11, 2008, 08:31:11 PM
I suggest JMV once again plays the guitar for us.


I laughed so hard at that video. He looked so serious.   giggle;

Samus Aran


guff


Ezloﺕ

:)


Kalahari Inkantation


Daddy


guff


Hiro

Demote Houdini and V to First Mate and promote Ypr

Go Up