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
ajax slideshow user profile albums Details »»
ajax slideshow user profile albums
Version: 1.02, by Qleb Qleb is offline
Developer Last Online: Jan 2015 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.8.x Rating:
Released: 10-27-2009 Last Update: 10-29-2009 Installs: 19
Template Edits
 
No support by the author.

Hello

this mod to display userprofile albums as slideshow with ajax technology

Live Demo : http://www.qleb.net/member.php?u=1

FOR : 3.7.X click here
install time : 1 min

changes :

1- fix show all albums
2- fix if user has no albums

how to install :

download the zip file and extract it then

1- upload files to your forum root

open template memberinfo_albumbit and replace it with this

PHP Code:
<div class="panel"  align="center">
<
a href="album.php?$session[sessionurl]albumid=$album[albumid]title="$album[title_html]class="open"><img src="$album[coverthumburl]border=0/></a>
</
div
open template memberinfo_block_albums and replace it with this

PHP Code:
<script type="text/javascript" src="clientscript/jquery.min.js"></script>
<
script type="text/javascript" src="clientscript/stepcarousel.js">
</
script>
<
script type="text/javascript">
stepcarousel.setup({
    
galleryid'mygallery'//id of carousel DIV
    
beltclass'belt'//class of inner "belt" DIV containing all the panel DIVs
    
panelclass'panel'//class of panel DIVs each holding content
    
autostep: {enable:truemoveby:1pause:3000},
    
panelbehavior: {speed:500wraparound:falsepersist:true},
    
defaultbuttons: {enabletruemoveby1leftnav: ['images/arrow2.gif', -580], rightnav: ['images/arrow1.gif', -2080]},
    
statusvars: ['statusA''statusB''statusC'], //register 3 variables that contain current panel (start), current panel (last), and total panels
    
contenttype: ['inline'//content setting ['inline'] or ['ajax', 'path_to_external_file']
})
</
script>
<if 
condition="$block_data['albumbits']">
<
div align="center">
<
div id="mygallery" class="stepcarousel">
<
div class="belt">
$block_data[albumbits]
</
div></div></div>
<
div class="alt2 smallfont block_row block_footer" align="$stylevar[right]">
<
a href="album.php?$session[sessionurl]u=$userinfo[userid]">$vbphrase[show_all_albums]</a>
</
div>
<else />
<
div class="alt1 smallfont block_row">$vbphrase[you_have_not_created_any_albums]</div>
<
div class="alt2 smallfont block_row block_footer" align="$stylevar[right]">
<
a href="album.php?$session[sessionurl]do=addalbum">$vbphrase[add_album]</a>
</
div>
</if> 

3- open template (memberinfo_css) add after
PHP Code:
<style type="text/css" id="memberinfo_css"
the text memberinfo_css.txt

to customise the width and height of the block follow these instructions

open memberinfo_css

for W&H of Main Block arrows

edit
PHP Code:
.stepcarousel{
positionrelative/*dont change this*/
overflowscroll;/*dont change this*/
width230px/*change this to the width you has set into your profile albums*/
height140px/*change this to the hight you has set into your profile albums*/


for W&H of albums thumb
edit this

PHP Code:
.stepcarousel .panel{
width207px/*change this to the same width set into ur forums album*/
overflowhidden/*dont change this*/


thats all

i test it on Explorer 7 and Firfox worked fine

please if you install it and works with you dont forget to mark as install and rate the mod

Download Now

File Type: zip ajax slideshow user profile albums.zip (27.8 KB, 65 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 10-30-2009, 04:52 PM
M Shaker's Avatar
M Shaker M Shaker is offline
 
Join Date: Jul 2007
Location: Egypt
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks
Reply With Quote
  #13  
Old 10-30-2009, 05:24 PM
Qleb's Avatar
Qleb Qleb is offline
 
Join Date: Sep 2008
Location: Lebanon
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

updated

if you install the mod allready just replace the tampltes memberinfo_block_albums
Reply With Quote
  #14  
Old 10-30-2009, 06:24 PM
Cybershaolin Cybershaolin is offline
 
Join Date: Nov 2006
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Perfect update. Thanks for the addition of the text "View all albums"!

Just one question: How to translate "Back 1 albums" and "Forward 1 albums"? is it possible to use phrases as we use more than one language on my forum? BTW it should be "Back 1 album" and "Forward 1 album" without the "s".
Reply With Quote
  #15  
Old 10-31-2009, 06:26 AM
Qleb's Avatar
Qleb Qleb is offline
 
Join Date: Sep 2008
Location: Lebanon
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cybershaolin View Post
Perfect update. Thanks for the addition of the text "View all albums"!

Just one question: How to translate "Back 1 albums" and "Forward 1 albums"? is it possible to use phrases as we use more than one language on my forum? BTW it should be "Back 1 album" and "Forward 1 album" without the "s".
yes u can do this

open file clientscript/stepcarousel.js

edit line 59 and 60

at the end of the line add the phrases you want
Reply With Quote
  #16  
Old 10-31-2009, 10:37 AM
Cybershaolin Cybershaolin is offline
 
Join Date: Nov 2006
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, I was more talking about the vbulletin phrasing system like: $vbphrase[go_back] since I use more than one language, but at least, I know where to change it.

I wish we could have something like that (meaning a slideshow) when displaying the pictures too inside an album. This is a very nice effect.
Reply With Quote
  #17  
Old 10-31-2009, 10:50 AM
Qleb's Avatar
Qleb Qleb is offline
 
Join Date: Sep 2008
Location: Lebanon
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cybershaolin View Post
Thanks, I was more talking about the vbulletin phrasing system like: $vbphrase[go_back] since I use more than one language, but at least, I know where to change it.

I wish we could have something like that (meaning a slideshow) when displaying the pictures too inside an album. This is a very nice effect.
i did one like this befor i made that check it at this link

http://smoothgallery.jondesign.net/showcase/gallery/#

but its made a problems with some plugins Java scripts like live chat or chatbox or somthing
Reply With Quote
  #18  
Old 10-31-2009, 11:09 AM
Cybershaolin Cybershaolin is offline
 
Join Date: Nov 2006
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, something like that would be very nice if implemented in vbulletin. But, on your example, I can see the arrows in order to move for the next or previous pictures only. If a slideshow of all pictures looping on an infinite way would be displayed, this would be better according to me.

How to do something like that for vbulletin pictures albums is another story but the person who will do it, for sure, would have a great success with the hack.

I think that we would have more stuff like this implemented within vbulletin, because multimedia is the way to go. Same applies for videos, like integrated players, etc instead of having all those BB codes or Multimedia players hacks playing files on the server or somewhere else and links to all these onlines video providers.
Reply With Quote
  #19  
Old 11-10-2009, 01:35 PM
Qleb's Avatar
Qleb Qleb is offline
 
Join Date: Sep 2008
Location: Lebanon
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ill work to make it show silde show as infinity inside user album like the example i show u above

hope its well work
Reply With Quote
  #20  
Old 11-11-2009, 12:15 AM
Cybershaolin Cybershaolin is offline
 
Join Date: Nov 2006
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great, that would be very nice. If you could add the same infinite way on the album profiles, this hack would be perfect.
Reply With Quote
  #21  
Old 11-11-2009, 03:03 AM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the demo is working now, looks great
I've been wanting something like this, I'll check it out and add it shoon

thanks
-Brandon
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 02:13 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.08205 seconds
  • Memory Usage 2,361KB
  • Queries Executed 26 (?)
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
  • (5)bbcode_php
  • (2)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
  • (1)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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