Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
All Albums Details »»
All Albums
Version: 2.5, by Abe1 Abe1 is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

Category: Social Group and Album Enhancements - Version: 3.8.x Rating:
Released: 03-05-2008 Last Update: 10-23-2008 Installs: 1742
Uses Plugins Auto-Templates
Additional Files  
No support by the author.

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

File Type: zip all_albums_2_5.zip (5.7 KB, 4306 views)

Screenshots

File Type: jpg 1.jpg (28.8 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
matrex722

Comments
  #62  
Old 03-16-2008, 04:43 PM
7lanet's Avatar
7lanet 7lanet is offline
 
Join Date: Aug 2007
Location: YeMeN
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you, my dear, for this achievement
Have a suggestion:

Non-appearance of albums that do not contain images
Album governing option introduced a vertical or horizontal
And making the most of each row album seems nicer appearance .
Reply With Quote
  #63  
Old 03-16-2008, 07:43 PM
antiekeradio's Avatar
antiekeradio antiekeradio is offline
 
Join Date: Feb 2006
Location: Netherlands
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very cool! gives the albums functionality in 3.7 a functional boost!

install went easy, works 100%. top plugin.
Reply With Quote
  #64  
Old 03-17-2008, 02:49 AM
rolandogomez's Avatar
rolandogomez rolandogomez is offline
 
Join Date: Jan 2006
Location: San Antonio
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone know how we can add album views? And even how many times a photo has been viewed? Thanks, rg sends!
Reply With Quote
  #65  
Old 03-17-2008, 04:09 AM
Savage702 Savage702 is offline
 
Join Date: Sep 2007
Location: Las Vegas, NV
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd like to know if there is a way to view if a photo has comments in an album, rather than having to look at each picture to see comments. Album views like Rolando said too... heck, Picture views too...
Reply With Quote
  #66  
Old 03-17-2008, 12:46 PM
TaBaTaN TaBaTaN is offline
 
Join Date: Dec 2005
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

really nice, installed
_________________
http://www.netplay.com.ar
Reply With Quote
  #67  
Old 03-17-2008, 02:35 PM
bryanb's Avatar
bryanb bryanb is offline
 
Join Date: Oct 2003
Location: Bierland
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Abe1!! Great mod! My members were asking for something like this just today, and here it is.

Quote:
Originally Posted by 7lanet View Post
Non-appearance of albums that do not contain images.
Quote:
Originally Posted by Savage702 View Post
I'd like to know if there is a way to view if a photo has comments in an album, rather than having to look at each picture to see comments.
These would be most helpful. Also, Is there a way to sort these by user name? That would be great too.

Looks like we want to keep you busy
Reply With Quote
  #68  
Old 03-18-2008, 11:18 AM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll see what I can do guys.
Reply With Quote
  #69  
Old 03-19-2008, 09:44 PM
theOZer's Avatar
theOZer theOZer is offline
 
Join Date: Mar 2007
Location: Colorado, USA
Posts: 212
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Running vB3.7.0 RC1.
Installed My Albums V2.0.
When I click on 'All Albums' off the navbar, I do indeed see all user albums but under the Pictures columns all have 0 (zero) pictures.
Reply With Quote
  #70  
Old 03-19-2008, 11:18 PM
SgtTechHead SgtTechHead is offline
 
Join Date: Apr 2005
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by theOZer View Post
Running vB3.7.0 RC1.
Installed My Albums V2.0.
When I click on 'All Albums' off the navbar, I do indeed see all user albums but under the Pictures columns all have 0 (zero) pictures.
This is due to the file "all_albums.php" checking for the version of vBulletin. This code in particular:

Code:
if (version_compare($vbulletin->options['templateversion'], '3.7.0 Alpha 6', '<'))
{
   $album['picturecount'] = vb_number_format($album['picturecount']);
}
else
{
   $album['picturecount'] = vb_number_format($album['visible']);
}
I commented the following lines out of that section so that it only uses "vb_number_format($album['visible'])":

Code:
// if (version_compare($vbulletin->options['templateversion'], '3.7.0 Alpha 6', '<'))
// {
//  $album['picturecount'] = vb_number_format($album['picturecount']);
// }
// else
// {
    $album['picturecount'] = vb_number_format($album['visible']);
// }
I assume the version check was there because the field names were changing from version to version. My fix may not be pretty, but it does work
Reply With Quote
  #71  
Old 03-20-2008, 02:46 AM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SgtTechHead View Post
This is due to the file "all_albums.php" checking for the version of vBulletin. This code in particular:

Code:
if (version_compare($vbulletin->options['templateversion'], '3.7.0 Alpha 6', '<'))
{
   $album['picturecount'] = vb_number_format($album['picturecount']);
}
else
{
   $album['picturecount'] = vb_number_format($album['visible']);
}
I commented the following lines out of that section so that it only uses "vb_number_format($album['visible'])":

Code:
// if (version_compare($vbulletin->options['templateversion'], '3.7.0 Alpha 6', '<'))
// {
//  $album['picturecount'] = vb_number_format($album['picturecount']);
// }
// else
// {
    $album['picturecount'] = vb_number_format($album['visible']);
// }
I assume the version check was there because the field names were changing from version to version. My fix may not be pretty, but it does work
I came up with a better way. Check my new update in a few min.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 04:38 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05396 seconds
  • Memory Usage 2,348KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete