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
  #52  
Old 03-15-2008, 12:00 AM
AWMGolfer AWMGolfer is offline
 
Join Date: Dec 2007
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great!! Thank you!!
Reply With Quote
  #53  
Old 03-15-2008, 12:00 AM
ChurchMedia's Avatar
ChurchMedia ChurchMedia is offline
 
Join Date: Dec 2002
Location: Las Cruces, NM
Posts: 473
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #54  
Old 03-15-2008, 12:50 AM
rolandogomez's Avatar
rolandogomez rolandogomez is offline
 
Join Date: Jan 2006
Location: San Antonio
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #55  
Old 03-15-2008, 12:56 AM
Spingo Spingo is offline
 
Join Date: Jul 2002
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, you can quickly link to the profile of the album author by editing the all_albumbit template and changing:
Code:
$album[username]
to:
Code:
<a href="member.php?$session[sessionurl]u=$album[userid]">$album[username]</a>
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...
Reply With Quote
  #56  
Old 03-15-2008, 03:20 AM
rolandogomez's Avatar
rolandogomez rolandogomez is offline
 
Join Date: Jan 2006
Location: San Antonio
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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:
Code:
$album[username]
to:
Code:
<a href="member.php?session[sessionurl]u=$album[userid]">$album[username]</a>
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,
Code:
<a href="member.php?u=$album[userid]">$album[username]'s<br> Profile</a><hr noshade width="50">
                <a href="album.php?u=$album[userid]"> Albums</a>
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!
Reply With Quote
  #57  
Old 03-15-2008, 05:54 AM
Savage702 Savage702 is offline
 
Join Date: Sep 2007
Location: Las Vegas, NV
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you so much Spingo!! Awesome additions!!!
Reply With Quote
  #58  
Old 03-15-2008, 10:02 PM
Spingo Spingo is offline
 
Join Date: Jul 2002
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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
  #59  
Old 03-15-2008, 11:29 PM
rolandogomez's Avatar
rolandogomez rolandogomez is offline
 
Join Date: Jan 2006
Location: San Antonio
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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
Code:
<a href="member.php?u=$album[userid]">$album[username]'s<br> Profile</a><hr noshade width="50">
                <a href="album.php?u=$album[userid]"> Albums</a>
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!
Reply With Quote
  #60  
Old 03-16-2008, 01:58 AM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Version 2.0 (03/15/08):
  • Product MUST be installed now.
  • Shows username
  • Phrases are normal now.
Reply With Quote
  #61  
Old 03-16-2008, 10:24 AM
Adem GEN?'s Avatar
Adem GEN? Adem GEN? is offline
 
Join Date: Apr 2005
Location: İstanbul / T?rkiye
Posts: 377
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks
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:02 PM.


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.11180 seconds
  • Memory Usage 2,350KB
  • 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
  • (6)bbcode_code
  • (3)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