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)

Coroner 01-16-2009 03:51 AM

Quote:

Originally Posted by inciarco (Post 1713858)
Family Time should Always be in First Place. :up::up::up:

I've looked in some of the .xlm files and I found one of the Codes you used to reference the Forum's root Directory, so the Code for $url in "swf" and "flv" cases on "umg_extensions.php" File should be (I've tested it and Works Fine this way):



- If you can also include on the "Media Information", on the "Category" Information, a Link to the Category, that would be very Nice, because right now the Users can only Browse to that Category on the Top Links (the ones you showed on your image), but if you see in PhotoPlog and my other Mods when the Category Info appears it also has a Link to that Category, (great for easily going back and see other Medias), also Users are not very smart using the Top Path Links; right now only appears the Name of the Category but without a Link to it. :confused:

- I've also checked the Link provided for the Medias, and I can see that it uses a URL that includes "umg_view.php" in it; that Link when included on a Post doesn't Work, so it would be better to use the simple "umg.php?m=zzz#media" URL (zzz for the number of the Media), that Works Very Well (the one Displayed on the Address Field of the Browser). :confused:

My Best Regards.

:)

Thank, for Info.
The Link: When you inside a medium/image you don't need those information (take a look at the navbar). You will see the category-link - or missunderstand it ?

Coroner 01-16-2009 03:56 AM

Quote:

Originally Posted by yourradio (Post 1714111)
Lets say I set the permissions for maximum width and height of an image to 1024 Px and file size to 200Kb. When user trying to upload an image that is bigger than these settings, is it possible that the gallery will resize it automatically to these settings I set in the permissions ?

Thank you.

That's not possible. I've upload the "original" image and I gave the permission.
Example: If uploaded an image with a width / height of 4096 ich can resize it to 1024 but ... what happend with the filesize ? Du you really think it's 200 Kb ?

Coroner 01-16-2009 04:07 AM

Quote:

Originally Posted by Dirtchamber (Post 1714170)
Hey there,

Great mod - I'm very impressed with it. I just have two questions that I hope you'll be able to help me out with:

1. When uploading a file, what would I need to change to make it so the text editor (for entering a description of the file) spawns with text already inside? So instead of just having an empty box, it would have, say, "Name, Age, Location" etc - like a form.

2. Is there an option to change the default display order on a gallery index? I know you can do it as a user, but I'd like to make a global change, that applies to all users.

Thanks for your help. And again - great work!
Dan

1.) template: umg_usercp_upload
(example) <input type="text" class="bginput" name="uploadtitle" id="tb_uploadtitle" value="enter your title" size="50" maxlength="50" />
The text in orange color ist that you need to change

2.) A global change for what ? Categories, Members Galerie .... ?

Dirtchamber 01-16-2009 04:24 AM

Quote:

Originally Posted by Coroner (Post 1714200)
1.) template: umg_usercp_upload
(example) <input type="text" class="bginput" name="uploadtitle" id="tb_uploadtitle" value="enter your title" size="50" maxlength="50" />
The text in orange color ist that you need to change

Thanks! :)

Quote:

A global change for what ? Categories, Members Galerie .... ?
Oh, sorry - for a category within a public gallery.

yourradio 01-16-2009 04:33 AM

Quote:

Originally Posted by Coroner (Post 1714183)
That's not possible. I've upload the "original" image and I gave the permission.
Example: If uploaded an image with a width / height of 4096 ich can resize it to 1024 but ... what happend with the filesize ? Du you really think it's 200 Kb ?

Let's forget about the file size.. and still, will it be possible to autoresize on upload using Imagemagick or GD library?

If not, then is it possible to make all files to be uploaded on the external server ?

Thank you.

Coroner 01-16-2009 06:02 AM

Quote:

Originally Posted by Dirtchamber (Post 1714223)
Thanks! :)



Oh, sorry - for a category within a public gallery.

Users can't create a category in a public gallery. So, only the Mod, sMod or Admin (with permission) can create it.

Coroner 01-16-2009 06:04 AM

Quote:

Originally Posted by yourradio (Post 1714233)
Let's forget about the file size.. and still, will it be possible to autoresize on upload using Imagemagick or GD library?

If not, then is it possible to make all files to be uploaded on the external server ?

Thank you.

You can't upload it on an external server. All files were upload in "umg_gallery/images/$gallery/...."

Dirtchamber 01-16-2009 09:18 AM

Quote:

Originally Posted by Coroner (Post 1714314)
Users can't create a category in a public gallery. So, only the Mod, sMod or Admin (with permission) can create it.

Okay, but as admin, how can I set it so that a category in a public gallery displays images in a certain way (in this case, lastest first) as default?

Coroner 01-16-2009 02:40 PM

There is NO option for a sortorder inside a category.

you can try this:
in umg_global.php search for:
Code:

                        if ($vbulletin->GPC['sort'] == 'name' OR $vbulletin->GPC['sort'] == 'date')
                        {
                                if ($vbulletin->GPC['sort'] == 'name') $sort_by = ' ORDER BY media.title ' . $vbulletin->GPC['sortwho'] . ' ';
                                if ($vbulletin->GPC['sort'] == 'date') $sort_by = ' ORDER BY media.dateline ' . $vbulletin->GPC['sortwho'] . ' ';
                        }

and change it into
Code:

                        if ($vbulletin->GPC['sort'] == 'name' OR $vbulletin->GPC['sort'] == 'date')
                        {
                                if ($vbulletin->GPC['sort'] == 'name') $sort_by = ' ORDER BY media.title ' . $vbulletin->GPC['sortwho'] . ' ';
                                if ($vbulletin->GPC['sort'] == 'date') $sort_by = ' ORDER BY media.dateline ' . $vbulletin->GPC['sortwho'] . ' ';
                        }
                        else
                        {
                                $sort_by = ' ORDER BY media.dateline ASC';
                        }

were ASC stands for oldest - change into DESC for newest

inciarco 01-16-2009 08:20 PM

Quote:

Originally Posted by Coroner (Post 1714179)
Thank, for Info.
The Link: When you inside a medium/image you don't need those information (take a look at the navbar). You will see the category-link - or missunderstand it ?

In the Navbar the Link is always Ok, (vBulletin Generated), what I mean Coroner is in the Media Information, where is the Title, Description, Uploader (her appears Link to Forumer Ok), Category (here is where is missing the Link to the Category, for fast Browsing of Viewers), Uploaded, Hits, Filesize and the rest of the Media Info. Here, in this Table, in that Particular Cell of Category is where the Link if missing. :confused:

Not much People use the Navbar too well, so that Link is important for them to Browse back to the Category and look for other Medias. ;)

(That Link appears Ok in other Tables like in the UMG Home under "Newest Images / Medias" under each New Media, you see Information like the Title (with Link to Media Ok), Category (with Link to Category where the Media Uploaded, this is the Link that is missing in the Media Page), Uploader (Link to Forumer Ok), Filesize, Hits and Rating. ;)

My Best Regards, I'll be waiting for the Next Release of the Media Gallery. :up:

:)


All times are GMT. The time now is 05:23 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.01117 seconds
  • Memory Usage 1,760KB
  • 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
  • (2)bbcode_code_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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