Skip to Content Skip to Menu

[#5133] CB Gallery 1.0.2 not loaded mp3

  • krileon
  • krileon
  • ONLINE
  • Posts: 48536
  • Thanks: 8290
  • Karma: 1445
9 years 8 months ago - 9 years 8 months ago #259828 by krileon
Replied by krileon on topic [#5133] CB Gallery 1.0.2 not loaded mp3

Wrong you think! wav format involves large volumes, a sound file format wav least 30-49 megabytes if analogue mp3 only 5-6 megabytes.

Then set your maximum upload size to 6MBs. This is already default set to 1MB. The encoding just determines the compression ratio. Security wise there's no difference between the formats.

In addition to the above .mp3, .wav, and various other video/audio filetypes can not execute programs or code. They're strictly data files. They have nothing in them except data. They can be infected, but infecting them does absolutely nothing as again they can't execute anything. Even if they were infected they wouldn't even play because their data has become corrupt. Really the only dangerous format is WMA/WMV and that's only because a vulnerability in Windows, which CB Gallery doesn't even allow.

Really video/audio files infect people by tricking the USER and has nothing to do with the system it self. For example it's common to name something video.mp3.exe to trick a user into executing it. It tricks them because by default Windows hides known file types so the user sees video.mp3. In that case it's not a media file at all and wouldn't even upload. Another way is a vulnerability in the media player it self (e.g. windows media player) that some data in the video or audio file exploits, but this again has zero affect on CB Gallery.

gif file, you can sew a trojan!

All images are resampled. This means they're exploded by GD into bytes and rebuilt. This strips invalid data from the image. That's just not possible with resampling left enabled, which it is by default.

In addition to all the above CB Gallery locks the directories from execution. Your own server can't even execute them. It can only read them. All of this deep security was implemented intentionally and from day 1 release.

In short you have absolutely nothing to worry about.

If you still feel so strong about this then modify components/com_comprofiler/plugin/user/plug_cbgallery/cbgallery.php and change getExtensions as needed as that single function outputs the extension limits for the various types.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Last edit: 9 years 8 months ago by krileon.
The following user(s) said Thank You: nant
The topic has been locked.
  • Vasilij30
  • Vasilij30
  • OFFLINE
  • Posts: 83
  • Thanks: 0
  • Karma: -4
9 years 8 months ago #259862 by Vasilij30
Replied by Vasilij30 on topic [#5133] CB Gallery 1.0.2 not loaded mp3

nant wrote:

Vasilij30 wrote:

Vasilij30 wrote: You are not understanding me !!
I need to know the way already installed the plugin, so we see what I circled in red.
The path to the file (for example /components/com_comprofiler/....??)






You answer this question? Whence (comes with a text output file)


Those strings can be translated in your cbgallery-language.php file which should be located if you have installed the Russian language plugin (I have given you links before) in your component -> com_comprofiler -> plugin -> language -> ru-RU -> cbplugin folder


that there is no ((
The topic has been locked.
  • Vasilij30
  • Vasilij30
  • OFFLINE
  • Posts: 83
  • Thanks: 0
  • Karma: -4
9 years 8 months ago #259864 by Vasilij30
Replied by Vasilij30 on topic [#5133] CB Gallery 1.0.2 not loaded mp3

Vasilij30 wrote:

nant wrote:

Vasilij30 wrote:

Vasilij30 wrote: You are not understanding me !!
I need to know the way already installed the plugin, so we see what I circled in red.
The path to the file (for example /components/com_comprofiler/....??)






You answer this question? Whence (comes with a text output file)


Those strings can be translated in your cbgallery-language.php file which should be located if you have installed the Russian language plugin (I have given you links before) in your component -> com_comprofiler -> plugin -> language -> ru-RU -> cbplugin folder


that there is no ((

Attachments:
The topic has been locked.
  • Vasilij30
  • Vasilij30
  • OFFLINE
  • Posts: 83
  • Thanks: 0
  • Karma: -4
9 years 8 months ago #259866 by Vasilij30
Replied by Vasilij30 on topic [#5133] CB Gallery 1.0.2 not loaded mp3
still not to understand how you did. Why can not all the original language file plugin will integrate into a single xml file? such as sdela forum Kunena.

Correcting translation at /components/com_comprofiler/plugin/user/plug_cbgallery/language/default_language/language.php but no result!
where text output goes to the site ?? where I edit a translation? which files?

why not do just one language file, and insert language constants in a script?
The topic has been locked.
  • Vasilij30
  • Vasilij30
  • OFFLINE
  • Posts: 83
  • Thanks: 0
  • Karma: -4
9 years 8 months ago #259867 by Vasilij30
Replied by Vasilij30 on topic [#5133] CB Gallery 1.0.2 not loaded mp3
I can not figure out which file I need to edit the text in the Russian language?


Attachments:
The topic has been locked.
  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
9 years 8 months ago #259880 by nant
Replied by nant on topic [#5133] CB Gallery 1.0.2 not loaded mp3
Once again.

To create your Russian CB Langauge plugin you need to follow these instructions:

forge.joomlapolis.com/projects/lan-cb/wiki

So you need to:

1. Download the latest CB English language plugin for CB 2.0.7 from here: forge.joomlapolis.com/attachments/download/2649/plug_language_english_en-GB_2.0.7.1.0.0+7234aef0c.zip

2. Unzip it and then rename its en-GB.xml file to your language locale code (e.g., el-GR.xml for Greek)

3. Edit your new locale.xml (e.g., el-GR.xml) file with your text editor

4. Find the

<name>en-GB</name>

line and change it to match your language (e.g., el-GR for Greek).
WARNING - You should only have 5 characters here (including the dash)

5. Find the

<description>....</description>

line and change it as you wish.

6. Find the

<filename plugin="en-GB">language.php</filename>

line and change it to match your language (e.g., el-GR for Greek).

7. Save the modified language.xml file

8. Using your text editor edit each one of the admin_language.php and language.php files to prepare your translation. In the admin_language.php and language.php files just edit the second part of the line to translate (keep the first part intact). Do not rename the actual filenames!

9. Follow the same process for all files in the cbplugin folder.

10. Save these files utf-8 encoded without BOM.

11. Repackage as a zip and you have your CB 2.0 language package.

YOU SHOULD NOT MODIFY ANY FILES in default_language folders as they will just get over-written when you update CB or any CB Plugin.



I am now locking this thread as it has digressed into two parallel topics - both of which have been addressed multiple times already.
The following user(s) said Thank You: Vasilij30
The topic has been locked.
Moderators: beatnantkrileon
Powered by Kunena Forum