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 07-31-2012 05:39 AM

Quote:

Originally Posted by Craigr (Post 2352500)
Noticed a small bug. If you have text in the image description page it loses the line breaks if you edit the image.

For example if i put this:
Picture taken September 2002
By Person Name


When edited it becomes this:
Picture taken September 2002 By Person Name

Even if you show the line breaks on the edit screen they disappear.

EDIT: Looks like the description is not updated at all when i press save. Tried entering different text, but it doesn't update.

I believe the new release fixes this problem. Let me know if it doesn't though and I'll work on it.

Dylan

DragonByte Tech 07-31-2012 05:40 AM

Quote:

Originally Posted by alhidaya (Post 2350940)
Hello Dylan,

I hope you are well.

Could you add an option to put the address of the image instead of importing the image from our pc.?

could you put a slidershow in the gallery to see the picture album. ?

Could you create a widget cms to see the parade pictures ?

The first two are on the list of things to do. Not sure what you mean by parade pictures? There is a CMS widget included.

Dylan

DragonByte Tech 07-31-2012 05:43 AM

Quote:

Originally Posted by tricksodave (Post 2351343)
Hi Guys

Is there a way I can align your copyright or make it all in white? I ask this earlier in the thread but think it has got lost.

Also when viewing who's online it tells me that the person is viewing main gallery (if I click on the link) it tells me I don't have permissions to view?

Dave

Sorry about that, missed the copyright question. It should follow the standard footer until something is tweaked on your style. Can I get a link to the site to take a look?

I'm not sure what's causing the WOL problem, I'll check into it and let you know.

Dylan

DragonByte Tech 07-31-2012 05:44 AM

Quote:

Originally Posted by Preech (Post 2351741)
How can I make the navtab viewable only to certain usergroups.

If the nav is auto generated (If you're on 4.1.x or 4.2 and didn't manually creat the tab), if they do not have permission to view the gallery then they shouldn't see the tab.

Dylan

imported_dfmafia 07-31-2012 06:41 AM

installed latest version, updated on my vB 4.2.0 PL 2

1 data base error when I tried to import the vB Gallery.

Code:

Database error in vBulletin 4.2.0:
Invalid SQL:
  SELECT * FROM 'album';
MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''album'' at line 1
Error Number  : 1064

that was with IE if it matters, shouldn't but i couldn't reply wtih IE here...


below is the error message i got when i tried firefox with YES selected to clean up previous import. I assume it there due to the fact the previous import didn't start thus no importid

Code:

Database error in vBulletin 4.2.0:

Invalid SQL:

                DELETE
                FROM dbtech_gallery_categories
                WHERE
                    import_id        > 0 &&
                    import_type    = 'vb_album';

MySQL Error  : Unknown column 'import_id' in 'where clause'
Error Number  : 1054


Also lost my watermarks. "watermark text" is still displayed on images though i never changed my settings and my .png watermark was working properly

Disco_Dave 07-31-2012 06:45 AM

1 Attachment(s)
Quote:

Originally Posted by DragonByte Tech (Post 2352953)
Sorry about that, missed the copyright question. It should follow the standard footer until something is tweaked on your style. Can I get a link to the site to take a look?

I'm not sure what's causing the WOL problem, I'll check into it and let you know.

Dylan

Thanks for the reply, I've uploaded your newest version and tried the Gallery Import, getting the following error:

Database error in vBulletin 4.2.0:

Invalid SQL:

SELECT * FROM 'vbalbum';

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''vbalbum'' at line 1
Error Number : 1064
Request Date : Tuesday, July 31st 2012 @ 02:31:54 AM
Error Date : Tuesday, July 31st 2012 @ 02:31:54 AM
Script : http://www.nirc.co.uk/fresh/area51/d...3&mod=vb_album
Referrer : http://www.nirc.co.uk/fresh/area51/d...2&mod=vb_album
IP Address : 192.109.140.135
Username : Disco_Dave
Classname : vB_Database
MySQL Version : 5.5.23-55

I would like to import all are old images into the Gallery, is this possible with an old mod we used on our old vB3, now vB4 this mod no longer works but all the images are still there. The old mod was by Beebi.

http://www.nirc.co.uk/fresh



To have a look at your copyright.

Cheers
Dave


Also getting this after we updated, if you click on the Unknown Location, it loads up a dbtgallery.php file to save:

DragonByte Tech 07-31-2012 11:46 AM

Quote:

Originally Posted by imported_df+++++ (Post 2352965)
installed latest version, updated on my vB 4.2.0 PL 2

1 data base error when I tried to import the vB Gallery.

Code:

Database error in vBulletin 4.2.0:
Invalid SQL:
  SELECT * FROM 'album';
MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''album'' at line 1
Error Number  : 1064

that was with IE if it matters, shouldn't but i couldn't reply wtih IE here...


below is the error message i got when i tried firefox with YES selected to clean up previous import. I assume it there due to the fact the previous import didn't start thus no importid

Code:

Database error in vBulletin 4.2.0:

Invalid SQL:

                DELETE
                FROM dbtech_gallery_categories
                WHERE
                    import_id        > 0 &&
                    import_type    = 'vb_album';

MySQL Error  : Unknown column 'import_id' in 'where clause'
Error Number  : 1054

Also lost my watermarks. "watermark text" is still displayed on images though i never changed my settings and my .png watermark was working properly

Sorry about that. I was a bit overzealous checking my variables I guess.

If you open dbtech/gallery/includes/class_import.php
On line 170 change
PHP Code:

SELECT FROM " . $this->registry->db->sql_prepare($table

to
PHP Code:

SELECT FROM " . $table 

The watermark was never on the lite version, were you running the beta?

Dylan

DragonByte Tech 07-31-2012 11:50 AM

Quote:

Originally Posted by tricksodave (Post 2352967)
Thanks for the reply, I've uploaded your newest version and tried the Gallery Import, getting the following error:

Database error in vBulletin 4.2.0:

Invalid SQL:

SELECT * FROM 'vbalbum';

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''vbalbum'' at line 1
Error Number : 1064
Request Date : Tuesday, July 31st 2012 @ 02:31:54 AM
Error Date : Tuesday, July 31st 2012 @ 02:31:54 AM
Script : http://www.nirc.co.uk/fresh/area51/d...3&mod=vb_album
Referrer : http://www.nirc.co.uk/fresh/area51/d...2&mod=vb_album
IP Address : 192.109.140.135
Username : Disco_Dave
Classname : vB_Database
MySQL Version : 5.5.23-55

I would like to import all are old images into the Gallery, is this possible with an old mod we used on our old vB3, now vB4 this mod no longer works but all the images are still there. The old mod was by Beebi.

Cheers
Dave


Also getting this after we updated, if you click on the Unknown Location, it loads up a dbtgallery.php file to save:

Sorry, I'll fix the unknown location. It's trying to download the image the user is viewing. Need to fix the bug in the importer anyway. The fix for the importer for vB Albums is in the post above.

For the Beebi mod, I'd need to take a look at the files and structure of it.

btw, I changed the password but you might want to edit your post and remove the login info to your board and your IP address and that info. Best to send that info through PM's.

Dylan

Disco_Dave 07-31-2012 12:42 PM

Quote:

Originally Posted by DragonByte Tech (Post 2353024)
Sorry, I'll fix the unknown location. It's trying to download the image the user is viewing. Need to fix the bug in the importer anyway. The fix for the importer for vB Albums is in the post above.

For the Beebi mod, I'd need to take a look at the files and structure of it.

btw, I changed the password but you might want to edit your post and remove the login info to your board and your IP address and that info. Best to send that info through PM's.

Dylan

Thanks! I still have the old mod if you'd like to take a look?

Craigr 07-31-2012 03:29 PM

Quote:

Originally Posted by DragonByte Tech (Post 2352950)
I just added v1.1.1

Included in the v1.1.0 release:

Added - Mass import of images from the ACP
Added - Import from vB Albums and vB Gallery
Added - Hide comment block on image view if no comments have been made
Added - Image blocks under gallery home categories
Added - Custom Fields!

With custom fields you can add as many fields you want to the image page. The types of fields you can add are:
  • Single line text field
  • Multi line text field
  • Select Dropdown field
  • Multiple checkboxs field
  • Multiple radio button field
The name of the custom field can either be a phrase (for multi lingual sites) or the text itself.

With the Mass ACP import, simply ftp your images to a folder inside of you gallery uploads folder. For instance, on my dev system, my images are at root/gallery_images. I added a folder root/gallery_images/uploaded and put all my images in there.

Dylan

Awesome work. :) The description editor works fine now.

Small bug in template dbtech_gallery_view_image_comment_bits_vb

Missing " in this line:
Code:

<a href={vb:raw comment_data.user_path}" class="username">
Another small one:
If you try to delete a custom field via the admin-cp i get this error:
Code:

Fatal error: Call to undefined function fetch_image_path() in F:\_PORTABLE\xampp\htdocs\vb\dbtech\gallery\actions\admin\delcustfieldconf.php on line 46


All times are GMT. The time now is 07:40 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.01909 seconds
  • Memory Usage 1,793KB
  • 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
  • (2)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (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