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)
-   -   Add-On Releases - Picture and Album Gallery (https://vborg.vbsupport.ru/showthread.php?t=237931)

NashChristian 04-03-2010 09:56 AM

Quote:

Originally Posted by HCGB (Post 2015043)
It works OK on a standard vB installation so I can only assume you are using a modified navbar or navtab template. I would suggest you try disabling other navbar mods until you find which one is causing the issue.

BTW: the right side navtabs items on your site are hidden at 1024/800 resolution - a lot of users still use these screen sizes so it might be worth reducing the number of navtab items so they can actually see them all :)

So just to make sure I'm understanding you, with an unmodified navbar template, using your navtab.xml, the TAB DOES show an "active" state when viewing any of the album or gallery pages?

I do have a tabs mod installed, that may be conflicting... but gosh, I really need that...

I just want to make sure I understand what it "should" do, in the best of circumstances.

I can't see how the tabs mod would have conflicted with your albumall.php navbar (making the navbar completely disappear on that page). Are you sure that part still works fine with your new plug-in, have you tested that recently?

THanks!

HCGB 04-03-2010 12:56 PM

Quote:

Originally Posted by NashChristian (Post 2015066)
...
I do have a tabs mod installed, that may be conflicting... but gosh, I really need that...

I just want to make sure I understand what it "should" do, in the best of circumstances.

I can't see how the tabs mod would have conflicted with your albumall.php navbar (making the navbar completely disappear on that page). Are you sure that part still works fine with your new plug-in, have you tested that recently?

THanks!

The navbar plugin with this product uses a single template hook and will work on any installation that has that template hook in the correct location. Your navtab mod obviously doesn't :) I'm not going to hack around inside someone else's mod so I would suggest that you just add the links to the album/picture gallery PHP files in your navtab mod instead of using the plugin I've provided OR take a look back in this thread for other suggestions on navbar/tab mods.

NashChristian 04-03-2010 05:04 PM

Quote:

Originally Posted by HCGB (Post 2015129)
I would suggest that you just add the links to the album/picture gallery PHP files in your navtab mod instead of using the plugin I've provided OR take a look back in this thread for other suggestions on navbar/tab mods.

Yeah, I tried adding it through the NavTab mod instead, problem is the "active" state will only work in conjunction with one PHP file, and since your product uses three different PHP files, the album.php, albumall.php, and picall.php, the "active" state will only show for one of those, and the other two revert back to showing the "Forum" tab as "active", which kinda sucks.

Maybe I need to figure out how to hard code my tabs myself.

But just to clarify, with your mod (and no other navtab mods), the "active" state for your tab button works on all THREE of those page types listed above?

Thanks again for a VERY needed mod! (vB really should incorporate this functionality!) :D

HCGB 04-03-2010 05:32 PM

Quote:

Originally Posted by NashChristian (Post 2015220)
Yeah, I tried adding it through the NavTab mod instead, problem is the "active" state will only work in conjunction with one PHP file, and since your product uses three different PHP files, the album.php, albumall.php, and picall.php, the "active" state will only show for one of those, and the other two revert back to showing the "Forum" tab as "active", which kinda sucks.

Maybe I need to figure out how to hard code my tabs myself.

But just to clarify, with your mod (and no other navtab mods), the "active" state for your tab button works on all THREE of those page types listed above?

No - this product only has two PHP files - album.php is part of vB. Albums and pictures are part of the forum therefore the forum tab remains lit (as it does when you use the navbar menu).

The template conditional you need to activate the tab will be something like:
Code:

<vb:if condition="in_array(THIS_SCRIPT,array('picall','albumall'))">
... display gallery navbar items  ....
</vb:if>

Take a look at https://vborg.vbsupport.ru/showthread.php?t=226914 for background.

NashChristian 04-03-2010 06:22 PM

Quote:

Originally Posted by HCGB (Post 2015229)
The template conditional you need to activate the tab will be something like:
Code:

<vb:if condition="in_array(THIS_SCRIPT,array('picall','albumall'))">
... display gallery navbar items  ....
</vb:if>

