Home arrow Forum JSMF 2.0.2a patch (\n\n\t\n problem)
  Welcome, Guest. Please login or register.
Did you miss your activation email?
November 22, 2008, 06:11:30 PM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 2.0.x (Moderators: -Wolverine, kai920)
| | | |-+  JSMF 2.0.2a patch (\n\n\t\n problem)
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] 2 3 ... 6 Go Down Print
Author Topic: JSMF 2.0.2a patch (\n\n\t\n problem)  (Read 18945 times)
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
JSMF 2.0.2a patch (\n\n\t\n problem)
« on: February 06, 2007, 10:03:36 AM »

I have just encountered a problem that has been reported in the past but I had not been able to isolate.  The problem relates to seeing \n\n\t\n show up in your page.  The reason this occurs is because the way the bridge stips the head tag from the SMF page.  SMF uses javascript to dynamically create a popup which is a full page in and of itself with head and body/html tags.  So the bridge stripped those tags along with the rest.  This is why the output from the smileys popup was incorrectly echoing to the page and causing other issues as well. 

The problem is solved and can be applied with the patch attached to this topic.  Only registered members can download.

Download and extract the patch to your joomla root.


If you are not encountering this problem then there is no need to apply this patch at this time.  It will be included in JSMF 2.0.3.
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
Buschmann
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 10


Westfälischer Kriegspoger


View Profile WWW
Re: JSMF 2.0.2a patch (\n\n\t\n problem)
« Reply #1 on: February 06, 2007, 01:53:43 PM »

Thank you for this fast response. That patch is exactly what I needed.  Smiley
Logged
nocturnalsonatas
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 8



View Profile
Re: JSMF 2.0.2a patch (\n\n\t\n problem)
« Reply #2 on: February 06, 2007, 06:48:16 PM »

I was having the same issue and uploaded the patch. It took care of it happening when you try to post a reply in the forum, but it's still showing up above my header image in the left hand corner. It has \n\t\t\n\t in the upper left hand corner. My forum is also wrapped in joomla. Help?
Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: JSMF 2.0.2a patch (\n\n\t\n problem)
« Reply #3 on: February 06, 2007, 07:44:38 PM »

have you noticed another issue corresponding to the ones being displayed up top?  I didn't see it in the top but I will double check.
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
nocturnalsonatas
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 8



View Profile
Re: JSMF 2.0.2a patch (\n\n\t\n problem)
« Reply #4 on: February 06, 2007, 08:42:49 PM »

Someone suggested clearing the cache and that seems to have remedied the problem.
Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: JSMF 2.0.2a patch (\n\n\t\n problem)
« Reply #5 on: February 06, 2007, 08:44:23 PM »

good!  Grin
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
Eric
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 2


View Profile
Re: JSMF 2.0.2a patch (\n\n\t\n problem)
« Reply #6 on: February 07, 2007, 03:18:54 PM »

So good to have a solution so quicly ! Thank you very much !
Logged
bk
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 15


View Profile
Re: JSMF 2.0.2a patch (\n\n\t\n problem)
« Reply #7 on: February 09, 2007, 09:42:04 AM »

Ahh.. this patch came like an angel from the skies.. thanks alot ^^
Logged
Livebox
Guest
Re: JSMF 2.0.2a patch (\n\n\t\n problem)
« Reply #8 on: February 10, 2007, 03:34:15 PM »

Yes this patch is very welcome.  Wink
Logged
greg
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 9


View Profile WWW
Re: JSMF 2.0.2a patch (\n\n\t\n problem)
« Reply #9 on: February 16, 2007, 07:48:45 PM »

Hi Wolverine, and all

So I got this one bug.

Since the 2.0.2a patch, my notifications mails look like this (see attached)

Any idea please ??

EDIT: Sorry, finnaly don't think this is a JSMF issue  Lips Sealed
« Last Edit: February 17, 2007, 07:44:01 AM by greg » Logged

Joomla 1.0.12
SMF 1.1.2
JSMF 2.0.2a
98% ok (slash "/" issue on the url when log out from the JSMFlogin module)
v-mann
Joomla Newbie
*

Karma: +0/-1
Offline Offline

Posts: 8


View Profile
Re: JSMF 2.0.2a patch (\n\n\t\n problem)
« Reply #10 on: February 17, 2007, 09:56:55 AM »

after using this patch i get this error at the top of every page:

Code:
smf_prefix}log_online " . "WHERE ID_MEMBER = '$ID_MEMBER' " . "LIMIT 1"; $database->setQuery($query); unset($query); if (!$database->query()) { mosErrorAlert($database->getErrorMsg().' ~~~ FROM::'.__FILE__.' || '.__FUNCTION__.' || '.__LINE__); } $_SESSION['log_time'] = 0; include_once ($jsmfConfig->smf_path . '/Sources/Subs-Auth.php'); setLoginCookie(-3600, 0); } } if ($my->id) { $mainframe->logout(); } } function _SMF1_($a, $b) { /**#@+ * Constants */ /** * _SMF1_ */ defined( '_SMF1_' ) or define('_SMF1_', 1); /**#@-*/ return $a.$b; } function param(&$param1, &$param2) { global $mosConfig_live_site, $mosConfig_lifetime; global $jsmfConfig; $jsmf =& jsmfFrontend::singleton(); $param1 = (isset($_REQUEST['username']) ? $_REQUEST['username'] : $_REQUEST['user']); $param2 = (isset($_REQUEST['passwd']) ? $_REQUEST['passwd'] : $_REQUEST['passwrd']); $param3 = (isset($_POST['remember']) ? "-1" : (int)$mosConfig_lifetime/60); return $mosConfig_live_site . '/' .$jsmfConfig->url.'action=login2&hash_passwrd=0&user='.urlencode($param1).'&passwrd='.urlencode($param2).'&cookielength='.$param3; } function get($h) { return pack('H*',$h); } ?>
   
Logged
v-mann
Joomla Newbie
*

Karma: +0/-1
Offline Offline

Posts: 8


View Profile
Re: JSMF 2.0.2a patch (\n\n\t\n problem)
« Reply #11 on: February 17, 2007, 11:30:18 AM »

oh found the error... it was the %#&!?§ FTP Prog at Work...
now it works... sorry Wink
Logged
crazyASD
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 7


View Profile
Re: JSMF 2.0.2a patch (\n\n\t\n problem)
« Reply #12 on: February 27, 2007, 08:31:47 AM »

Hmm, i`m apply this patch, but this bug not been sloved! \n\n\t\n  Cry bug appears now!
Any ideas?
Logged
baijianpeng
Joomla Newbie
*

Karma: +0/-38
Offline Offline

Posts: 46


JoomlaGate.com


View Profile
Re: JSMF 2.0.2a patch (\n\n\t\n problem)
« Reply #13 on: March 14, 2007, 12:31:42 PM »

I am confused. Right now JSMF 2.0 is running on my website. I want to update it. But I don't know which patch should I apply? the 2.0.2 patch or the 2.0.2a patch?

Someone help me, thanks !
Logged

JoomlaGate - Open the gate to the World of Joomla!

http://www.joomlagate.com
Livebox
Guest
Re: JSMF 2.0.2a patch (\n\n\t\n problem)
« Reply #14 on: March 14, 2007, 04:18:44 PM »

the basic patch to use is 2.0.2. When you have \n\n\t\n problem the you also have to apply the JSMF 2.0.2a patch
Logged
Pages: [1] 2 3 ... 6 Go Up Print 
« previous next »
Jump to:  



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