41
belia
Re: RMCommon Utilities 2 and MyWords 2 (Alpha)
  • 2010/5/16 1:32

  • belia

  • Just popping in

  • Posts: 83

  • Since: 2007/12/18


Hi Bit

if you include the xoops 2.5 ajax Block Management or maybe better than that in Rmcommon

this rmcommon will be PERFECT

from the bottom of my heart thank you for your contribution to XOOPS



42
kerkyra
Re: RMCommon Utilities 2 and MyWords 2 (Alpha)
  • 2010/5/16 15:05

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


Quote:
if i use rmcommon module management ?

how do i change the name of a module in Main Menu

as example from newbb to Forum ?


same question here!! Where can we change module name, menu order etc.
whttp://www.guidemap.gr - Beta is out...

43
kerkyra
Re: RMCommon Utilities 2 and MyWords 2 (Alpha)
  • 2010/5/17 11:38

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


bump?
whttp://www.guidemap.gr - Beta is out...

44
noo-b
Re: RMCommon Utilities 2 and MyWords 2 (Alpha)
  • 2010/5/17 13:25

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


if you change your admin theme from redmexico back to oxygen or paradigme

you get a screwed module management

Resized Image

because it is still redirecting to rmcommon
I Love Xoops

45
kaotik
Re: RMCommon Utilities 2 and MyWords 2 (Alpha)
  • 2010/5/17 13:48

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


I've just started testing the new rmcommon version.

Module management is definitly easy to use

46
kaotik
Re: RMCommon Utilities 2 and MyWords 2 (Alpha)
  • 2010/5/17 13:50

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


noo-b: I can also confirm this bug.

47
kaotik
Re: RMCommon Utilities 2 and MyWords 2 (Alpha)
  • 2010/5/17 13:52

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


kerkyra: I'm also searching for a solution... I'll let you know if I come up with anything.

48
kaotik
Re: RMCommon Utilities 2 and MyWords 2 (Alpha)
  • 2010/5/17 15:38

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


noob, solution:
open rmcommon/loader.php, around line 12 find:
// Check locations for system module
if (FALSE !== strpos($_SERVER['REQUEST_URI'], 'modules/system/admin.php')){
    
$fct = isset($_REQUEST['fct']) ? $_REQUEST['fct'] : '';
    
    switch(
$fct){
        case 
'modulesadmin':
            
header('location: ../rmcommon/modules.php');
            break;
    }
    
}


replace with:
function chechAdminTheme(){
include_once 
XOOPS_ROOT_PATH.'/class/logger/xoopslogger.php';
include_once 
XOOPS_ROOT_PATH.'/class/database/databasefactory.php';

$db XoopsDatabaseFactory::getDatabaseConnection();
$res $db->query("SELECT conf_value FROM ".$db->prefix("config")." WHERE conf_name='cpanel' ");
    while(
$row $db->fetchArray($res)){
        
$tst[1] = $row['conf_value'];
    }
return 
$tst;
}

$tst=chechAdminTheme();


if (
$tst[1] =='redmexico'){
// Check locations for system module
if (FALSE !== strpos($_SERVER['REQUEST_URI'], 'modules/system/admin.php')){
    
$fct = isset($_REQUEST['fct']) ? $_REQUEST['fct'] : '';
    
    switch(
$fct){
        case 
'modulesadmin':
            
header('location: ../rmcommon/modules.php');
            break;
    }
    
}
}
//---------------------------*/


The new code checks the database for the selected admin theme. If it's redmexico, then execute the rest.

49
bjuti
Re: RMCommon Utilities 2 and MyWords 2 (Alpha)
  • 2010/5/17 17:22

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Does anyone else have problem with disabling (deactiviting) Social Sites in MyWords?

EDIT: Bulk actions work, but when I select under the image it does not.

50
noo-b
Re: RMCommon Utilities 2 and MyWords 2 (Alpha)
  • 2010/5/17 23:32

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


Thanks Kaotik..its working..

rmcommon rocks !!!



[quote]
kaotik wrote:
noob, solution:
open rmcommon/loader.php, around line 12 find:
// Check locations for system module
if (FALSE !== strpos($_SERVER['REQUEST_URI'], 'modules/system/admin.php')){
    
$fct = isset($_REQUEST['fct']) ? $_REQUEST['fct'] : '';
    
    switch(
$fct){
        case 
'modulesadmin':
            
header('location: ../rmcommon/modules.php');
            break;
    }
    
}


replace with:
[code]
function chechAdminTheme(){
include_once XOOPS_ROOT_PATH.'/class/logger/xoopslogger.php';
include_once XOOPS_ROOT_PATH.'/class/database/databasefactory.php';

$db = XoopsDatabaseFactory::getDatabaseConnection();
$res = $db->query(
I Love Xoops

Login

Who's Online

239 user(s) are online (119 user(s) are browsing Support Forums)


Members: 0


Guests: 239


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits