vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Social Group and Album Enhancements - All Albums (https://vborg.vbsupport.ru/showthread.php?t=172215)

Abe1 03-05-2008 10:00 PM

All Albums
 
1 Attachment(s)
All Albums 2.5

This hack lets you view an index of all user albums on one page. Looks like a user's index but just has all users instead of just one.

You have to upload the all_albums.php file to your root vBulletin folder. This is the file that you have to access to see all the albums.

ENJOY!

Version 1.1 (03/06/08):
  • PHP file only.
  • Doesn't show albums that a user can't view.
Version 1.2 (03/09/08):
  • PHP file only.
  • Fixed Image count if you have vb3.7.0 Beta 6.
Version 2.0 (03/15/08):
  • Product MUST be installed now.
  • Shows username
  • Phrases are normal now.
Version 2.1 (03/19/08):
  • PHP file only.
  • Fixed Image count if you have vb3.7.0 RC 1.
Version 2.2 (03/21/08):
  • Cache Templates
  • Fixed some issues with extra queries running.
  • Added "Add Album" links.
  • album_all_album_list template updated.
  • File updated.
Version 2.3 (05/05/08):
  • Changed definition of THIS_SCRIPT to all_albums
  • Link in navbar is now phrase along with a template.
  • all_albums phrase switched to global phrase
  • Added all albums link to navbits when on an album page.
  • Added who's online location.
  • Added sort
  • New option: Default Sortfield
  • New option: Default Sortorder
  • Added link to quick links.
  • New option: Show Navbar Link
  • New Option: Show Quick-Links Link
  • New Option: Show Link in Navbits of Albums
Version 2.4 (10/24/08):
  • Added Search
Version 2.5 (10/24/08):
  • Added Search text right near search box
  • Fixed a prefix bug when using search.
  • If a user knows that to put into a URL to do a search, if search is turned off, it will not work.
MAKE SURE YOU CLICK INSTALL!
You will get an email when a new version is released.

7lanet 03-06-2008 03:14 AM

thanks
this demo ^_^

http://www.7lanet.com/vb/all_albums.php

^_^

romanticyao 03-06-2008 04:08 AM

demo or screens?

romanticyao 03-06-2008 04:10 AM

works great, thanx

7lanet 03-06-2008 04:13 AM

this demo ^_^

http://www.7lanet.com/vb/all_albums.php

Abe1 03-06-2008 04:23 AM

Quote:

Originally Posted by romanticyao (Post 1458186)
demo or screens?

No need for one. Same as now just show all.

Zaiaku 03-06-2008 04:57 AM

Looks pretty good, although the demo is super bright that is almost blinded me. :)

Syria BoY 03-06-2008 05:36 AM

Good work Thanks Abe1 :)

Hornstar 03-06-2008 05:43 AM

Thanks, this was exactly what I was waiting for :)

rolandogomez 03-06-2008 06:59 AM

Perfect! Installed!

Barakat 03-06-2008 10:53 AM

yap perfect!!!!!

KURTZ 03-06-2008 10:57 AM

Quote:

Originally Posted by 7lanet (Post 1458191)

eheheh not many understands arabic ... :P

Cornie 03-06-2008 11:16 AM

which me is still missing is the user name with the albums

ThePulse 03-06-2008 11:23 AM

This mod is great :D would also love for it to show which member the album comes from

Adem GEN? 03-06-2008 11:51 AM

Thanks
very good

Display username to albums title

D|ver 03-06-2008 12:00 PM

really great mod!
yep, displaying the username would be nice :)

FleaBag 03-06-2008 02:01 PM

Thanks Abe!

ChurchMedia 03-06-2008 02:04 PM

Cool and easy! I'd like to hide the private albums, though. Good work!

7lanet 03-06-2008 03:45 PM

Quote:

Originally Posted by KURTZ (Post 1458418)
eheheh not many understands arabic ... :P

There is no problem
Go to the last page
, Change the language to English
This is not difficult

4seasonz 03-06-2008 04:17 PM

very nice mod , thanks a lot

rolandogomez 03-06-2008 05:10 PM

Quote:

Originally Posted by ChurchMedia (Post 1458502)
Cool and easy! I'd like to hide the private albums, though. Good work!

Have to agree, change it where private albums are not shown and a link to the user's profile of the owner of the album. Thanks, rg.

