Hey Brajesh,
Thanks for the info...
If you have made the gallery as you mentioned earlier, please share that. I am desperate to use that... :)
Thanks
Romel
Faster, better and easier!
Hey Brajesh,
Thanks for the info...
If you have made the gallery as you mentioned earlier, please share that. I am desperate to use that... :)
Thanks
Romel
This functionality exists in bp-gallery already. Look closely above the pictures when you are viewing a gallery. The link is there, to publish to stream, but it is a bit undersized.
Hey Brajesh,
Need your expertise on BP-gallery. Your BP-gallery is working fine. But I require a little modification. As I mentioned you earlier about this feature and you gave me hope. I want that only admin can create galleries and make them available for users to upload photos within those pre-created galleries only. If there is any possibility to restrict users to create their own gallery and instead when they want to upload photo, the existing list of galleries can be available to them to select from.
To give you more clarity on that I am giving you example. Lets assume I have created galleries like Landscape Portrait, Travel, Flora&fauna, Close-up, etc. Now when user wants to upload photo they can choose an appropriate gallery or category for their photo.
Please help me to achieve this functionality.
Thank you
Romel
Hi Romel,
Thanks for the post.
I am sorry for not updating on the topic earlier.
I am working on a new version of bp-gallery which got delayed because of my health. It will be available within 2 week and will give users options to upload to gallery from anywhere.
currently, It is possible to allow admin only to create gallery(using groups gallery) but it won't be possible to upload the images from the front page(without going to the group). If you want this please let me know. I will be posting the code.
Hey Brajesh,
I guess that would solve. since it is a photography network so user should upload photos under a gallery/category. Only thing is user should have access to the list of galleries/categories while uploading.
Also I need to modify the look and feel of Browse button. Please guide me how???
Thank you
Romel
Hi,
I installed the rencent-photos-php template but I can't get it to order the photos by date. I'm using this:
<textearea>
<?php if (bp_gallery_has_medias("type=photo&per_page=36&sitewide=true&orderby=date
")) :
while(bp_gallery_medias()):bp_gallery_the_media();?>
</textarea>
Regards.
Someone else on this forum explained to me that to list photos in order by date, you would do the following:
(1) Put the below in your functions file...
function show_recent_photos1(){
$photos1filter=filter==array('public');
bp_gallery_list_medias("owner_type=user&type=photo&per_page=20&orderby=date&filter=".$photos1filter);}
(2) Then call it with the below code:
<?php show_recent_photos1(); ?>
it works for me.
Thanks Shane it's working now!
What file do I have to edit to display more photos on each gallery page? it only displays 5, and how do I change the number of rows?
Thanks!
Hi,
you will have to change it in gallery/single/media/media-loop.php
You will have to change the first line
<?php if(bp_gallery_has_medias()):?>
to
<?php if(bp_gallery_has_medias("per_page=20")):?>
That will show 20 media items.
Thanks Brajesh!,
Now it only displays 2 columns, how can I make it 3?
You can Check it here:
http://fotografosnet.com/members/FotografosNet.com/gallery/my-galleries/mallorca-perla-del-mediterraneo
The recent photo template only displays one column, also would like to make it 3. How do I go about it?
Finally, in the Gallery Directory I would like them ordered newest at the top.
Thank you for your help!
Hi,
Currently the number of columns can be controlled via css only.
On my 20' desktop, I see the images as four column for your gallery
http://i52.tinypic.com/2qwh45c.png
Please use firebug to constrain the size of media div and you will have it 3-column/4 column.
Thanks
Brajesh
Thanks Brajesh!,
The other issue about the gallery directory:
Where do I change the number of galleries per page displayed and also the order in which they are displayed?. Is it possible to display the latest created at the top?
Regards,
Pablo
Hi Pablo,
To change the per page limit in gallery directory, you will need to edit gallery/gallery-loop.php
Please change the following line
<?php if ( bp_has_galleries( bp_ajax_querystring( 'gallery' ) ) ) : ?>
to
<?php if ( bp_has_galleries( bp_ajax_querystring( 'gallery' )."&per_page=20&orderby=date" ) ) : ?>
That should do it.
Great Brajesh!,
Does the Jqzoom plugin work on the recent photos page images?
If it doesn´t, can it be done?
It would certainly be a useful feature!
Thank You so much!
Hi Brajesh,
I have one more issue regarding the PrettyGallery plugin.
I would like to display the galleries randomly, how do I make the change in the code?
Thanks!
Hi Pablo,
jqZoom does not work on recent photos page but It can be done. Yes, pretty gallery can display gallery randomly.
If you are using version 1.1, Please change the line 147 from
bp_prettyphoto_gallery_list_galleries('max='.$instance['count'].'&show_thumb='.$instance['show_thumb'].'&owner_type='.$instance['owner_type'].'&type=photo&sitewide=true');
to
bp_prettyphoto_gallery_list_galleries('max='.$instance['count'].'&show_thumb='.$instance['show_thumb'].'&owner_type='.$instance['owner_type'].'&type=photo&sitewide=true&orderby=random');
I will make random as an option in widget itself once I am done with gallery this weekend.
I will post about jqZoom on recent Photos page tomorrow. hope you don't mind that.
Thanks
Brajesh
Excellent Brajesh!
Hi,
I would like to suggest a new feature which I'm sure will be very useful to BP Gallery users.
A random image generator widget to be displayed on the side bar. It would generate a random image from all sitewide galleries every time the page is updated, and the generated image would link to the larger image page inside the gallery.
Also,I think you're already working on it, a photo rating system and a wysiwyg comment box for each image.
Maybe then, the random image generator could display images with a rating higher than whatever the admin chooses.
Finally, a check box to allow users to choose which of his images to be displayed by the random image generator.
Regards,
Pablo
Hi Brajesh,
Yesterday I installed BP-Nicey Theme in my site, everything was working great.
Today I tried to access the forums and I'm getting a broken link message.
Please chech this link: http://fotografosnet.com/forums
Please help me with this issue!
Regards,
Pablo
Hi, I checked ther error log and this is what I got:
[29-Oct-2010 01:00:10] Error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id = 1' at line 1 de la base de datos de WordPress para la consulta SELECT id FROM WHERE id = 1 realizada por require, require_once, require_once, require_once, do_action, call_user_func_array, bp_loaded, do_action, call_user_func_array, bp_setup_globals, do_action, call_user_func_array, bp_core_setup_globals, bp_core_get_user_displayname, xprofile_set_field_data, BP_XProfile_ProfileData->save, BP_XProfile_ProfileData->is_valid_field
[29-Oct-2010 01:00:11] PHP Fatal error: Cannot redeclare bb_title() (previously declared in /home/avanzini/public_html/fotografosnet.com/wp-content/plugins/bottom-bar/bottom-bar.php:186) in /home/avanzini/public_html/fotografosnet.com/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/functions.bb-template.php on line 479
[29-Oct-2010 01:00:28] Error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE field_id = 1 AND user_id = 25' at line 1 de la base de datos de WordPress para la consulta SELECT value FROM WHERE field_id = 1 AND user_id = 25 realizada por require, require_once, require_once, require_once, do_action, call_user_func_array, bp_loaded, do_action, call_user_func_array, bp_setup_globals, do_action, call_user_func_array, bp_core_setup_globals, bp_core_get_user_displayname, xprofile_get_field_data, BP_XProfile_ProfileData->get_value_byid
[29-Oct-2010 01:00:28] Error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id = 1' at line 1 de la base de datos de WordPress para la consulta SELECT * FROM WHERE id = 1 realizada por require, require_once, require_once, require_once, do_action, call_user_func_array, bp_loaded, do_action, call_user_func_array, bp_setup_globals, do_action, call_user_func_array, bp_core_setup_globals, bp_core_get_user_displayname, xprofile_set_field_data, BP_XProfile_Field->bp_xprofile_field, BP_XProfile_Field->populate
[29-Oct-2010 01:00:28]
Never mind Brajesh, I fixed it.
Got the problem after instaling Bottom Bar plugin:
[29-Oct-2010 01:00:11] PHP Fatal error: Cannot redeclare bb_title() (previously declared in /home/avanzini/public_html/fotografosnet.com/wp-content/plugins/bottom-bar/bottom-bar.php:186) in /home/avanzini/public_html/fotografosnet.com/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/functions.bb-template.php on line 479
I just reinstalled bbpress and now it's working fine.
Regards,
Pablo
HI froom Germany !
Now i use the recent-photos and works fine with the &sortby=date
the only thing is : I would like ONLY the PUBLIC Pictures, not the FriendsOnly and Private, only the Public and i don´t no, what and where i should put in ....
Anybody can help me ???
Franksenftleben,
I believe the private images only appear if you are logged in.
Regards.
Hi,
Is there any way to have the photo's URLs included in sitemap.xml?
Hi Pablo,
No, It is currently not possible, though hooking it to one of the plugins which generate sitemap.xml can be done.
Which plugin you are using for generating sitemap? It may be a little bit expensive though depending on the number of users/media on your website.
Hi Brajesh,
I'm using Google XML Sitemaps plugin.
Brajesh,
It would also be very useful to have the photo title an description included in page metadata when displaying a single image. Also to have a field to write keywords when uploading an image to be included in page metadata as well.
Hi Pablo,
I will take on this after the release of gallery. yes, I believe you last point is important from seo point of vie.
MHHH, JQZoom on recent photo template ???
Frank,
Please avoid mixing the the topics. Instead you should try to open new topic.
For jqzoom to work, you will need a little amount of knowledge on how to make the jquery plugin work.
You must log in to post.