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)

pewa 06-17-2008 07:24 PM

Quote:

Originally Posted by Fred. (Post 1516476)
Thanks
Finally i found it.

For all other users that want to show albums to guests
You have to set

General Permissions --> Can View Member Info
to YES
and User Album Permissions --> Can View Albums
to YES

:)

Is there a way to make guest able to see All Albums without permissions to se members info?

KuJoe 06-18-2008 10:37 AM

I can't for the life of me figure out how to fix the link on my vBAdvanced page, I added all_albums.php to the Navbar Replacements area but no luck. Any ideas?

Kahuna900 06-20-2008 07:43 PM

I fixed the vbadvanced navbar linking problem by editing the "product-abe1_all_albums.xml" file.

Just replace all instances of "<a href="all_albums.php" with "<a href="/forums/all_albums.php".

Then I re-installed the product utilizing the overwrite option.

Kahuna900 06-20-2008 07:45 PM

Great mod!

I only have one request. Show only the albums that are not empty.

Kahuna900 06-20-2008 08:18 PM

Okay, I added the following to both SELECT statements located in all_albums.php:

Code:

AND album.visible > 0
Now it doesn't show any empty albums!

Ov3rrun 06-21-2008 11:37 AM

Quote:

Originally Posted by Abe1 (Post 1548723)
Only vb allows it.

Thanks, but VB only have the option "Allowed BB Code Tags in Picture Comments" not bb code on description albums.

Actually its unable to add bb code or html on description albums.

Smiry Kin's 06-22-2008 03:43 AM

Quote:

Originally Posted by Kahuna900 (Post 1554854)
I fixed the vbadvanced navbar linking problem by editing the "product-abe1_all_albums.xml" file.

Just replace all instances of "<a href="all_albums.php" with "<a href="/forums/all_albums.php".

Then I re-installed the product utilizing the overwrite option.

Did you even edit the Header Replacements or Navbar Replacements?

ctfortner 06-25-2008 02:07 PM

love it, thanks. installed

ohsuria 06-29-2008 06:00 AM

nice addon.
thanks and installed in 3.7.2 :)

ProtoPC 06-30-2008 05:29 AM

Quote:

Originally Posted by Kahuna900 (Post 1554875)
Okay, I added the following to both SELECT statements located in all_albums.php:

Code:

AND album.visible > 0
Now it doesn't show any empty albums!

Where exactly in the two Select statements?...I added it at the end on both and got an error, ie:

$albumcount = $db->query_first("
SELECT COUNT(*) AS total
FROM " . TABLE_PREFIX . "album
WHERE state IN ('" . implode("', '", $state) . "')
AND album.visible > 0
");


All times are GMT. The time now is 02:37 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.01427 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)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