Testing phpBB Countdown

Use the BBCode Testarea to test our BBCodes
All testing must be done here
There is no support here! Only Read Access!
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: Testing phpBB Countdown

Post by cisco007 »

i gave up on it, i couldn't install xampp, or i did, but i couldn't figure out the password and stuff for the phpmyadmin!

hey Stoker have you been able to change the Browser and OS icons of posts that were made prior to installing the mod?
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Testing phpBB Countdown

Post by Stoker »

Nope, i would like to remove them.
Board rules! No PM support
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Test

Post by Stoker »

test
Board rules! No PM support
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Testing again

Post by Stoker »

testing
Board rules! No PM support
User avatar
neuropass
BBCoder IV
BBCoder IV
Posts: 173
Joined: 11 Apr 2010, 02:33

Re: Testing phpBB Countdown

Post by neuropass »

Thanks for the replies...
Modd it up! TweakScene ;-) Support us! || Follow us ||

Image
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Testing phpBB Countdown

Post by Stoker »

neuropass » 16 Jun 2010, 06:27 wrote:Thanks for the replies...
:?:
Board rules! No PM support
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: Testing phpBB Countdown

Post by cisco007 »

hey Stoker, i found a solution for the OS browser thing! this will take out the Unknown images in the posts!

open:

includes/user_agent.php

find:

Code: Select all

if (substr($name, 0, 7) == 'Nieznan')
      return '/images/user_agent/nieznany.png';
replace with:

Code: Select all

if (substr($name, 0, 7) == 'Nieznan')
      return '/images/spacer.gif';
this will remove all previous unknown images from posts!
User avatar
neuropass
BBCoder IV
BBCoder IV
Posts: 173
Joined: 11 Apr 2010, 02:33

Re: Testing phpBB Countdown

Post by neuropass »

cisco007 » 24 Jun 2010, 22:49 wrote:hey Stoker, i found a solution for the OS browser thing! this will take out the Unknown images in the posts!

open:

includes/user_agent.php

find:

Code: Select all

if (substr($name, 0, 7) == 'Nieznan')
      return '/images/user_agent/nieznany.png';
replace with:

Code: Select all

if (substr($name, 0, 7) == 'Nieznan')
      return '/images/spacer.gif';
this will remove al previous unknown images from posts!


i used a different method.

Code: Select all

	Main function detecting browser and system
*/
function get_useragent_names($useragent)
{
	if (!$useragent)
	{
		$result = array(
			'system'			=> '',
			'browser'			=> '',
			'browser_version'	=> ''
		);
		return $result;
	}



Now i have a question. Where does this mod get the info about the browser or the OS..?
Modd it up! TweakScene ;-) Support us! || Follow us ||

Image
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: Testing phpBB Countdown

Post by cisco007 »

I think it's from the http referrer, but i could be wrong, have you looked at the viewonline.php page how it shows your browser and stuff? I think it's the same thing!
User avatar
Stitch
BBCoder II
BBCoder II
Posts: 28
Joined: 06 Mar 2010, 06:08

Re: Testing phpBB Countdown

Post by Stitch »

cisco007 » 24 Jun 2010, 22:49 wrote:hey Stoker, i found a solution for the OS browser thing! this will take out the Unknown images in the posts!

open:

includes/user_agent.php

find:

Code: Select all

if (substr($name, 0, 7) == 'Nieznan')
      return '/images/user_agent/nieznany.png';
replace with:

Code: Select all

if (substr($name, 0, 7) == 'Nieznan')
      return '/images/spacer.gif';
this will remove all previous unknown images from posts!
This doesn't work with safari or IE8 Browsers. Safari shows a question mark and IE shows a red X. It works in firefox so I know the path to "spacer.gif is correct.
Image
Locked