Adem GEN? 03-06-2008 06:35 PM

// navbar and final output
$navbits = construct_navbits(array(
'album_all.php' . $vbulletin->session->vars['sessionurl_q'] => construct_phrase($vbphrase['xs_profile'], $userinfo['username']),
'' => $vbphrase['albums']
));
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('album_list') . '");');
?>


Not files album_all.php

RvG2 03-06-2008 06:36 PM

Quote:

Originally Posted by AdemGEN? (Post 1458686)
// navbar and final output
$navbits = construct_navbits(array(
'album_all.php' . $vbulletin->session->vars['sessionurl_q'] => construct_phrase($vbphrase['xs_profile'], $userinfo['username']),
'' => $vbphrase['albums']
));
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('album_list') . '");');
?>

what this code is all about? :)

Abe1 03-06-2008 10:22 PM

Quote:

Originally Posted by AdemGEN? (Post 1458686)
// navbar and final output
$navbits = construct_navbits(array(
'album_all.php' . $vbulletin->session->vars['sessionurl_q'] => construct_phrase($vbphrase['xs_profile'], $userinfo['username']),
'' => $vbphrase['albums']
));
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('album_list') . '");');
?>


Not files album_all.php

Just updated the php file to fix it.

Abe1 03-06-2008 10:23 PM

Quote:

Originally Posted by rolandogomez (Post 1458631)
Have to agree, change it where private albums are not shown and a link to the user's profile of the owner of the album. Thanks, rg.

I wanted to just get this hack out right now. I will do more research into it now so permissions are kept.

Sychev_S 03-07-2008 12:30 AM

Quote:

Originally Posted by Abe1 (Post 1458884)
I wanted to just get this hack out right now. I will do more research into it now so permissions are kept.

You sure made a lot of people happy. Very usefull hack! Thank you so much!

Alfa1 03-07-2008 01:00 AM

This error was on page 4 of your demo:
Quote:

Forbidden

You don't have permission to access /vb/all_albums.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Abe1 03-07-2008 01:31 AM

Version 1.1 (03/06/08):
  • PHP file only.
  • Doesn't show albums that a user can't view.

Brandon Sheley 03-07-2008 02:48 AM

nice hack, now no need for the gallery script :D

[high]* Brandon Sheley installs for later[/high]

Savage702 03-07-2008 11:59 AM

Can it be made to show who the owner of each album in the list is?

furst 03-08-2008 06:49 AM

Thanks, this is exactly what I was looking for.

Alfa1 03-08-2008 05:37 PM

Quote:

Originally Posted by Loco.M (Post 1459010)
nice hack, now no need for the gallery script :D

It is getting close to this. With this hack, we have member albums covered. If we can get topic albums sorted somehow, then we are set.

Abe1 03-08-2008 11:45 PM

Quote:

Originally Posted by Savage702 (Post 1459241)
Can it be made to show who the owner of each album in the list is?

I would have to start making this into a whole product. Not sure if i'll do or not.

rolandogomez 03-09-2008 05:59 PM

This script is working great, but for some reason all my number of photos in the "Pictures" column has reset to zero. http://www.shotcritic.com/forums/all_albums.php Any ideas? Thanks, rg.

maidos 03-09-2008 06:25 PM

i would love to have the feature so pp lcan see the username

maidos 03-09-2008 06:36 PM

please delete this reply

D|ver 03-09-2008 09:42 PM

Quote:

Originally Posted by rolandogomez (Post 1460898)
This script is working great, but for some reason all my number of photos in the "Pictures" column has reset to zero. http://www.shotcritic.com/forums/all_albums.php Any ideas? Thanks, rg.

same problem here. error appears now after the upgrade to beta 6

Abe1 03-09-2008 11:48 PM

Version 1.2 (03/09/08):
  • PHP file only.
  • Fixed Image count if you have vb3.7.0 Beta 6.

rolandogomez 03-10-2008 12:04 AM

Perfect, fixed my counter problems with Beta 6. All good, for demo, see here: http://www.shotcritic.com/forums/all_albums.php Thanks, rg sends!

Adem GEN? 03-10-2008 12:14 AM

Thanks


All times are GMT. The time now is 06:29 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.01612 seconds
  • Memory Usage 1,816KB
  • 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
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

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

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