vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - [DBTech] Dragonbyte Gallery v1 (vB4) (https://vborg.vbsupport.ru/showthread.php?t=285074)

DragonByte Tech 09-24-2012 05:23 AM

1 Attachment(s)
Quote:

Originally Posted by ejbreeze (Post 2368012)
I don't think its a server issue since this is the only mod that I have a problem with regarding permissions. I see there is a new post a couple back with the same problem. Once you set the correct permissions the mod works great for that user.

Do you have another mod that creates folders? Creating a folder and setting it's permissions are way different creating/uploading a file.

I want to try doing it a different way, the host setup might be interfering with how I'm doing it. This will only work if you're using 1.2.4 though, your postbit is still saying 1.1.3.

Can you try uploading the attached file to dbtech/gallery/includes and overwriting the old one? After that, upload an image from an account that hasn't done so, or delete the folders for the one you test with. Let me know how that works for you.

Dylan

ejbreeze 09-24-2012 12:51 PM

1 Attachment(s)
Works Perfect! Tried it twice with no problems. I also noticed that after I saved the image it no longer left me on the page with just 2 save boxes on it. Now it takes me back to the album page. Thank you for that.

Here is what I get when I try to upload too large of a file. This one is 1.46 mb. Many may not understand it when they receive it.

https://vborg.vbsupport.ru/external/2012/09/15.png


This is the warning I get when I try to upload a 4.6mb image.

Attachment 141427

Thanks for your help with this. I appreciate your support.

DragonByte Tech 09-24-2012 04:02 PM

Quote:

Originally Posted by ejbreeze (Post 2368169)
Works Perfect! Tried it twice with no problems. I also noticed that after I saved the image it no longer left me on the page with just 2 save boxes on it. Now it takes me back to the album page. Thank you for that.

Here is what I get when I try to upload too large of a file. This one is 1.46 mb. Many may not understand it when they receive it.




This is the warning I get when I try to upload a 4.6mb image.

Attachment 141427

Thanks for your help with this. I appreciate your support.

Could you send me a copy of those images? GD is quite a memory hog but even then, a 1.4MB image shouldn't be trying to take that much memory to process. I'll pm you my email address.

Dylan

ejbreeze 09-24-2012 07:56 PM

Those images were sent to you. Thanks.

ejbreeze 09-24-2012 11:35 PM

How can a user go back and edit an image that has already been uploaded to a album? Like change the picture's name. I'm sorry I can't seem to find this.

Skyrider 09-25-2012 09:16 AM

Display Next/Previous is causing issues..

From this: (when disabled)
https://vborg.vbsupport.ru/external/2012/09/12.png

To this: (when enabled)
https://vborg.vbsupport.ru/external/2012/09/13.png

Using screen resolution: 1280x1024

By zooming out on the page, it works fine. But not on this resolution.

Also.. "Gallery Layout: New Style" is also having issues:
https://vborg.vbsupport.ru/external/2012/09/5.jpg

k6rikko 09-25-2012 12:11 PM

1 Attachment(s)
Hi all, most is working fine but i have a small problem.

by viewing pictures normally its resized to fit the page and the enlarge Button is shown for full view.

The enlarge button is only showed on non logged in users and if i loged in us admin .
Normal registred users dont see the button,
and the picture is always full sized and override the page.

How to solve this ? Was checking / trying all kinds of options and permissions
but nothing solved it.

ejbreeze 09-25-2012 11:39 PM

1 Attachment(s)
Thanks to FF|Skyrider snapshot I see my posted problem of not being able to edit a picture. It is because the new syle left out the edit picture button. When I switched to vb style I now see the edit button. This works for me....Thanks. Mine shows correctly with the next/previous on with vb style but the right border does run into the text a bit.

Attachment 141458

bzcomputers 09-26-2012 01:30 AM

Quote:

Originally Posted by ejbreeze (Post 2368561)
but the right border does run into the text a bit.

DBTech is working on single column layout options for both styles that will alleviate these overrun issues.

Similar to:
https://vborg.vbsupport.ru/external/2012/09/4.jpg

DragonByte Tech 09-26-2012 02:12 AM

Quote:

Originally Posted by ejbreeze (Post 2368271)
Those images were sent to you. Thanks.

Sorry it's taken me a bit on this. The 1.4MB image you gave me has a very large resolution. it has a resolution of 3264px X 1952px. The total memory that would be taken to process that image is 25MB, and with vB having a 10MB overhead, that breaks your 32MB limit. btw, the default PHP5 limit is set to 128MB, so your host throttled that down a lot.

Also, the larger image, it sounds like you have the default 2MB for the max upload/post size, which is tiny by today's standards.

If you can get your host to increase those limits it'll take care of both of these problems. I'm trying to code in some error checking to take care of the first problem for my next bugfix release but the second problem is kind of out of my hands.

You can see what your set limits are by going to your ACP -> Gallery -> Gallery System page.

Dylan

DragonByte Tech 09-26-2012 02:19 AM

Quote:

Originally Posted by FF|Skyrider (Post 2368359)
Display Next/Previous is causing issues..

From this: (when disabled)


To this: (when enabled)


Using screen resolution: 1280x1024

By zooming out on the page, it works fine. But not on this resolution.

Also.. "Gallery Layout: New Style" is also having issues:

The problem is I designed it to give the most latitude for each user considering the different resolutions available.

If you have a fixed style width then you can set the max image width in the stylevars - dbtech_gallery_max_width

If the style isn't fixed width and your resolution just isn't large enough to fit the image you can go to your gallery profile, edit your My Information section and set the max width that you will see.

The gallery software will take the lesser value of the 3 (stylevar/my info/actual image width) and use that to display the image.

Dylan

DragonByte Tech 09-26-2012 02:22 AM

Quote:

Originally Posted by k6rikko (Post 2368413)
Hi all, most is working fine but i have a small problem.

by viewing pictures normally its resized to fit the page and the enlarge Button is shown for full view.

The enlarge button is only showed on non logged in users and if i loged in us admin .
Normal registred users dont see the button,
and the picture is always full sized and override the page.

How to solve this ? Was checking / trying all kinds of options and permissions
but nothing solved it.

You can set the style to have a default width (stylevars - dbtech_gallery_max_width) or you can set your own gallery profile to have a default width (Gallery My Profile / Edit My Information).

Guests don't have a gallery profile so their max viewable image width is hardcoded to 500px wide.

Hope that helps.

Dylan

DragonByte Tech 09-26-2012 02:24 AM

Quote:

Originally Posted by ejbreeze (Post 2368561)
Thanks to FF|Skyrider snapshot I see my posted problem of not being able to edit a picture. It is because the new syle left out the edit picture button. When I switched to vb style I now see the edit button. This works for me....Thanks. Mine shows correctly with the next/previous on with vb style but the right border does run into the text a bit.

Attachment 141458

The New Style option should have a pencil next to the image name below the image to edit an image details. But you can use either style option you want :)

Dylan

ejbreeze 09-26-2012 03:02 AM

Dylan thanks for pointing out the pencil. Your making me feel old :) I have a dedicated server so I should be able to work through your suggestion. Thanks once more. And yes I will be going to the pro version if only for the great support you offer for your mods.

DragonByte Tech 09-26-2012 05:45 AM

Quote:

Originally Posted by ejbreeze (Post 2368592)
Dylan thanks for pointing out the pencil. Your making me feel old :) I have a dedicated server so I should be able to work through your suggestion. Thanks once more. And yes I will be going to the pro version if only for the great support you offer for your mods.

I'm a few shades past tarnished myself :)

I would try these out in your php.ini, should work good for uploading images, since it's dedicated you can adjust as needed.

post_max_size = 15M
upload_max_filesize = 15M
memory_limit = 128M

Dylan

k6rikko 09-26-2012 11:15 AM

@Dylan

many thanks for your help , found and solved it with fixed Resolution for all
(stylevars - dbtech_gallery_max_width)

Greets Rikko :)

DragonByte Tech 09-26-2012 10:57 PM

Security Hotfix for v1.2.4

We found some xss exploits with editing an image and added a hotfix release to address the issue.

Please download the v1.2.4 package again and re upload the files. There is no need to import the product xml file again as this is a file only fix.

Sorry for the inconvenience.

Dylan

ejbreeze 09-27-2012 12:09 AM

Dylan your php recommendation worked perfectly. Thank You. I went to buy my pro version since things are working great and I am confused with the licensed. Is [AddOn] Branding Free: Dragonbyte Gallery - Lifetime Receives Updates For: Lifetime both the branding fee and the software? That's what I want.

DragonByte Tech 09-27-2012 02:18 AM

Quote:

Originally Posted by ejbreeze (Post 2368874)
Dylan your php recommendation worked perfectly. Thank You. I went to buy my pro version since things are working great and I am confused with the licensed. Is [AddOn] Branding Free: Dragonbyte Gallery - Lifetime Receives Updates For: Lifetime both the branding fee and the software? That's what I want.

Can you create a presales thread on the DBT forums please? We can't talk about pro features/pricing here. Thanks

Dylan

ejbreeze 10-06-2012 12:32 PM

1 Attachment(s)
Is it possible to link from ones profile page to their Gallery images as shown below? Thanks.

Attachment 141585

DragonByte Tech 10-07-2012 06:05 PM

Quote:

Originally Posted by ejbreeze (Post 2371177)
Is it possible to link from ones profile page to their Gallery images as shown below? Thanks.

Attachment 141585

I'm actually working on the next version where it will replace the album sideblock and show their latest album/image with a link to their gallery.

Dylan

ejbreeze 10-07-2012 08:37 PM

That will be good. Right now I removed the VB "Photos" link since I will be using Gallery only.

ejbreeze 10-07-2012 09:54 PM

Box shadows only show up in explorer and not chrome or mozilla. Is that a function of chrome and mozilla not showing them?

