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)

rolandogomez 03-06-2008 05:10 PM

Quote:

Originally Posted by ChurchMedia (Post 1458502)
Cool and easy! I'd like to hide the private albums, though. Good work!

Have to agree, change it where private albums are not shown and a link to the user's profile of the owner of the album. Thanks, rg.

Adem GEN? 03-06-2008 06:35 PM

// navbar and final output
$navbits = construct_navbits(array(
'album_all.php' . $vbulletin->session->vars['sessionurl_q'] => construct_phrase($vbphrase['xs_profile'], $userinfo['username']),
'' => $vbphrase['albums']
));
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('album_list') . '");');
?>


Not files album_all.php

RvG2 03-06-2008 06:36 PM

Quote:

Originally Posted by AdemGEN? (Post 1458686)
// navbar and final output
$navbits = construct_navbits(array(
'album_all.php' . $vbulletin->session->vars['sessionurl_q'] => construct_phrase($vbphrase['xs_profile'], $userinfo['username']),
'' => $vbphrase['albums']
));
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('album_list') . '");');
?>

what this code is all about? :)

Abe1 03-06-2008 10:22 PM

Quote:

Originally Posted by AdemGEN? (Post 1458686)
// navbar and final output
$navbits = construct_navbits(array(
'album_all.php' . $vbulletin->session->vars['sessionurl_q'] => construct_phrase($vbphrase['xs_profile'], $userinfo['username']),
'' => $vbphrase['albums']
));
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('album_list') . '");');
?>


Not files album_all.php

Just updated the php file to fix it.

Abe1 03-06-2008 10:23 PM

Quote:

Originally Posted by rolandogomez (Post 1458631)
Have to agree, change it where private albums are not shown and a link to the user's profile of the owner of the album. Thanks, rg.

I wanted to just get this hack out right now. I will do more research into it now so permissions are kept.

Sychev_S 03-07-2008 12:30 AM

Quote:

Originally Posted by Abe1 (Post 1458884)
I wanted to just get this hack out right now. I will do more research into it now so permissions are kept.

You sure made a lot of people happy. Very usefull hack! Thank you so much!

Alfa1 03-07-2008 01:00 AM

This error was on page 4 of your demo:
Quote:

Forbidden

You don't have permission to access /vb/all_albums.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Abe1 03-07-2008 01:31 AM

Version 1.1 (03/06/08):
  • PHP file only.
  • Doesn't show albums that a user can't view.

Brandon Sheley 03-07-2008 02:48 AM

nice hack, now no need for the gallery script :D

[high]* Brandon Sheley installs for later[/high]

Savage702 03-07-2008 11:59 AM

Can it be made to show who the owner of each album in the list is?


All times are GMT. The time now is 12:30 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.01515 seconds
  • Memory Usage 1,739KB
  • 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
  • (6)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