your SMF database isn't the same as mambo database??? if not well import SMF tables into the database where mambo is, make the changes to Settings.php of SMF just to update database name and it will work!
Man please i need your help in this, i can't do it myself since i'm not that good with ob_ things actually inside my post.template.php there's a part of the code like this (code that display the smilies)
when i open the sources of the page above i can only find
Code:
function moreSmileys() { var row, i;
if (smileyPopupWindow) smileyPopupWindow.close();
all that code part are gone and of course with the //--> which makes all the HTML code a comments till the next //--> which is the one in the google ad at the bottom of the page, can you explain this??? is it possible please man, it's the only thing that worries me till i get (finally) into SEF mode
man please before going with final release, verify that no problems with statistics as i describe it [ur=http://www.mambohacks.com/component/option,com_smf/Itemid,66/expv,2/topic,205.0]here[/url]
hmmmMMM... i installed a fresh mambo/smf (using same themes) and it worked, i taked a closer lock to the sources i think something wrong inside one of the mods, i will debug it to see
is it already there( i mean the fixed one, because i'm trying to find out now why the modify doesn't work by installing fresh install of both mambo + SMF
ok guys i already fixed mine by a simple dirty script (manually) it's already sync and i have all users in usermanager now, here i attach the script (fill in the first values of the script)
P.S: don't look at the code it's dirty 5 minutes job so a lot of useless maybe there's a better way also in it but it just do the trick)
P.P.S:this script will not touch SMF database, it suppose that you have already done the sync using the bridge, also don't forget to make a backup of the whole database just in case..
$missing = array(); $mos_users_temp=array(); $mos_users=array(); $mos_core_acl_aro_temp=array(); $mos_core_acl_aro=array(); $handle=mysql_connect("localhost","$username","$password"); mysql_select_db("$database"); $result = mysql_query("SELECT id FROM {$mos_prefix}users"); while ($mos_users_temp[] = mysql_fetch_assoc($result)){ $mos_users[] = $mos_users_temp[count($mos_users_temp) - 1]['id']; }
$result=mysql_query("SELECT value FROM {$mos_prefix}core_acl_aro"); while($mos_core_acl_aro_temp[] = mysql_fetch_assoc($result)){ $mos_core_acl_aro[] = $mos_core_acl_aro_temp[count($mos_core_acl_aro_temp) - 1]['value']; }
foreach ($mos_users as $value) { if(!in_array($value,$mos_core_acl_aro)) $missing[]=$value; }
/*print_r($missing); print_r($mos_users); print_r($mos_core_acl_aro);*/ foreach($missing as $value) { $result=mysql_query("SELECT name FROM {$mos_prefix}users WHERE id=$value"); $name=mysql_fetch_assoc($result); $result=mysql_query("INSERT into {$mos_prefix}core_acl_aro (value, name) VALUES ($value,'$name[name]')"); }
$aro_id_temp=array(); $aro_id=array(); $aro_id_temp2=array(); $aro_id2=array(); $missing=array(); $result=mysql_query("SELECT aro_id FROM {$mos_prefix}core_acl_aro"); while ($aro_id_temp[] = mysql_fetch_assoc($result)){ $aro_id[] = $aro_id_temp[count($aro_id_temp) - 1]['aro_id']; }
$result=mysql_query("SELECT aro_id FROM {$mos_prefix}core_acl_groups_aro_map"); while ($aro_id_temp2[] = mysql_fetch_assoc($result)){ $aro_id2[] = $aro_id_temp2[count($aro_id_temp2) - 1]['aro_id']; }
foreach ($aro_id as $value) { if(!in_array($value,$aro_id2)) $missing[]=$value; }
foreach($missing as $value) { $result=mysql_query("INSERT into mos_core_acl_groups_aro_map (group_id, aro_id) VALUES (18,$value)"); }
I apologise man, i didn't notice that files permission was screwed up and ftp failed to upload the patch, so far so good, i actually see now 72 pages out of 81 (50 user each page) so still some members missing
quoting also works great!!!
man can i know what was the problem with users since they was successfully transfered why they didn't appear???
ok i'm uploading it and i will get you result, BTW how do i resync members? do ihave to delete them all using phpmyadmin (except admin) and resync but also sync button is disabled no?
None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by MamboHacks.com. Powered by Mambo. All rights reserved. TERMS OF USE