vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Social Group and Album Enhancements - Make a forum Gallery from User Albums (https://vborg.vbsupport.ru/showthread.php?t=171844)

Barakat 03-02-2008 09:52 AM

works great ..

Magnumutz 03-02-2008 10:05 AM

Very nice and simple method.
However, i have one question regarding a feature... can it be done that when you go to /gallery.php, it shows all the users' albums?

pipedreams 03-02-2008 10:13 AM

Quote:

Originally Posted by Magnumutz (Post 1455048)
Very nice and simple method.
However, i have one question regarding a feature... can it be done that when you go to /gallery.php, it shows all the users' albums?

Am working on that now and so far it's working fine:
http://www.badminton.ie/forum/gallery.php?u=1

The amount of albums per page is decided by the value in "Albums Per Page" in "User Profile: Album Options" in adminCP options.

Will update overall instructions very soon..

ChurchMedia 03-02-2008 10:24 AM

I removed this code from the query:
PHP Code:

LIMIT $start$perpage 

It's showing 14 galleries -- which is all we probably have right now (I'm trying to get members to use them).

http://www.churchmedia.net/albumgallery.php?u=1

pipedreams 03-02-2008 10:34 AM

Quote:

Originally Posted by ChurchMedia (Post 1455058)
I removed this code from the query:
PHP Code:

LIMIT $start$perpage 

It's showing 14 galleries -- which is all we probably have right now (I'm trying to get members to use them).

http://www.churchmedia.net/albumgallery.php?u=1

No need to remove that now - unless you want all albums on one page - as my updated version now correctly pages though the total amount pf public albums.

Boofo 03-02-2008 10:46 AM

Any way to keep guests from being able to view the albums? Makie it only veiwable to members?

pipedreams 03-02-2008 11:00 AM

Quote:

Originally Posted by Boofo (Post 1455070)
Any way to keep guests from being able to view the albums? Makie it only veiwable to members?

Hi, that's decided by settings in usergroup permissions, where you'll find an option called "Can View Albums."

Boofo 03-02-2008 11:21 AM

But won't the u=1 in the link bypass that?

pipedreams 03-02-2008 11:43 AM

Quote:

Originally Posted by Boofo (Post 1455083)
But won't the u=1 in the link bypass that?

Nope as the u=1 ensures the code acts as an album list, when a user is not logged in.

Barakat 03-02-2008 12:48 PM

you should put it in a txt file .... and make update every time u make changes on ,,, so as we can know ...

thanks


All times are GMT. The time now is 09:44 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.02239 seconds
  • Memory Usage 1,737KB
  • 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
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete