Home arrow Forum Latest posts of: bengtan
  Welcome, Guest. Please login or register.
Did you miss your activation email?
January 08, 2009, 08:22:25 PM
Home New Posts Search Calendar


Login with username, password and session length
  Show Posts
Pages: [1]
1  Joomla Addon Discussion / Joomla Modules / Bug in Joomla SMF Login 1.4.2 - missing <tr><td> on: July 30, 2006, 02:04:53 AM
Hi,

Not sure where to post this bug report, so here goes ...

In Joomla SMF Login 1.4.2, the login form for guests is missing an opening <tr><td> for the first cell.

This is the buggy generated html source for my (not yet live) site:

   <table cellspacing="0" cellpadding="0" width="100%" border="0">Welcome Guest. Please login or register.<br />
      <form action="index.php" name="login" method="post">

This is what it should be, or thereabouts:

   <table cellspacing="0" cellpadding="0" width="100%" border="0"><tr><td>Welcome Guest. Please login or register.<br />
      <form action="index.php" name="login" method="post">

My fix is to insert the line    echo '<tr><td>'; before line 266 of mod_smf_login.php, such that it looks like ...

} else {
   echo '<tr><td>';
    if ($bln_display_guest_greeting) {
      echo $smf_pre_guest_text, ' ', $txt[28], $smf_post_guest_text, '<br />';
    }

    echo'
      <form action="index.php" name="login" method="post">

Thanks.

Ta,
Beng Tan

2  Joomla Hacks / Joomla-SMF 1.1.x / Re: Failed: Code to be patched not found in file on: July 16, 2006, 02:17:39 AM
Hi,

See if the following  topic helps you. It's specific to J! 1.0.10 and JSMF 1.1.3, but it might be relevant.

http://www.joomlahacks.com/component/option,com_smf/Itemid,94/topic,1975.0

Ta,
Beng

3  Joomla Hacks / Joomla-SMF 1.1.x / Patching Joomla 1.0.10 index.php with com_smf 1.1.3 on: July 14, 2006, 10:57:48 PM
Hi all,

I think this problem has been making the rounds, but I've found the diagnosis and a fix. Hopefully by starting a new topic, people are more likely to see this post without having to trawl through the others.

My installation is Joomla 1.0.10 with com_smf 1.1.3.

If you click "patch joomla", it responds with an error "Code to be patched not found in file" for joomla's index.php.

The culprit is in the file {JOOMLA_ROOT}/administrator/components/com_smf/admin.smf.php at lines 167, and 170.

There it checks whether the joomla version is 1.0.9 in order to decide what to patch.

Just change the two instances of

strpos($version, '1.0.9')

with

strpos($version, '1.0.10')

and try patching again.

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