We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Remove Default Avatar Gallery Folders (v2.0); (or only remove the ones you want); By BRYN
Topic Started: Feb 3 2010, 11:48 PM (2,005 Views)
Reid
Member Avatar
È una trappola!

This topic has been moved from our official support board.

Originally posted by: BRYN
Remove Default Avatar Gallery Folders (v2.0); (or only remove the ones you want)
 
Remove Default Avatar Gallery Folders (v2.0)

This code removes the default image folders in the avatar gallery, or the ones you want (See the Notes).

It also removes the folders from the dropdown list inside the galleries (New to v2.0).

Just note that users can still access the default galleries if they know the URL.

Date Created: February 13th, 2008.
Last Updated on: September 25th, 2008

Preview: Preview Image

Code: Goes in Above the copyright or Below the Board:
Spoiler: click to toggle

Notes:

The 'Basic Avatar Gallery' folder:
The Basic Avatar Gallery folder is only accessible using the dropdown inside other galleries, thus it is recommended that this gallery always stay removed in the code.

How to keep certain folders, but remove the rest:
Spoiler: click to toggle

Additional Credit:
Spoiler: click to toggle


If you have any questions or concerns, feel free to ask away!
Enjoy!
Offline Profile Quote Post Goto Top
 
Arly
Member Avatar
Member
[ *  *  * ]
Tried the top one, but it doesn't appear to be working.
Offline Profile Quote Post Goto Top
 
Quantom X
Member Avatar
got game?
[ *  *  * ]
How do I put in the code?


I am the guy from Static by the way.
Offline Profile Quote Post Goto Top
 
Quantom X
Member Avatar
got game?
[ *  *  * ]
I tried it on my Guinea Pig forum and it worked great!
Offline Profile Quote Post Goto Top
 
Nyokou
Member
[ * ]
Doesn't work, unfortunately.
Offline Profile Quote Post Goto Top
 
Chipango
Member Avatar
Member
[ * ]
Not working.
Offline Profile Quote Post Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Use CSS instead.
Online Profile Quote Post Goto Top
 
Ferby
Member Avatar
Developer
[ *  *  *  *  * ]
Worked for me but when I click on a folder it still has that drop menu below with all the avatar folders in it, i know this aint your code reid. I can provide a img if needed
Offline Profile Quote Post Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
See the link in my post above for a CSS solution to remove them from the drop menu as well.
Online Profile Quote Post Goto Top
 
Ferby
Member Avatar
Developer
[ *  *  *  *  * ]
Cory
Apr 29 2012, 07:08 PM
See the link in my post above for a CSS solution to remove them from the drop menu as well.
Doesnt work with my themes, dunno why

this works though but not with this code, kinda annoying
Edited by Ferby, May 11 2012, 05:47 PM.
Offline Profile Quote Post Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Try using both CSS selections in that topic and remove the code you found in this topic.
Online Profile Quote Post Goto Top
 
Ferby
Member Avatar
Developer
[ *  *  *  *  * ]
Okay I'll do it the CSS way then lol, cheers cory
Offline Profile Quote Post Goto Top
 
tobeme
Member Avatar
Member
[ *  * ]
I used the CSS codes provided by Helena. The folders are removed but still showed up in the drop down.
Offline Profile Quote Post Goto Top
 
Ferby
Member Avatar
Developer
[ *  *  *  *  * ]
tobeme
Jul 14 2012, 06:36 AM
I used the CSS codes provided by Helena. The folders are removed but still showed up in the drop down.
Code: HTML
 
#ucp_gallery a[href*="-1"], #ucp_gallery a[href*="-2"], #ucp_gallery a[href*="-3"], #ucp_gallery a[href*="-4"], #ucp_gallery a[href*="-5"], #ucp_gallery a[href*="-6"] {
display: none;
}
select[name="folder"] option[value="0"], select[name="folder"] option[value="-1"], select[name="folder"] option[value="-2"], select[name="folder"] option[value="-3"], select[name="folder"] option[value="-4"], select[name="folder"] option[value="-5"], select[name="folder"] option[value="-6"] {
display: none;
}
Use that
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · ZetaBoards Codes & Modifications · Next Topic »
Add Reply