Home arrow Forum Latest posts of: palik
  Welcome, Guest. Please login or register.
Did you miss your activation email?
January 09, 2009, 12:42:53 AM
Home New Posts Search Calendar


Login with username, password and session length
  Show Posts
Pages: [1] 2
1  Joomla Hacks / Joomla-SMF 1.1.x / Re: login doesn't work on: April 06, 2006, 05:53:56 PM
well, sorry for twice posting but i solved it myself...

problem was that the columns in tables mos_smf_members.memberName and mos_users.name were different collation/encoding in mysql - in my case latin1 and utf8... it is because i used polish version of utf8 joomla... after i changed collations to utf8 in smf table it went fine Smiley

maybe it is worth mentioning in faq because some people use utf8 encoding in joomla and could get in this trouble ...

regards!
2  Joomla Hacks / Joomla-SMF 1.1.x / login doesn't work on: April 06, 2006, 10:01:33 AM
hello

i need help... i had mambo 4.5.2.3 and smf1.0.7 installed with bridge... now i moved to new serwer and updated both scripts... firstly i will show you what has been done:

SMF 1.0.7 - moved to localhost, converted from latin2 to utf8 (polish), upgraded to 1.1RC2. Installed 1.1RC2 on new serwer and restore database from localhost to online.

Forum works fine as stand-alone SMF - old users can login, write posts and so on....

Mambo 4.5.2.3 - moved to localhost, latin2 to utf8, and then i installed joomla 1.0.8 UTF version on the serwer... database restored and again - users can login and site works fine...

Now - i've installed Joomla-SMF 1.1 component, everything seems to be fine, files are pathed correctly, synchronisation works fine, everything is great...

So i installed login module, and tried to log in to joomla-smf, but couldn't ... "wrong username or password" (an joomla alert) ... tried to log in from smf (wrapped or not) - and got "please fill username and password fields" alert...

I got about 300 users and no one can log in ...

When i try to register - it works fine, but user registers only in mambo (there is no corresponding user in smf), but he cannot login anyway.

When i unpath files - login to mambo and smf works fine Smiley

I'm confused, but got go offline, maybe someone will help me in meantime...

Some configurations

Joomla:
URL = http://shadowrun.rpg.pl/uv
absolute = /uv
prefix = mos_ (not jos_ )

SMF
URL = http://shadowrun.rpg.pl/forum (as you see it is not in subfolder of joomla - is it critical issue? component config says that files of smf are pathed so i think that it is ok, i even tried /uv/../forum in desperate try )
absolute = /forum
prefix = mos_smf_


And I would like to ask you some questions:
1. what't the routine when user logs in? which tables are checked first (maybe i will look into code and find it out myself)
2. is it normal that password field in mos_users and mos_smf_members are different for one user? i tried to copy-paste them but it didnt worked anyway


3  Joomla Hacks / Mambo-SMF 1.3.x / Re: discussbot on: January 13, 2006, 02:05:24 AM
You have not understood me.

I dont use joomla bot because my site runs mambo 4.5.2.x and i am aware that joomla version is different Smiley

Latest doscussbot for mambo in your download (i even linked it in my prev post) has an bug with creating proper back-link to article in first message of the topic, if you try to comment article from blog-page wiev (e.g. frontpage).

You can open joomla and mambo version of this bot and see the diffrences in linkback creating... this issue was not resolved for mambo bot so i have done it myself...

cheers Smiley
4  Joomla Hacks / Mambo-SMF 1.3.x / Re: discussbot on: January 12, 2006, 01:44:40 PM
oh no! grrrr... my whole post dissapeared because of "wrong file type attached" notice Sad it was a long post...

so again - latest bot for mambo has this bug, latest for joomla doesn't. I just copied some code beetwen them and it works for me now.

Attached file is not final version - quote is commented out, and there is no   .$message; at the end of linkback making line , but i dont have the time to end it Sad

hope i helped


5  Joomla Hacks / Mambo-SMF 1.3.x / Re: discussbot on: January 12, 2006, 08:45:09 AM
well, i have done some comparision between discussbot for mambo-smf and joomla-smf and fixed this problem, if anyone wants my version of mambot, i will try to upload it here, have to make some adjustments only...

my bot works with mambo 4.5.2.3 and SMF 1.0.5 and creates proper link to frontpage items...

soon i will give link to this Smiley
6  Joomla Hacks / Mambo-SMF 1.3.x / Re: Warning: Cannot modify header information on: January 12, 2006, 08:38:38 AM
if you modified template and/or language files try to :

a)make backup of template and language files on your server (those you've editted)

b)load original files (from fresh install of SMF) (maybe try to load lang files first and check the site, if problem persists, load template files)

c)if this fixes the problem, load your files one by one on the server and check if error shows up after one of them

d)if error will show up, try to compare the files and find what is wrong

I had this issue once and after a long googling i have found that if you have any spaces/line breaks after ?> code in one of SMF language files, this error appears.

cheers
7  Joomla Hacks / Mambo-SMF 1.3.x / Re: is Mambo-SMF usefull for my casuistic ? on: January 12, 2006, 08:28:23 AM
i think you should copy both to localhost and try how the synchronization tool will work... i dont know but i think that this tool was made for importing users from mambo to smf, not reverse, so this might be a problem.

If synchronization tool replicates both SMF and Mambo account each other you should try to do this at localhost and see what will go wrong. If the users have different passwords there can be a problem with that... users id might be a problem too (e.g. mambo username=abc userid=1, SMF username=abc userid=5)

I think that groups have no impact on user tables, groups are held in other tables and changing this doesn't change user tables ...
8  Joomla Hacks / Mambo-SMF 1.3.x / Re: Headers error message with Wrapper on on: July 28, 2005, 01:53:55 AM
i dont know if you have succeeded in resolving the problem - but i did...

errors showed up just after i've edited some language files (my board is polish) - so after some hours i decided to change language to english, delete (or copy to somewhere) all lang files, upload only english files (from smf install package)

Errors just gone... i believe i've done something wrong but don't know what Smiley

regards
9  Joomla Hacks / Mambo-SMF 1.3.x / Re: discussbot on front page on: May 31, 2005, 05:31:53 AM
Well truth is that i know why discussbot was disabled on frontpage but i dont have time to rewrite it to work properly

Discussbot pastes into first post back-link to the article, but when you click on comment link from frontpage (or any blog page with multiple intro-texts) it will paste link to that blog/news-page

For now i got temporary fix - just after you create news item, go to the full view of it (even if it has no full text) and comment it - the back-link will be pointing to newsitem not frontpage...
10  Joomla Hacks / Mambo-SMF 1.3.x / Re: LOGIN / LOGOUT FIX on: May 31, 2005, 02:21:20 AM
yes yes yes!

new pack fixed login/off issues and more - it fixed issues with error notice  when changing profile info Smiley

great job!
11  Joomla Hacks / Mambo-SMF 1.3.x / Re: discussbot on: May 13, 2005, 08:53:26 AM
i digged some posts on smf forum and i found that this was done intentially because back-link that mambot made in forum was leading to frontpage and not to article .... i commented out some lines from mosbot and now i got comments on frontpage but i dont know how to make them work properly... you have to comment those lines in smf.discussbot.php

Code:
//if (($_REQUEST['option'] !="com_content" && $_REQUEST['option'] !="com_frontpage" ))
//{
/// return;
//}
//else
//{


and then commend trailing } in code just before JavaScript

Code:
   return $showlink;



   }

//}   -- this is what you got to comment out

?>
<script language="JavaScript">
function send_form(form_id)
{
document.getElementById(form_id).submit();
}
</script>


and it will work - but with bugs

i think that bot should have make the comment links different for every article on frontpage... maybe i will look into this

bye
12  Joomla Hacks / Mambo-SMF 1.3.x / Re: users only in smf not in mambo on: May 10, 2005, 08:23:41 AM
your mambo uses normal registration or comprofiler? maybe you should check new path 1.3.1.1 - when you replace files you will be able to config which component to use for registering - and maybe this will help?

could you post link to your site?

regards
13  Joomla Hacks / Mambo-SMF 1.3.x / Re: users only in smf not in mambo on: May 10, 2005, 08:06:31 AM
only guessing

does clicking register takes you to mambo registration form or maybe SMF reg form? if you register through SMF you will have user only in SMF.

If register button on forum takes you to SMF and not to mambo registration then you entered the forum directly (www.site.com/forum) rather than by the mambo engine (www.site.com/mambo/index?...SMF...)

After installing component there is new menuitem in your menu - there's proper link to enter on the forum
14  Joomla Hacks / Mambo-SMF 1.3.x / discussbot on: May 09, 2005, 10:25:27 AM
hoi Smiley

just got discussbot from your download - its really nice but gives me strange error - when i place it in short text (first part of content item) - the comment link works only if i see whole content item, when i see just short text (on my news page for example) it shows moscode - {mos_smf_discuss}...

i tried to write moscode with and without forum specified - always the same...


15  Joomla Hacks / Mambo-SMF 1.3.x / Re: installation not in subdir of mambo on: May 09, 2005, 08:03:47 AM
well bump up - after few days here are my impressions:

1. my forum runs not in subdir of mambo but it seems that it doesn't really matter - just has to set the component config right

2. i had some passwords witch special chars like # or @ in them (when registration was done by mambo), and those accounts has to enter pass twice - one for comprofiler login and next time for forum

3. when i have user with normal pass (w/out these characters) login process gives error but after redirect it goes ok. Same when i logout - session errors. 

Apache 1.3.33
PHP 4.3.11
Mambo 4.5.1
Community Builder 1.0.3
Pages: [1] 2


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