Take a look at https://vborg.vbsupport.ru/showthread.php?t=226914 for background.

Thanks a lot! I'll give it a shot. :D

NashChristian 04-03-2010 06:29 PM

Can you use BOTH of your nav elements together (tab & bar), or do they cause conflicts with one another?

I disabled my tabs mod, and the navbar is magically working right now, but the navtab still isn't showing an "active" state. I disabled your navbar and the nav tab is still not showing an "active" state. Wierd. Back to hard coding. ;)

garyfinlay 04-03-2010 07:49 PM

Thank you for this mod.

Marked installed, motm and rated.

NashChristian 04-04-2010 05:50 PM

Quote:

Originally Posted by HCGB (Post 2015229)
No - this product only has two PHP files - album.php is part of vB. Albums and pictures are part of the forum therefore the forum tab remains lit (as it does when you use the navbar menu).

The template conditional you need to activate the tab will be something like:
Code:

<vb:if condition="in_array(THIS_SCRIPT,array('picall','albumall'))">
... display gallery navbar items  ....
</vb:if>

Take a look at https://vborg.vbsupport.ru/showthread.php?t=226914 for background.

Ok, I completely uninstalled my tab mod and created plugins for each added button per Lynne's tutorial you linked to (thanks!). Now there doesn't seem to be any conflicting code. My nav tab works fine to go to your product page, albumall.php. It stays "selected" for the other "album" pages, as I want. No prob...

Only issue is, that my NAVBAR is missing on those pages. I'm still using your navbar plugin, and when I click on "Forums" the whole navbar, along with your gallery links, show up fine. However, once I click on one of the gallery links, the entire navbar disappears along with your gallery links.

I know that I could just code the drop-down Nav-Tab, but I don't like it. (I don't like ANY drop-down nav tabs, not just yours. ;))

Anyhow, I would really like for all of the forum navbar (along with your gallery links) to remain visible while on your pages. How can I get them to appear as I wish?

Thanks again for taking the time to help! Happy Easter!
:D Jeff

NashChristian 04-04-2010 06:30 PM

Nevermind, I hard-coded the gallery links into the gallery navtab plugin, and decided that I don't need the rest of the forums navbar on those pages. I'm displaying it more as a separate product from the forums, along with the album.php.

Thanks for your help, and GOOD WORK! This really should be incorporated into base vB!

Voted MOTM... it just makes SENSE!

Verionia 04-05-2010 02:24 PM

great and nominated! :)

Verionia 04-06-2010 03:33 AM

I am using album and photo ratings. How can I make that show in the gallery. Also the # of picture comments and views?

HCGB 04-06-2010 07:04 AM

Quote:

Originally Posted by Verionia (Post 2016623)
I am using album and photo ratings. How can I make that show in the gallery. Also the # of picture comments and views?

vB doesn't support picture/album ratings so I assume you are using another mod. It would be difficult to support 3rd party mods.

I don't display comment/view counts because it would reduce the number of images viewable per page.

Verionia 04-06-2010 02:22 PM

Quote:

Originally Posted by HCGB (Post 2016667)
vB doesn't support picture/album ratings so I assume you are using another mod. It would be difficult to support 3rd party mods.

I don't display comment/view counts because it would reduce the number of images viewable per page.

do you know how to do it? Id like to include it on my site.

HCGB 04-07-2010 09:21 AM

Quote:

Originally Posted by Verionia (Post 2016825)
do you know how to do it? Id like to include it on my site.

You would need to modify the template gallery_picallbit and also make changes to the search functions in picallbit.php to return the comment and view records. Fairly major changes.

Verionia 04-07-2010 11:25 PM

Quote:

Originally Posted by HCGB (Post 2017343)
You would need to modify the template gallery_picallbit and also make changes to the search functions in picallbit.php to return the comment and view records. Fairly major changes.

Uhm sorry, Im a beginner . What exactly do I need to put in those files? :o

HCGB 04-08-2010 06:04 AM

Quote:

Originally Posted by Verionia (Post 2017695)
Uhm sorry, Im a beginner . What exactly do I need to put in those files? :o

You will need to find/pay someone to make the changes for you if you don't have the experience.

Black-CA 04-09-2010 07:14 AM

1 Attachment(s)
@HCGB

I like your mod. Is it possible to change height or wide to get the whole information in one lane below the pictures? Separated for example
  • First ==> Album: "Title of the album"
  • Second ==> by: "username" on "Date"
Attachment 115474

Verionia 04-09-2010 01:35 PM

Quote:

Originally Posted by HCGB (Post 2017798)
You will need to find/pay someone to make the changes for you if you don't have the experience.

Can you please help me as I am on a budget, thanks.

ezechiele81 04-09-2010 01:48 PM

installed, but when I upload a photo :
"unable to copy or move the file"

folder images/upload
and
images/thumb are 777chmod

Videx 04-09-2010 01:56 PM

Quote:

Originally Posted by Verionia (Post 2018366)
Can you please help me as I am on a budget, thanks.

We're all on a budget. But if you want someone to spend a hundred hours coding some special functionality, it's going to cost money. When you get some, go to Requests For Paid Services .


Quote:

Originally Posted by ezechiele81 (Post 2018374)
installed, but when I upload a photo :
"unable to copy or move the file"

That doesn't sound like a problem with this mod. You may even want to uninstall this mod completely while you troubleshoot. Only when you get the basic functionality working on an unmodified board should you attempt to reinstall this mod.

Garamond 04-09-2010 02:03 PM

Is there an importer available so we can move all PhotoPost pictures over to vB Albums?

trilogy33 04-09-2010 04:23 PM

Quote:

Originally Posted by Black-CA (Post 2018230)
@HCGB

I like your mod. Is it possible to change height or wide to get the whole information in one lane below the pictures? Separated for example
  • First ==> Album: "Title of the album"
  • Second ==> by: "username" on "Date"
Attachment 115474

As there's no character limit to album titles, I also see the overrun of text at the base of the album placeholder. So, a quick workaround is to modify the CSS...

In: album.css

#latestalbumcontainer li

Find:
Code:

height:{vb:math {vb:raw vboptions.attachthumbssize} + {vb:stylevar font.fontSize}*{vb:stylevar line_height}*2 + {vb:stylevar small_fontSize}*{vb:stylevar line_height}*2 + {vb:stylevar padding} / 2};
Replace with:
Code:

height:190px;
190px I've found is ample on my test installation.

Hope this helps in the meantime :)



Addendum:

.albumlist_entry {
float:{vb:stylevar left};
margin-{vb:stylevar left}:{vb:math {vb:stylevar padding} *2 +5};
margin-top:{vb:math {vb:stylevar padding}*2};
padding: 0 {vb:math {vb:stylevar padding}+5} {vb:stylevar padding} {vb:math {vb:stylevar padding}+5};
text-align:{vb:stylevar left};
display:block;
width:{vb:raw vboptions.attachthumbssize}px;
height:{vb:math {vb:raw vboptions.attachthumbssize} + {vb:stylevar font.fontSize}*{vb:stylevar line_height}*2 + {vb:stylevar small_fontSize}*{vb:stylevar line_height}*2 + {vb:stylevar padding} / 2};
overflow:hidden;
border: {vb:stylevar albumlist_entry_border};
background:{vb:stylevar albumlist_entry_background};
-moz-box-shadow: -2px 2px 2px {vb:stylevar shadow_color};
-webkit-box-shadow: -2px 2px 2px {vb:stylevar shadow_color};
}


Alter the line in red to whatever height suits e.g.
height:190px;

abroad 04-10-2010 05:27 AM

does not work with 4.03...

This product is not compatible with version 4.0.3 of vBulletin. (Compatible starting with 4.0.2 / Incompatible with 4.0.3 and greater)

trilogy33 04-10-2010 06:36 AM

Fine under 4.0.3 :D

kaposer 04-10-2010 08:42 AM

May I suggest adding a "Gallery Rules" position to the drop down menu, linking to a posting rules page? Some sites won't accept nudity for exemple, and it should be clearly specified.

Thanks again

conradk 04-10-2010 05:14 PM

Thanks for this.

Videx 04-10-2010 06:04 PM

Feature suggestion: Show random pictures no older than x days.

Problem: Selecting 'new' pictures means the pictures are static with only the same last ~5 pics showing all the time. Selecting 'Random' pics shows pics 5 years old as well as newer pics, with no way to weight the display towards newer pics.

YankForum 04-10-2010 06:39 PM

installed on 4.0.1 and is working great

Farstate 04-10-2010 06:52 PM

Quote:

Originally Posted by abroad (Post 2018742)
does not work with 4.03...

This product is not compatible with version 4.0.3 of vBulletin. (Compatible starting with 4.0.2 / Incompatible with 4.0.3 and greater)

I can confirm this - does not work with 4.03.

To replicate:
  • Upgraded forum to 4.03
  • Tried to install product-gallery-107.xml
  • Error given as above

Farstate 04-10-2010 07:02 PM

Further to my previous post, the following work-around got the gallery mod working:
  1. In product-gallery-107.xml, find line 10 (<dependency dependencytype="vbulletin" minversion="4.0.2" maxversion="4.0.3" />)
  2. Changed 4.0.3 to 4.0.4 (<dependency dependencytype="vbulletin" minversion="4.0.2" maxversion="4.0.4" />)

Vaupell 04-10-2010 07:15 PM

dont need it, but rated 5 stars for being an awsome mod!

good work, tested on dev board, works.

zelnik 04-10-2010 09:47 PM

Getting the following error when trying to install on 4.0.3 :(

The following dependencies were not met:

1. This product is not compatible with version 4.0.3 of vBulletin. (Compatible starting with 4.0.2 / Incompatible with 4.0.3 and greater)

Any help would be appreciated.

wickedstangs 04-10-2010 11:46 PM

Quote:

Originally Posted by Farstate (Post 2019121)
Further to my previous post, the following work-around got the gallery mod working:
  1. In product-gallery-107.xml, find line 10 (<dependency dependencytype="vbulletin" minversion="4.0.2" maxversion="4.0.3" />)
  2. Changed 4.0.3 to 4.0.4 (<dependency dependencytype="vbulletin" minversion="4.0.2" maxversion="4.0.4" />)

Thank You works great...

ferret99gt 04-11-2010 09:23 PM

Seems to have some issues in 4.0.3, pictures and the frames they're set in aren't flush, text is cut off and the pictures extend past their frame. Tested in IE8 and FF3.6

SuperGLS 04-11-2010 09:38 PM

Seems to work fine in 4.0.3 for me with no changes necessary (in Safari 4).

ferret99gt 04-11-2010 09:51 PM

Quote:

Originally Posted by ferret99gt (Post 2019643)
Seems to have some issues in 4.0.3, pictures and the frames they're set in aren't flush, text is cut off and the pictures extend past their frame. Tested in IE8 and FF3.6

Scratch this, this seems to be an error with vBB in general and not the mod. I just did a test upgrade against a clone of my 3.8 forum and maybe that's part of it.

edit: Mostly fixed by rebuilding my attachment thumbnails.

KProjects 04-12-2010 11:44 PM

Thanks! Installed 108 flawlessly on 4.0.3 on http://www.glockforums.org

junaid 04-13-2010 02:22 AM

I have seen my thumbnail too large
from where I can set album picture thumbnail?

trilogy33 04-13-2010 10:26 AM

Quote:

Originally Posted by junaid (Post 2020279)
I have seen my thumbnail too large
from where I can set album picture thumbnail?

ACP>Settings>Options>Message Attachment Options>Thumbnail Size
Set your size (default is 100)

Then run the rebuild...
ACP>Maintenance>Update Counters>Rebuild Attachment Thumbnails

trilogy33 04-13-2010 04:04 PM

My text overflow workaround has been updated today here:
https://vborg.vbsupport.ru/showpost....&postcount=182


All times are GMT. The time now is 02:27 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.02309 seconds
  • Memory Usage 1,851KB
  • 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
  • (5)bbcode_code_printable
  • (19)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