vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - vBAdvanced Module: Latest or Random Album Pictures (https://vborg.vbsupport.ru/showthread.php?t=208450)

Hasann 03-14-2009 10:00 PM

vBAdvanced Module: Latest or Random Album Pictures
 
1 Attachment(s)
Latest / Random Album Pictures vBA CMPS Module by https://vborg.vbsupport.ru/external/2009/12/22.png

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..

Hasann 03-15-2009 08:03 PM

reserved for future use.

puertoblack2003 03-15-2009 08:48 PM

thanks amigo nice idea ...:up:

Huy Ho?ng 03-16-2009 12:12 AM

I do not have the vBa CMPS is how to install ?

Hasann 03-17-2009 08:50 PM

Quote:

Originally Posted by puertoblack2003 (Post 1769053)
thanks amigo nice idea ...:up:

gracias amigo

im glad you like it
Quote:

Originally Posted by Huy Ho?ng (Post 1769211)
I do not have the vBa CMPS is how to install ?

check www.vbadvanced.com

tommac3 03-17-2009 10:15 PM

how do you change the number of pics that show in each row? I only get one.

Jasem 03-19-2009 02:28 AM

Great looking mod, keep up the good work,

starman? 03-19-2009 12:47 PM

Thanks once again for your great work Hasann.

PS I was wondering if I could PM you with a Turkey specific question?

KevinL 03-19-2009 01:04 PM

Very nice work :)

Hasann 03-19-2009 04:08 PM

Quote:

Originally Posted by tommac3 (Post 1770758)
how do you change the number of pics that show in each row? I only get one.

after importing module check album pictures options
Quote:

Originally Posted by starman? (Post 1771797)
Thanks once again for your great work Hasann.

PS I was wondering if I could PM you with a Turkey specific question?

yes what is ?

htscpl 03-20-2009 09:41 AM

Nice work, thanks! ** installs **

One question, does this show pictures that are marked for friends/contacts only or does it show all album pictures?

Theater 03-20-2009 12:20 PM

Quote:

Originally Posted by htscpl (Post 1772430)
Nice work, thanks! ** installs **

One question, does this show pictures that are marked for friends/contacts only or does it show all album pictures?

It follows the permissions properly from what I've seen on my board, but if you're logged in as an admin on your board you will see all album pictures. Thank you Hasann for this mod. :up:

veenuisthebest 03-21-2009 11:31 AM

Currently I (the admin) can see my private albums too. How do I block private albums completely?

Thanks

Hasann 03-21-2009 01:50 PM

Quote:

Originally Posted by htscpl (Post 1772430)
Nice work, thanks! ** installs **

One question, does this show pictures that are marked for friends/contacts only or does it show all album pictures?

Quote:

Originally Posted by Theater (Post 1772497)
It follows the permissions properly from what I've seen on my board, but if you're logged in as an admin on your board you will see all album pictures. Thank you Hasann for this mod. :up:

Quote:

Originally Posted by veenuisthebest (Post 1773306)
Currently I (the admin) can see my private albums too. How do I block private albums completely?

Thanks

with this module, you can only see pictures from Public Albums also Admins can see all the album pictures

rule0 03-21-2009 03:34 PM

thank you :up:

veenuisthebest 03-21-2009 04:52 PM

Quote:

with this module, you can only see pictures from Public Albums also Admins can see all the album pictures
Please tell me, how do I stop admins to view private albums too!

junaid 03-21-2009 05:38 PM

How to set thunmbnail set correct size?

Hasann 03-23-2009 03:52 PM

Quote:

Originally Posted by veenuisthebest (Post 1773518)
Please tell me, how do I stop admins to view private albums too!

Quote:

Originally Posted by junaid (Post 1773565)
How to set thunmbnail set correct size?

What do you mean? I don't understand both questions :/

veenuisthebest 03-23-2009 03:57 PM

I mean, admins are currently able to view private albums right??

I want to stop that too. I want admins to not to be able to view any private albums, not even their own in this vba module.

junaid 03-23-2009 08:40 PM

Is it possiple we can ajust thumnail like 50x50 or 75x75 on CMPS module on vbadvanced page

Niner1000RR 03-25-2009 11:10 AM

Actual picture isn't showing...

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

forum.gottrack.net

trotskid 04-15-2009 12:21 AM

Thanks for this mod :up:, but I have an invalid SQL :confused:, 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..

tahanan 04-15-2009 04:58 PM

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?

tahanan 04-18-2009 04:15 PM

How can we have the Album set to random block and latest album block in the same page?

yagane 05-19-2009 12:18 AM

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!!! :D

Blue Ink 05-20-2009 12:01 AM

<font color="Navy">I'm having the same problem with the word 'Description' showing... Is there a fix?</font>

hyperspin 05-25-2009 01:27 AM

Anyway to specify what albumid to pull from instead of userid?

Bernd 05-25-2009 12:09 PM

Quote:

Originally Posted by tahanan (Post 1791831)
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>


txspaderz 06-04-2009 03:36 AM

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

lord eriol 06-04-2009 08:53 PM

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

abadired 06-24-2009 07:36 PM

Quote:

Originally Posted by Bernd (Post 1816791)
adv_portal_album_pictures_bit

Code:

<if condition="$mod_options[album_picture_description]">
<br /> <strong>$vbphrase[description]</strong>: $picture[caption]
</if>


care to help? where exactly to put it?
the description: keeps showing up. I did try adding the above codes into adv_portal_album_pictures_bit

vb 3.8.3
cmps 3.2.0

abadired 06-25-2009 11:10 AM

Quote:

Originally Posted by abadired (Post 1836646)
care to help? where exactly to put it?
the description: keeps showing up. I did try adding the above codes into adv_portal_album_pictures_bit

vb 3.8.3
cmps 3.2.0

I have figured it out, very nice mod thanks :up:

enoobz 06-25-2009 11:56 AM

I want to show this module to public but cannot do it even after I give permission in the module and in forum 'can view album' and 'can view thumbnail' permission.

Anybody can help?

PixelFx 06-25-2009 12:57 PM

nice work, just what I've been looking for

Theory6 Brian 06-30-2009 01:08 AM

this mod is destroying my ability to customize the page on the user-end.

vb 3.8.2
cmps 3.2.0

goxy63 07-03-2009 02:30 PM

Very nice module
Can you please help me to fix picture size within module, something like on your mod "Random / Latest Album Pictures - Forum Home"
As here we dont have that much options how can I fix size so that this module do not brake my margins!?
Thanks

yotsume 07-11-2009 08:35 PM

This needs to be a tabbed module to include album comments as well like your forum mod.

Can you do this soon?

SeanMT 08-01-2009 12:42 PM

I've had to disable this module as it was increasing the server load by 400%.

matthewhotdude 08-01-2009 06:10 PM

Can the be added into the sidebar hack?
https://vborg.vbsupport.ru/showthread.php?t=204773

MAD-DOG 08-07-2009 03:56 AM

Quote:

Originally Posted by enoobz (Post 1837023)
I want to show this module to public but cannot do it even after I give permission in the module and in forum 'can view album' and 'can view thumbnail' permission.

Anybody can help?

same thing here plzz help us?
thanks,


All times are GMT. The time now is 06:13 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02644 seconds
  • Memory Usage 1,827KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete