1 (edited by daris 2008-02-06 18:22)

Topic: [Extension release] Browser and OS icons

This extensions will add browser and system icons to each post

Demo
Download

2 (edited by StevenBullen 2008-02-06 17:34)

Re: [Extension release] Browser and OS icons

Link to download is not live. Redirects to 100something

Re: [Extension release] Browser and OS icons

Nice smile
You should use $db->add_field() for adding fields to tables though.

4 (edited by daris 2008-02-06 17:55)

Re: [Extension release] Browser and OS icons

I changed link

Re: [Extension release] Browser and OS icons

looks very nice smile

6

Re: [Extension release] Browser and OS icons

I get this error after I post, on the redirecting page:

Notice: Undefined variable: base_url in /mnt/var/www/html/punbbbeta/include/functions.php(1320) : eval()'d code on line 4

http://pso.ro/punbbbeta/topic24391-test … icons.html

user: test, pass: test (if u wanna try it out)

Re: [Extension release] Browser and OS icons

mat: It's a bug in the beta.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: [Extension release] Browser and OS icons

daris, replace in user_agent.php (78):

$ua = '<img src="extensions/browser_and_os_icons/user_agent/os/' . htmlspecialchars(ereg_replace('[^a-z0-9_]', '', strtolower($ua_os))) . '.png" title="' . htmlspecialchars($useragent) . '" alt="' . htmlspecialchars($ua_os) . '" style="margin-right: 1px"/>' . '<img src="extensions/browser_and_os_icons/user_agent/browser/' . htmlspecialchars(ereg_replace('[^a-z0-9_]', '', strtolower($ua_browser))) . '.png" title="' . htmlspecialchars($useragent) . '" alt="' . htmlspecialchars($ua_browser) . '" style="margin-left: 1px"/>';
    global $base_url;

    $ua = '<img src="'.$base_url.'/extensions/browser_and_os_icons/user_agent/os/' . htmlspecialchars(ereg_replace('[^a-z0-9_]', '', strtolower($ua_os))) . '.png" title="' . htmlspecialchars($useragent) . '" alt="' . htmlspecialchars($ua_os) . '" style="margin-right: 1px"/>' . '<img src="'.$base_url.'/extensions/browser_and_os_icons/user_agent/browser/' . htmlspecialchars(ereg_replace('[^a-z0-9_]', '', strtolower($ua_browser))) . '.png" title="' . htmlspecialchars($useragent) . '" alt="' . htmlspecialchars($ua_browser) . '" style="margin-left: 1px"/>';

Else not work with SEF URL's.

P.S. And in new version need replace ereg_replace() to preg_replace(). preg_* much faster.

Royal Crown Chinpoko Master, ^_^

Re: [Extension release] Browser and OS icons

daris, please, upgrade your extension for PunBB 1.3.4

Thanks

10

Re: [Extension release] Browser and OS icons

demos don't work.

11 (edited by eichsoft 2009-12-09 22:16)

Re: [Extension release] Browser and OS icons

chovy wrote:

demos don't work.

Hi again

is that in my screenshot, user color extension, but upgraded to Windows 7 and Google Chrome: D for my

12 (edited by Flashcat 2009-12-18 02:12)

Re: [Extension release] Browser and OS icons

Daris, please, upgrade your extension for PunBB 1.3.4  roll

eichsoft, what version at you PunBB ?

Re: [Extension release] Browser and OS icons

Flashcat wrote:

Daris, please, upgrade your extension for PunBB 1.3.4  roll

eichsoft, what version at you PunBB ?

Hi Flashcat my PunBB is 1.3.4

Re: [Extension release] Browser and OS icons

eichsoft, you could lay out the archive Browser and OS icons ?  roll