1
trspice
Please adivise
  • 2007/3/29 6:01

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


I disabled the block list of blocksadmin.php and now just display the editor. It was a novice hack job but it seems to be working fine. Can an expert review the comment blockouts that I did and let me know if I will have problems when viewed on other platforms? Also is there an easier way to do this.

// $Id: blocksadmin.php 506 2006-05-26 23:10:37Z skalpa $
//  ------------------------------------------------------------------------ //
//                XOOPS - PHP Content Management System                      //
//                    Copyright (c) 2000 XOOPS.org                           //
//                                                    //
//  ------------------------------------------------------------------------ //
//  This program is free software; you can redistribute it and/or modify     //
//  it under the terms of the GNU General Public License as published by     //
//  the Free Software Foundation; either version 2 of the License, or        //
//  (at your option) any later version.                                      //
//                                                                           //
//  You may not change or alter any portion of this comment or credits       //
//  of supporting developers from this source code or any supporting         //
//  source code which is considered copyrighted (c) material of the          //
//  original comment or credit authors.                                      //
//                                                                           //
//  This program is distributed in the hope that it will be useful,          //
//  but WITHOUT ANY WARRANTY; without even the implied warranty of           //
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            //
//  GNU General Public License for more details.                             //
//                                                                           //
//  You should have received a copy of the GNU General Public License        //
//  along with this program; if not, write to the Free Software              //
//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
//  ------------------------------------------------------------------------ //
// Author: Kazumi Ono (AKA onokazu)                                          //
// URL: http://www.myweb.ne.jp/, https://xoops.org/, http://www.xoopscube.jp/ //
// Project: The XOOPS Project                                                //
// ------------------------------------------------------------------------- //

if ( !is_object($xoopsUser) || !is_object($xoopsModule) || !$xoopsUser->isAdmin($xoopsModule->mid()) ) {
    exit(
"Access Denied");
}
// check if the user is authorised
if ( $xoopsUser->isAdmin($xoopsModule->mid()) ) {
    include_once 
XOOPS_ROOT_PATH.'/class/xoopsblock.php';

    function 
list_blocks()
    {
        global 
$xoopsUser$xoopsConfig;
        include_once 
XOOPS_ROOT_PATH.'/class/xoopslists.php';
        
//OpenTable();
        
$selmod = isset($_GET['selmod']) ? intval($_GET['selmod']) : 0;
        
$selvis = isset($_GET['selvis']) ? intval($_GET['selvis']) : 2;
        
$selgrp = isset($_GET['selgrp']) ? intval($_GET['selgrp']) : XOOPS_GROUP_USERS;
        echo 
"
        "
;
        echo 
'';
        
$form "";
        
$module_handler =& xoops_gethandler('module');
        
$criteria = new CriteriaCompo(new Criteria('hasmain'1));
        
$criteria->add(new Criteria('isactive'1));
        
$module_list =& $module_handler->getList($criteria);
        
$toponlyblock false;
        
$module_list[-1] = _AM_TOPPAGE;
        
$selmod = isset($_GET['selmod']) ? intval($_GET['selmod']) : -1;
        
ksort($module_list);
        foreach (
$module_list as $k => $v) {
            
$sel '';
            if (
$k == $selmod) {
                
$sel ' selected="selected"';
            }
            
$form .= '';
        }
        
$form .= '';
        
/*printf(_AM_SVISIBLEIN, $form);*/
        
$member_handler =& xoops_gethandler('member');
        
$group_list =& $member_handler->getGroupList();
        
/*$group_sel = _AM_GROUP.*/";
        
$group_list[0] = '#'._AM_UNASSIGNED// fix for displaying blocks unassigned to any group
        
foreach ($group_list as $k => $v) {
            
$sel '';
            if (
$k == $selgrp) {
                
$sel ' selected="selected"';
            }
            
$group_sel .= '';
        }
        
$group_sel .= ' ';
        echo 
$group_sel;
        
/*echo _AM_VISIBLE.*/";
        
$selvis0 $selvis1 $selvis2 "";
        switch(
$selvis){
        case 
0:
            
$selvis0 'selected="selected"';
            break;
        case 
1:
            
$selvis1 'selected="selected"';
            break;
        case 
2:
        default:
            
$selvis2 'selected="selected"';
            break;
        }
        echo 
'';
        echo 
'';
        echo 
'';
        echo 
'';
        echo 
'';
        echo 
";

        
$block = array('form_title' => _AM_ADDBLOCK'side' => 0'weight' => 0'visible' => 1'title' => '''content' => '''modules' => array(-1), 'is_custom' => true'ctype' => 'H''cachetime' => 0'op' => 'save''edit_form' => false);
        include 
XOOPS_ROOT_PATH.'/modules/system/admin/blocksadmin/blockform.php';
        
$form->display();
    }

    function 
save_block($bside$bweight$bvisible$btitle$bcontent$bctype$bmodule$bcachetime)
    {
        global 
$xoopsUser;
        if (empty(
$bmodule)) {
            
xoops_cp_header();
            
xoops_error(sprintf(_AM_NOTSELNG_AM_VISIBLEIN));
            
xoops_cp_footer();
            exit();
        }
        
$myblock = new XoopsBlock();
        
$myblock->setVar('side'$bside);
        
$myblock->setVar('weight'$bweight);
        
$myblock->setVar('visible'$bvisible);
        
$myblock->setVar('weight'$bweight);
        
$myblock->setVar('title'$btitle);
        
$myblock->setVar('content'$bcontent);
        
$myblock->setVar('c_type'$bctype);
        
$myblock->setVar('block_type''C');
        
$myblock->setVar('bcachetime'$bcachetime);
        switch (
$bctype) {
        case 
'H':
            
$name _AM_CUSTOMHTML;
            break;
        case 
'P':
            
$name _AM_CUSTOMPHP;
            break;
        case 
'S':
            
$name _AM_CUSTOMSMILE;
            break;
        default:
            
$name _AM_CUSTOMNOSMILE;
            break;
        }
        
$myblock->setVar('name'$name);
        
$newid $myblock->store();
        if (!
$newid) {
            
xoops_cp_header();
            
$myblock->getHtmlErrors();
            
xoops_cp_footer();
            exit();
        }
        
$db =& Database::getInstance();
        foreach (
$bmodule as $bmid) {
            
$sql 'INSERT INTO '.$db->prefix('block_module_link').' (block_id, module_id) VALUES ('.$newid.', '.intval($bmid).')';
            
$db->query($sql);
        }
        
$groups =& $xoopsUser->getGroups();
        
$count count($groups);
        for (
$i 0$i $count$i++) {
            
$sql "INSERT INTO ".$db->prefix('group_permission')." (gperm_groupid, gperm_itemid, gperm_name, gperm_modid) VALUES (".$groups[$i].", ".$newid.", 'block_read', 1)";
            
$db->query($sql);
        }
        
redirect_header('admin.php?fct=blocksadmin&t='.time(),1,_AM_DBUPDATED);
        exit();
    }

    function 
edit_block($bid)
    {
        
$myblock = new XoopsBlock($bid);
        
$db =& Database::getInstance();
        
$sql 'SELECT module_id FROM '.$db->prefix('block_module_link').' WHERE block_id='.intval($bid);
        
$result $db->query($sql);
        
$modules = array();
        while (
$row $db->fetchArray($result)) {
            
$modules[] = intval($row['module_id']);
        }
        
$is_custom = ($myblock->getVar('block_type') == 'C' || $myblock->getVar('block_type') == 'E') ? true false;
        
$block = array('form_title' => _AM_EDITBLOCK'name' => $myblock->getVar('name'), 'side' => $myblock->getVar('side'), 'weight' => $myblock->getVar('weight'), 'visible' => $myblock->getVar('visible'), 'title' => $myblock->getVar('title''E'), 'content' => $myblock->getVar('content''E'), 'modules' => $modules'is_custom' => $is_custom'ctype' => $myblock->getVar('c_type'), 'cachetime' => $myblock->getVar('bcachetime'), 'op' => 'update''bid' => $myblock->getVar('bid'), 'edit_form' => $myblock->getOptions(), 'template' => $myblock->getVar('template'), 'options' => $myblock->getVar('options'));
        echo 
''_AM_BADMIN .»» '
._AM_EDITBLOCK.'';
        include 
XOOPS_ROOT_PATH.'/modules/system/admin/blocksadmin/blockform.php';
        
$form->display();
    }

    function 
update_block($bid$bside$bweight$bvisible$btitle$bcontent$bctype$bcachetime$bmodule$options=array())
    {
        global 
$xoopsConfig;
        if (empty(
$bmodule)) {
            
xoops_cp_header();
            
xoops_error(sprintf(_AM_NOTSELNG_AM_VISIBLEIN));
            
xoops_cp_footer();
            exit();
        }
        
$myblock = new XoopsBlock($bid);
        
$myblock->setVar('side'$bside);
        
$myblock->setVar('weight'$bweight);
        
$myblock->setVar('visible'$bvisible);
        
$myblock->setVar('title'$btitle);
        
$myblock->setVar('content'$bcontent);
        
$myblock->setVar('bcachetime'$bcachetime);
        if (isset(
$options)) {
            
$options_count count($options);
            if (
$options_count 0) {
                
//Convert array values to comma-separated
                
for ( $i 0$i $options_count$i++ ) {
                    if (
is_array($options[$i])) {
                        
$options[$i] = implode(','$options[$i]);
                    }
                }
                
$options implode('|'$options);
                
$myblock->setVar('options'$options);
            }
        }
        if (
$myblock->getVar('block_type') == 'C') {
            switch (
$bctype) {
            case 
'H':
                
$name _AM_CUSTOMHTML;
                break;
            case 
'P':
                
$name _AM_CUSTOMPHP;
                break;
            case 
'S':
                
$name _AM_CUSTOMSMILE;
                break;
            default:
                
$name _AM_CUSTOMNOSMILE;
                break;
            }
            
$myblock->setVar('name'$name);
            
$myblock->setVar('c_type'$bctype);
        } else {
            
$myblock->setVar('c_type''H');
        }
        
$msg _AM_DBUPDATED;
        if (
$myblock->store() != false) {
            
$db =& Database::getInstance();
            
$sql sprintf("DELETE FROM %s WHERE block_id = %u"$db->prefix('block_module_link'), $bid);
            
$db->query($sql);
            foreach (
$bmodule as $bmid) {
                
$sql sprintf("INSERT INTO %s (block_id, module_id) VALUES (%u, %d)"$db->prefix('block_module_link'), $bidintval($bmid));
                
$db->query($sql);
            }
            include_once 
XOOPS_ROOT_PATH.'/class/template.php';
            
$xoopsTpl = new XoopsTpl();
            
$xoopsTpl->xoops_setCaching(2);
            if (
$myblock->getVar('template') != '') {
                if (
$xoopsTpl->is_cached('db:'.$myblock->getVar('template'), 'blk_'.$myblock->getVar('bid'))) {
                    if (!
$xoopsTpl->clear_cache('db:'.$myblock->getVar('template'), 'blk_'.$myblock->getVar('bid'))) {
                        
$msg 'Unable to clear cache for block ID '.$bid;
                    }
                }
            } else {
                if (
$xoopsTpl->is_cached('db:system_dummy.html''blk_'.$bid)) {
                    if (!
$xoopsTpl->clear_cache('db:system_dummy.html''blk_'.$bid)) {
                        
$msg 'Unable to clear cache for block ID '.$bid;
                    }
                }
            }
        } else {
            
$msg 'Failed update of block. ID:'.$bid;
        }
        
redirect_header('admin.php?fct=blocksadmin&t='.time(),1,$msg);
        exit();
    }

    function 
delete_block($bid)
    {
        
$myblock = new XoopsBlock($bid);
        if ( 
$myblock->getVar('block_type') == 'S' ) {
            
$message _AM_SYSTEMCANT;
            
redirect_header('admin.php?fct=blocksadmin',4,$message);
            exit();
        } elseif (
$myblock->getVar('block_type') == 'M') {
            
// Fix for duplicated blocks created in 2.0.9 module update
            // A module block can be deleted if there is more than 1 that
            // has the same func_num/show_func which is mostly likely
            // be the one that was duplicated in 2.0.9
            
if (>= $count XoopsBlock::countSimilarBlocks($myblock->getVar('mid'), $myblock->getVar('func_num'), $myblock->getVar('show_func'))) {
                
$message _AM_MODULECANT;
                
redirect_header('admin.php?fct=blocksadmin',4,$message);
                exit();
            }
        }
        
xoops_confirm(array('fct' => 'blocksadmin''op' => 'delete_ok''bid' => $myblock->getVar('bid')), 'admin.php'sprintf(_AM_RUSUREDEL,$myblock->getVar('title')));
    }

    function 
delete_block_ok($bid)
    {
        
$myblock = new XoopsBlock($bid);
        
$myblock->delete();
        if (
$myblock->getVar('template') != '') {
            
$tplfile_handler =& xoops_gethandler('tplfile');
            
$btemplate =& $tplfile_handler->find($GLOBALS['xoopsConfig']['template_set'], 'block'$bid);
            if (
count($btemplate) > 0) {
                
$tplfile_handler->delete($btemplate[0]);
            }
        }
        
redirect_header('admin.php?fct=blocksadmin&t='.time(),1,_AM_DBUPDATED);
        exit();
    }

    function 
order_block($bid$weight$visible$side)
    {
        
$myblock = new XoopsBlock($bid);
        
$myblock->setVar('weight'$weight);
        
$myblock->setVar('visible'$visible);
        
$myblock->setVar('side'$side);
        
$myblock->store();
    }

    function 
clone_block($bid)
    {
        global 
$xoopsConfig;
        
xoops_cp_header();
        
$myblock = new XoopsBlock($bid);
        
$db =& Database::getInstance();
        
$sql 'SELECT module_id FROM '.$db->prefix('block_module_link').' WHERE block_id='.intval($bid);
        
$result $db->query($sql);
        
$modules = array();
        while (
$row $db->fetchArray($result)) {
            
$modules[] = intval($row['module_id']);
        }
        
$is_custom = ($myblock->getVar('block_type') == 'C' || $myblock->getVar('block_type') == 'E') ? true false;
        
$block = array('form_title' => _AM_CLONEBLOCK'name' => $myblock->getVar('name'), 'side' => $myblock->getVar('side'), 'weight' => $myblock->getVar('weight'), 'visible' => $myblock->getVar('visible'), 'content' => $myblock->getVar('content''N'), 'modules' => $modules'is_custom' => $is_custom'ctype' => $myblock->getVar('c_type'), 'cachetime' => $myblock->getVar('bcachetime'), 'op' => 'clone_ok''bid' => $myblock->getVar('bid'), 'edit_form' => $myblock->getOptions(), 'template' => $myblock->getVar('template'), 'options' => $myblock->getVar('options'));
        echo 
''_AM_BADMIN .»» '._AM_CLONEBLOCK.'';
        include 
XOOPS_ROOT_PATH.'/modules/system/admin/blocksadmin/blockform.php';
        
$form->display();
        
xoops_cp_footer();
        exit();
    }

    function 
clone_block_ok($bid$bside$bweight$bvisible$bcachetime$bmodule$options)
    {
        global 
$xoopsUser;
        
$block = new XoopsBlock($bid);
        
$clone =& $block->xoopsClone();
        if (empty(
$bmodule)) {
            
xoops_cp_header();
            
xoops_error(sprintf(_AM_NOTSELNG_AM_VISIBLEIN));
            
xoops_cp_footer();
            exit();
        }
        
$clone->setVar('side'$bside);
        
$clone->setVar('weight'$bweight);
        
$clone->setVar('visible'$bvisible);
        
$clone->setVar('content'$bcontent);
        
//$clone->setVar('title', $btitle);
        
$clone->setVar('bcachetime'$bcachetime);
        if ( isset(
$options) && (count($options) > 0) ) {
            
$options implode('|'$options);
            
$clone->setVar('options'$options);
        }
        
$clone->setVar('bid'0);
        if (
$block->getVar('block_type') == 'C' || $block->getVar('block_type') == 'E') {
            
$clone->setVar('block_type''E');
        } else {
            
$clone->setVar('block_type''D');
        }
        
$newid $clone->store();
        if (!
$newid) {
            
xoops_cp_header();
            
$clone->getHtmlErrors();
            
xoops_cp_footer();
            exit();
        }
        if (
$clone->getVar('template') != '') {
            
$tplfile_handler =& xoops_gethandler('tplfile');
            
$btemplate =& $tplfile_handler->find($GLOBALS['xoopsConfig']['template_set'], 'block'$bid);
            if (
count($btemplate) > 0) {
                
$tplclone =& $btemplate[0]->xoopsClone();
                
$tplclone->setVar('tpl_id'0);
                
$tplclone->setVar('tpl_refid'$newid);
                
$tplman->insert($tplclone);
            }
        }
        
$db =& Database::getInstance();
        foreach (
$bmodule as $bmid) {
            
$sql 'INSERT INTO '.$db->prefix('block_module_link').' (block_id, module_id) VALUES ('.$newid.', '.$bmid.')';
            
$db->query($sql);
        }
        
$groups =& $xoopsUser->getGroups();
        
$count count($groups);
        for (
$i 0$i $count$i++) {
            
$sql "INSERT INTO ".$db->prefix('group_permission')." (gperm_groupid, gperm_itemid, gperm_modid, gperm_name) VALUES (".$groups[$i].", ".$newid.", 1, 'block_read')";
            
$db->query($sql);
        }
        
redirect_header('admin.php?fct=blocksadmin&t='.time(),1,_AM_DBUPDATED);
    }
} else {
    echo 
"Access Denied";
}
?>
There's nothing but science....
The Reggae Album

2
Anonymous
Re: Please adivise
  • 2007/3/29 13:47

  • Anonymous

  • Posts: 0

  • Since:


What you want to do ? It's not clear .. can attach screenshots

3
trspice
Re: Please adivise
  • 2007/3/29 15:51

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


I have removed the block list shown on the bocksadmin.php page and just have the editor showing. I used comment tags to block out the HTML codes of blocksadmin.php and though it works fine I just wanted an expert to review what I did and let me know if there will be a problem when viewed on other platforms (mac, linux) and browsers.
There's nothing but science....
The Reggae Album

4
trspice
Re: Please adivise
  • 2007/4/1 5:42

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


I did some additional hack and now notice some errors which strangely does not stop the system from functioning but needs fixing;

The 'Block Type' drop list on the Add new block form starts with 'Side Block - Left and I moved Center Block - Center to that position so it now looks like this and fuctions correctly;

Center Block - Center
Side Block - Left
Side Block - Right
Center Block - Left
Center Block - Right

I edited files;
include/common.php
[color=CC0000define("XOOPS_CENTERBLOCK_CENTER",0);
    
define("XOOPS_SIDEBLOCK_LEFT",1);
    
define("XOOPS_SIDEBLOCK_RIGHT",2);
    
define("XOOPS_SIDEBLOCK_BOTH",3);[/color]
    
define("XOOPS_CENTERBLOCK_LEFT",4);
    
define("XOOPS_CENTERBLOCK_RIGHT",5);
    
define("XOOPS_CENTERBLOCK_ALL",6);
 [
color=CC0000]  /* define("XOOPS_CENTERBLOCK_BOTTOMLEFT",7); */
   /* define("XOOPS_CENTERBLOCK_BOTTOMRIGHT",8); */
   /* define("XOOPS_CENTERBLOCK_BOTTOM",9); */ 
[/color]
    
define("XOOPS_BLOCK_INVISIBLE",0);
    
define("XOOPS_BLOCK_VISIBLE",1);
    
define("XOOPS_MATCH_START",0);
    
define("XOOPS_MATCH_END",1);
    
define("XOOPS_MATCH_EQUAL",2);
    
define("XOOPS_MATCH_CONTAIN",3);
    
define("SMARTY_DIR"XOOPS_ROOT_PATH."/class/smarty/");
    
define("XOOPS_CACHE_PATH"XOOPS_ROOT_PATH."/cache");
    
define("XOOPS_UPLOAD_PATH"XOOPS_ROOT_PATH."/uploads");
    
define("XOOPS_THEME_PATH"XOOPS_ROOT_PATH."/themes");
    
define("XOOPS_COMPILE_PATH"XOOPS_ROOT_PATH."/templates_c");
    
define("XOOPS_THEME_URL"XOOPS_URL."/themes");
    
define("XOOPS_UPLOAD_URL"XOOPS_URL."/uploads");


modules/system/admin/blocksadmin/blockform.php
$side_select = new XoopsFormSelect(_AM_BLKTYPE"bside"$block['side']);
$side_select->addOptionArray(array(=> [color=CC0000]_AM_CBCENTER=> _AM_SBLEFT=> _AM_SBRIGHT=> _AM_CBLEFT=> _AM_CBRIGHT,[/color] ));


The errors are

1. When I upload the changed files all the existing blocks switch positions.
- Center blocks move to the right
- right blocks move to the left
- Left blocks move to the center
When I switch them to the correct positions with the radio select they stay and display properly.

2. In the Groups settings;
- No center blocks show. Just the title 'Center'
- All the center blocks show in the right list (though they display correctly on the pages)
- Left block list display correct but they also duplicate in the right list (These also show correctly on the pages)
Resized Image

The blocksadmin list shows all blocks in their correct position.

I looked at files in modules/system/admin/groups but didn't see any obvious line to edit. It is probably there but I don't know how to interpret it.

Can anyone assist with this? Thanks.
There's nothing but science....
The Reggae Album

5
Quest
Re: Please adivise
  • 2007/4/1 12:48

  • Quest

  • Friend of XOOPS

  • Posts: 1034

  • Since: 2005/11/19


I am not really clear on what it is you are trying to do, actually more so-I am not clear as to the what for or why you are trying to do what you are trying to do. But you ask: "Please Advise".

I advise not screwing around with the core files in such a drastic manner! Unless of course you are trying to create some sort of module? If not then I advise again. Don't mess with core files in such a drastic manner. When hacking up core files like that it makes it very difficult for any future upgrades and could even lead to module problems.

Best of Luck!

Quest

6
skenow
Re: Please adivise
  • 2007/4/1 12:59

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


First off, when you do undertake hacking core files, be sure you back up your files and your database before you start. Secondly, it is best to do this on a test system you can reload without taking your production site down.

The reason your blocks moved is because of the changes you made - their positions are stored in the database and you moved them by changing the define("XOOPS_SIDEBLOCK_RIGHT",2); statements. And I would expect them to display properly if you edited their positions and saved the changes back to the db.

Your other problem probably comes from commenting out variable definitions that are necessary -

/* define("XOOPS_CENTERBLOCK_BOTTOMLEFT",7); */
/* define("XOOPS_CENTERBLOCK_BOTTOMRIGHT",8); */
/* define("XOOPS_CENTERBLOCK_BOTTOM",9); */

If a page encounters missing variables, it will probably fail to display properly.

7
trspice
Re: Please adivise
  • 2007/4/1 15:25

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


Maybe I should change the question to 'How do I fix this'. My initial changes are wotking fine. Here is what I ultimately want to achieve;

I installed the Blcksadmin module ( I think by PHPPP)

1. When I click the Administration menu I go directly to the blocksadmin module's index which displays nicely, just the custom blocks along with the group permissions so I can set access permissions without going through system > groups. All other modules are listed separately so the block list is not cluttered and confusing.

2. I placed a form button at the top of the Blocksadmin module's header that takes me to the System > blocksadmin page where I have removed the original blocks list and now just the 'Add New Block' form is displayed. (This is what I originally asked advise. It works fine)

3. I only use Left - Center - Right columns so I removed the bottom center columns from the display ( the blocksadmin module didn't have those either) and shifted the list positions of the Block Type drop list in the Add New Block form. (This is where I now have errors but not destructive)

4. I put an insert in the Groups table of the database which now automatically give new block and module access to anonymous group. It is very rare that I have a content I don't want them to see so it reduces the work and frustration to remember to set this.

I felt this was a neccessary hack (for me) and searched many sites to find this as I thought others (including the creators of Blocksadmin which started the whole idea) would want this as it seem so much more organized and simpler.

See the images of the chnages here

I have a test area on my server setup so you can see exactly how it is working and get a better understanding. If you are willing I'll PM the access. Just let me know.
There's nothing but science....
The Reggae Album

8
trspice
Re: Please adivise
  • 2007/4/2 20:57

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


So is there any assistance on this? Should this be post in the Core Hack forum?
There's nothing but science....
The Reggae Album

9
trspice
Re: Please adivise
  • 2007/4/6 5:26

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


Prollem solved. I had to edit class/xoopsblock.php lines 317, 319, 353, 355.

All works excellent now.

Xoops support forum is the best there is. They let you solve problems on your own :)
There's nothing but science....
The Reggae Album

10
davidl2
Re: Please adivise
  • 2007/4/6 10:10

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


Some problems are not always easy to solve.. but I'm glad you did.

I don't suppose you could post the changes you made - in case other users could find them of use?

Login

Who's Online

368 user(s) are online (60 user(s) are browsing Support Forums)


Members: 0


Guests: 368


more...

Donat-O-Meter

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

Latest GitHub Commits