ejbreeze 10-07-2012 09:55 PM

Interesting it does show on the default vb style but not my custom syle.

Alibass 10-08-2012 04:26 PM

@Dylan

I'm using 1.2.4 and vB 4.2.0 PL2

I have found that user's cannot delete their unwanted albums. The only way I can delete them is by going into the DB. :(

Robbed 10-08-2012 07:17 PM

Can you add an option when you click on an image it will show full size in another window?

firefox lets you right click and choose view image but not in IE and a link would be easier.

dbtgallery.php?do=gallery_image&id=176&gal=gallery &type=full

ejbreeze 10-08-2012 10:53 PM

Quote:

Originally Posted by Alibass (Post 2371578)
@Dylan

I'm using 1.2.4 and vB 4.2.0 PL2

I have found that user's cannot delete their unwanted albums. The only way I can delete them is by going into the DB. :(

Click on My Albums>Browse all Albums and from there you can delete any album.

Alibass 10-08-2012 11:17 PM

Mate I know how the mod works...

Alibass 10-08-2012 11:19 PM

Quote:

Originally Posted by Alibass (Post 2371578)
@Dylan

I'm using 1.2.4 and vB 4.2.0 PL2

I have found that user's cannot delete their unwanted albums. The only way I can delete them is by going into the DB. :(

@Dylan

I should have also mentioned that unwanted albums are empty albums.

ejbreeze 10-09-2012 12:01 AM

Mate I just deleted a empty album. Works real fine.

Alibass 10-09-2012 12:16 AM

Quote:

Originally Posted by ejbreeze (Post 2371665)
Mate I just deleted a empty album. Works real fine.

Is this a album you created and then deleted or a members album?

ejbreeze 10-09-2012 12:46 AM

Are you saying administrator can delete own albums but members can't delete own album? Or are you saying Administrator can't delete members albums? Or both? Administrator on my board can delete own albums but can't delete members albums. I haven't tried it as a member since it is still on a test board.

Alibass 10-09-2012 02:35 PM

Quote:

Originally Posted by ejbreeze (Post 2371674)
Are you saying administrator can delete own albums but members can't delete own album? Or are you saying Administrator can't delete members albums? Or both? Administrator on my board can delete own albums but can't delete members albums. I haven't tried it as a member since it is still on a test board.

I think my post 305 sums it up.

If you're going to find the bugs of this mod you need to be running it on a live board or have an ample enough users on a test board.

Khent334 10-10-2012 04:29 PM

Fantastic mod! I only have one minor issue.

I turned the default nav link off and manually entered in a link to the gallery via the Navigation Manager setting. Now when I select the 'Gallery' link, it highlights the 'Forums' tab instead of the 'Gallery' tab.

How can I correct this so the 'Gallery' tab is highlighted when I'm on a gallery page?

Alibass 10-10-2012 06:15 PM

Quote:

Originally Posted by Khent334 (Post 2372084)
Fantastic mod! I only have one minor issue.

I turned the default nav link off and manually entered in a link to the gallery via the Navigation Manager setting. Now when I select the 'Gallery' link, it highlights the 'Forums' tab instead of the 'Gallery' tab.

How can I correct this so the 'Gallery' tab is highlighted when I'm on a gallery page?

Enter http://www.yoursite.com/your root/yoursitegallery.php?gal=gallery in the target url.

Khent334 10-10-2012 11:14 PM

Thanks-- I tried the full URL as you recommended, but it had no effect.

Alibass 10-10-2012 11:40 PM

Did you set your show permission name?

Khent334 10-11-2012 12:50 AM

No; can you tell me what value the permission name should be?

Khent334 10-11-2012 01:01 AM

Thanks for your help, Alibass!

I found the variables I needed on this page: http://www.dragonbyte-tech.com/f180/...ructions-8931/

snnggledel 10-11-2012 03:52 PM

Hello i'm getting this when i try to upload a picture
Warning: mkdir() [function.mkdir]: Permission denied in [path]/dbtech/gallery/includes/class_core.php on line 1174

Warning: copy(dbtech/gallery/images/upload/1/2/thumb/index.html) [function.copy]: failed to open stream: Permission denied in [path]/dbtech/gallery/includes/class_core.php on line 1176

Warning: mkdir() [function.mkdir]: Permission denied in [path]/dbtech/gallery/includes/class_core.php on line 1183

Warning: copy(dbtech/gallery/images/upload/1/2/wm/index.html) [function.copy]: failed to open stream: Permission denied in [path]/dbtech/gallery/includes/class_core.php on line 1185

Warning: mkdir() [function.mkdir]: Permission denied in [path]/dbtech/gallery/includes/class_core.php on line 1192

Warning: copy(dbtech/gallery/images/upload/1/2/full/index.html) [function.copy]: failed to open stream: Permission denied in [path]/dbtech/gallery/includes/class_core.php on line 1194
help please


All times are GMT. The time now is 03:34 AM.

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.01908 seconds
  • Memory Usage 1,843KB
  • 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
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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