Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
All Albums Details »
All Albums
Mod Version: 2.5, by Abe1 (Coder) Abe1 is offline
Developer Last Online: Jun 2010 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (143 votes - 4.78 average) Installs: 1741
Released: 06 Mar 2008 Last Update: 24 Oct 2008 Downloads: 7045
Not Supported Uses Plugins Auto-Template Additional Files  

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.

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	1.jpg
Views:	13743
Size:	28.8 KB
ID:	77301  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #46  
Old 13 Mar 2008, 10:45
BBF BBF is offline
 
Join Date: Dec 2006
Real name: Nadav Peretz
thanks for this one

only one little problem:

change


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #47  
Old 13 Mar 2008, 13:54
rolandogomez's Avatar
rolandogomez rolandogomez is offline
 
Join Date: Jan 2006
Location: San Antonio
Originally Posted by BBF View Post
thanks for this one

only one little problem:

change


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
What does this do? Do we have to change this in the php file? Thanks, rg.
__________________
Photographer & author (three books on Amazon.com), GarageGlamour.com, RolandoGomez.net
Reply With Quote
  #48  
Old 14 Mar 2008, 02:24
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Originally Posted by BBF View Post
thanks for this one

only one little problem:

change


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Thanks. Will be in next version.
__________________
MY HACKS -

Active Link Security 3.0.X | Add Title to Rank Images 3.5.X | Admin Log In As User 3.5.X 3.6.X | Advanced BBCode Permissions 3.5.X 3.6.X | Can't See Attachments Before Thanking a Post 3.5.X | Can't Thank and Groan the Same Post 3.5.X | Delete Post when Giving Infraction 3.6.X | Edit New Thread Button 3.5.X | External Data Provider Usergroup Permissions Setting 3.5.X | Forms Hack 3.5.X, 3.6.X | Log Logins Hack 3.5.X 3.6.X | Moderator Statistics 3.5.X | Post Award Hack 3.0.X 3.5.X | [AJAX] Post Thank You Hack 3.0.X 3.5.X 3.6.X | [AJAX] Post Groan Hack 3.5.X 3.6.X | Post Thank You Hack Stats for vBadvanced CMPS 2.x 3.5.X | Search Title only in search drop-down 3.5.X, 3.6.X | 'vBMenu' DHTML User Option 3.5.X 3.6.X | vBShout on all pages! 3.5.X
Reply With Quote
  #49  
Old 14 Mar 2008, 10:19
Enclave Enclave is offline
 
Join Date: Jun 2005
Originally Posted by rolandogomez View Post
What does this do? Do we have to change this in the php file? Thanks, rg.
No you don't have to, that is in the product!
__________________
Scafoo - Restaurant and Bar Guide
Live Chat Solution
Reply With Quote
  #50  
Old 15 Mar 2008, 00:41
Spingo Spingo is offline
 
Join Date: Jul 2002
For those who want user names...

It's not too difficult to customise this add-on to provide User Names with each Album, but as the Author has said, these modiications turn the mod into more of a "product" than simply adding a simple PHP file. I have done the following modifications in order to accomplish this on one of my sites (and the author may feel free to use any of this code to provide this feature if he/she so wishes):

In all_albums.php, change:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Next, change:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and then, change:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Next, go into Style Manager in the admincp and copy the contents of the albumbit template into a new template and call it all_albumbit. Then copy the contents of the album_list template into a new template called all_album_list. For there, you can edit these two new templates to add a User Name column. For instance, in all_album_list, I have changed:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and in all_albumbit, I have changed:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

After some tidying up with the class tags (so as to make the colour alternate as intended, I have a pretty good looking result, as shown in the attachment.

Of course, you could customise the order of the columns if you'd like, or even add avatars to the user name without too much difficulty.

I should say that I whipped this mod up in about 15 minutes - so the usual caveat applies - I take no responsibility if something goes awry and it's possible that the code in all_almbums.php after my modifications could require some additional optimisation (specifically, I have not benchmarked what impact my additional JOIN has on the SQL side of things).

Enjoy.
Attached Images
File Type: jpg gallery_author.jpg (39.0 KB, 176 views)
Reply With Quote
  #51  
Old 15 Mar 2008, 01:00
AWMGolfer AWMGolfer is offline
 
Join Date: Dec 2007
Works great!! Thank you!!
Reply With Quote
  #52  
Old 15 Mar 2008, 01:00
ChurchMedia's Avatar
ChurchMedia ChurchMedia is offline
 
Join Date: Dec 2002
Real name: Tim Eason
Thanks, Spingo! I'd like to make the albums as full featured as possible since I run a community that does graphics for a living. I hope to see an album search mod sometime (I'm too lazy to write one).

This is a great mod to a great mod!
Reply With Quote
  #53  
Old 15 Mar 2008, 01:50
rolandogomez's Avatar
rolandogomez rolandogomez is offline
 
Join Date: Jan 2006
Location: San Antonio
Cool Spingo! Now how do we make the user's name link to their profile (grin) That would be cool. And to that, if when selecting an album to view, add the album owner's name and link too along with when viewing a photo, something, like "go to user's profile" or "go to all albums by X user." Especially for us non-php types. Thanks, rg sends!
__________________
Photographer & author (three books on Amazon.com), GarageGlamour.com, RolandoGomez.net
Reply With Quote
  #54  
Old 15 Mar 2008, 01:56
Spingo Spingo is offline
 
Join Date: Jul 2002
Well, you can quickly link to the profile of the album author by editing the all_albumbit template and changing:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

You can tweak the template a bit more if you want to link to other albums by that user - it's the same as above but in this case, you'd link to album.php instead of member.php.

I'm currently fiddling with getting avatars to display too, but I might have to come back to this later as I'm about to head out...

Last edited by Spingo; 15 Mar 2008 at 23:01. Reason: Edited code to add the missing "$" (Show me tha money?)
Reply With Quote
  #55  
Old 15 Mar 2008, 04:20
rolandogomez's Avatar
rolandogomez rolandogomez is offline
 
Join Date: Jan 2006
Location: San Antonio
Originally Posted by Spingo View Post
Well, you can quickly link to the profile of the album author by editing the all_albumbit template and changing:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

You can tweak the template a bit more if you want to link to other albums by that user - it's the same as above but in this case, you'd link to album.php instead of member.php.

I'm currently fiddling with getting avatars to display too, but I might have to come back to this later as I'm about to head out...
The rest worked, but this change too me to a page that said, "This user has not registered and therefore does not have a profile to view." on every username I clicked on, the url shows up like this, http://www.shotcritic.com/forums/member.php?session[sessionurl]u=25 and for some reason that don't look right.

So I played, as I don't know what I'm doing, what I found worked was this code,

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Which generates this page on my site, http://www.shotcritic.com/forums/all_albums.php

I would like to know how to "de-link" the user's name so only the "Profile" and "Albums" links are visible and I'd like to color the font too for the album owner's name (username) I just am not that good as I'm no coder, this was pure luck.

No what would be cool, when folks click on the albums' names and it takes you to that album, if on that page, the albums.php page, that would have that album owners name and link to their profile.

Thanks, rg sends!
__________________
Photographer & author (three books on Amazon.com), GarageGlamour.com, RolandoGomez.net

Last edited by rolandogomez; 15 Mar 2008 at 04:49.
Reply With Quote
  #56  
Old 15 Mar 2008, 06:54
Savage702 Savage702 is offline
 
Join Date: Sep 2007
Thank you so much Spingo!! Awesome additions!!!
Reply With Quote
  #57  
Old 15 Mar 2008, 23:02
Spingo Spingo is offline
 
Join Date: Jul 2002
Originally Posted by rolandogomez View Post
The rest worked, but this change too me to a page that said, "This user has not registered and therefore does not have a profile to view."
I have edited the above post with the all important but missing "$" before "session".
Reply With Quote
  #58  
Old 16 Mar 2008, 00:29
rolandogomez's Avatar
rolandogomez rolandogomez is offline
 
Join Date: Jan 2006
Location: San Antonio
Originally Posted by Spingo View Post
I have edited the above post with the all important but missing "$" before "session".
So I don't screw it up, what do I change in this code

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

so I can keep the user's profile and albums links, also how do I de-link the user's name itself, i.e.,

User's Name (not link)
Profile (linked as in my URL below)
____

Albums (linked as in my URL below)

See how this code displays it on my site now,
http://www.shotcritic.com/forums/all_albums.php

Thanks, rg sends!
__________________
Photographer & author (three books on Amazon.com), GarageGlamour.com, RolandoGomez.net
Reply With Quote
  #59  
Old 16 Mar 2008, 02:58
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Version 2.0 (03/15/08):
  • Product MUST be installed now.
  • Shows username
  • Phrases are normal now.
__________________
MY HACKS -

Active Link Security 3.0.X | Add Title to Rank Images 3.5.X | Admin Log In As User 3.5.X 3.6.X | Advanced BBCode Permissions 3.5.X 3.6.X | Can't See Attachments Before Thanking a Post 3.5.X | Can't Thank and Groan the Same Post 3.5.X | Delete Post when Giving Infraction 3.6.X | Edit New Thread Button 3.5.X | External Data Provider Usergroup Permissions Setting 3.5.X | Forms Hack 3.5.X, 3.6.X | Log Logins Hack 3.5.X 3.6.X | Moderator Statistics 3.5.X | Post Award Hack 3.0.X 3.5.X | [AJAX] Post Thank You Hack 3.0.X 3.5.X 3.6.X | [AJAX] Post Groan Hack 3.5.X 3.6.X | Post Thank You Hack Stats for vBadvanced CMPS 2.x 3.5.X | Search Title only in search drop-down 3.5.X, 3.6.X | 'vBMenu' DHTML User Option 3.5.X 3.6.X | vBShout on all pages! 3.5.X
Reply With Quote
  #60  
Old 16 Mar 2008, 11:24
Adem GENĒ's Avatar
Adem GENĒ Adem GENĒ is offline
 
Join Date: Apr 2005
Real name: Adem GENĒ
Thanks
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 13:28.

Layout Options | Width: Wide Color: