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
  #372  
Old 10-24-2008, 08:36 PM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Abe1 View Post
Version 2.5 (10/24/08):[LIST][*]Added Search text right near search box
Useless. Before you did this i just translated the Button to "Suche" (means Search in German).

Why don?t you just rename the Button to "Search" ...

No i have to translate Search (Suche) and Submit ..(Los / Go) to make a sense in translating this.

Just a Hint ...
Reply With Quote
  #373  
Old 10-24-2008, 08:55 PM
ArnyVee's Avatar
ArnyVee ArnyVee is offline
 
Join Date: Mar 2008
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Much better!

Thanks Abe!
Reply With Quote
  #374  
Old 10-24-2008, 09:50 PM
ProtoPC ProtoPC is offline
 
Join Date: Feb 2008
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Abe. Version 2.5 search works for me now at http://www.cywire.com/member-albums.html. Took prefix I had added out:

------------------------------------------------------

$albumcount = $db->query_first("
SELECT COUNT(*) AS total
FROM " . TABLE_PREFIX . "album AS album
WHERE state IN ('" . implode("', '", $state) . "')
AND album.visible > 0
$searchwhere

------------------------------------------------------


// fetch data and prepare data
$albums = $db->query_read("
SELECT album.*,
picture.pictureid, picture.extension, picture.idhash,
picture.thumbnail_dateline, picture.thumbnail_width, picture.thumbnail_height,
user.*
FROM " . TABLE_PREFIX . "album AS album
LEFT JOIN " . TABLE_PREFIX . "picture AS picture ON (album.coverpictureid = picture.pictureid AND picture.thumbnail_filesize > 0)
LEFT JOIN " . TABLE_PREFIX . "user AS user ON (album.userid = user.userid)
WHERE album.state IN ('" . implode("', '", $state) . "')
AND album.visible > 0
$searchwhere
ORDER BY $sortname $sortorder
LIMIT $start, $perpage
");


------------------------------------------------------
Reply With Quote
  #375  
Old 10-24-2008, 09:52 PM
gsipromotions gsipromotions is offline
 
Join Date: Feb 2006
Location: London Ontario Canada
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will be upgrading my version soon but was wondering....

Is there any way to show only one album per user (like maybe the last album created)?
It would be nice since vbulletin doesn't have a way to limit the amount of Albums the users can have.
Reply With Quote
  #376  
Old 10-25-2008, 07:23 AM
Lars T Lars T is offline
 
Join Date: Sep 2008
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think you can limit the amount of albums in your AdminCP.?
Reply With Quote
  #377  
Old 10-25-2008, 11:43 AM
trilogy33 trilogy33 is offline
 
Join Date: Jan 2008
Location: UK
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Upgraded and works fine. Thank you
Reply With Quote
  #378  
Old 10-25-2008, 12:23 PM
TheLab TheLab is offline
 
Join Date: May 2003
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Abe1 for the search and the update!

Though i was more looking for a "forced" search. When users will go to all_albums i ll need to have them only look up for albums with specific name. Is that possible? (by editing the php probably?)
Reply With Quote
  #379  
Old 10-25-2008, 01:47 PM
hotwheels hotwheels is offline
 
Join Date: May 2005
Location: Cheyenne, wy
Posts: 1,380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice mod.....
Reply With Quote
  #380  
Old 10-25-2008, 10:43 PM
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 TheLab View Post
Thanks Abe1 for the search and the update!

Though i was more looking for a "forced" search. When users will go to all_albums i ll need to have them only look up for albums with specific name. Is that possible? (by editing the php probably?)
dont install this mod then. if you want to see just one user at time, this is how vb has it.
Reply With Quote
  #381  
Old 10-26-2008, 06:30 AM
TheLab TheLab is offline
 
Join Date: May 2003
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Abe1 View Post
dont install this mod then. if you want to see just one user at time, this is how vb has it.
No no, this mod is very good.

I don't want a user at a time. I want to have my users create album with a specific name and when they click on all_albums page to search in the db only for albums called "test" for example.

Thanks

Edit: Actually i want this: "http://xxx/all_albums.php?s=&sort=lastpicturedate&order=desc& page=1&query=Test" but i don't want users to be able to change the attributes.
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 08:44 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.05835 seconds
  • Memory Usage 2,341KB
  • 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
  • (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