2 2008-02-06 17:32 (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
You should use $db->add_field() for adding fields to tables though.
4 2008-02-06 17:53 (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
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.
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.
Re: [Extension release] Browser and OS icons
daris, please, upgrade your extension for PunBB 1.3.4
Thanks
11 2009-12-09 22:14 (edited by eichsoft 2009-12-09 22:16)
Re: [Extension release] Browser and OS icons
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 2009-12-18 01:58 (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
eichsoft, what version at you PunBB ?
Re: [Extension release] Browser and OS icons
Daris, please, upgrade your extension for PunBB 1.3.4
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 ?