Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 05-24-2007, 07:50 PM
Asilouhuette Asilouhuette is offline
 
Join Date: May 2007
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Style Children not working

I've modified the default style templates a bit, and now I have created a child style of the default style for use with specific forums. I changed it so the forums I want will use the child style, and the rest will use the parent style.

Now, despite my best efforts, I cannot get any changes to only apply to the child style. I always click the expand button on the child style when trying to only edit that style. I have tried only having the child style checked before clicking to edit the templates. No matter what I do, changes are applied to both templates and I can see the changes on all forums.

The template I am editing is SHOWTHREAD. I would like threads to show differently on these specific forums. I DO have the correct style selected for each of the forums in the forum manager.

Is there a trick to this that I am missing?

Thanks
Reply With Quote
  #2  
Old 05-24-2007, 08:09 PM
LisaD1's Avatar
LisaD1 LisaD1 is offline
 
Join Date: May 2005
Location: True North Strong & Free!
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have found that if you even open a template in a child style and not do anything it will consider itself modified to that style and not take the up dates that you make on the parent style. Also sometimes the style that you have installed could just have a different template in that area and not change. I find that happens with postbit and navbar templates alot
Reply With Quote
  #3  
Old 05-24-2007, 09:16 PM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Asilouhuette,

Perhaps a screenshot of your Styles and Templates page when you are doing the editing would help.

Are you certain the new style has the old style as a Parent?

Are you certain you are editing the new style's SHOWTHREAD template?

Are you certain that the forums have had the new style defined as their Style?
Reply With Quote
  #4  
Old 05-24-2007, 09:48 PM
Asilouhuette Asilouhuette is offline
 
Join Date: May 2007
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kall View Post
Hi Asilouhuette,

Perhaps a screenshot of your Styles and Templates page when you are doing the editing would help.
Done.

Quote:
Are you certain the new style has the old style as a Parent?
Yes.

Quote:
Are you certain you are editing the new style's SHOWTHREAD template?
I think so.

Quote:
Are you certain that the forums have had the new style defined as their Style?
Yes.
Attached Images
File Type: png SelectedTemplate.png (40.0 KB, 0 views)
File Type: jpg SelectedStyles.jpg (25.9 KB, 0 views)
File Type: jpg TestPosts.jpg (31.2 KB, 0 views)
Reply With Quote
  #5  
Old 05-24-2007, 10:00 PM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm..

One thing jumps out at me. Nobody but yourself (or other admins) will even be able to use the Default Style, as the tick is missing.
Reply With Quote
  #6  
Old 05-24-2007, 10:55 PM
Asilouhuette Asilouhuette is offline
 
Join Date: May 2007
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've made sure they were selected now. (I at one point thought they might have something to do with which style was being edited, but I now see that it shows at the top of the template list.)

Still though, I have the same problem. I have, however, found that the two styles are changing separately. Eg, when I change the child, the parent is not modified, which is how it is supposed to work I think. It still appears that the child is *always* used when the forums are rendered though.
Attached Images
File Type: jpg StylesSelected.jpg (31.5 KB, 0 views)
Reply With Quote
  #7  
Old 05-24-2007, 11:08 PM
Asilouhuette Asilouhuette is offline
 
Join Date: May 2007
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update:
It appears that it is working, and may have been all along, kind of.

As long as I am NOT logged in as Administrator, everything looks exactly as it should.
All other accounts, and guests, view it correctly. Administrator seems to be using the child always. I don't have user selectable styles enabled, so it is a little strange.

I'll have to keep an extra browser open for testing.

On a side note, I have two styles, Default and child of Default, but the child shows up as style 3 rather than 2. I once deleted the child and created it again trying to figure out this problem, which may have caused it to go up a notch, is there anyway I can reassign it to style 2 and remove style 3? Just for consistency's sake.

Thanks.
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 10:19 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.04093 seconds
  • Memory Usage 2,239KB
  • Queries Executed 14 (?)
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
  • (4)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
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (4)postbit_attachment
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete