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)
-   -   Social Group and Album Enhancements - All Albums (https://vborg.vbsupport.ru/showthread.php?t=172215)

7lanet 03-16-2008 04:43 PM

Thank you, my dear, for this achievement
Have a suggestion:

Non-appearance of albums that do not contain images
Album governing option introduced a vertical or horizontal
And making the most of each row album seems nicer appearance .

antiekeradio 03-16-2008 07:43 PM

very cool! gives the albums functionality in 3.7 a functional boost!

install went easy, works 100%. top plugin.

rolandogomez 03-17-2008 02:49 AM

Does anyone know how we can add album views? And even how many times a photo has been viewed? Thanks, rg sends!

Savage702 03-17-2008 04:09 AM

I'd like to know if there is a way to view if a photo has comments in an album, rather than having to look at each picture to see comments. Album views like Rolando said too... heck, Picture views too...

TaBaTaN 03-17-2008 12:46 PM

really nice, installed
_________________
http://www.netplay.com.ar

bryanb 03-17-2008 02:35 PM

Thanks Abe1!! Great mod! My members were asking for something like this just today, and here it is. :)

Quote:

Originally Posted by 7lanet (Post 1466263)
Non-appearance of albums that do not contain images.

Quote:

Originally Posted by Savage702 (Post 1466738)
I'd like to know if there is a way to view if a photo has comments in an album, rather than having to look at each picture to see comments.

These would be most helpful. Also, Is there a way to sort these by user name? That would be great too.

Looks like we want to keep you busy :D

Abe1 03-18-2008 11:18 AM

I'll see what I can do guys.

theOZer 03-19-2008 09:44 PM

Running vB3.7.0 RC1.
Installed My Albums V2.0.
When I click on 'All Albums' off the navbar, I do indeed see all user albums but under the Pictures columns all have 0 (zero) pictures.

SgtTechHead 03-19-2008 11:18 PM

Quote:

Originally Posted by theOZer (Post 1469141)
Running vB3.7.0 RC1.
Installed My Albums V2.0.
When I click on 'All Albums' off the navbar, I do indeed see all user albums but under the Pictures columns all have 0 (zero) pictures.

This is due to the file "all_albums.php" checking for the version of vBulletin. This code in particular:

Code:

if (version_compare($vbulletin->options['templateversion'], '3.7.0 Alpha 6', '<'))
{
  $album['picturecount'] = vb_number_format($album['picturecount']);
}
else
{
  $album['picturecount'] = vb_number_format($album['visible']);
}

I commented the following lines out of that section so that it only uses "vb_number_format($album['visible'])":

Code:

// if (version_compare($vbulletin->options['templateversion'], '3.7.0 Alpha 6', '<'))
// {
//  $album['picturecount'] = vb_number_format($album['picturecount']);
// }
// else
// {
    $album['picturecount'] = vb_number_format($album['visible']);
// }

I assume the version check was there because the field names were changing from version to version. My fix may not be pretty, but it does work :)

Abe1 03-20-2008 02:46 AM

Quote:

Originally Posted by SgtTechHead (Post 1469206)
This is due to the file "all_albums.php" checking for the version of vBulletin. This code in particular:

Code:

if (version_compare($vbulletin->options['templateversion'], '3.7.0 Alpha 6', '<'))
{
  $album['picturecount'] = vb_number_format($album['picturecount']);
}
else
{
  $album['picturecount'] = vb_number_format($album['visible']);
}

I commented the following lines out of that section so that it only uses "vb_number_format($album['visible'])":

Code:

// if (version_compare($vbulletin->options['templateversion'], '3.7.0 Alpha 6', '<'))
// {
//  $album['picturecount'] = vb_number_format($album['picturecount']);
// }
// else
// {
    $album['picturecount'] = vb_number_format($album['visible']);
// }

I assume the version check was there because the field names were changing from version to version. My fix may not be pretty, but it does work :)

I came up with a better way. Check my new update in a few min.


All times are GMT. The time now is 06:36 AM.

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.01578 seconds
  • Memory Usage 1,746KB
  • 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
  • (4)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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