PDA

View Full Version : Add-On Releases - Picture and Album Gallery


Pages : [1] 2 3 4

HCGB
03-09-2010, 10:00 PM
Picture and Album Gallery for vB4


This is a simple mod written out of frustration with the lack of such a basic feature in vb4 (and vb3, etc....) :mad:

Features:
Adds a Gallery drop-down menu to the nav bar OR to the navtab which allows browsing AND searching of all pictures and albums on your site.

The search function searches the album title, album description, picture caption AND username.

Note: If guest permission AdminCP->Usergroups->UserGroup Manager->Unregistered/Not Logged In->Can View Albums is "yes" then they will be able to browse album and picture thumbnails - they may NOT be able to view the full-size pictures. To hide the gallery menu from guest see Settings below.

The gallery and menu is phrased.

Tested with Vbulletin 4.0.2/3 (note: earlier versions have not been tested and are not supported) AND vBadvanced 4 beta1.

Settings:
None are needed - it does what it says on the tin :p.

AdminCP->Options->User Profile:Album Options "Pictures Per Page" and "Albums Per Page" control the number of thumbnails displayed per page in each gallery type.

If you get images overlapping the borders then you have inconsistent thumbnail sizes - you need to:
AdminCP->Maintenance->Update Counters->Rebuild Attachment Thumbnails

If you want to hide the Gallery menu from guests then edit the Gallery navbar (or navtab) popup menu plugin and change $allowguests = from true to false

Installation

Unzip the download package and copy the contents of the UPLOAD folder into your forum folder.
Go to the VB AdminCP->Plugins & Products click "Manage Products". The click "Add/ImportProduct" at the bottom of the page.
Click "Browse" button and point to the product-gallery-(etc).XML file included in this ZIP package.
Click "Import"
Once the gallery import is complete, click "Add/Import Product" again and select EITHER product_gallery_navtab-xxx.xml OR product_gallery_navbar-xxx.xml depending on where you want the gallery menu to appear (navbar or navtab).... all done

Updates

To update from an older version you MUST uninstall the product (admincp->manage products: delete Picture and Album Gallery). Then re-install as above.

v1.08
tested on vb4.0.3
v1.07
Fixed navtab menu - picture and album URLS swapped
Converted navtab/bar into products to make installation easier.
v1.06
Due to popular demand added navtab drop down menu (with help from TimberFloorAu :) (https://vborg.vbsupport.ru/private.php?do=newpm&u=252664))
Cleaned up code and templates
v1.05
Phrased menu items - upgrade is not required unless you use other languages.
v1.04b
fixed database connection issue
deleted unused template from product xml
v1.03b
Changed permissions to allow guests to view thumbnail galleries
Added phrasing for main gallery code.
Removed navbar template - replaced by plug-in code
Changed album display template from albumbit to album_latestbit (it works better!)
Various template mods to clean up display
v1.02b
Wasn't remembering search query between pages.

This is my first "proper" product so comment/criticism/etc is welcome :)

John

haXan
03-10-2010, 11:36 AM
Is there any ScreenShot ? ? ?

archet1337
03-10-2010, 11:47 AM
Installed it as instruced but can't find the options under User Profile:Album Options

Can't see any changes to either navbar nor album.

War.Frog
03-10-2010, 11:51 AM
This looks very interesting...it's ridiculous that this basic feature isn't in vb4. Tagged for install!

starman?
03-10-2010, 11:59 AM
Installed and working except I get a blank screen selecting the 2nd menu item ALBUMS.

cindy helmond
03-10-2010, 12:16 PM
Installed and working except I get a blank screen selecting the 2nd menu item ALBUMS.

me to !!
See ATT

basilrath
03-10-2010, 12:17 PM
"tagged"

This amazes me that one can spend the amount you do on the CMS package and not get a "gallery" etc ........................ looking at the plog ....... it can maybe be inegrated into v4

HCGB
03-10-2010, 01:11 PM
me to !!
See ATT

Do you see the header/footer/etc with nothing in the center or is the entire screen blank?

Double check you have uploaded the albumall.php file to your forum directory?


Installed it as instruced but can't find the options under User Profile:Album Options

Can't see any changes to either navbar nor album.

The options are the standard vb options found in AdminCP->Options->User Profile:Album Options

Check the product is installed properly - there should be a plugin called "Gallery Popup Menu" listed in the plug in manager, There is no change to the album - just a new menu item on the navbar (obviously, if you have a custom navbar template without the correct template hook then it won't work :()

odonel
03-10-2010, 01:13 PM
installed on a test forum, this is great, now i can get rid of photopost for sure... same problem with #6, albums showing blank page

KristerSwe
03-10-2010, 01:54 PM
installed on a test forum, this is great, now i can get rid of photopost for sure... same problem with #6, albums showing blank page

Same here :) other then that i love this THANKS... voted MOTM and installed

HCGB
03-10-2010, 02:03 PM
Same here :) other then that i love this THANKS... voted MOTM and installed

I've just installed it again on a clean vb system and works OK- what version vb are you using?

During the install I noticed that I hadn't set the vb dependencies (fixed now) so you would have been able to install it on pre- 4.0.2 versions - and I haven't tested with them :( so it may not work (the solution is obvious - upgrade!)

Olli2k
03-10-2010, 02:25 PM
Same Problem here, v402: allalbum.php = blank white page.

starman?
03-10-2010, 02:27 PM
I am running 4.0.2. I followed the instructions exactly and checked plug-in manager etc Still get a totally blank screen. Now with at least 3 other members on this board identifying this error there must be something wrong somewhere.

abroad
03-10-2010, 02:28 PM
finally somebody is working on this feature! You are the best!

fiebremarina
03-10-2010, 02:31 PM
White page also here v4.02

alpertunga688
03-10-2010, 02:33 PM
thanks, thats so cool but having same error fix it please

DeMonViTo
03-10-2010, 02:44 PM
Hi, Picture Gallery Work for me.

All Album no. I go to link but have blank screen.

You can check here : http://www.phica.net/forums/albumall.php?

I try reupload xml and file.

Thx for help

HCGB
03-10-2010, 03:13 PM
I get the message :) it will be something simple- it always is!

Unfortunately I haven't been able to duplicate the problem on two different "clean" install test sites - that makes it kinda hard to fix it!

Anyone willing to do some testing for me - nothing tricky, just a matter of uploading a modified script and telling me what it says? PM me if you want to help.

Robru
03-10-2010, 03:21 PM
Very nice mod but I get a white page when click on albumall.php :)

VonDoom
03-10-2010, 03:33 PM
Tagged, cant wait to add this back to my forums Thanks for putting this out there for us.

starman?
03-10-2010, 03:35 PM
I'll help.

starman?
03-10-2010, 03:38 PM
I just downloaded and installed the new version and it now works. No white screen. Thanks very much.

mustang02
03-10-2010, 03:42 PM
Very nice mod but I get a white page when click on albumall.php :)Same here.

Markos
03-10-2010, 03:44 PM
just upgraded works fine for me

starman?
03-10-2010, 03:47 PM
Same here.


Download again and retry

KristerSwe
03-10-2010, 03:58 PM
Confirme here too after the update all works perfect....but

i have a [Suggestion] Language phrases when i run multilang site..
Any planes to upgrade it... ?

This is a must have addon ... Well done "Hat off"

Alien
03-10-2010, 04:04 PM
Is there an option available not to do the auto-edits, if you do not use the built-in vBulletin navigation system?

Or a plug-in I should disable? Once that's resolved, I'll be taking advantage of this immediately!

archet1337
03-10-2010, 04:09 PM
Could someone be kind enough to post the code for the navbar dropdown?

War.Frog
03-10-2010, 04:15 PM
Just installed on my 4.02 PL1 site and it works perfectly. Great mod.

mustang02
03-10-2010, 04:19 PM
Download again and retryInteresting, I did that twice and the third time it worked.

Looks good. Marking as installed.

archet1337
03-10-2010, 04:28 PM
I have uploaded the files to forum root and imported the xml file.

Dropdown menu isn't showing and when I try to access the files directly i get the following messages:

albumall.php
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in [path]/global.php(29) : eval()'d code on line 625

pictureall.php
Page not found

Running 4.0.2 PL1

HCGB
03-10-2010, 04:48 PM
I have uploaded the files to forum root and imported the xml file.

Dropdown menu isn't showing and when I try to access the files directly i get the following messages:

Running 4.0.2 PL1

Sounds like the install isn't correct. Check the plugin manager lists the gallery menu and that the picall.php file is in your forum directory.

HCGB
03-10-2010, 05:18 PM
Confirme here too after the update all works perfect....but

i have a [Suggestion] Language phrases when i run multilang site..
Any planes to upgrade it... ?

Yes, once i work out how to use the phrasing system I'll do it!

Is there an option available not to do the auto-edits, if you do not use the built-in vBulletin navigation system?
Or a plug-in I should disable? Once that's resolved, I'll be taking advantage of this immediately!

There are no edits made to any vb files or templates and only a single hook location is used in the navbar. You could disable the gallery plugi-n and edit the scripts to substitute your own navbar, etc, then call the PHP scripts directly from your own code.

archet1337
03-10-2010, 05:40 PM
Sounds like the install isn't correct. Check the plugin manager lists the gallery menu and that the picall.php file is in your forum directory.
Just to be sure I uninstalled it and installed again. No error. Product Installed.

Both files is in my forum /root

In plugin manager "Gallery popup menu" is listed as active.

Still nothing.. this is weird.

cindy helmond
03-10-2010, 05:46 PM
me to !!
See ATT

thx for update working now !!

Alien
03-10-2010, 05:51 PM
There are no edits made to any vb files or templates and only a single hook location is used in the navbar. You could disable the gallery plugi-n and edit the scripts to substitute your own navbar, etc, then call the PHP scripts directly from your own code.

Hey,

Doesn't the act of calling that hook use resources, or am I mistaken? I'd like a way to disable this mod attempting to use that hook, and just add all the nav links myself manually into my system.

Kolbi
03-10-2010, 06:10 PM
thank you!!!

Works for me...

Perhaps a Tab at the Top could be nice:
Content Forum Gallery

HCGB
03-10-2010, 06:11 PM
I'd like a way to disable this mod attempting to use that hook, and just add all the nav links myself manually into my system.

Disable the Gallery popup menu navbar plug-in in the plug in manager (set Plug in is Active to No) and then add direct links to the gallery PHP scripts in your own navigation e.g. your_forum_home_page_url/albumall.php and your_forum_home_page_url/picall.php.


Just to be sure I uninstalled it and installed again. No error. Product Installed.
Still nothing.. this is weird.

Yes, it is weird :) If the gallery menu isn't appearing in the navbar then the hook location isn't in the navbar template (or the vb system has been severely hacked). try disabling any other nav mods you have.

Kolbi
03-10-2010, 06:12 PM
Perhaps you can phrase your hack because I would like to translate it for me to German :D

horussjr
03-10-2010, 06:13 PM
Perhaps a Tab at the Top could be nice:
Content Forum Gallery

I totally agree. would like nice as a tab instead of a menu in navbar. thx. installed

Kolbi
03-10-2010, 06:20 PM
I have issue then viewing the gallery tab in IE8 as a guest.

sinikuk
03-10-2010, 06:21 PM
I totally agree. would like nice as a tab instead of a menu in navbar. thx. installed

+1 :up:

Jabong82
03-10-2010, 07:17 PM
Works Great for me. Nominated and installed!

Edit: One question, is there any way to get it so that the username who posted the photo/album will appear on this as opposed to just the album titles themselves?

Thank you!

Kolbi
03-10-2010, 07:31 PM
Perhaps an additional function could be sorting the pictures sorted by last comment?

abroad
03-10-2010, 08:35 PM
Cant see the Albums when I am not registered. Get this message:
No User specified. If you followed a valid link, please notify the administrator

starman?
03-10-2010, 08:56 PM
Interesting, I did that twice and the third time it worked.

Looks good. Marking as installed.

The product has been updated 3 times now I think. If you missed the notification then it wasn't obvious without a bug fix list, which is there now.:up:

oddmud
03-10-2010, 09:09 PM
It works just perfectly. No blank page for me.

woffie
03-10-2010, 09:16 PM
Works great!

kho91
03-10-2010, 09:33 PM
its work for me but all url in the drop down menu are desactivate for the guest

Alien
03-10-2010, 09:36 PM
Disable the Gallery popup menu navbar plug-in in the plug in manager (set Plug in is Active to No) and then add direct links to the gallery PHP scripts in your own navigation e.g. your_forum_home_page_url/albumall.php and your_forum_home_page_url/picall.php

Brilliant! Thanks SO much for this much needed modification, I plan to take it online tonight as a matter of fact.

jhabers
03-11-2010, 12:12 AM
sweet!!!

can you put a break here like this

Pictures:5Last
Picture:01-10-2010

to

Pictures:5
Last Picture:01-10-2010

or possibly replace or add the owner of the album to the preview?

Great work!

jhabers
03-11-2010, 12:19 AM
Dropdown looks to be broke when not logged in, using IE8

VonDoom
03-11-2010, 12:35 AM
Installed, tested, rated and nominated. Great work. Thanks for this very useful product.

ssslippy
03-11-2010, 12:55 AM
attached is a PLUGIN to cache the template.

claystation
03-11-2010, 01:48 AM
This is really awesome, there are albums that I didn't even know existed on my board and they are great! I do have a problem though, my thumbnails are bigger then the white background box behind them and the text that goes with the pictures gets cut off?

pjcnlv
03-11-2010, 02:16 AM
Just need that nice pulldown menu in the navbar tabs.

Alien
03-11-2010, 03:00 AM
I do have a problem though, my thumbnails are bigger then the white background box behind them and the text that goes with the pictures gets cut off?

This modification just pulls CSS the way vBulletin does the album templates by default (which is pretty nasty right now IMHO). It's not the fault of this mod.

If you want to make some adjustments, these two values will probably help point you in the right direction. Use values you want, then just stick them in your additional.css template so they override built-in values:

.albumlist_entry
#thumbnails li .picture

As an example only, mine are currently set to:

.albumlist_entry {
float:left;
height:200.04px;
margin-bottom:20px;
margin-left:25px;
margin-top:20px;
padding:0 15px 10px;
text-align:center;
width:150px;
}
#thumbnails li .picture {
display:block;
height:150px;
padding:10px;
width:150px;
}

kevinfx
03-11-2010, 04:17 AM
Cant see the Albums when I am not registered. Get this message:
No User specified. If you followed a valid link, please notify the administrator

Me too, unable to view any links from Gallery dropdown as guess

HCGB
03-11-2010, 07:09 AM
..... my thumbnails are bigger then the white background box behind them and the text that goes with the pictures gets cut off?

If you upgraded from vb3 OR changed your attachment thumbnail size then you need to:

AdminCP->Maintenance->Update Counters->Rebuild Attachment Thumbnails


v1.03b fixes the layout problems Alien and others have noticed. You can also now control whether unregistered users can see the gallery menu (see first post) and view the thumbnail galleries.

x626xblack
03-11-2010, 12:06 PM
Thanks! Installed! 5 Stars! MOTM! Finally!

Works GREAT!

