861
iHackCode
Re: How do I change the way the forum displays?

for comments in XOOPS it is . Admin Menu (admin control panel)- System Admin- Preferences- General Settings......Default Comment Display Mode (change it to flat)

if its for a forum. please provide info and what forum module you are using. but it is usually in the preferences in the module
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧



862
iHackCode
Re: What does "private forum" mean?

when in the forum admin menu for adding forums. it would be the "Type:" setting. it is either "public" or "private".
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧



863
iHackCode
Re: Spotlight view on Xoops.org

nice job.

lol , i think i may have posted how to show authors name for XOOPS 2.2.x.. and i dont even have a copy of that anywhere.
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧



864
iHackCode
Re: Spotlight view on Xoops.org

I think to make it show real name instead of user name you gotta

Change (File: blocks/xmspotlight_block_news.php)
$news['poster'] = xoops_getLinkedUnameFromId(intval($article->uid()));


To:
$news['poster'] = xoops_getLinkedUnameFromId(intval($article->uid(),true));


But im not sure.
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧



865
iHackCode
Re: Newbb More Who's online groups

i can probably do this. but i need some help

online.php has this line
if(newbb_isAdministrator($users[$i]['online_uid'])){
                
$online['users'][$i]['color']= $xoopsModuleConfig['wol_admin_col'];
            }


and function.php has these functions.
function &getModuleAdministrators($mid=0)
{
    static 
$module_administrators=array();
    if(isset(
$module_administrators[$mid])) return $module_administrators[$mid];

    
$moduleperm_handler =& xoops_gethandler('groupperm');
    
$groupsIds $moduleperm_handler->getGroupIds('module_admin'$mid);

    
$administrators = array();
    
$member_handler =& xoops_gethandler('member');
    foreach(
$groupsIds as $groupid){
        
$userIds $member_handler->getUsersByGroup($groupid);
        foreach(
$userIds as $userid){
            
$administrators[$userid] = 1;
        }
    }
    
$module_administrators[$mid] =array_keys($administrators);
    unset(
$administrators);
    return 
$module_administrators[$mid];
}

function 
newbb_isAdministrator($user=-1$mid=0)
{
    global 
$xoopsUser;
    static 
$administrators$xoopsModule$newBB_mid;

    if(
$user == -1$user = &$xoopsUser;
    if(!
is_object($user) && intval($user)<1) return false;
    
$uid = (is_object($user))?$user->getVar('uid'):intval($user);

    if(!
$mid){
        if (!isset(
$newBB_mid)) {
            if(
is_object($xoopsModule)&& 'newbb' == $xoopsModule->dirname()){
                
$newBB_mid $xoopsModule->getVar('mid');
            }else{
                
$modhandler = &xoops_gethandler('module');
                
$newBB = &$modhandler->getByDirname('newbb');
                
$newBB_mid $newBB->getVar('mid');
                unset(
$newBB);
            }
        }
        
$mid $newBB_mid;
    }

    if(!isset(
$administrators)) {
        
$administrators =& getModuleAdministrators($mid);
    }

    return 
in_array($uid,$administrators);
}


but how do i make a new function that does the same thing but for a specific group.
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧



866
iHackCode
Re: system_block_online

im not sure.

if you are using a custom/cloned template. try regenerating the template file for the block.
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧



867
iHackCode
Re: User Group Themes

here is a link to the : multiple-themes XOOPS site guide news article

https://xoops.org/modules/news/article.php?storyid=2266

ill see if i can make an example based on groupid in the morning.
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧



868
iHackCode
Re: how to display blocks

can you post an image of what u see?
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧



869
iHackCode
Re: Three Questions About XOOPS

i) it in the admin control panel -> Templates -> 'name of the template you are using' -> system ... system_siteclosed.html

if the name of the template is default you will have to clone the template to edit the template date

ii) i dont have an answer to this one

iii)can you send me an image of this?
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧



870
iHackCode
Re: Module install problem

i havent had this problem before so i dont know what to ask..

so i ask. is the path in mainfile.php correct?
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧




TopTop
« 1 ... 84 85 86 (87) 88 89 90 ... 93 »



Login

Who's Online

210 user(s) are online (162 user(s) are browsing Support Forums)


Members: 0


Guests: 210


more...

Donat-O-Meter

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

Latest GitHub Commits