6231
Dante7237
Re: Xoops Blog Theme very soon !
  • 2014/12/17 1:32

  • Dante7237

  • Friend of XOOPS

  • Posts: 294

  • Since: 2008/5/28


I agree. This is cool.
Less is often more....



6232
Mamba
Re: traducir módulos
  • 2014/12/16 7:05

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


Did you change the language in Preferences?
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



6233
zion
traducir módulos
  • 2014/12/16 0:10

  • zion

  • Just popping in

  • Posts: 15

  • Since: 2009/8/8 1


Translated some redmexico modules for the Portuguese of Brazil using google, but I am not able to do so appear in Portuguese. Could anyone help.



6234
bitcero
Re: PRECHECK resursion in protector
  • 2014/12/15 19:47

  • bitcero

  • Quite a regular

  • Posts: 318

  • Since: 2005/11/26


Due to nature of rmcommon, it can not be hidden from active menus. If you wish to use the block "main menu" then is preferable to hide rmcommon directly from the template of this block.

You can edit the file "modules/system/templates/blocks/system_block_mainmenu.html" and change the content from this:

<div id="mainmenu">
    <
class="menuTop <{if !$block.nothome}>maincurrent<{/if}>" href="<{xoAppUrl }>" title="<{$block.lang_home}>"><{$block.lang_home}>a>
    
    <{foreach 
item=module from=$block.modules}>
        <
class="menuMain <{if $module.highlight}>maincurrent<{/if}>" href="<{$xoops_url}>/modules/<{$module.directory}>/" title="<{$module.name}>"><{$module.name}>a>
        <{foreach 
item=sublink from=$module.sublinks}>
            <
class="menuSub" href="<{$sublink.url}>" title="<{$sublink.name}>"><{$sublink.name}>a>
        <{/foreach}>
    <{/foreach}>
    
div>


to this:

<div id="mainmenu">
    <
class="menuTop <{if !$block.nothome}>maincurrent<{/if}>" href="<{xoAppUrl }>" title="<{$block.lang_home}>"><{$block.lang_home}>a>
    
    <{foreach 
item=module from=$block.modules}>
    <{if 
$module.dirname!='rmcommon'}>
        <
class="menuMain <{if $module.highlight}>maincurrent<{/if}>" href="<{$xoops_url}>/modules/<{$module.directory}>/" title="<{$module.name}>"><{$module.name}>a>
        <{foreach 
item=sublink from=$module.sublinks}>
            <
class="menuSub" href="<{$sublink.url}>" title="<{$sublink.name}>"><{$sublink.name}>a>
        <{/foreach}>
    <{/if}>
    <{/foreach}>
    
div>





6235
geekwright
Re: PRECHECK resursion in protector

There are some ramifications to this situation that will take a bit more than an 'if defined' to fix. I'm looking into it.

Thanks!



6236
Yurdal
Re: Xoops Blog Theme very soon !
  • 2014/12/15 19:02

  • Yurdal

  • Friend of XOOPS

  • Posts: 386

  • Since: 2005/3/27


Eren this looks awesome :)



6237
heyula
Xoops Blog Theme very soon !
  • 2014/12/15 16:34

  • heyula

  • Theme Designer

  • Posts: 594

  • Since: 2008/4/24





6238
dejadingo
Re: PRECHECK resursion in protector
  • 2014/12/15 15:47

  • dejadingo

  • Just popping in

  • Posts: 71

  • Since: 2004/10/22


It also seems we need to add the protection
if (defined('PROTECTOR_{PRE|POST}CHECK_INCLUDED')) return;

at the top of both precheck.inc.php and postcheck.inc.php to avoid the constant page error for trying to redefine PROTECTOR_POSTCHECK_INCLUDED since both of these files are also included by functions in core.php.



6239
dejadingo
PRECHECK resursion in protector
  • 2014/12/15 0:36

  • dejadingo

  • Just popping in

  • Posts: 71

  • Since: 2004/10/22


Here's one I did not expect to find.
I'm testing out a new site using Xoops 2.5.7.1 (PHP 5.4.27) and I have installed the Common Utilities (2.2.75) so that I can try out bitcero's QuickPages. The problem I have encountered comes when you try to hide the Common Utilities module from the Main Menu. In the protector's precheck.inc.php we find:
require_once dirname(__FILE__).'/precheck_functions.php' ;

  if( 
class_exists'Database' ) ) {
     require 
dirname(__FILE__).'/postcheck.inc.php' ;
     return ; }

  
define('PROTECTOR_PRECHECK_INCLUDED' ) ;

When I hide other modules like User Profile, or Private Messaging, it does not appear that the Database class exists, so we turn on PROTECTOR_PRECHECK_INCLUDED, and proceed with the rest of the code in that file. When hiding Common Utilities, the Database class apparently exists, and we try to load the postcheck.inc.php file. Unfortunately this starts an infinite recursion because PROTECTOR_PRECHECK_INCLUDED has not yet been defined and we go back to loading precheck.inc.php.

If I change precheck.inc.php to move
define('PROTECTOR_PRECHECK_INCLUDED' ) ;
above the check for the Database class, this gets the flag set before we need it to prevent the resursion.



6240
Mamba
Re: Which version of forum newbb is good to installing? 3.08 or 4.0 or 4.33
  • 2014/12/14 23:34

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


Quote:
So where is this mysterious "RC8"?

It was posted in the previous message, in the begin of the thread
Quote:
The SVN gives me RC5.

I guess, we'll have to re-arrange the SVN tree and move the Irmtfan to the trunk...
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs




TopTop
« 1 ... 621 622 623 (624) 625 626 627 ... 29425 »



Login

Who's Online

428 user(s) are online (328 user(s) are browsing Support Forums)


Members: 0


Guests: 428


more...

Donat-O-Meter

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

Latest GitHub Commits