2911
ghia
Re: How to create a navigation menu?
  • 2009/4/18 9:41

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Did you see Kaotik's tutorial on admin menu's?
not sure it will give that result, but else there is nothing left then copying the relevant parts of a module that has this kind of menu. Try to find a small and easy one, where it is less complicated to extract.

There are a lot of blank modules, but none of them seems sofisticated enough to contain and administration part example.



2912
ghia
Re: NewBB fatal error
  • 2009/4/17 22:38

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Upgrade to 2.3.3?



2913
ghia
Reuse of id in captcha
  • 2009/4/16 23:33

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


In the XOOPS captcha the id xoopscaptcha is given to two elements in the page: the image and the input.
<script type="text/javascript">
function 
xoops_captcha_refresh(imgId)
{
  
xoopsGetElementById(imgId).src 'http://site.com/class/captcha/image/scripts/image.php?refresh='+Math.random();
}
</
script>
<
img id="xoopscaptcha" src="http://site.com/class/captcha/image/scripts/image.php?refresh=0.4971660853506287" onclick="this.src='http://site.com/class/captcha/image/scripts/image.php?refresh='+Math.random()" style="cursor: pointer; vertical-align: middle;" alt="">
<
br>
<
a href="javascript: xoops_captcha_refresh('xoopscaptcha')">
Cliquez ici pour rafraîchir l'image si elle n'est pas suffisamment claire.
</
a>
<
br><br>
<
input name="xoopscaptcha" id="xoopscaptcha" size="4" maxlength="4" value="" type="text">
<
br>
Entrez les lettres de l'image<br>Le code est insensible à la casse<br>Maximum de tentatives, vous pouvez essayer : 10



2914
ghia
Re: NewBB fatal error
  • 2009/4/16 19:59

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Would you try once without the @ in
if($mod = @$module_handler->getByDirname('profile'true)):
So:
if($mod $module_handler->getByDirname('profile'true)):
Maybe there are some more errors in the debug mode then.
Quote:
So why would one 'webmaster' be able to access the forum and the other not?
Other users have seen this phenomena. My guess was that they belonged to multiple groups and mot all the same, but could never proof this hypothesis.



2915
ghia
Re: Inquire about the news module
  • 2009/4/16 17:47

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Oops, my mistake!
It is the recent News block, with the spotlight feature activated.



2916
ghia
Re: how to edit menu content?
  • 2009/4/16 17:32

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


In /modules/system/templates/system_block_mainmenu.html add links like eg
<class="menuMain" href="<{$xoops_url}>/path/to/yourpage.html>/">My Page</a>
between
<{/foreach}>
      <{/foreach}>
and
<!-- end module menu loop -->




2917
ghia
Re: How to create a navigation menu?
  • 2009/4/16 15:53

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Do you mean having such a tabbed menu on your front page?
The code for it is embedded in the admin theme.
Check out Multimenu or some other horizontal menu's at XOOPSLand.



2918
ghia
Re: NewBB fatal error
  • 2009/4/16 15:39

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


$module_handler =& xoops_gethandler('module');
    if(
$mod = @$module_handler->getByDirname('profile'true)):
    
$gperm_handler = & xoops_gethandler'groupperm' );
    
$groups = array(XOOPS_GROUP_ANONYMOUSXOOPS_GROUP_USERS);
    
    if(!
defined("_PROFILE_MA_ALLABOUT")) {
        
$mod->loadLanguage();
    }

It tries to load a language file from the profile module.
I assume you have this profile module installed. Does it have also the language files for the language you are using?
Is the profile module accessible to the user group of your user?



2919
ghia
Re: Simple Hosting Service with XOOPS
  • 2009/4/16 15:27

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


hizlisite, welcome on the XOOPS forum!

I don't know what possibilities you want to offer on your users. If the need to upload and run their own PHP files, then I'm affraid that such a module doesn't exist.
If it is for some pages or images, then you may have a look at userpage or clientspace or a social module like yogurt.



2920
ghia
Re: Where to get those modules?
  • 2009/4/16 15:12

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


podwod, welcome on the XOOPS forum!

You may find download links for most modules in the module repository or in this list.
Forum here is NewBB/CBB 3.08 and News version is 1.63.




TopTop
« 1 ... 289 290 291 (292) 293 294 295 ... 461 »



Login

Who's Online

257 user(s) are online (157 user(s) are browsing Support Forums)


Members: 0


Guests: 257


more...

Donat-O-Meter

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

Latest GitHub Commits