141
urbanspacema
Re: Xoops 2.3 User Profile & Yogurt 3.3

interesting thread sarahmx,
we hope that implement the functions of yogurt in the core (friendships, messages, video, audio ...)



142
urbanspacema
Re: Xoops Dhtml editor mp3 hack

I tried this only in 2.3 rc version.
Sorry



143
urbanspacema
Re: Xoops Dhtml editor mp3 hack

rgauci, check the code inside my file and try to modify manually the original file in your 2.18.2 xoops.

in xoops.js
//urbanspaceman add
function xoopsCodeMp3(identerMp3PhraseenterMp3AuthorPhraseenterMp3TitlePhrase){
    var 
selection getSelect(id);
    if (
selection.length 0){
        var 
text selection;
    }
    else{
        var 
text prompt(enterMp3Phrase"");
    }
    var 
domobj xoopsGetElementById(id);
    if ( 
text.length>) {
        var 
text2 prompt(enterMp3AuthorPhrase"");
        var 
text3 prompt(enterMp3TitlePhrase"");
        var 
result "[mp3=autore:"+text2+" titolo:"+text3+"]" text "[/mp3]";
        
        
xoopsInsertText(domobjresult);
    }
    
domobj.focus();
}
//end urbanspaceman add


in dhtmltext.php
//urbanspaceman add
  
if (!empty($myts->config['extensions']['mp3'])) {
            
$code .= "{$image_path}/mp3.gif' alt='" _ALTMP3 "'  onclick='xoopsCodeMp3("{$textarea_id}","" . htmlspecialchars(_ENTERMP3URL, ENT_QUOTES) . "","" . htmlspecialchars(_ENTERAUTHOR, ENT_QUOTES) . "","" . htmlspecialchars(_ENTERTITLE, ENT_QUOTES) . "");'  onmouseover='style.cursor="hand"'/> ";
        }
        
//end urbanspaceman add



144
urbanspacema
Re: Xoops Dhtml editor mp3 hack

rgauci, just copy these folders/files to the folder where you installed xoops



145
urbanspacema
Re: Xoops Dhtml editor mp3 hack

Quote:
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)


Here is the error, this hack work fine with the 2.3+ version
Urban



146
urbanspacema
Re: Xoops Dhtml editor mp3 hack

antifmradio,wich version of XOOPS use?



147
urbanspacema
Re: Restyled noisecollective.net

Tnx a lot JAVesey!



148
urbanspacema
Restyled noisecollective.net

Hello guys!!
Take a look @my restyled website http://www.noisecollective.net

tnx
Francesco



149
urbanspacema
[UPDATE]Re: Xoops Dhtml editor mp3 hack

here's a new version, now can be customising the colors of player to adapt to our theme, simply change the file mp3.php in class/textsanitizer in accordance with the image above using the hexadecimal notation.

DowloadHERE

Original player is a WORDPRESS plugin by 1PIXELOUT.

Resized Image


Urban



150
urbanspacema
[UPDATE]Re: Xoops Dhtml editor mp3 hack

I made a change for the inclusion of the author and title through prompt.

you can download from HERE

Special thanks to my colleague Alessandro Sturniolo for the contribution with Regular Expressions!

Urban




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



Login

Who's Online

169 user(s) are online (116 user(s) are browsing Support Forums)


Members: 0


Guests: 169


more...

Donat-O-Meter

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

Latest GitHub Commits