Home arrow Forum Latest posts of: Cadinos
  Welcome, Guest. Please login or register.
Did you miss your activation email?
December 03, 2008, 02:51:39 PM
Home New Posts Search Calendar


Login with username, password and session length
  Show Posts
Pages: [1]
1  Joomla Hacks / Joomla-SMF 2.0.x / Re: 8: Undefined offset: 0 on: June 15, 2007, 09:48:20 AM
In some cases the $matches variable seems to be empty.

I got rid of the messages by adding a test for emptiness of the $matches variable:

   if (!empty($matches))
                $keywords = preg_replace($search, $replace, $matches[0]);
Thank you, that seems to have fixed it for me!  Smiley
2  Joomla Hacks / Joomla-SMF 2.0.x / Re: JSMF Discussbot 2.0.2 on: December 21, 2006, 01:02:57 PM
Hi,
Great work!  Smiley

But i found the following minor thing.
Line 597 is breaking the css-validator
I believe it should be
.dsc_bar{clear:both; display:block;}

instead of .dsc_bar{clear:both; display:block;};

Pages: [1]


Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login