31
bwirum
Re: Gold theme - empty space when block is not viewable by anon users
  • 2005/1/20 12:47

  • bwirum

  • Just popping in

  • Posts: 49

  • Since: 2004/1/16


Anyone?



32
bwirum
Re: See who activated a spesific user in return mails to admins
  • 2005/1/20 12:45

  • bwirum

  • Just popping in

  • Posts: 49

  • Since: 2004/1/16


Anyone?



33
bwirum
Gold theme - empty space when block is not viewable by anon users
  • 2005/1/10 8:36

  • bwirum

  • Just popping in

  • Posts: 49

  • Since: 2004/1/16


I have a XOOPS site with a 'gold' theme. I have 2 blocks on top of the first page in the center-left (recent photos from myalbum) and center-right (top photos from myalbum) positions. These are not viewable by anonymous users, but that makes the site show an empty space on top where the blocks aren't showing. How can I (or rather Can I) get rid of this empty space and still have the blocks there once the users have logged in?

Edit: XOOPS 2.0.9.2



34
bwirum
See who activated a spesific user in return mails to admins
  • 2005/1/10 6:39

  • bwirum

  • Just popping in

  • Posts: 49

  • Since: 2004/1/16


Hi,

We are 4 people in the webmaster group on our site and users have to be activated by an admin.

I was wondering if there was any way to make the return mail to the webmaster group show *which* admin did the activation?

Thanks



35
bwirum
Re: Anyone using a random Quotes module?
  • 2005/1/4 11:37

  • bwirum

  • Just popping in

  • Posts: 49

  • Since: 2004/1/16


Would be great if you could add it to the mod depository. I use the one in there, but the quote submittion option would be great.



36
bwirum
Re: News module article view permissions?
  • 2004/1/23 12:43

  • bwirum

  • Just popping in

  • Posts: 49

  • Since: 2004/1/16


Yes, I realize that, but I'd have thought someone other than me would have needed to make some newsposts viewable to the public and others just to registered members..

I'm sorry if I wasn't quite clear there :). Hopefully someone's done something like this in the past as I'm really no PHP wiz and it would take me quite some time to figure this whole thing out ;)

It would do the trick if I was able to just set certain topics readable to only certain usergroups.. Not necessarily on a article-by-article basis..



37
bwirum
News module article view permissions?
  • 2004/1/23 8:04

  • bwirum

  • Just popping in

  • Posts: 49

  • Since: 2004/1/16


Hi,

I'd like to know if there is a news module out there, ready to go, which lets you set group permissions on articles posted? Like in WF-Sections, but in news?

I've tried searching here and there, but so far no go.

Thanks.



38
bwirum
Re: wf-section & agenda-x in waiting content block
  • 2004/1/20 14:35

  • bwirum

  • Just popping in

  • Posts: 49

  • Since: 2004/1/16


Excellent. Thank you. Easier is always better :)!



39
bwirum
Re: wf-section & agenda-x in waiting content block
  • 2004/1/20 10:21

  • bwirum

  • Just popping in

  • Posts: 49

  • Since: 2004/1/16


I'm at a loss here..

I inserted the code, like so:

$result $xoopsDB->query("SELECT COUNT(*) FROM ".$xoopsDB->prefix("xoopscomments")." WHERE com_status=1");
        if ( 
$result ) {
            
$block['modules'][7]['adminlink'] = XOOPS_URL."/modules/system/admin.php?module=0&status=1&fct=comments";
            list(
$block['modules'][7]['pendingnum']) = $xoopsDB->fetchRow($result);
            
$block['modules'][7]['lang_linkname'] =_MB_SYSTEM_COMPEND;
        }

[
color=0000CC]<!-- start mod -->
    if (
$module_handler->getCount(new Criteria('dirname''wfsection'))) {
        
$result $xoopsDB->query("SELECT COUNT(*) FROM ".$xoopsDB->prefix("wfs_article")." WHERE published=0");
        if ( 
$result ) {
            
$block['modules'][8]['adminlink'] = XOOPS_URL."/modules/wfsection/admin/allarticles.php?action=submitted";
            list(
$block['modules'][8]['pendingnum']) = $xoopsDB->fetchRow($result);
            
$block['modules'][8]['lang_linkname'] = _MB_SYSTEM_SUBWFS;
        }
    }
    if (
$module_handler->getCount(new Criteria('dirname''wfsection'))) {
        
$result $xoopsDB->query("SELECT COUNT(*) FROM ".$xoopsDB->prefix("wfs_files")." WHERE submit=0");
        if ( 
$result ) {
            
$block['modules'][9]['adminlink'] = XOOPS_URL."/modules/wfsection/admin/allarticles.php?action=submitted";
            list(
$block['modules'][9]['pendingnum']) = $xoopsDB->fetchRow($result);
            
$block['modules'][9]['lang_linkname'] = _MB_SYSTEM_WFDLS;
        }
    }
<!-- 
end mod -->[/color]

    return 
$block;
}

function 
b_system_info_show($options)
{
    global 
$xoopsConfig$xoopsUser;
    
$xoopsDB =& Database::getInstance();


Between the <!-- start mod --> and <!-- end mod -->, but not only does my waiting contents block disappear, also my top posters and new members block is gone ??

Obviously need help here...

Thanks.



40
bwirum
Re: "Gold" Theme problem
  • 2004/1/16 17:25

  • bwirum

  • Just popping in

  • Posts: 49

  • Since: 2004/1/16


Heh, thanks. Working perfectly!

Told you it was roughly 150 px... Can't believe I missed that.

Great theme now.. Great!




TopTop
« 1 2 3 (4) 5 »



Login

Who's Online

212 user(s) are online (139 user(s) are browsing Support Forums)


Members: 0


Guests: 212


more...

Donat-O-Meter

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

Latest GitHub Commits