1
cjcomm
SmartProfile PHP4 version
  • 2007/3/9 15:00

  • cjcomm

  • Just popping in

  • Posts: 7

  • Since: 2006/1/11


I cannot get the Form to display on the registration page.
I set the permissions for anonymous users to be able to view. I set a step. Should I set multiple steps, or what?
Anyone else troubleshoot this problem as well?
Thanks.



2
cjcomm
Re: New FCKeditor 2.2
  • 2006/2/3 21:26

  • cjcomm

  • Just popping in

  • Posts: 7

  • Since: 2006/1/11


Ok, try this:
1. Don't use the xoops-fckconfig.js file from the extension pack. Use the fckconfig.js file from the FCKEditor site.
2. look in the filemanager/browser/default/connectors/(language)/config.php
3.Set $Config['Enabled'] = true;
4. Change the $Config['UserFilesPath'] to the uploads directory in the root of your XOOPS installation.
5. When you use the upload image from your module, you'll be able to create new folders and upload images ok.

Chris



3
cjcomm
Re: Installing Custom Module with Flash Slideshow Troubles
  • 2006/1/11 19:07

  • cjcomm

  • Just popping in

  • Posts: 7

  • Since: 2006/1/11


Never Mind. I figured it out. I uninstalled the module and reinstalled it. I had to do some other coding in my function to get everything else to work right, but it works now.



4
cjcomm
Installing Custom Module with Flash Slideshow Troubles
  • 2006/1/11 14:02

  • cjcomm

  • Just popping in

  • Posts: 7

  • Since: 2006/1/11


XOOPS Version:2.0.5.1
Module Name/Version:frontpage 1.0 (custom module)
PHP Version:4.4.0
MySQL Version: 3.23.49
Web Server Software (Apache/IIS/Other): Apache 1.3.29
Operating System: RedHat Linux
Theme you are using: Custom
Custom template: (Yes/No) YES
PHP Debug Messages:Fatal error: Call to a member function on a non-object in /var/www/sandboxes/ccoppenbarger/benlippen/html/modules/system/admin/modulesadmin/main.php on line 357
MySQL Debug Messages: none
Smarty Debug Messages: none
A full description of the issue:

I have created a custom module for customizing the front page of a site. I am using copies of news blocks from the xoopsnews module. No problem there. It's my custom module I'm having trouble with when I'm installing. If I allow a blank block for the flash template, then it will install. Otherwise I get the above Fatal error.

xoops_version.php
$modversion['blocks'][7]['file'] = "frontpage_top.php";
$modversion['blocks'][7]['name'] = "Flash Photo Slideshow";
$modversion['blocks'][7]['description'] = "Flash Photo Slideshow";
$modversion['blocks'][7]['show_func'] = "b_frontpage_flashxml_show";
$modversion['blocks'][7]['options'] = "'/modules/frontpage/flash/bl_photos.swf'|'/var/www/sandboxes/ccoppenbarger/benlippen/html/photos.xml'|'/modules/xoopsgallery/cache/albums/album72'";
$modversion['blocks'][7]['template'] = 'frontpage_block_flash.html';


frontpage_top.php
function b_frontpage_flashxml_show($options){
    
$block = array();
    
$flashdir=$options[0];
    
$xmlfile $options[1];
    
$imagedir $options[2];
    
$images glob($imagedir."/*.jpg");
    
$handle fopen($xmlfile"w");
    
$filetext = <<<EOD
    <?xml version="1.0" encoding="utf-8"?>
    <photos>
EOD;
    foreach(
$images as $key=>$img){
        if (
strstr($img"highlight") || strstr($img"thumb")){
            unset(
$images[$key]);
        }
        
$filetext .= <<<EOD
        <photo url="{$img}" />
EOD;
    
$filetext .= "</photos>";
    
fwrite($handle$filetext);
    
fclose($handle);
    }
    
$block['flashdir']=$flash;
    return 
$block;

}

frontpage_block_flash.html
<object width="500" height="300" type="application/x-shockwave-flash" data="<{$block.flash}>">
              <
param name="allowScriptAccess" value="sameDomain" />
              <
param name="movie" value="<{$block.flash}>" />
              <
param name="quality" value="high" />
              <
param name="bgcolor" value="#000000" />
              <
param name="wmode" value="transparent">

              <!--
What to display if Flash not detected-->
              <
a href="#" onclick="pop('http://www.macromedia.com/go/getflash/');" title="Macromedia Flash plugin is required to view content here and was not detected. To download the plugin, click here.">Macromedia Flash not detectedclick here to install.</a></object>


I searched for possible answers to this problem, but couldn't find any. Any ideas on why it's failing?
Thanks,
Chris




TopTop



Login

Who's Online

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


Members: 0


Guests: 213


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