Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
  #1  
Old 07-07-2013, 06:43 PM
ADomoWorld ADomoWorld is offline
 
Join Date: Jan 2007
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Style Categories

With VB4 is there a way to add categories to my style manager ? Kind of how there is a mobile design section and a standard section.

Id like to have different categories to display different games, tv, and movie sections.

Thanks, for any help.
Reply With Quote
  #2  
Old 07-07-2013, 10:50 PM
Amaury Amaury is offline
 
Join Date: Nov 2011
Location: Ellensburg, WA
Posts: 1,075
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please elaborate.
Reply With Quote
  #3  
Old 07-07-2013, 11:00 PM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ADomoWorld View Post
With VB4 is there a way to add categories to my style manager ? Kind of how there is a mobile design section and a standard section.

Id like to have different categories to display different games, tv, and movie sections.

Thanks, for any help.

Styles are of course hierarchical in the admincp so in that sense yes, the tree can have branches.

I think what you are referring to is the select style menu in the footer for the client. The answer is also yes, but you would have to do some custom coding to the select box and group by display order. You can also simply just create the select menu manually.
Reply With Quote
Благодарность от:
ADomoWorld
  #4  
Old 07-07-2013, 11:09 PM
ADomoWorld ADomoWorld is offline
 
Join Date: Jan 2007
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tbworld View Post
Styles are of course hierarchical in the admincp so in that sense yes, the tree can have branches.

I think what you are referring to is the select style menu in the footer for the client. The answer is also yes, but you would have to do some custom coding to the select box and group by display order. You can also simply just create the select menu manually.
That is exactly what Im looking for, the ability to add sections, categories of styles.

What would be the steps or process to do this ?
Reply With Quote
  #5  
Old 07-07-2013, 11:47 PM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How many groups and styles are you talking about?
Is this something you want to do manually or automatically?

I had a setup like that before we made adaptable templates. Somehow I thought it would be cool to have different views for different kind of users. Modifying all those styles ended up boring the heck out of me so I dropped it. But it was fun to write the code and not to difficult.

I use the display order in the admincp and it told me how to filter and display the tree.

1000 Header GroupName1 (Fake style) for the group name...
1100 Sub Group Name
1110 Style1
2000 Header GroupName2

Then I pre-filter the admincp data and add group header names and null fields for seperators. I don't think I have the code anymore or I would just give it to you.

You can by doing the same thing by creating a manual menu if you do not have too many styles. I will check my backups and see if I can find the code. If not I can get you to a starting point.
Reply With Quote
  #6  
Old 07-08-2013, 12:08 AM
ADomoWorld ADomoWorld is offline
 
Join Date: Jan 2007
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I suppose Id like for it to become automatic if I end up adding a lot more skins, but if the process of manually doing it is simple, I don't mind at all.

An example I had was:

---Default Templates
--Skin1
--Skin2
--Skin3
---Category 1
--Skin1
--Skin2
--Skin3
---Category 2
--Skin1
--Skin2
--Skin3

If the process is simple Id prefer that, but if I can get it to automatically create such categories that would be awesome.
Reply With Quote
  #7  
Old 07-10-2013, 11:02 PM
ADomoWorld ADomoWorld is offline
 
Join Date: Jan 2007
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Friendly Bump ? Anyone else with some way to help or get me started ?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:58 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.09934 seconds
  • Memory Usage 2,216KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (1)post_thanks_box_bit
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete