151
urbanspacema
Re: Xoops Dhtml editor mp3 hack

Thank you!



152
urbanspacema
Xoops Dhtml editor mp3 hack

Hello everyone, I made an hack to dhtml editor. I added a button that allows you to add an mp3 player with a flash player (much better than WMP ). Good idea for the incoming nextr release of Xoops! Here are the images and link to zip file, simply overwrite the file. (made in XOOPS 2.3 Rc version) The file http://www.noisecollective.net/xoops_article/dhtml+mp3.rar] Resized Image



153
urbanspacema
Re: Competition for XOOPS 2.3 Marketing Materials

Where we can find the original logos (vector) xoops?



154
urbanspacema
Re: Video Tube - need help accessing globals in admin/index.php

perfect!
it would be nice to have the template 'class' and 'id' for so that we can work with style sheets.

even better would be if it were all tableless (only div)

plus (suggestion)
a form to insert a comment for every video.
a page with all the videos but without the player (only thumbs)

urban



155
urbanspacema
Re: Video Tube - need help accessing globals in admin/index.php

Hello Tank1955

is possible in a forthcoming version have a block with the video player as in http://www.skopemag.com?

tnx
Urban



156
urbanspacema
XoopsMediaUpload an upload image (with thumb)

Hello to all
I need a hand about class xoopsMediaUpload to achieve a form that allows you to upload an image and make resize automatically in addition to create a thumb. I tried on the forum but have not found anything specific.


thanks in advance
Urban



157
urbanspacema
Re: Dropdown select problem with xoopsForm classes

work !!!!!!!!
thank you very much

there is only a small error in the code

$result3 $xoopsDB->query"SELECT * FROM ".$xoopsDB->prefix("umus_format")."" ) ; 
while (
$myrow $xoopsDB->fetchArray($result)) { 
    
$formats[$myrow['format_id']] = $myrow['format_title'];


modify
with this

while ($myrow = $xoopsDB->fetchArray($result3)){


tnx Trabis
Urban



158
urbanspacema
frameworks documentation

Hi,
where can I find the documentation for Frameworks?
(class, funtions....)

tnx
urban



159
urbanspacema
Re: Dropdown select problem with xoopsForm classes

thank you catzwolf_

I'm trying to understand how XoopsObjectTree works

with this code

$umus_categories $xoopsDB->prefix'umus_categories' ) ;
$cat_tree = new XoopsObjectTree($umus_categories'category_id''category_title');
$cat $cat_tree->makeSelBox('category_id''category_title''-- '$category_idtrue);


I see only a empty select box...

debug show this error
Warning: array_keys() [function.array-keys]: The first argument should be an array in file /class/tree.php line 79

you could help me please?

Urban



160
urbanspacema
Dropdown select problem with xoopsForm classes

Hello to all
First, I apologize for my English certainly terrible!!

Here's my problem

I am carrying out a form with XOOPS classes for a new module

I have create a SELECT menu (drop down) which takes data from a table.

Table called umus_format and his 2 fields format_id and format_title

drop down displays all values but not showing the values that begin with a number...

ex. CD,DVD,LP are ok 2CD,2DVD,2LP do not appear

Here is the code.

// Controllo se esistono i formati altrimenti non posso creare una recensione e vengo rimandato alla pagina dei formati
$result2 $xoopsDB->query"SELECT count(format_id) as count FROM ".$xoopsDB->prefix("umus_format")."" ) ;
list( 
$count ) = $xoopsDB->fetchRow$result2 ) ;
if( 
$count ) {
    
redirect_header(XOOPS_URL."/modules/umusic/admin/admin_format.php",2,_MI_UMUS_MUSTADDFORMATFIRST);
    exit();
}

$umus_format $xoopsDB->prefix"umus_format" ) ;

$ftree = new XoopsTree($umus_format,"format_id""format_title" ) ;

// Creo la select per mostrare i formati
$format = new XoopsFormSelect_MI_UMUS_REV_SELECTFORMAT "format_id" $format_id ) ;
$treef $ftree->getChildTreeArray"format_id" ) ;



foreach( 
$treef as $leaff ) {
    
$leaff['prefix'] = substr$leaff['prefix'] , , -) ;
    
$leaff['prefix'] = str_replace"." "--" $leaff['prefix'] ) ;
    
$format->addOption$leaff['format_id'] , $leaff['prefix'] . $leaff['format_title'] ) ;
}
//

$my_form->addElement$format ) ;


if I make a normal query to the database I see that all values are inserted correctly

Mysql code

CREATE TABLE umus_format (
  
format_id tinyint(3unsigned NOT NULL auto_increment,
  
format_title varchar(255NOT NULL default '',
  
PRIMARY KEY  (format_id)
TYPE=MyISAM;


INSERT INTO umus_format (format_titleVALUES ('CD');
INSERT INTO umus_format (format_titleVALUES ('2CD');
INSERT INTO umus_format (format_titleVALUES ('DVD');
INSERT INTO umus_format (format_titleVALUES ('2DVD');
INSERT INTO umus_format (format_titleVALUES ('LP');
INSERT INTO umus_format (format_titleVALUES ('2LP');
INSERT INTO umus_format (format_titleVALUES ('12"');
INSERT INTO umus_format (format_titleVALUES ('10"');
INSERT INTO umus_format (format_titleVALUES ('7"');
INSERT INTO umus_format (format_titleVALUES ('Digital');
INSERT INTO umus_format (format_titleVALUES ('Cassette');
INSERT INTO umus_format (format_titleVALUES ('Altro');



which may be the problem? I have perhaps found a bug?

Urban




TopTop
« 1 ... 13 14 15 (16) 17 18 19 »



Login

Who's Online

264 user(s) are online (129 user(s) are browsing Support Forums)


Members: 0


Guests: 264


more...

Donat-O-Meter

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

Latest GitHub Commits