71
JamesSAEP
Re: Module for viewing embeds from YouTube, GoogleVideo, etc...
  • 2006/11/29 14:35

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


I'm using SmartSections to do mine. I was in the same boat as you - videos taking up all my bandwidth. So, I moved them all to Google Video and stream them from there.

My Video Section

Tutorial



72
JamesSAEP
Re: Editors in News1.44 don't work?
  • 2006/11/27 20:50

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


I made the changes below to the functions.php file and am having a problem w/ FCK and Kovi editors.

Both editors show up when submitting an article and seem to work fine. But if you click the "preview" button or submit button, the text that was in the editors is blank. And when I try to edit the post, the text is not there.

It is as if the database doesn't get populated with the content.

The problem is with all XOOPS version 2.0.x and php4/5 MySQL 4/5.
Any ideas?


function &news_getWysiwygForm($caption$name$value ""$width '100%'$height '400px'$supplemental='')
{
    
$editor false;
    
$x22=false;
    
$xv=str_replace('XOOPS ','',XOOPS_VERSION);
    if(
substr($xv,2,1)=='2') {
        
$x22=true;
    }
    
$editor_configs=array();
    
$editor_configs["name"] =$name;
    
$editor_configs["value"] = $value;
    
$editor_configs["rows"] = 35;
    
$editor_configs["cols"] = 60;
    
$editor_configs["width"] = "100%";
    
$editor_configs["height"] = "400px";


    switch(
strtolower(getmoduleoption('form_options'))){
    case 
"spaw":
        if(!
$x22) {
            if (
is_readable(XOOPS_ROOT_PATH "/class/xoopseditor/spaw/formspaw.php"))    {
                include_once(
XOOPS_ROOT_PATH "/class/xoopseditor/spaw/formspaw.php");
                
$editor = new XoopsFormSpaw($caption$name$value);
            }
        } else {
            
$editor = new XoopsFormEditor($caption"spaw"$editor_configs);
        }
        break;

    case 
"fck":
        if(!
$x22) {
            if ( 
is_readable(XOOPS_ROOT_PATH "/class/xoopseditor/FCKeditor/formfckeditor.php"))    {
                include_once(
XOOPS_ROOT_PATH "/class/xoopseditor/FCKeditor/formfckeditor.php");
                
$editor = new XoopsFormFckeditor($caption$name$value);
            }
        } else {
            
$editor = new XoopsFormEditor($caption"fckeditor"$editor_configs);
        }
        break;

    case 
"htmlarea":
        if(!
$x22) {
            if ( 
is_readable(XOOPS_ROOT_PATH "/class/xoopseditor/htmlarea/formhtmlarea.php"))    {
                include_once(
XOOPS_ROOT_PATH "/class/xoopseditor/htmlarea/formhtmlarea.php");
                
$editor = new XoopsFormHtmlarea($caption$name$value);
            }
        } else {
            
$editor = new XoopsFormEditor($caption"htmlarea"$editor_configs);
        }
        break;

    case 
"dhtml":
        if(!
$x22) {
            
$editor = new XoopsFormDhtmlTextArea($caption$name$value1050$supplemental);
        } else {
            
$editor = new XoopsFormEditor($caption"dhtmltextarea"$editor_configs);
        }
        break;

    case 
"textarea":
        
$editor = new XoopsFormTextArea($caption$name$value);
        break;

    case 
"koivi":
        if(!
$x22) {
            if ( 
is_readable(XOOPS_ROOT_PATH "/class/xoopseditor/koivi/formwysiwygtextarea.php"))    {
                include_once(
XOOPS_ROOT_PATH "/class/xoopseditor/koivi/formwysiwygtextarea.php");
                
$editor = new XoopsFormWysiwygTextArea($caption$name$value'100%''400px''');
            }
        } else {
            
$editor = new XoopsFormEditor($caption"koivi"$editor_configs);
        }
        break;

    case 
"tinyeditor":
            if ( 
is_readable(XOOPS_ROOT_PATH "/class/xoopseditor/tinyeditor/formtinyeditortextarea.php"))    {
                include_once(
XOOPS_ROOT_PATH "/class/xoopseditor/tinyeditor/formtinyeditortextarea.php");
                
$editor = new XoopsFormTinyeditorTextArea(array('caption'=>$caption'name'=>$name'value'=>$value'width'=>'100%''height'=>'400px'));
            }
                    
        break;
    }
    return 
$editor;
}



73
JamesSAEP
Re: Rank vs Group
  • 2006/11/16 16:43

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


Great, thanks m0nty for the answer.



74
JamesSAEP
Rank vs Group
  • 2006/11/16 16:16

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


I'm trying to figure out what the rank of "Webmaster" will do for a user. Does it give them "Webmaster" group rights? Or is it just the tile.

Thanks.



75
JamesSAEP
Re: Blank Tag
  • 2006/11/15 15:16

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


Quote:

// Banners List
echo "<a name='blank'></a>";
(and)

// Finished Banners List
echo "<a name='blank'></a>";


I made the changes, but was still having a problem. It turned out that the the problem was w/ the flash banner - the url was embedded into it... Problem solved.



76
JamesSAEP
Re: Blank Tag
  • 2006/11/14 20:53

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


thanks Lloyd, I'll give it a try. I didn't change the second 'top' code.

J



77
JamesSAEP
Re: Blank Tag
  • 2006/11/14 18:43

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


When clicking on a banner that is using the XOOPS banner solution in 2.0.15, it seems to open the linked page in the same window, moving the traffic from your site to another.

I've changed the banner.php file to:
// Banners List
echo "<a name='blank'></a>";

But it still opens in the same window.

How do I make linked banners open in a new window? I have searched the template files and can't find anywhere to change to _blank.

Thanks.



78
JamesSAEP
Re: php banner management
  • 2006/11/13 19:35

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


Yes, that looks like an invaluable reading... Thanks for the link.



79
JamesSAEP
Re: php banner management
  • 2006/11/13 19:15

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


cool, thanks for the reply.



80
JamesSAEP
php banner management
  • 2006/11/13 18:44

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


Does anyone know of a good banner management system that is not a XOOPS module, but a free independent system?

Thanks




TopTop
« 1 ... 5 6 7 (8) 9 10 11 ... 66 »



Login

Who's Online

140 user(s) are online (77 user(s) are browsing Support Forums)


Members: 0


Guests: 140


more...

Donat-O-Meter

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

Latest GitHub Commits