vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Major Additions - Ultimate Media Gallery LITE (https://vborg.vbsupport.ru/showthread.php?t=201533)

inciarco 08-26-2009 03:57 AM

Quote:

Originally Posted by Coroner (Post 1874548)
There are more than one option for deleting media.
So which option do you mean ?

1.) inside a category (mark checkbox and "delete media")
2.) inside the media itself (edit/delete)

Inside the Media itself there is No Option to Edit/Delete, (only to Report and to Rate the Media, and the Info of the Media).

Inside the Category I Check the Media and Choose the "Delete Media" Option and the Button "Go (1)", (1 for 1 Media Selected or the Number of Media Selected).

It says "The selected Images/Media were deleted.", but only the .gif File is Deleted and Not the File of the Video. :confused:

My Best Regards, Coroner, I Hope You Can Fix this and Tell Us What Changes to Apply to Make this Possible.

:)

Coroner 08-26-2009 07:14 AM

Sorry, after loads of upgrades .... Option 2 is in PRO.

In umg_actions.php you will find:
Code:

if ($med['filename'] != $med['efilename'])
{
        @chmod (DIR . '/umg_gallery/images/' . $med['category'] . '/original/' . $med['mediaid'] . '_' . $med['efilename'], 0777);
        @unlink (DIR . '/umg_gallery/images/' . $med['category'] . '/original/' . $med['mediaid'] . '_' . $med['efilename'], 0777);
}

This part is for deleting the file.

You can try to change this line:
Code:

@unlink (DIR . '/umg_gallery/images/' . $med['category'] . '/original/' . $med['mediaid'] . '_' . $med['efilename'], 0777);
into
Code:

@unlink (DIR . '/umg_gallery/images/' . $med['category'] . '/original/' . $med['mediaid'] . '_' . $med['efilename']);

inciarco 08-26-2009 02:46 PM

Quote:

Originally Posted by Coroner (Post 1874596)
Sorry, after loads of upgrades .... Option 2 is in PRO.

In umg_actions.php you will find:
Code:

if ($med['filename'] != $med['efilename'])
{
        @chmod (DIR . '/umg_gallery/images/' . $med['category'] . '/original/' . $med['mediaid'] . '_' . $med['efilename'], 0777);
        @unlink (DIR . '/umg_gallery/images/' . $med['category'] . '/original/' . $med['mediaid'] . '_' . $med['efilename'], 0777);
}

This part is for deleting the file.

You can try to change this line:
Code:

@unlink (DIR . '/umg_gallery/images/' . $med['category'] . '/original/' . $med['mediaid'] . '_' . $med['efilename'], 0777);
into
Code:

@unlink (DIR . '/umg_gallery/images/' . $med['category'] . '/original/' . $med['mediaid'] . '_' . $med['efilename']);

Thank You Very Much For Your Help Coroner; the File Edit Works Fine and Now Video Files are Being Deleted when Deleting them from the Galleries. :up:

My Best Regards.

:)

Coroner 08-26-2009 05:44 PM

Ok, thx. Will upgrade the Files (vB37 / vB38) tomorrow.

Zaki Shafqat 08-27-2009 03:47 AM

2 questions: Is there a different between this version and the 3.8.x version? i have installed 3.7.x version on my board and now found 3.8.x too just want to know if there is any difference between both version?

Second question is: Can i show images on my forum home page replacing the album pictures (remember there is a hack that shows Randam Pictures on Forum Home) just want to know if it can show random pictures on my forum home so i can just turn off my albums and use this one

Coroner 08-27-2009 11:02 AM

1.) Definately NO. Both versions are the same
2.) Do you mean "forumhome" (index.php) ? Not in the LITE - the PRO hast some AddOn's.
Images in "forumhome", ProfileTab (User Media), MiniSlideshow ...

Zaki Shafqat 08-28-2009 12:28 AM

can somebody help out by answering post number 105?

Coroner 08-28-2009 03:14 AM

Quote:

Originally Posted by Zaki Shafqat (Post 1875552)
can somebody help out by answering post number 105?

The answer is #106

creative-friend 04-07-2010 11:09 PM

need a lil help

i wana upload more images at 1 time

but i can only upload 1 image at 1 time

whyz dat??

Coroner 04-08-2010 02:18 PM

whyz dat ?? cauze it'z so *g

I didn't implemet more than one dl at one time (also PRO). But with ZIP or FTP upload in the PRO you can upload more than 1.


All times are GMT. The time now is 12:37 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01416 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete