Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Make a forum Gallery from User Albums Details »
Make a forum Gallery from User Albums
Mod Version: 1.02, by pipedreams (Member) pipedreams is offline
Developer Last Online: Apr 2012 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.7.0 Beta 5 Rating: (2 votes - 4.50 average) Installs: 27
Released: 01 Mar 2008 Last Update: 02 Mar 2008 Downloads: 234
Not Supported Code Changes Additional Files Re-usable Code Translations Is in Beta Stage  

UPDATE:
Well, there is another hack been released which is more or less the same as my initial hack, so I recommend that you all use that from now on
http://www.vbulletin.org/forum/showthread.php?t=172215

INTRO:

This is a crude attempt at making a forum gallery from all the user albums on your vb 3.7.x forum.

I can imagine that there are many other better ways to achieve this, but I think my method is quick and easy enough to be shared with other users on this forum.

It is also my first attempt at a vbulletin hack, so forgive my naivety re all this.

STEPS:
  1. Copy the default vbulletin album.php file and rename to (say) gallery.php
  2. Open this new file in a text / php editor and follow the instructions found in the attached galleryFromAlbumsMod.txt file.
  3. That's it!
DEMO:HISTORY:
  • 02.03.2008: 1.02 - Changed code to make sure only public albums are shown, added clause for guest navigation when paging, and hide username from top navbar.
    ==
  • 02.03.2008: 1.01 - Changed code in order to page through all forum public user albums
    ==
  • 01.03.2008: 1.00 - Initial basic gallery
NOTES:
  • You need to set "Can View Albums" to yes in usergroup permissions. The amount of albums per page is decided by the value in "Albums Per Page" in "User Profile: Album Options" in adminCP options.
    ===
  • The amount of albums per page is decided by the value in "Albums Per Page" in "User Profile: Album Options" in adminCP options.
    ==
  • User css has an effect on the gallery look. (I have defaulted it to userid 1)
COMING SOON:
  • Separate template for the gallery listing, which will enable the username to be displayed beside each respective album.

Download Now

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

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #31  
Old 02 Mar 2008, 20:21
7lanet's Avatar
7lanet 7lanet is offline
 
Join Date: Aug 2007
http://www.7lanet.com/vb/gallery.php

:*_*:

Even after the last amendment the same problem
When introduced to the other Asfhat show only the first page
But the problem of visitors dissolved
Reply With Quote
  #32  
Old 02 Mar 2008, 20:25
7lanet's Avatar
7lanet 7lanet is offline
 
Join Date: Aug 2007
Please: Can you amendment thereto
I Est amendment
No problem is solved with me
Attached Files
File Type: php album.php (54.8 KB, 10 views)
Reply With Quote
  #33  
Old 02 Mar 2008, 20:26
pipedreams's Avatar
pipedreams pipedreams is offline
 
Join Date: Apr 2004
Real name: JP
Originally Posted by 7lanet View Post
Even after the last amendment the same problem
When introduced to the other Asfhat show only the first page
But the problem of visitors dissolved
Can you give pm me a test logon to you site, so I can see what your issue is?
Alas I can't read arabic - which I presume the website language is?
Reply With Quote
  #34  
Old 02 Mar 2008, 20:34
7lanet's Avatar
7lanet 7lanet is offline
 
Join Date: Aug 2007
Regrettably my default language is Arabic
But you can change from under the English
But my request of you is the amendment to the file attached in the previous shrimps
Or give me your Gallery file


^_^
Reply With Quote
  #35  
Old 02 Mar 2008, 20:40
7lanet's Avatar
7lanet 7lanet is offline
 
Join Date: Aug 2007
See my changes this former

Are there mistakes?


www.7lanet.com/vb/g.php
www.7lanet.com/vb/g2.php
www.7lanet.com/vb/g3.php
Attached Files
File Type: php g.php (55.0 KB, 5 views)
File Type: php g2.php (55.0 KB, 3 views)
File Type: php g3.php (55.4 KB, 7 views)
Reply With Quote
  #36  
Old 02 Mar 2008, 21:03
pipedreams's Avatar
pipedreams pipedreams is offline
 
Join Date: Apr 2004
Real name: JP
Your g3.php seems correct to me, and from what I can tell it works as mine does:

e.g. I can page and view albums ok:
http://www.7lanet.com/vb/g3.php?u=1&page=4

Though you have to change the file name around line 1536 to the same name as you file name. (e.g. at moment in the file g3.php and you have gallery.php for the paging links)
Reply With Quote
  #37  
Old 02 Mar 2008, 21:25
7lanet's Avatar
7lanet 7lanet is offline
 
Join Date: Aug 2007
ohhhhhhhhh

sorry

ok
I do not know how to express my thanks to you
^_^
Reply With Quote
  #38  
Old 02 Mar 2008, 21:40
pipedreams's Avatar
pipedreams pipedreams is offline
 
Join Date: Apr 2004
Real name: JP
Originally Posted by 7lanet View Post
I do not know how to express my thanks to you
^_^
No problem, am glad it's working for you now.
Reply With Quote
  #39  
Old 04 Mar 2008, 07:14
ShawneyJ's Avatar
ShawneyJ ShawneyJ is offline
 
Join Date: Jul 2006
Real name: Shawn
this is amazing will install later thanks.
__________________
Sorry Guys, just a little busy lately.
Reply With Quote
  #40  
Old 04 Mar 2008, 18:10
rolandogomez's Avatar
rolandogomez rolandogomez is offline
 
Join Date: Jan 2006
Location: San Antonio
Is there a way to get it to say only "Albums" instead of "X-user's Albums" on the category top? Thanks, rg.
__________________
Photographer & author (three books on Amazon.com), GarageGlamour.com, RolandoGomez.net
Reply With Quote
  #41  
Old 04 Mar 2008, 19:35
Magnumutz's Avatar
Magnumutz Magnumutz is offline
 
Join Date: Feb 2006
Real name: Alex
Originally Posted by pipedreams View Post
Am working on that now and so far it's working fine:
http://www.badminton.ie/forum/gallery.php?u=1

The amount of albums per page is decided by the value in "Albums Per Page" in "User Profile: Album Options" in adminCP options.

Will update overall instructions very soon..
What i really meant was that when you go to /gallery.php, it displays all the albums that all the users have. Not just the admins... or is the admin on your forum the only one with an album?
__________________

Reply With Quote
  #42  
Old 04 Mar 2008, 20:06
rzepkaMM rzepkaMM is offline
 
Join Date: Jan 2008
Thanks m8
I wait for this

Last edited by rzepkaMM; 04 Mar 2008 at 20:20.
Reply With Quote
  #43  
Old 04 Mar 2008, 20:19
pipedreams's Avatar
pipedreams pipedreams is offline
 
Join Date: Apr 2004
Real name: JP
Originally Posted by Magnumutz View Post
What i really meant was that when you go to /gallery.php, it displays all the albums that all the users have. Not just the admins... or is the admin on your forum the only one with an album?
Yes on that forum, only admins have albums so far.

Originally Posted by rolandogomez View Post
Is there a way to get it to say only "Albums" instead of "X-user's Albums" on the category top? Thanks, rg.
With the next version, I will add a custom template, which will eliminate this issue..
Reply With Quote
  #44  
Old 16 Mar 2008, 18:48
pipedreams's Avatar
pipedreams pipedreams is offline
 
Join Date: Apr 2004
Real name: JP
Well, there is another hack been released which is more or less the same as my initial hack, so I recommend that you all use that from now on

http://www.vbulletin.org/forum/showthread.php?t=172215
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 14:26.

Layout Options | Width: Wide Color: