Kunena 7.0.4 Released
The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0
Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.
Question Create a new attachement row
16 years 2 months ago - 16 years 2 months ago #39878
by sozzled
Blue Eagle vs. Crypsis reference guide
Read my blog and
Replied by sozzled on topic Re:Create a new attachement row
So, let me see if I understand your question.
You already know that you can play MP3 files with the [video] tag. You want to develop a new tag and you want it called [audio]. This new [audio] tag - that you want to build - will do everything that the existing [video] tag does. Have I correctly understood your question?
You already know that you can play MP3 files with the [video] tag. You want to develop a new tag and you want it called [audio]. This new [audio] tag - that you want to build - will do everything that the existing [video] tag does. Have I correctly understood your question?
Blue Eagle vs. Crypsis reference guide
Read my blog and
Last edit: 16 years 2 months ago by sozzled.
Please Log in or Create an account to join the conversation.
16 years 2 months ago #39886
by darksoul
Replied by darksoul on topic Re:Create a new attachement row
No..
The video tag require a file already existant.
I need a new attchement row for uploading files (Similar to attach file)
But the only thing i have to change is the output code in the text:
.
I dont need to create a new php page, but only copy the /lib/kunena.file.upload.php
And create a new php to upload mp3 adding the audio tags.
If i create a new page changin this:
I think is possible to show {audio}{/audio} tag, that will load the mp3 player automatically after uploading into the forum.
So, how i can do this?
How to add a new attachement row under "select file to attach" (like the first two but for mp3)
The video tag require a file already existant.
I need a new attchement row for uploading files (Similar to attach file)
But the only thing i have to change is the output code in the text:
Code:
form [file]filename[/file] to {audio}filename{/audio}
I dont need to create a new php page, but only copy the /lib/kunena.file.upload.php
And create a new php to upload mp3 adding the audio tags.
If i create a new page changin this:
Code:
// Insert file code into message
$code
= '[file name='
. $newFileName . ' size=' . $fileSize . ']' . KUNENA_LIVEUPLOADEDPATH . '/files/' . $newFileName . '[/file]';
if (preg_match("/\[file\/\]/si", $message)) {
$message = str_replace("[file/]", $code, $message);
}
So, how i can do this?
How to add a new attachement row under "select file to attach" (like the first two but for mp3)
Please Log in or Create an account to join the conversation.
16 years 2 months ago - 16 years 2 months ago #39887
by sozzled
Blue Eagle vs. Crypsis reference guide
Read my blog and
Replied by sozzled on topic Re:Create a new attachement row
OK, let me see if I understand the requirement: you want the ability to upload a .MP3 file and somehow you want this new uploaded file associated with the helper application (media player, for example) that plays this file. You would like to create another "upload" function in the editing box and create a new [audio] tag that does what the [video] tag already does (namely, plays the MP3 file) as one, single operation. I've drawn a picture to show you what I think you want:
Is this third "option" that I've sketched for you what you want to add (as well as the ability to play the uploaded audio file)? Yes?
Is this third "option" that I've sketched for you what you want to add (as well as the ability to play the uploaded audio file)? Yes?
Blue Eagle vs. Crypsis reference guide
Read my blog and
Last edit: 16 years 2 months ago by sozzled.
Please Log in or Create an account to join the conversation.
- joomlauser
-
- Offline
- Senior Member
-
Less
More
- Posts: 111
- Thank you received: 5
16 years 2 months ago #39894
by joomlauser
Replied by joomlauser on topic Re:Create a new attachement row
Because I also try to find the same solution, I can confirm that is the way. Is it really difficult to implement that feature?
Please Log in or Create an account to join the conversation.
16 years 2 months ago - 16 years 2 months ago #39914
by darksoul
Replied by darksoul on topic Re:Create a new attachement row
Yes this!
But for a better looks can used a flash mp3 player plugin like this:
duvien.com/blog/1pixelout-player-152-released
This plugin open an mp3 player in the content so If content mambot/plugins in kunena are enabled and the upload process make a text output {audio}filename{/audio} the plugin run automatically ( i think).
This is more great than the [video] tag because not require the broswer/os player.. Some users, any if they have windows media player, can't listen audio files and have to download the file.
This function is already existant in Vbullettin forum. with the plugin he load the flash mp3 player automatically when someone upload an mp3.
I think the work is not hard.. the only thing to replace is the output code in the new row.
Another thing is.. Can kuenena make output code using {} instead of []?
- my english is not good, im italian but i speak also french.
But for a better looks can used a flash mp3 player plugin like this:
duvien.com/blog/1pixelout-player-152-released
This plugin open an mp3 player in the content so If content mambot/plugins in kunena are enabled and the upload process make a text output {audio}filename{/audio} the plugin run automatically ( i think).
This is more great than the [video] tag because not require the broswer/os player.. Some users, any if they have windows media player, can't listen audio files and have to download the file.
This function is already existant in Vbullettin forum. with the plugin he load the flash mp3 player automatically when someone upload an mp3.
I think the work is not hard.. the only thing to replace is the output code in the new row.
Another thing is.. Can kuenena make output code using {} instead of []?
- my english is not good, im italian but i speak also french.
Last edit: 16 years 2 months ago by darksoul.
Please Log in or Create an account to join the conversation.
16 years 2 months ago #39917
by sozzled
Blue Eagle vs. Crypsis reference guide
Read my blog and
Replied by sozzled on topic Re:Create a new attachement row
I am sorry. I've only tried to help others understand your request better.
I cannot do what you want. It's not as easy (for me) as you suggest. I'm more of an architect, not a construction engineer. Perhaps someone else, with finely-tuned PHP programming skills, can develop this for you.
I cannot do what you want. It's not as easy (for me) as you suggest. I'm more of an architect, not a construction engineer. Perhaps someone else, with finely-tuned PHP programming skills, can develop this for you.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
Time to create page: 0.223 seconds