6531
goffy
Re: The name of the directories of the modules are uppercase or lowercase or ...
  • 2014/9/16 5:53

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


normally it makes no different, if I make a new module.

The only problem I see is, that it is not possible to update from xNewsletter to xnewsletter, because the system does not find the "old" path (with uppercase).
I know no simple way - only uninstall and reinstall, but than all data are lost.
Or I dump the tables of the module, and also all data of other tables like config, if there are data inside. If you reinsert the data later, you have to take care, that you have the right module id in the tables.
This is not the simple way of updating a module as usual in xoops ;-(

Maybe someone else know a simple way, but if there is no easy way we should let uppercase for the older modules



6532
Mamba
Re: Xoops Tips new URL
  • 2014/9/16 2:26

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


Thanks for keeping it on-line!
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



6533
Mamba
Re: Animal/Pedigree Module 1.31 Alpha 1
  • 2014/9/16 2:24

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


I've uploaded your data, and it seems like it's working OK here, at least for the "German Dreams Fandango":

/modules/pedigree/mpedigree.php?pedid=12

Resized Image


What XOOPS and PHP versions do you have? What browser do you use?
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



6534
Mamba
Re: Animal/Pedigree Module 1.31 Alpha 1
  • 2014/9/15 21:13

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


Email me your DB tables content, so I can test it here locally.

Check your PM ....
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



6535
tl
Xoops Tips new URL
  • 2014/9/15 20:46

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Xoops Tips' new URL:

http://xoops-tips.tedliu.ca/

This site is no longer being updated, it is there if you need to search for old tips.



6536
kamue74
Re: Animal/Pedigree Module 1.31 Alpha 1
  • 2014/9/15 19:33

  • kamue74

  • Just popping in

  • Posts: 10

  • Since: 2014/9/5 1


thanks for the code but still the same problem as before... no father and mother is shown and the calculating counts 0%... :(



6537
Mamba
Re: Animal/Pedigree Module 1.31 Alpha 1
  • 2014/9/15 18:52

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


Try to replace the function code with this one and let me know if it works for you:
function mater_side($p$m$a$ndist)
{
    global 
$fathers$mothers$marked$COIs$deltaf$ICknown$verbose$nl$chrono$paternal_rank$max_dist;
    if (!
$m or $ndist $max_dist) {
        return 
0;
    }
    if (
$p == $m) {
    
/* IMPLEX FOUND (node of consanguinity) { for Anim #A */
        
$already_known $ICknown[$p];
    }
    if (!
$already_known) {
        
CONSANG($p);
    } 
// MAIN RECURSION:
    
$ICp $COIs[$p]; // we need to know the IC of Parent for Wright's formula
    
if ($verbose && !$already_known && $ICp 0.001 $verbose) {
        echo 
"IC of Animal $p is $ICp$nl";
    }
    
$incr 1.0 / (<< $ndist) * (1. $ICp); // ******** applying WRIGHT's formula ********
    // [Note:  1 << $ndist is equal to 2 power $ndist]
    
$COIs[$a] += $incr// incrementing the IC of AnimC
    
if ($a == 0) {
        
$deltaf[$p] += $incr;
    }
    
/* contribution of Anim #P to IC of Anim #0 */
    // if ($verbose && $a == 0 && $incr > 0.0001*$verbose)
    //    echo "Animal $p is contributing for " . substr ($deltaf[$p], 0, 10) . " to the IC of Animal $a$nl" ;}
    
else 
    {
        if (!
$marked[$m] && $chrono[$m] < $paternal_rank) {
            
mater_side($p$fathers[$m], $a$ndist 1);
        }
        
mater_side($p$mothers[$m], $a$ndist 1);
    }
    return 
0;
}
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



6538
Mamba
Re: The name of the directories of the modules are uppercase or lowercase or ...
  • 2014/9/15 18:37

  • Mamba

  • Moderator

  • Posts: 11373

  • Since: 2004/4/23


Richard indicated that going forward, all module directory names should be in lower case, i.e.

TDMCreate => tdmcreate
TDMDownloads => tdmdownloads

Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



6539
luciorota
The name of the directories of the modules are uppercase or lowercase or ...
  • 2014/9/15 13:09

  • luciorota

  • Module Developer

  • Posts: 216

  • Since: 2007/4/20


This is a standardization issue.
Directory names must be uppercase or lowercase or ...?

xnewsletter or xNewsletter?
TDMDownloads or tdmdownloads?
TDMCreate or tdmcreate?
...

I checked that Xoops, for what concerns the directory name of a module, is not case sensitive, is it true?



6540
culex
Re: Looking for a Instant messenger module
  • 2014/9/15 12:48

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


Hey Danielreple

Looks like it is only warnings from xforum. Assigning new values by reference should not break the page loading only give a message.

Something else must be wrong. Did you allow regular users access to the module in admin ?

In the help section there are some hints on fixing white / blank errors. Try if any of these could help. If not you could send me a link and I could give it a look.

Make sure your block is visible on "All pages" and not only frontpage.

Make sure your Xoops version is > 2.4.0. Older versions of Xoops don't have preloads, which are required.

Turn on debug and check to see if any errors emerge

Using FireFox, right click on the screen, choose inspect element, choose console in the tabs and check to see if chat heartbeat is running
"GET http://www.yoursite.com/modules/xim/chat.php?action=chatheartbeat&_=XXXXXXXXXXXX xxx OK xxx MS"

If no errors, use Firebug (Right click->inspect element->console) and see if there are any jQuery errors.

If there are no jQuery errors. Clean caches-> module update xim, system modules.

If the page is still blank, Go to your protector module -> settings and write xim in the form "Modules out of Dos / Crawler checker".

Check if your theme is including more than one version of jQuery. Usually in the head of your theme.html file.Normally this is no problem as long as the other including jQuery > 1.3.2




TopTop
« 1 ... 651 652 653 (654) 655 656 657 ... 29425 »



Login

Who's Online

369 user(s) are online (111 user(s) are browsing Support Forums)


Members: 0


Guests: 369


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