x626xblack
03-11-2010, 12:10 PM
Use this in conjuction with this add on and you have a tab that takes you directly to albums instead of having to use the drop down.

https://vborg.vbsupport.ru/showthread.php?t=228507&highlight=Tabs.

My site has both running and it works great
www.gamergodz.com click the albums tab

mustang02
03-11-2010, 01:36 PM
Me too, unable to view any links from Gallery dropdown as guess
It would be nice if the links worked so a guest could see them. I too get the same error.

No User specified. If you followed a valid link, please notify the administrator

Markos
03-11-2010, 02:13 PM
great mod is there anyway to get it up on the navar where it says home and forum on your screen shot ?

HCGB
03-11-2010, 02:19 PM
great mod is there anyway to get it up on the navar where it says home and forum on your screen shot ?

Posts #38 and #61 show one way to do it (there are many!).

Markos
03-11-2010, 02:48 PM
thanks that did the trick :)

VonDoom
03-11-2010, 02:53 PM
Thanks for the update great work again

PixelFx
03-11-2010, 03:08 PM
would it be possible for you to add child style support to albums? And or be able to add something to exclude albums per style, or is that out of the scope of your mod?

oddmud
03-11-2010, 03:35 PM
Updated, love it.

Reef Man
03-11-2010, 07:53 PM
Worked perfect for me on 4.0.2 PL1

HCGB
03-11-2010, 08:37 PM
would it be possible for you to add child style support to albums? And or be able to add something to exclude albums per style, or is that out of the scope of your mod?

I've no idea what you're talking about I'm afraid! If you give me a link to something that explains the issue I'll take a look at it (can't find anything in any vB docs - no surprise there :))

MooseMoney
03-11-2010, 11:04 PM
Works perfectly!
Thank you so much!

kevinfx
03-11-2010, 11:51 PM
i just installed the latest version and got this:

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'nobody'@'localhost' (using password: NO) in [path]/picall.php on line 110

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in [path]/picall.php on line 110

ImmortalForums
03-12-2010, 01:17 AM
I realized I missed some templates in the cache call. Here it is attached please include this in your future products. You have 5 uncached templates.

Bojangles
03-12-2010, 03:57 AM
Great mod! It works.. but I am having an issue with the formatting of the pictures and albums. Please see the screenshot below:

https://vborg.vbsupport.ru/ (http://img411.imageshack.us/i/oddformating.png/)

I upped the max limit of displayed pictures and albums to 30 to try to compensate and fix it because it wasn't working with the default 10/25.

Do you have any suggestions? Thanks!

HCGB
03-12-2010, 07:57 AM
Great mod! It works.. but I am having an issue with the formatting of the pictures and albums.
...
Do you have any suggestions? Thanks!

It look like the thumbnails might be different sizes - try AdminCP->Maintenance->Update Counters->Rebuild Attachment Thumbnails

I note you are running vb 4.0.1 - this mod has only been tested on 4.0.2 :)

XManuX
03-12-2010, 08:15 AM
I wanted to give a bigger emphasis on the gallery, thus displaying the link in the main navbar, not in the "forum" sub-bar.

Here are the modifications in the navbar template :

Find:
{vb:raw template_hook.navtab_end}
Add Below:

<vb:if condition="!$vboptions['selectednavtab'] AND (THIS_SCRIPT == 'albumall' OR THIS_SCRIPT == 'album' OR THIS_SCRIPT == 'picall')">
<vb:if condition="$show['member']">
<li class="selected"><a class="navtab" href="albumall.php?{vb:raw session.sessionurl}">Gallery</a>
<ul class="floatcontainer">
<li><a href="picall.php?{vb:raw session.sessionurl}">Picture Gallery</a></li>
<li><a href="albumall.php?{vb:raw session.sessionurl}">Album Gallery</a></li>
<li><a href="album.php?{vb:raw session.sessionurl}do=latest">Latest Albums</a></li>
<li><a href="album.php?{vb:raw session.sessionurl}u={vb:raw userinfo.userid}">My Albums</a></li>
<li><a href="album.php?{vb:raw session.sessionurl}do=addalbum">Add Albums</a></li>
</ul>
<vb:else />
<li class="selected"><a class="navtab" href="albumall.php?{vb:raw session.sessionurl}">Gallery</a>
<ul class="floatcontainer">
<li><a href="picall.php?{vb:raw session.sessionurl}">Picture Gallery</a></li>
<li><a href="albumall.php?{vb:raw session.sessionurl}">Album Gallery</a></li>
<li><a href="album.php?{vb:raw session.sessionurl}do=latest">Latest Albums</a></li>
</ul>
</vb:if>
<vb:else />
<li><a class="navtab" href="albumall.php?{vb:raw session.sessionurl}" >Gallery</a>
</vb:if>


Find:

<vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT != 'search'">

Replace With:
<vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT != 'search' AND THIS_SCRIPT != 'albumall' AND THIS_SCRIPT != 'album' AND THIS_SCRIPT != 'picall'">

Done.

Note: the addition in navbar could be easily coded as a hook on navtab_end, not sure that the replacment could be achieved in a "clean" way (ie : not altering the navbar template)

HCGB
03-12-2010, 08:52 AM
i just installed the latest version and got this:

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'nobody'@'localhost' (using password: NO) in [path]/picall.php on line 110

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in [path]/picall.php on line 110

Those are database connection errors and nothing to do with this mod.


I realized I missed some templates in the cache call. Here it is attached please include this in your future products. You have 5 uncached templates.

The templates defined as $globaltemplates ARE cached by global.php - an extra plug-in isn't needed - unless I've missed something?

kevinfx
03-12-2010, 03:44 PM
HCGB,
i understand, but do you have any ideas what's causing that since the whole forum is working perfectly and i'm not getting that error anywhere else?

Kolbi
03-12-2010, 03:48 PM
Little issue: The template gallery_navbar is still there. Shouldn´t it be deleted?

HCGB
03-12-2010, 06:01 PM
HCGB,
i understand, but do you have any ideas what's causing that since the whole forum is working perfectly and i'm not getting that error anywhere else?

Little issue: The template gallery_navbar is still there. Shouldn?t it be deleted?

Both fixed (hopefully :)) in latest version (v1.04b).

War.Frog
03-12-2010, 06:10 PM
Both fixed (hopefully :)) in latest version (v1.04b).

Does this update require uninstall?

HCGB
03-12-2010, 06:13 PM
Does this update require uninstall?

Yep! Both product AND PHP files - I've added to update notes thanks!

War.Frog
03-12-2010, 06:16 PM
Yep! Both product AND PHP files - I've added to update notes thanks!

Thanks for the quick reply HCGB!

Markos
03-12-2010, 06:46 PM
is there anyway to get it to show more albums in one page instead of 10

HCGB
03-12-2010, 07:32 PM
is there anyway to get it to show more albums in one page instead of 10

Yep - read the first post:o
Settings:
AdminCP->Options->User Profile:Album Options "Pictures Per Page" and "Albums Per Page" control the number of thumbnails displayed per page in each gallery.

Markos
03-12-2010, 08:18 PM
Yep - read the first post:o


thanks mate i mist that :)

MrToasty
03-13-2010, 05:29 AM
A VERY big thankyou for releasing this script, as I've been waiting for a replacement for all albums for some time! :)

SuperGLS
03-17-2010, 01:41 AM
Very cool, thanks!

Blain
03-17-2010, 01:56 AM
Just wanted to shout out my thanks for this flipping fantastic mod!

Dr.osamA
03-17-2010, 05:49 AM
thanxxx

i waited for it

installed + 5 stars + nominated + translated to Arabic

pzz add it to original post

MrBig
03-17-2010, 07:19 AM
"tagged" Good Job :]

