vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Help me kill my albums tab! (https://vborg.vbsupport.ru/showthread.php?t=247176)

hound2hound 07-23-2010 09:56 PM

Help me kill my albums tab!
 
I am working on a site that will have 4images hosting instead of the internal. I really need to get rid of the Albums tab as I don't want anyone using the stock image albums. I thought of rewriting the album.php into a redirect but I am sure that is a bad idea.

Will someone please help me out? This is my first web development project and the first problem I haven't been able to answer from these forums. Your help would be greatly appreciated.

The reason I thought about using the redirect at albums.php was because it will save me trying to change tabs, and making sure every link from every template is changed...

Ideas anyone?

Qwk86gn 07-23-2010 10:48 PM

Just use permission to not allow the group to have album access.

Log into the ACP -> Usergroups -> Usergroup Manager -> Edit Usergroup-> User Album Permissions -> Can Have Album and Upload Pictures -> "No"

hound2hound 07-23-2010 11:13 PM

Thank you for the suggestion, I gave it a try but it still leaves the tab, users are forwarded to a vBulletin message page stating that they do not have sufficient permissions or that they need to sign in... Really looking for something cleaner. Though it is functional.

--------------- Added [DATE]1279930495[/DATE] at [TIME]1279930495[/TIME] ---------------

Even being able to simply hide it would be great!

Qwk86gn 07-23-2010 11:36 PM

What "Tab" are you referring to? Disabling the Viewing of albums for me makes everything disappear.

hound2hound 07-23-2010 11:52 PM

it is in the navbar.php file, it displays in the header under the logo, with "home,forum,blog,albums,etc..."


All times are GMT. The time now is 07:39 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.01006 seconds
  • Memory Usage 1,712KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete