Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
vBAdvanced Module: Latest or Random Album Pictures Details »»
vBAdvanced Module: Latest or Random Album Pictures
Version: 2.0.0, by Hasann Hasann is offline
Developer Last Online: Jun 2021 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.8.x Rating:
Released: 03-14-2009 Last Update: Never Installs: 182
Additional Files Translations  
No support by the author.

Latest / Random Album Pictures vBA CMPS Module by

This Product brought to you by
www.vbulletin-turkey.com

Description:

This will add a CMPS block to your vBadvanced CMPS portal page.
It will display the "Latest or Random Album Pictures" in your vBulletin forums.

Features:
  • Username link to profile.
  • Picture link to album.
  • Picture Author
  • Picture Description
  • Album Title
  • Maximum number of pictures to be displayed
  • Maximum Album Pictures Per Row
  • Show Only Selected Users Pictures
  • Enable or Disable Album Titles
  • Enable or Disable Picture Description
  • Maximum Characters of Picture Description to Display
  • Sorting Of Pictures: order by dateline or order by random
  • Username HTML Markup (fetch_musername)
  • Uses exec_switch_bg (Reads $bgclass and returns the alternate table class)

Tested on:
  • vBulletin 3.7.x
  • vBulletin 3.8.x
  • vBadvanced CMPS v3.1.0

Demo: www.vbulletin-turkey.com

INSTALL INSTRUCTIONS

Go to your Forums --> Admincp --> vBa CMPS -->
Download / Upload Module --> Module to Upload -->
Select albumpictures.xml file from your Computer --> than Submit.

upload "vba_cmps_include_template.php" file to your forums/includes folder overwrite..

Download Now

File Type: zip Latest_Album_Pictures_Module.zip (460.0 KB, 1209 views)

Screenshots

File Type: jpg album_pictures.jpg (288.1 KB, 0 views)
File Type: jpg album_pictures_options.jpg (191.3 KB, 0 views)

Supporters / CoAuthors

Show Your Support

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

Comments
  #22  
Old 03-25-2009, 11:10 AM
Niner1000RR Niner1000RR is offline
 
Join Date: Mar 2009
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Actual picture isn't showing...

I have the latest album and then the random album, conflict?

forum.gottrack.net
Reply With Quote
  #23  
Old 04-15-2009, 12:21 AM
trotskid trotskid is offline
 
Join Date: Feb 2009
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this mod :up:, but I have an invalid SQL , and also I have instaled "vBAdvanced Module: Random Groups" without problems.. Maybe a conflict with "Latest Picture" (I think is the same module that Niner1000RR is talking about)?

Code:
Database error in vBulletin 3.8.2:

Invalid SQL:

     SELECT albumpicture.*, album.*, user.username, user.usergroupid,
  IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid 
  FROM vbalbumpicture AS albumpicture
  LEFT JOIN vbalbum AS album ON(album.albumid = albumpicture.albumid)
  LEFT JOIN vbuser AS user ON(user.userid = album.userid)
  WHERE album.state = 'public' 
  ORDER BY dateline DESC 
  LIMIT 0,;

MySQL Error   : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 8
Error Number  : 1064
Request Date  : Wednesday, April 15th 2009 @ 03:10:46 AM
Error Date    : Wednesday, April 15th 2009 @ 03:10:47 AM
Script        : xxxxxxxxxx
Referrer      : 
IP Address    : xxxxxxx
Username      : xxxxxxx
Classname     : vB_Database
MySQL Version : 5.0.45-log

PS: curious, on my Dynamics works well..
Reply With Quote
  #24  
Old 04-15-2009, 04:58 PM
tahanan tahanan is offline
 
Join Date: Sep 2007
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I opted to NOT show description and put zero characters. The descriptions does not show up by the word "Description: " keeps on showing up. How can it be hidden when opted not to show?
Reply With Quote
  #25  
Old 04-18-2009, 04:15 PM
tahanan tahanan is offline
 
Join Date: Sep 2007
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can we have the Album set to random block and latest album block in the same page?
Reply With Quote
  #26  
Old 05-19-2009, 12:18 AM
yagane's Avatar
yagane yagane is offline
 
Join Date: Jun 2007
Location: Mexico
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Mod, Thanks!!!

Little bug: When I deactivated the Description option, the description don't show, but the word Description remains on the box.

By the way, I got scare when I can see the private albums, I think all were able to see them, but I read the post comments and turn on the module again.

Thanks!!!
Reply With Quote
  #27  
Old 05-20-2009, 12:01 AM
Blue Ink Blue Ink is offline
 
Join Date: Apr 2009
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<font color="Navy">I'm having the same problem with the word 'Description' showing... Is there a fix?</font>
Reply With Quote
  #28  
Old 05-25-2009, 01:27 AM
hyperspin hyperspin is offline
 
Join Date: Jun 2008
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyway to specify what albumid to pull from instead of userid?
Reply With Quote
  #29  
Old 05-25-2009, 12:09 PM
Bernd Bernd is offline
 
Join Date: Apr 2005
Posts: 138
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tahanan View Post
I opted to NOT show description and put zero characters. The descriptions does not show up by the word "Description: " keeps on showing up. How can it be hidden when opted not to show?
adv_portal_album_pictures_bit

Code:
<if condition="$mod_options[album_picture_description]">
<br /> <strong>$vbphrase[description]</strong>: $picture[caption]
</if>
Reply With Quote
  #30  
Old 06-04-2009, 03:36 AM
txspaderz's Avatar
txspaderz txspaderz is offline
 
Join Date: Apr 2006
Location: Houston
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Pretty basic, has some bugs. It works well for my forum, since I only allow one set of pictures on my site, and that's all for public use.

Thanks
Reply With Quote
  #31  
Old 06-04-2009, 08:53 PM
lord eriol lord eriol is offline
 
Join Date: Sep 2005
Location: Italy
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the module dont show any image for me... there is an error in the thumbnails path

if i click on the box where the thumbnail should appear in image propriety i get the address of thumbnail and it is like this:

http://my_syte_url/forum/http://my_s...humbnails_path

(you can see from yourself here)

i checked vba setting, and all seems ok... any suggest?



p.s. solved
i just edited the adv_portal_album_picture_bit template removing $vboptions[bburl]/ from
<a href="$vboptions[bburl]/album.php?$session[sessionurl]albumid=$picture[albumid]&amp;pictureid=$picture[pictureid]"><img class="page" src="$vboptions[bburl]/$picture[thumburl]" alt="$picture[caption_preview]" border="0" style="padding:$stylevar[cellpadding]px; <if condition="!$usercss">border:solid $stylevar[cellspacing]px $stylevar[tborder_bgcolor]</if>" $picture[dimensions] /></a>

....seems that for my forum the $picture[thumburl] variable contain the forum path already... is this normal?
anyway now is all fine
Reply With Quote
Reply

Thread Tools

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 12:10 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.05327 seconds
  • Memory Usage 2,329KB
  • 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
  • (2)bbcode_code
  • (1)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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)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