Midas3
03-17-2010, 03:08 PM
This is a great idea (why the heck is this not standard????)

I would like to see it represented slightly differently however, is it possible to have it so instead of how it is in this image:

https://vborg.vbsupport.ru/attachment.php?attachmentid=113797&d=1268228767

For "Gallery" to appear next to forum in the light blue nav bar , then for all the sub menu options of gallery, such as Picture Gallery, Albums , latest albums etc to appear in the dark blue nav bar below which in the image linked above currently contains "help,calender, new post" etc.

Thanks.

EDIT : Never mind found this which looks like it could do it:
https://vborg.vbsupport.ru/showthread.php?t=233629

buddyheiko
03-17-2010, 04:31 PM
works great. Thanks.

How can I put "Gallery" on my own navbar below the original one ?

http://www.forum-spielmannszug.de/forum.php

Heiko

Cybeth
03-18-2010, 03:19 PM
Wie works great. Der Galerie Link springt in den verschiedenen Browser hin -und her.

Im Opera am meisten.

Das sind die kleinen Schönheitsfehler, die keiner sieht.

cad2go
03-18-2010, 07:37 PM
Top Class. Thanks. It's working beautifully on my local install.

Latest picture comments is something I get asked a lot about. Any plans for that in future releases?

alfanexus
03-19-2010, 01:38 PM
Thank you so much. :)

Yes this should be a default thing in VB!!!!!!!

spider62
03-19-2010, 03:26 PM
GREAT ! work 4.0

jmfemedia
03-19-2010, 07:25 PM
I am having problems with this.

I am logged in as an administrator with all the appropriate setting but I get the following when I click on add albums

Ok, I added it to a fresh install that I did on another test board and it worked perfect but there is NO difference at all in the way the usergroups are done (apart from the name)

HCGB
03-19-2010, 07:43 PM
I am having problems with this.

I am logged in as an administrator with all the appropriate setting but I get the following when I click on add albums

The "add albums" option is just a link to the standard vbulletin script "album.php" - same as if you click the "Create new Album" button on your profile album page. Try the button in your profile and you will find it does exactly the same thing

jmfemedia
03-19-2010, 07:47 PM
I am a total f'in tool...

I forgot to switch the albums on in the options thats why it was not working.

I am sorry for wasting your time...

Webbstre
03-20-2010, 04:16 AM
I have just downloaded and installed the files in vb4 Gallery104b.zip. If I manually type in the albumall.php page it loads, but there is no change in the menu anywhere. I definitely imported the product file correctly, but still, no menu.

deadbolt80
03-20-2010, 07:22 AM
Just installed in 4.0.1 and works beautifully.

Thank you!

HCGB
03-20-2010, 07:51 AM
I have just downloaded and installed the files in vb4 Gallery104b.zip. If I manually type in the albumall.php page it loads, but there is no change in the menu anywhere. I definitely imported the product file correctly, but still, no menu.

Check that the plugin appears in the list in AdminCP->Plugins & Products->Plugin Manager. If it does then the navbar template hook must be missing in your vb installation (are you using a modified navbar template?).

Webbstre
03-20-2010, 09:13 AM
Check that the plugin appears in the list in AdminCP->Plugins & Products->Plugin Manager. If it does then the navbar template hook must be missing in your vb installation (are you using a modified navbar template?).

It's in the plugin manager, but you are probably on to something with the template hook thing. I haven't manually changed the default navbar template, but could another add-on have modified it for me? This is what is in my list right now:
vBulletin 4.0.2
Automatic Tagger From Content and Title 4.4.0 Automatically adds tags to according to message content, title and already existing tags in forum.
DownloadsII 6.0.3 A downloads mod for vBulletin
Evisystems Latest files forum block 0.5 Shows lastes files from downloads II
Extend your Blocks 1.0 Beta 1 ...
Lastest five downloads widget 1.4 widget with lastest five downloads
microMEMBERS 4.2.1 Memberlist replacement
Most popular downloads 1.3 Widget with most popular downloads
New Album Picture Forum Home 1.0
PHPKD - Advanced Quick Reply 'Ultimate' 4.0.100 This product extends 'Quick Reply' functionality to allow all "Advanced Editor mode" options [ All Built-In BBCodes / Smilie Box / Smilie Menu / Attachments ] (with full control from AdminCP).
Picture and Album Gallery 1.04 Picture and Album Gallery vb4
Postbit Last Online Date And Time 1.0.0 Show users last online activity date and time to postbit
Spiders in WGO 1.0 Show Spiders In Whats Going On Box
Tabbed Forum Home 4.0.0 Beta 1 This product allows for you to work in YUI tabs into your forum home and have AJAX calls to load the information.
Use Original Thread for Comments 4.0-0.1 a2 When a thread is promoted from the forum to the CMS, this mod makes the CMS use the original thread for the comments.
VaultWiki 3.0.0 Beta 6 A fully-functional wiki for vBulletin.
vBulletin Blog 4.0.2 Personal web log, integrated with vBulletin.
vBulletin CMS 4.0.2 Content Management System
VSa - Advanced Registration 2.0.1 VSa - Advanced Registration
VSa - ChatBox 3.1.6 VSa - ChatBox
VSa - Login To User Account 3.0.5 VSa - Login To User Account

Kat00
03-20-2010, 10:09 AM
Brilliant.

iadventure
03-20-2010, 05:37 PM
I have thumbnails set to 600 on my forum, Because of this, when viewing image galleries they overlap. Is there a way to re-define the thumbnail size just for this mod so it show properly?

Videx
03-20-2010, 05:50 PM
I don't know, but 600 is hardly a thumbnail. Don't you test your layouts on the lowest common denominator - like a 1024X768 laptop screen? One of your 'thumbnails' would fill half my screen! And then there's netbooks at maybe 1024X600. It doesn't sound like you're thinking this through.

HCGB
03-20-2010, 06:33 PM
It's in the plugin manager, but you are probably on to something with the template hook thing. I haven't manually changed the default navbar template, but could another add-on have modified it for me? This is what is in my list right now:

I am not familiar with any of these plugins. If you check the plugin code for each one you will see which template hook it uses ($template_hook[something_or_other]). Check for $template_hook[navbar_after_getnew]. More than one plugin can use the same hook location provided each appends its output to the hook variable.

You could try changing the gallery hook location to $template_hook[navbar_start], $template_hook[navbar_after_pm], $template_hook[navbar_after_faq] or $template_hook[navbar_after_calendar] which will move it to a different position in the menu.

HCGB
03-20-2010, 06:44 PM
I have thumbnails set to 600 on my forum, Because of this, when viewing image galleries they overlap. Is there a way to re-define the thumbnail size just for this mod so it show properly?

Err... no. Browser image resizing would significantly increase page load time. The sites I run have the full images resized to 800 on upload (thumbnails at 120) - there isn't much benefit in having a higher resolution for the vast majority of users. I would suggest you re-size thumbnails to 100-150 (the size of your thumb :)).

pjaco
03-20-2010, 09:52 PM
Thanks

hotslot
03-20-2010, 11:29 PM
Some reason this plugin does not allow guest to view albums or pictures.

Videx
03-20-2010, 11:39 PM
My guests can see them. Perhaps those are private albums? Or you have guest permissions to view albums turned off? AdminCP>Usergroups>Usergroup Manager>Not Logged In>User Album Permissions

Webbstre
03-21-2010, 02:08 AM
Just an Update: I figured out what my problem was: I kept searching for a tab instead of a sub-menu. I ended up using this mod to put in a tab:
https://vborg.vbsupport.ru/showthread.php?t=233629

However, I want to make my own submenus for the Gallery pages. Is there any way to do this?

Edit:
Ok, I see now that even if I make a tab that says Media and link it to the album display in this mod, it still highlights the forum tab. I guess I'd need to know how to change it to highlight the Media tab and use the custom submenus I created via the add-on I listed earlier in this post.

hotslot
03-21-2010, 02:11 AM
My guests can see them. Perhaps those are private albums? Or you have guest permissions to view albums turned off? AdminCP>Usergroups>Usergroup Manager>Not Logged In>User Album Permissions


Thank YOU!

Cybeth
03-21-2010, 05:06 PM
Hi,

sorry for my bad english :D

Question

How can I add the link here ago?

which code (Gallery) for the navbar?


Thanks

HCGB
03-21-2010, 06:03 PM
Hi,

sorry for my bad english :D

Question

How can I add the link here ago?

Thanks

Edit the Gallery menu plugin code and, on the last line
.... change navbar_after_getnew to navbar_end

Cybeth
03-21-2010, 07:42 PM
Edit the Gallery menu plugin code and, on the last line
.... change navbar_after_getnew to navbar_end
Thanks https://vborg.vbsupport.ru/external/2010/03/9.gif

SuperGLS
03-21-2010, 10:10 PM
Edit the Gallery menu plugin code and, on the last line
.... change navbar_after_getnew to navbar_end

Oh cool, thanks! I put mine after the Calendar link. Thanks again.

Larry523
03-22-2010, 05:10 AM
Is there a (relatively) easy way to get the Gallery link to show up in the navbars for the CMS and Blogs sections and not just Forums? Guess I need to learn coding since I'm running into this with lots of mods for vB4.

HCGB
03-22-2010, 07:37 AM
Is there a (relatively) easy way to get the Gallery link to show up in the navbars for the CMS and Blogs sections and not just Forums? Guess I need to learn coding since I'm running into this with lots of mods for vB4.

I can't see an easy way to add it to those versions unless it's added as a tab (see posts above) rather than a drop down menu.

AnabolicResourc
03-22-2010, 05:57 PM
Great hack, thanks !

TimberFloorAu
03-22-2010, 07:54 PM
Could you code this so that Menu is in Navbar not sub menu below it.

If not I dont mind doing it, and just disabling your menu hook in product

oddmud
03-22-2010, 10:12 PM
This isn't working on Internet Explorer for me. Only in firefox. It displays the thumbnail, but the picture itself is blank.

jmfemedia
03-23-2010, 07:24 PM
is there anyway to make it so that in the admin panel you create the album names etc and that each member/usergroup can put the images into a "public" gallery rather than having galleries for individual members?

hohleweg
03-24-2010, 07:34 AM
Hi
Can i ses it on a live forum?
Greetings Jo

mobe00
03-24-2010, 08:30 AM
still my unregistered user cant see the gallery. Even thou i set the user permission for them to view albums..something strange here ? anyone ?

mobe00
03-24-2010, 08:43 AM
Also did a change in the template gallery_navbar so the unregistered users dont see the options My Albums and Add New Albums, since those are of no use for them.

<li class="popupmenu">
<a href="javascript://" class="popupctrl" accesskey="99">Gallery</a>
<ul class="popupbody popuphover">
<vb:if condition="$show['member']">
<li><a href="picall.php?{vb:raw session.sessionurl}">Picture Gallery</a></li>
<li><a href="albumall.php?{vb:raw session.sessionurl}">All Albums</a></li>
<li><a href="album.php?{vb:raw session.sessionurl}do=latest">Latest Albums</a></li>
<li><a href="album.php?{vb:raw session.sessionurl}u={vb:raw bbuserinfo.userid}">My Albums</a></li>
<li><a href="album.php?{vb:raw session.sessionurl}do=addalbum">Add New Album</a></li>
<vb:else />
<li><a href="picall.php?{vb:raw session.sessionurl}">Picture Gallery</a></li>
<li><a href="albumall.php?{vb:raw session.sessionurl}">All Albums</a></li>
<li><a href="album.php?{vb:raw session.sessionurl}do=latest">Latest Albums</a></li>
</vb:if>
</ul>
</li>

HCGB
03-24-2010, 04:01 PM
is there anyway to make it so that in the admin panel you create the album names etc and that each member/usergroup can put the images into a "public" gallery rather than having galleries for individual members?

No - this mod uses the vB albums system. Users can create and add to as many albums as they wish or they can use common group albums.

Hi
Can i ses it on a live forum?
Greetings Jo
Look at any of the forums marked "installed" in this thread :p

still my unregistered user cant see the gallery. Even thou i set the user permission for them to view albums..something strange here ? anyone ?

You are using an out-of-date version - the navbar template is no longer included . Please upgrade

Nurofen
03-24-2010, 06:13 PM
Is there anything like this for v3.8?

nofx1982
03-24-2010, 06:59 PM
there will be a release with rating images?

TimberFloorAu
03-24-2010, 10:05 PM
Hey John.

I shot thru that code for you, hope you got it ok. :)
I guessed at your email, as the one in pm you sent was wrong ! you dillpickle ;)

Regards Ste

Rayiw
03-25-2010, 03:47 AM
Hi ,

Does your product support a slideshow of an album?

Thanks
Rayiw:)

HCGB
03-25-2010, 07:25 AM
Is there anything like this for v3.8?
Yes, but it only does albums - https://vborg.vbsupport.ru/showthread.php?t=172215&highlight=all+albums

there will be a release with rating images?
Not until vB support picture rating :)

Hey John.
I shot thru that code for you, hope you got it ok. :)
I guessed at your email, as the one in pm you sent was wrong ! you dillpickle ;)
Regards Ste
Thanks Steve - sorry about the email typo. I'll get it sorted today (hopefully :) )
Hi ,
Does your product support a slideshow of an album?
Rayiw:)
No - it links to the normal album viewer in vB

Bill_Reilly
03-26-2010, 07:02 PM
HAHAHA this is perfectly what I needed. This plugin just eliminated 17 trillion complaints in my inbox LOL

Verionia
03-26-2010, 08:29 PM
Can you put categories in this pretty please :)

taxick
03-27-2010, 11:52 AM
Thanks

ShawnV
03-27-2010, 03:26 PM
In 106 sub-menu,

The links for Album and Picture gallery's are backwards, album link takes you to pic and pics link takes you to albums.

Also, what class or stylevar are you using for the hover-over highlight?

HCGB
03-27-2010, 04:45 PM
In 106 sub-menu,

The links for Album and Picture gallery's are backwards, album link takes you to pic and pics link takes you to albums.

Also, what class or stylevar are you using for the hover-over highlight?

Yep- the links in the navtab are backward - the navbar is OK though. I'll upload a new version later :o

The navTab popup uses the same style as the navBar popup. There are no navTab popumenu stylevars so I've used the popupmenu popuphover class with navbar_tab_linkhover_color and navbar_tab_font to keep it consistent with the other menus. Unless anyone has any better ideas?

Lore Master
03-27-2010, 06:46 PM
Installed, thanks, works well. :)

As I'm not fond of a drop down in Nav Tabs, I wrote a new plugin and added a new template so that the Gallery Nav Tab works like the other Tabs. I also did a check so that a user in Albums will still highlight my Gallery Tab instead of the Forums Tab.

You can see it here: www.reawebservices.com/reaforum/

(new forum, no members yet, with a test album for ummm testing :p ). The My Albums I converted into a drop-down with View My Albums, and Add New Albums. Guests can not view that in the navbar.

svandanam
03-27-2010, 10:00 PM
Thank you for the mod !!

ShawnV
03-28-2010, 12:50 AM
Yep- the links in the navtab are backward - the navbar is OK though. I'll upload a new version later :o

The navTab popup uses the same style as the navBar popup. There are no navTab popumenu stylevars so I've used the popupmenu popuphover class with navbar_tab_linkhover_color and navbar_tab_font to keep it consistent with the other menus. Unless anyone has any better ideas?


Groovy, thanks.

I meant to say, (lack of coffee) what class or stylevar is used for the picture and album mouse over highlight background, not the navigation.

HCGB
03-28-2010, 09:53 AM
I meant to say, (lack of coffee) what class or stylevar is used for the picture and album mouse over highlight background, not the navigation.

The album thumbnails use the vB album_latestbit template (class albumthumbcontainer) and the picture thumbnails use the picture class.

Monty NC
03-28-2010, 01:37 PM
Installed, thanks, works well. :)

As I'm not fond of a drop down in Nav Tabs, I wrote a new plugin and added a new template so that the Gallery Nav Tab works like the other Tabs. I also did a check so that a user in Albums will still highlight my Gallery Tab instead of the Forums Tab.

You can see it here: www.reawebservices.com/reaforum/



That's perfect - would you be willing to share the code you used?

Lore Master
03-28-2010, 02:28 PM
That's perfect - would you be willing to share the code you used?

I'll post the steps in this thread if the owner of the Mod doesn't mind. He can freely include the code and update it to if he chooses.

I defaulted the tab to use picall.php as that is the one that makes most sense for me to use.

The options (links) that are displayed below the tab, regardless if you are viewing albums or pictures are:

Picture Gallery Album Gallery Latest Albums My Albums (drop down -> View My Albums, Add Album). I didn't phrase the word View as I was only planning to use it on my site and seen no need.

Bojangles
03-29-2010, 04:25 AM
It look like the thumbnails might be different sizes - try AdminCP->Maintenance->Update Counters->Rebuild Attachment Thumbnails

I note you are running vb 4.0.1 - this mod has only been tested on 4.0.2 :)

I recently updated to 4.0.2 PL4 and also the the 1.0.7 version of this mod, and the problem has been resolved.

Thanks again for an awesome mod!

yellowpinky
03-30-2010, 11:33 AM
Installed, thanks, works well. :)

As I'm not fond of a drop down in Nav Tabs, I wrote a new plugin and added a new template so that the Gallery Nav Tab works like the other Tabs. I also did a check so that a user in Albums will still highlight my Gallery Tab instead of the Forums Tab.

You can see it here: www.reawebservices.com/reaforum/

(new forum, no members yet, with a test album for ummm testing :p ). The My Albums I converted into a drop-down with View My Albums, and Add New Albums. Guests can not view that in the navbar.

Can you provide the code for this?

--------------

Or author, please change Tabs to work like this.
Gallery tab should not have a drop down arrow. Gallery sub-menu items should be presented on the line below, like how all the other tabs operate.

Also, as it is today, the Gallery tab formats too wide in IE 8, formats ok in Chrome.

HCGB
03-30-2010, 01:12 PM
Can you provide the code for this?
Or author, please change Tabs to work like this.
Gallery tab should not have a drop down arrow. Gallery sub-menu items should be presented on the line below, like how all the other tabs operate.

Also, as it is today, the Gallery tab formats too wide in IE 8, formats ok in Chrome.

The gallery is a drop down because it doesn't point to a single page - you need to make a selection. It's impossible to provide plugin code for every type, style and position of menu layout - if you don't like either of the options provided then write your own OR look around this site for the menu mods (there are quite a few).

The Tab plugin supplied with the mod works fine with IE8 :)

DieselMinded
03-30-2010, 11:25 PM
all the information dont fit on the photos

see

http://www.boerboelsonline.com/picall.php?

TimberFloorAu
03-30-2010, 11:43 PM
all the information dont fit on the photos

see

http://www.boerboelsonline.com/picall.php?

No point posting a link to a forum that requires registration !

HCGB
03-31-2010, 02:03 PM
all the information dont fit on the photos

see

http://www.boerboelsonline.com/picall.php?

If it's the images that are overflowing try:
AdminCP->Maintenance->Update Counters->Rebuild Attachment Thumbnails

kaposer
04-01-2010, 12:32 PM
This is a great Mod, thank you much. I've been waiting for this a loooong time. I've choosed to add the dropdown menu to navbar and added a new button on the navtab that links to picall.php, so you can go to gallery directly or find more options if you need something specific. The search function is great

I get swapped links on the dropdown menu tho, Picture Gallery links to albumall and Album Gallery links to picall, aren't they supposed to be otherwise?

Now all I need for my gallery is an option to center pictures, I'm running at 1024 maxWidth and if I post a picture larger than 1024 it doesn't get centered

Voted for MOM!

HCGB
04-01-2010, 12:59 PM
I get swapped links on the dropdown menu tho, Picture Gallery links to albumall and Album Gallery links to picall, aren't they supposed to be otherwise?

Thanks for the vote :)

Download the latest version (1.07) - it fixed the swapped link problem.

aberg
04-02-2010, 02:13 PM
Thanks for share this.
It's very nice to have this on the navbar.
Albums are difficult to find and with this mod it is very easy

kylek
04-02-2010, 08:44 PM
Thank you!! marked installed, rated, and voted for MOTM.

Dr.osamA
04-03-2010, 01:24 AM
Updated

thank you agen

NashChristian
04-03-2010, 03:53 AM
Great Mod! Thanks for sharing!

One problem though... I just installed, tried both nav structures, didn't like the drop down tab (would prefer a regular tab to album all and then navbar drop down for the rest). Anyhow, that's not my one problem, but rather my one wish. Here is my one problem, when I installed the navbar nav, it disappears (the navigation) on the albumall.php, which means once a user gets to that page, there is NO way to navigate your product. They have to go back to the Forum, and then begin navigation again. (To clarify, the entire "forums" navbar disappears on the albumall.php, not just the nav for your gallery.)

Is there some way I can fix this? I know that I've seen other sites that use your mod without this issue, I don't know if this is due to the new plug-in installation, or ??? Bothersome though... lol. Thanks again for sharing, and let me know Santa's address so I can mail that WISH to him! ;)

NashChristian
04-03-2010, 06:01 AM
Reinstalled the drop-down tab, and now noticed that it doesn't have an "active" state. Hmmm... guess the navbar is best, if I can get it to show up on the albumall.php.

NashChristian
04-03-2010, 06:06 AM
This is a great Mod, thank you much. I've been waiting for this a loooong time. I've choosed to add the dropdown menu to navbar and added a new button on the navtab that links to picall.php, so you can go to gallery directly or find more options if you need something specific.

Hey there,

How did you add the tab button? I would be interested in this, in conjunction with the navbar. Sounds like what I'm looking for. Please share...

:D Thanks!~

HCGB
04-03-2010, 08:11 AM
.....
Is there some way I can fix this? I know that I've seen other sites that use your mod without this issue, I don't know if this is due to the new plug-in installation, or ???

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 :)

badawidollah
04-03-2010, 09:13 AM
working on my vb402

thanks alot
you help me so much

NashChristian
04-03-2010, 09:56 AM
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
...
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
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 (https://vborg.vbsupport.ru/showthread.php?t=228507) 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
Yeah, I tried adding it through the NavTab mod (https://vborg.vbsupport.ru/showthread.php?t=228507) 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:
<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
The template conditional you need to activate the tab will be something like:
<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
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:
<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
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
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
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
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
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
@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"115474

Verionia
04-09-2010, 01:35 PM
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
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 (https://vborg.vbsupport.ru/forumdisplay.php?f=30) .


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
@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"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:
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:
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
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:

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

In product-gallery-107.xml, find line 10 (<dependency dependencytype="vbulletin" minversion="4.0.2" maxversion="4.0.3" />)
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
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
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.php?p=2018432&postcount=182

StarBuG
04-15-2010, 12:51 PM
Does this mod respect the user settings "private" and "public" when displaying albums and pictures?

Great mod *clicks install*

HCGB
04-15-2010, 01:09 PM
Does this mod respect the user settings "private" and "public" when displaying albums and pictures?

Yes. With one exception - guests can view thumbnails if their permission canviewalbums is Yes (the default vB behaviour is to disallow guests from viewing thumbnails - in either case they will not be able to view the full-size images)

Reef Man
04-15-2010, 01:16 PM
I upgrade yesterday to 4.0.3 and it works as always.

Fraggs
04-16-2010, 07:33 AM
I recently lowered the attachment thumbnail size on my forums as they were just too big. After resetting the counters, the images were properly affected in the gallery. However, while viewing the albums, the div frames around the thumbnails never changed. So now I have giant boxes with little thumbnails in them. Where would one go to change that? Based on the CSS I'd be willing to bet it's in the default vB code somewhere, just no clue where.

trilogy33
04-18-2010, 10:09 AM
I recently lowered the attachment thumbnail size on my forums as they were just too big. After resetting the counters, the images were properly affected in the gallery. However, while viewing the albums, the div frames around the thumbnails never changed. So now I have giant boxes with little thumbnails in them. Where would one go to change that? Based on the CSS I'd be willing to bet it's in the default vB code somewhere, just no clue where.

Have a look at mine: http://www.mx5nem.org.uk/albumall.php?
My thumbnail pics are set to 100x75 which for me are ample enough.

Can you add a screenshot or link to your public albums? I may be able to help out here.
Other than that, uninstall and reinstall the product to see if that resets the dimensions.

brown12321
04-19-2010, 07:21 PM
Can you have sub albums
For Example:

Cars
- Sedans
- etc...
- etc...

basilrath
04-21-2010, 12:42 AM
This is a great addon and i used it but ive noticed the plog pro is out on vb4 (i aint promoting it) just giving people a little information as i put iit on my site (http://www.tabletennistalk.co.uk/forum/forum.php)although it costs 20quid or so its a good product.

This however remains a great free addon so just food for thought for people thats all

nishant.soni
04-21-2010, 05:52 AM
I got 2 questions:

1. I own a forum about hollywood+bollywood, so i need a picture gallery where there would be a cover page of "angelina jolly" and when someone clicks on it, they'd be taken to the actual gallery, possible to do?

2. I checked one of the forums that had this plugin, isnt there any "next,previous" button?

Thanks.

wacodep
04-21-2010, 12:44 PM
Installed & nominated for MOTM!

Works great on 4.0.3.

brown12321
04-22-2010, 12:34 PM
Another bug I see is when you select on an option on the navbar, you get the Forum tab as selected. You can select Album Gallery, Picture Gallery, add album, etc and the Gallery tab will never be selected.... Is there a way to fix this?

HCGB
04-22-2010, 01:43 PM
So now I have giant boxes with little thumbnails in them. Where would one go to change that? Based on the CSS I'd be willing to bet it's in the default vB code somewhere, just no clue where.

The vB CSS dynamically calculates the div size using the current admincp thumbnail dimensions - unless you've messed with the CSS as a previous poster suggested?

I got 2 questions:

1. I own a forum about hollywood+bollywood, so i need a picture gallery where there would be a cover page of "angelina jolly" and when someone clicks on it, they'd be taken to the actual gallery, possible to do?

2. I checked one of the forums that had this plugin, isnt there any "next,previous" button?


Use an Album - which has a cover picture - all part of vB. There are first/previous/next/last buttons on the page navigation (top AND bottom of each page).

Another bug I see is when you select on an option on the navbar, you get the Forum tab as selected. You can select Album Gallery, Picture Gallery, add album, etc and the Gallery tab will never be selected.... Is there a way to fix this?

The pictures and albums are part of the forum - that's why the forum tab is hilit.

mobe00
04-23-2010, 12:28 PM
I get an vbulletin database error. Just know i got 150 in a few mins. It comes and goes..But its always the same error message.. only the attachmend id and query that differs. Always picall.php as refeerer. whats wrong ? Has something to do with this mod or ?

Database error in vBulletin :

mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: User xxxxxxxxxxxx_xx already has more than 'max_user_connections' active connections
/customers/xxxxxxxx.xx/xxxxxxx.xx/httpd.www/includes/class_core.php on line 312

MySQL Error :
Error Number :
Request Date : Friday, April 23rd 2010 @ 12:54:56 PM
Error Date : Friday, April 23rd 2010 @ 12:54:56 PM
Script : http://www.xxxxxxxxxx.xx/attachment.php?attachmentid=993&thumb=1
Referrer : http://www.xxxxxxxxxx.xx/picall.php?query=&page=9
IP Address : 213.31.11.24
Username :
Classname : vB_Database
MySQL Version :

samiro
04-23-2010, 03:44 PM
now i try to disable the "product-gallery-108" ( but not "product-gallery_navtab-100")
and it still work fine...

so what this file "product-gallery-108" really do in VB4 ?
can we inport just the navtab/navbar xml ?

HCGB
04-23-2010, 04:14 PM
I get an vbulletin database error. Just know i got 150 in a few mins. It comes and goes..But its always the same error message.. only the attachmend id and query that differs. Always picall.php as refeerer. whats wrong ? Has something to do with this mod or ?
Nope - it's an issue with your host - the MYSQL variable max_user_connections is set too low (for a reasonably active board it should be at least 200). You could try reducing the number of images per page (see first post) but that's only a fudge and won't stop users seeing the error.

now i try to disable the "product-gallery-108" ( but not "product-gallery_navtab-100")
and it still work fine...

so what this file "product-gallery-108" really do in VB4 ?
can we inport just the navtab/navbar xml ?
...gallery-108 has the templates and phrases for the product - if you remove it the product will not work. The other xmls just add menu options that link to the product. Exactly what are you trying to do?

way2xtreme
04-25-2010, 09:26 AM
A quick question: how do I edit the length of album title in preview trumbnails? It seems to cut the name down to 20 chars or so....

Thanks

Uskana
04-25-2010, 12:55 PM
I found this very nice feature. VERY EASY to install. Thank you.

mgcom
04-26-2010, 09:32 PM
cheers

installed, nominated and rated

anyway to change the navtab drop down links to white ?

HCGB
04-28-2010, 06:50 AM
A quick question: how do I edit the length of album title in preview trumbnails? It seems to cut the name down to 20 chars or so....

If the titles were longer they would break the image box.

.. anyway to change the navtab drop down links to white ?

They should BE white - unless you have modified the vB css?

mgcom
04-28-2010, 09:26 AM
If the titles were longer they would break the image box.



They should BE white - unless you have modified the vB css?

nope, have not touched anything mate, the links are completely invisible until i hover over them then they turn white

HCGB
04-28-2010, 09:45 AM
nope, have not touched anything mate, the links are completely invisible until i hover over them then they turn white

They should be white then yellow when hovered over - they use the standard vB drop down menus stylevars. There must be something modified in your installation (custom style maybe?). Try checking the CSS for popupbody popuphover and the style variables navbar_tab_linkhover_color and navbar_tab_font - one or more of them must have been been modified.

Post a link to your site if you are still having probs.

MuhammadC
04-29-2010, 05:58 PM
They should be white then yellow when hovered over - they use the standard vB drop down menus stylevars. There must be something modified in your installation (custom style maybe?). Try checking the CSS for popupbody popuphover and the style variables navbar_tab_linkhover_color and navbar_tab_font - one or more of them must have been been modified.

Post a link to your site if you are still having probs.

I am having the same problem: http://www.countrybynet.com/forums/forum.php

mgcom
04-29-2010, 07:13 PM
I fixed it by editing navbar_tab_linkhover_color

Cheers

Gosef
05-04-2010, 06:23 PM
thanks a lot

nikosb
05-05-2010, 07:23 PM
cheers

installed

adders
05-08-2010, 02:20 PM
Installed - seems like a nice mod.

One question. On my site the gallery looks a bit messy, pics overlap etc.

Any ideas?

http://www.astronomican.com/album.php?albumid=69

Cheers

Videx
05-09-2010, 12:41 AM
One question. On my site the gallery looks a bit messy, pics overlap etc.Custom skin to start with. But no point in posting a link if you require registration to see anything.

Xencored
05-09-2010, 12:59 AM
WOW awesome mad thanks alot mate :up:

"This is my first "proper" product so comment/criticism/etc is welcome"

here to many more like this :D

Bansheebob
05-10-2010, 12:05 AM
Installed but I have no permission to make new album? checked my usergroup (admin) permissions and I should be able to add an album. I dont get it.

HCGB
05-10-2010, 06:51 AM
Installed but I have no permission to make new album? checked my usergroup (admin) permissions and I should be able to add an album. I dont get it.

Album (or picture) creation has nothing to do with this mod - it's just an image viewer. You must have vB permissions set incorrectly some place.


On my site the gallery looks a bit messy, pics overlap etc.

Yep - read the first post:
"If you get images overlapping the borders then you have inconsistent thumbnail sizes - you need to: AdminCP->Maintenance->Update Counters->Rebuild Attachment Thumbnails"

Bansheebob
05-10-2010, 11:08 AM
Album (or picture) creation has nothing to do with this mod - it's just an image viewer. You must have vB permissions set incorrectly some place.


Yes, I had albums turned off under "user profile options'

Question, how do you set it so the newest photos appear under the forums as thumbnails?

sola
05-11-2010, 12:48 PM
HCGB, do you have any idea why I'm getting this error? Only from UNREGISTERED. Thanks.
-------------------------------------------------------------------

Database error in vBulletin 4.0.3:

Invalid SQL:

SELECT ap.*,p.caption
FROM albumpicture ap
LEFT JOIN picture p on p.pictureid=ap.pictureid
WHERE state = 'visible' AND albumid = '119';

MySQL Error : Table '*******_vb.albumpicture' doesn't exist
Error Number : 1146
Request Date : Tuesday, May 11th 2010 @ 01:00:14 AM
Error Date : Tuesday, May 11th 2010 @ 01:00:14 AM
Script : http://www.********.com/vb/cron.php?rand=1273557612
Referrer : http://www.********.com/vb/birthdays-congratulations-dedications-etc/37347-baba-2.html
IP Address : 88.73.141.28
Username : Unregistered
Classname : vB_Database
MySQL Version :

HCGB
05-11-2010, 01:35 PM
HCGB, do you have any idea why I'm getting this error? Only from UNREGISTERED. Thanks.
Script : http://www.********.com/vb/cron.php?rand=1273557612
Referrer : http://www.********.com/vb/birthdays-congratulations-dedications-etc/37347-baba-2.html


Nothing to do with this mod - the script shown above is executing a scheduled task.

sola
05-12-2010, 12:31 AM
Nothing to do with this mod - the script shown above is executing a scheduled task.Thanks. Will go figure it out.

Xencored
05-16-2010, 03:02 AM
How can i change the Colour of the Text in the NavTabs one mate

ive tryed to find the Style Variable without luck ;/
Thanks

ArminTECH
05-16-2010, 04:28 AM
interesting

HCGB
05-16-2010, 06:51 AM
How can i change the Colour of the Text in the NavTabs one mate

ive tryed to find the Style Variable without luck ;/
Thanks

For the tab you need to check the popupmenu class, for the menu items it's navbar_tab_linkhover_color. Should be the same variable for all tabs.

Xencored
05-16-2010, 01:59 PM
For the tab you need to check the popupmenu class, for the menu items it's navbar_tab_linkhover_color. Should be the same variable for all tabs.

Bah yea ..... it was late lol
Thanks alot

Derwin
05-16-2010, 04:49 PM
It took me about 5 minutes to install, and it works GREAT! Thanks for a fantastic add-on to vbulletin 4!

You can see it installed perfectly by going to www.PODLovers.com

Thanks again!

Bansheebob
05-17-2010, 11:14 PM
When I click on "Gallery" > "Picture Gallery" I get a google "Opps, this link appears to be broken" page.

Any help appreciated, thanks.

Bansheebob
05-17-2010, 11:26 PM
Sorry but uninstalled, the upload photo page is very confusing, photos were all out of alignment and threw off my template, picture gallery link plus others were giving me errors etc. More trouble then it was worth for me. I'll have to pay for something better I guess to make it much more easier for my members.

Daryn
05-18-2010, 05:34 PM
Hi, I am having some style trouble with hovers. Could you have a look over here:

http://www.scififur.net ?

Yes, the style is custom and not the vb Default, but if the product is using stylevars shouldn't it have inherited those values?

Some help would be appreciated.

HCGB
05-18-2010, 06:19 PM
Sorry but uninstalled, the upload photo page is very confusing, photos were all out of alignment and threw off my template, picture gallery link plus others were giving me errors etc. More trouble then it was worth for me. I'll have to pay for something better I guess to make it much more easier for my members.

What "upload photo page" - this mod hasn't got an upload feature? If you read the installation instructions you will see a reference to rebuilding thumbnails which fixes any sizing issues. Errors on links are probably caused by not uploading the PHP scripts to your forum home directory.

If you want to provide detail I'd be happy to look at any problems.

HCGB
05-18-2010, 06:24 PM
Hi, I am having some style trouble with hovers. Could you have a look over here:

http://www.scififur.net ?

Yes, the style is custom and not the vb Default, but if the product is using stylevars shouldn't it have inherited those values?

Some help would be appreciated.

It uses the same css classes as the standard vB album view. Your style has problems with vB album views - see http://www.scififur.net/forum/album.php. If you fix that then this mod will also work properly.

keledan2
05-22-2010, 06:32 AM
Installed the product_gallery_navtab-xxx.xml to have the menu on the navtab.
When clicking on Every link in the Gallery menu, makes the FORUM tab highlighting. I can't understand why...

cindy helmond
05-22-2010, 09:21 AM
is there an way to get this url to the forumhome ?

forum/picall.php? Picture Gallery that you see it on the forumhome

thx

kersti
05-24-2010, 10:10 AM
How do I change the number of albums shown on a page?
Any chance of adding a More type button on the bottom of the page?

HCGB
05-24-2010, 01:58 PM
Installed the product_gallery_navtab-xxx.xml to have the menu on the navtab.
When clicking on Every link in the Gallery menu, makes the FORUM tab highlighting. I can't understand why...
Because pictures and albums are part of the vB forum

is there an way to get this url to the forumhome ?

forum/picall.php? Picture Gallery that you see it on the forumhome

thx
If you want to display the pictures on the forum home page (could get very messy!) then you could add it into the FORUMHOME template in the appropriate place.
How do I change the number of albums shown on a page?
Any chance of adding a More type button on the bottom of the page?

Try reading the first post :p - you'll be surprised what you will find there.

Each page has a full navigation panel (page numbers, forward/back/start/end) at the top AND bottom of the picture display.

MichaelDance
05-28-2010, 11:09 PM
Wicked gonna try it out thanks you rock if it works :P

twitch
06-05-2010, 02:07 PM
Awesome, installed and working!

Drache
06-05-2010, 04:54 PM
question. Does this use lots of resources?

Which one use more resource photopost or this plugin?