vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > Add-On Modules & Modifications > vBa CMPS v4.x > Add-On Modules (version 4.x)

Reply
 
Thread Tools Display Modes
  #1  
Old 08-22-2010, 05:31 AM
BlackThorn BlackThorn is offline
Coder
 
Join Date: Feb 2010
Posts: 159
Cool BT - Module: Random album pictures

BT - vBadvanced CMPS Module: Latest or random users albums photos
BlackThorn Coding...

Description:
My first BETA module here ---> http://www.vbulletin.org/forum/showthread.php?t=245063 and http://www.vbadvanced.com/forum/showthread.php?t=40744

Well - 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. Special thanks to Hasann for code permission. Hasann's originally module for vB3.x.x at here. If you use vB3.x.x, then you can go to there of if you use vB4.0.x, then please read this my the main post before download and use.

Features:
  • [S]Username link to profile.[/S]
  • Picture link to album.
  • Picture Author
  • Picture Description
  • [S]Album Title[/S]
  • Maximum number of pictures to be displayed
  • Maximum Album Pictures Per Row
  • Sorting Of Pictures: order by dateline or order by random
  • Username HTML Markup (fetch_musername)
    • Tested on:
    • vBulletin 4.0.x
    • vBulletin 4.0.5
    • vBadvanced CMPS v4.0.1 Latest version

v3 Fixed bugs:
-DB errors
-Table erros
-No file edits
-Links errors
-Parse errors
-Markup erros
-Phrase errors
-No file uploads
-All template erros
-Left or right block errors
-Pictures Thumb(s) errors
-Album and photo ids erros

[vBA CMPS Module Released: 08/22/10]
INSTALL INSTRUCTIONS:
Go to your Forums --> Admincp --> vBa CMPS --> Download / Upload Module --> Module to Upload --> Select albumpictures.xml file from your Computer --> than Submit.

Support:
Just click install, if you like this module.
Attached Images
File Type: png btd1.PNG (102.9 KB, 273 views)
File Type: png btd2.PNG (102.2 KB, 285 views)
Attached Files
File Type: xml albumspictures(horizontal).xml (3.0 KB, 288 views)
File Type: xml albumspictures(vertical).xml (3.1 KB, 232 views)

Last edited by BlackThorn; 08-28-2010 at 01:28 AM.
Reply With Quote
  #2  
Old 08-22-2010, 07:41 AM
BlackThorn BlackThorn is offline
Coder
 
Join Date: Feb 2010
Posts: 159
Default + horizontal added.

+ horizontal type added right now.

UPDATED.

Last edited by BlackThorn; 08-22-2010 at 09:48 AM.
Reply With Quote
  #3  
Old 08-22-2010, 10:35 AM
CLSSY56 CLSSY56 is offline
Junior Member
 
Join Date: Jun 2009
Posts: 19
Default

I've got a few questions and a suggestion.
  • What are the Red Xs?
  • The word "Discription" takes up too much room, how can I delete it?
  • Where is the control panel?
  • Can the pics have a set size?
Attached Images
File Type: jpg Capture_pics.JPG (43.4 KB, 71 views)
Reply With Quote
  #4  
Old 08-22-2010, 02:46 PM
BlackThorn BlackThorn is offline
Coder
 
Join Date: Feb 2010
Posts: 159
Default

Please download and try again.
Reply With Quote
  #5  
Old 08-22-2010, 10:04 PM
CLSSY56 CLSSY56 is offline
Junior Member
 
Join Date: Jun 2009
Posts: 19
Default

red "X" is gone. Anyway to make the images the same size and remove "Discription:"?
Reply With Quote
  #6  
Old 08-22-2010, 10:12 PM
BlackThorn BlackThorn is offline
Coder
 
Join Date: Feb 2010
Posts: 159
Default

Quote:
Originally Posted by CLSSY56 View Post
red "X" is gone. Anyway to make the images the same size and remove "Discription:"?
Open your adv_portal_album_pictures_bit template and find;

PHP Code:
<br /> 
{
vb:rawphrase description}: {vb:raw picture.caption
DELETE and save then, it's okay.
Reply With Quote
  #7  
Old 08-22-2010, 10:15 PM
CLSSY56 CLSSY56 is offline
Junior Member
 
Join Date: Jun 2009
Posts: 19
Default

won't that get rid of the discription as well as the "Description:"?
Reply With Quote
  #8  
Old 08-22-2010, 10:20 PM
BlackThorn BlackThorn is offline
Coder
 
Join Date: Feb 2010
Posts: 159
Default

Quote:
Originally Posted by CLSSY56 View Post
won't that get rid of the discription as well as the "Description:"?
Well, Description mean does "users photo's details" If you want, you can change that word phrases/words options or in template. OR still I can't understand what do you mean that word let me see a screenshot for explain.
Reply With Quote
  #9  
Old 08-22-2010, 10:26 PM
CLSSY56 CLSSY56 is offline
Junior Member
 
Join Date: Jun 2009
Posts: 19
Default

Does this help?
Attached Images
File Type: jpg Capture_pics.JPG (43.8 KB, 91 views)
Reply With Quote
  #10  
Old 08-22-2010, 10:35 PM
BlackThorn BlackThorn is offline
Coder
 
Join Date: Feb 2010
Posts: 159
Default

Quote:
Originally Posted by CLSSY56 View Post
Does this help?
Well I would guess, I understood now and I'll told a reason; because that the picture pixel is not modules, this is an automatic vBulletin THUMBNAIL pixels but you can change it manuel in codes.

Open the same template adv_portal_album_pictures_bit

Find;
PHP Code:
<img src="attachment.php?attachmentid={vb:raw picture.attachmentid}&amp;thumb=1&amp;d=1258906442" alt="269" border="0" /> 
Replace with;
PHP Code:
<img src="attachment.php?attachmentid={vb:raw picture.attachmentid}&amp;thumb=1&amp;d=1258906442" alt="269" width="100px" height="100px" border="0" /> 
You can change width="100px" and height="100px" px codes for yourself, how do you wanna it. But if you make it manuel, then quality may not be the pictures.
Reply With Quote
  #11  
Old 08-22-2010, 10:52 PM
CLSSY56 CLSSY56 is offline
Junior Member
 
Join Date: Jun 2009
Posts: 19
Default

Thanks, that looks a lot better. How can you add more characters to the discription?

Here is what I changed it to:
PHP Code:
<td class="block">
<
div class="smallfont" id="picturebits" align="center">
<
class="picture" href="album.php?albumid={vb:raw picture.albumid}&amp;attachmentid={vb:raw picture.attachmentid}">
<
img src="attachment.php?attachmentid={vb:raw picture.attachmentid}&amp;thumb=1&amp;d=1258906442" alt="269" width="145px" height="100px" border="0" />  
</
a><br />
By {vb:raw picture.musername}<br /> 
{
vb:raw picture.caption}
</
td
Attached Images
File Type: jpg Capture_pics.JPG (34.3 KB, 68 views)
Reply With Quote
  #12  
Old 08-22-2010, 10:59 PM
BlackThorn BlackThorn is offline
Coder
 
Join Date: Feb 2010
Posts: 159
Default

You're welcome. Well,

Please look at my the main post 2. screenshot (module options screenshot)

OR

Go to your forums ---> Admincp ---> vBA CMPS ---> Edit Modules ---> click to "Album Pictures" and go to module options the bottom of page and come here:

"Maximum Characters of Picture Description to Display"

Already default optional is just "10" but you can change it for yourself (how do you wanna it)

Best Regards,
Reply With Quote
  #13  
Old 08-22-2010, 11:03 PM
CLSSY56 CLSSY56 is offline
Junior Member
 
Join Date: Jun 2009
Posts: 19
Default

Great, thank you. I never scrolled down far enough, didn't notice it was there.
Reply With Quote
  #14  
Old 08-22-2010, 11:05 PM
BlackThorn BlackThorn is offline
Coder
 
Join Date: Feb 2010
Posts: 159
Default

You're welcome sir, then I'm glad for that.


Best Regards,
Reply With Quote
  #15  
Old 08-22-2010, 11:12 PM
CLSSY56 CLSSY56 is offline
Junior Member
 
Join Date: Jun 2009
Posts: 19
Default

one more idea, is there a way to set a max width to match the center column and change the sizes of the pics accordingly?
Reply With Quote
  #16  
Old 08-22-2010, 11:22 PM
BlackThorn BlackThorn is offline
Coder
 
Join Date: Feb 2010
Posts: 159
Default

Of course you can, manually (without no thumbs) ;

<img src="attachment.php?attachmentid={vb:raw picture.attachmentid}" border="0" width="XXXXpx" and height="XXXXpx" />

OR can use this direct (without no thumbs) ;

<img src="attachment.php?attachmentid={vb:raw picture.attachmentid}" border="0" />


But never mind, because I've look at your screenshot and believe me thats awesome...
Reply With Quote
  #17  
Old 08-22-2010, 11:28 PM
CLSSY56 CLSSY56 is offline
Junior Member
 
Join Date: Jun 2009
Posts: 19
Default

I was curious for people who use smaller screen sizes. I think the one for 3.8.x did that, not sure though. How about number of pictures per column width? If you have a narrower column, it may only show 2 pics, or with wider column would show more?
Reply With Quote
  #18  
Old 08-22-2010, 11:36 PM
BlackThorn BlackThorn is offline
Coder
 
Join Date: Feb 2010
Posts: 159
Default

First please look at module options and use it default optional I just suggest that for you. Sir, you asked more question to me for support and really I've bored now. Yes is that module was for vB3.x.x please read my the main post. If you don't want or like, then I suggest, you don't install it. Generally people use it on portal's center column or vertical column default.
Reply With Quote
  #19  
Old 08-22-2010, 11:40 PM
CLSSY56 CLSSY56 is offline
Junior Member
 
Join Date: Jun 2009
Posts: 19
Default

Sorry, I was just trying to help you make it better. You did a great job, thanks again.
Reply With Quote
  #20  
Old 08-23-2010, 12:43 PM
CLSSY56 CLSSY56 is offline
Junior Member
 
Join Date: Jun 2009
Posts: 19
Default

Any idea why this error?
http://www.vbadvanced.com/forum/show...827#post191827
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
BT - Module: Random User Album Photo BlackThorn Add-On Modules (version 4.x) 9 08-22-2010 03:44 AM
Random or Newest Album module? bugzy "How Do I..." Questions 3 06-23-2010 09:39 PM
blog, group and picture comments, blogs, album pictures in Quick moderation Alfa1 Feedback & Suggestions 1 08-09-2008 04:56 AM
Last Album Pictures Module johnny utah Feedback & Suggestions 1 05-07-2008 02:45 PM
Random Pictures Module ogetbilo Add-On Modules & Modifications 21 07-12-2005 08:28 PM


All times are GMT -4. The time now is 06:31 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.