51
bmmolloy
Re: Problem Showing Module Blocks For Unregistered Users
  • 2004/4/26 3:28

  • bmmolloy

  • Friend of XOOPS

  • Posts: 84

  • Since: 2004/4/21


You'll need to access that fromhttp://xoops.afriguru.com/admin.php and go to System Admin -> Groups, and edit anonymous to have access to your blocks.

Hope this helps.



52
bmmolloy
Re: Soapbox module block
  • 2004/4/26 1:16

  • bmmolloy

  • Friend of XOOPS

  • Posts: 84

  • Since: 2004/4/21


hi hsalazar,

Can you tell me how to remove the nav bar and intro to soapbox?

Here is waht I am talking about:

<div id="content"> <table id="mod_header">
<
tbody><tr><td width="100%"><span class="h18px"><a href="http://mysite">Home</a> > Soapbox</span></td>
<
td width="100"><span class="h18right">Soapbox</span></td></tr>
</
tbody></table>

<
h3 class="h3a">Welcome to Soapbox</h3>
<
span class="intro">In this area of the site you will find our
catalogue of editorial columns
, as well as the latest article from each
of our authors
Click on a column’s name to see all the articles
associated to that column
, or on an article’s name to read directly the
article
Depending on privilegesyou can rate each articleselect
notification options 
or leave your comments.</span>


I really don't need to remove it so much as change the text there. Where is this h3a class or intro?




53
bmmolloy
Re: Module to display .swf?
  • 2004/4/26 0:32

  • bmmolloy

  • Friend of XOOPS

  • Posts: 84

  • Since: 2004/4/21


Try creating your page in your favorite web editor first, and make sure you can view it.

Then take the HTML and paste it into it's own block. Set the output to HTML before you submit the new block, and it should work. I haven't tried this yet though, but any other HTML I've used has worked fine in 2.0.6.

Hope this helps



54
bmmolloy
Re: Adding links to Main Menu
  • 2004/4/25 20:14

  • bmmolloy

  • Friend of XOOPS

  • Posts: 84

  • Since: 2004/4/21


You are THE MAN Mithrandir. Problem solved and another happy xoopser.



55
bmmolloy
Re: Adding links to Main Menu
  • 2004/4/25 19:13

  • bmmolloy

  • Friend of XOOPS

  • Posts: 84

  • Since: 2004/4/21


<table cellspacing="0">
  <
tr>
    <
td id="mainmenu">
      <
class="menuTop" href="<{$xoops_url}>/"><{$block.lang_home}></a>
      <!-- 
start module menu loop -->
      <{foreach 
item=module from=$block.modules}>
      <
class="menuMain" href="<{$xoops_url}>/modules/<{$module.directory}>/"><{$module.name}></a>
        <{foreach 
item=sublink from=$module.sublinks}>
          <
class="menuSub" href="<{$sublink.url}>"><{$sublink.name}></a>
        <{/foreach}>
      <{/foreach}>
      <!-- 
end module menu loop -->
<
a href="http://www.google.com">Archives</a>
    </
td>
  </
tr>
</
table>


I still can't add my link to this code. I've gotta tell you I'm a real dummy when it comes to the code itself... I tried adding:

<a href="http://www.google.com">Archives</a>


right underneath

<!-- end module menu loop -->


but it didn't produce any results... Sorry for my confusion.



56
bmmolloy
Re: Adding links to Main Menu
  • 2004/4/25 18:37

  • bmmolloy

  • Friend of XOOPS

  • Posts: 84

  • Since: 2004/4/21


This seems to be the question I have, but the code itslef totally confuses me. I currently have this on my main menu for anonymous users:

Home
Submit Question
FAQ

I'd like to add a bar that says "Archives", and link it to www.google.com or something.

Here's what my code looks like from that file:

function b_system_main_show()
{
    global 
$xoopsUser,$xoopsModule;
    
$block = array();
    
$block['lang_home'] = _MB_SYSTEM_HOME;
    
$block['lang_close'] = _CLOSE;
    
$module_handler =& xoops_gethandler('module');
    
$criteria = new CriteriaCompo(new Criteria('hasmain'1));
    
$criteria->add(new Criteria('isactive'1));
    
$criteria->add(new Criteria('weight'0'>'));
    
$modules =& $module_handler->getObjects($criteriatrue);
    
$moduleperm_handler =& xoops_gethandler('groupperm');
    
$groups is_object($xoopsUser) ? $xoopsUser->getGroups() : XOOPS_GROUP_ANONYMOUS;
    
$read_allowed =& $moduleperm_handler->getItemIds('module_read'$groups);
    foreach (
array_keys($modules) as $i) {
        if (
in_array($i$read_allowed)) {
            
$block['modules'][$i]['name'] = $modules[$i]->getVar('name');
            
$block['modules'][$i]['directory'] = $modules[$i]->getVar('dirname');
            
$sublinks =& $modules[$i]->subLink();
            if ((
count($sublinks) > 0) && (!empty($xoopsModule)) && ($i == $xoopsModule->getVar('mid'))) {
                foreach(
$sublinks as $sublink){
                    
$block['modules'][$i]['sublinks'][] = array('name' => $sublink['name'], 'url' => XOOPS_URL.'/modules/'.$modules[$i]->getVar('dirname').'/'.$sublink['url']);
                }
            } else {
                
$block['modules'][$i]['sublinks'] = array();
            }
        }
    }
    return 
$block;
}


Where would I insert my link to show under FAQ?



57
bmmolloy
Re: A Final Question before I go to PhpNuke
  • 2004/4/25 16:50

  • bmmolloy

  • Friend of XOOPS

  • Posts: 84

  • Since: 2004/4/21


I'd have let him go to the other CMS.



58
bmmolloy
Re: Please help
  • 2004/4/25 16:30

  • bmmolloy

  • Friend of XOOPS

  • Posts: 84

  • Since: 2004/4/21


If you have any kind of control over your domains, you should be able to go into the administration for your website and point your domain directly to your XOOPS directory that you uploaded.

Basically just point your main domain to /xoops (Or whatever you named it) I have control over all of this with my hosting company, but if you don't, you'll need to call them and tell them where you want your domain pointed.



59
bmmolloy
Re: A simple article rating system?
  • 2004/4/25 16:25

  • bmmolloy

  • Friend of XOOPS

  • Posts: 84

  • Since: 2004/4/21


Thanks Richard,

It looks like Soapbox is much more the type of module I am looking for. I'm just going to link to the separate articles froma custom block in center center on top page. Check it out...

I've still got to work out some things like viewing the archives and other things, but I think I'm almost ready to go...

Thanks again for your help. I love XOOPS.



60
bmmolloy
Re: WEB LINKS, LINKING, ETC.
  • 2004/4/25 4:04

  • bmmolloy

  • Friend of XOOPS

  • Posts: 84

  • Since: 2004/4/21


Unfortunately there isn't a really good way (that I know of) to port aton of information into XOOPS so that it would display properly.

A module like the new duplicatable TinyContent might help you out though for jsut adding pages one at a time. Otherwise it may be better to start over...




TopTop
« 1 ... 3 4 5 (6) 7 »



Login

Who's Online

188 user(s) are online (150 user(s) are browsing Support Forums)


Members: 0


Guests: 188


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