vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Change style on index with UPDATE (https://vborg.vbsupport.ru/showthread.php?t=52491)

Edgar 05-05-2003 02:33 PM

Done :cool:

-Sidekick- 05-05-2003 06:53 PM

Quote:

Today at 04:50 AM o0stephane0o said this in Post #16
Side click, the bug you are experioencing have nothing to see with that hack, you have just noticed it now but it was there before installing that hack.
Yes it does have to do with this hack. I'm absolutely positive it does. I've changed my style many times before installing this hack and never had a problem.

It's not just this hack, it's any of these style changing hacks. Even here on vb.org you'll experience the problem if you do what I described and it's not even the same hack.

Now is there any solution to this?

BustaCap 05-05-2003 09:09 PM

Grog, I have a question about your hack. When I go to edit my forumhome template (Templates/modify) I see this:


http://www.jdcarr.com/images/templates.gif

Do I have to edit the forumhome template for all the different styles?

Also, when I create the two new templates, which template set do I save them to (Default, plasma, etc...)?

Thanks!

grog6 05-05-2003 09:40 PM

@ BustaCap : To add this modification to all styles, you have to add the 2 new templates and add the variable to each of your forumhome template ;)

That's why I created 2 .txt file which countain the template to add, use the hack Template Backup System to add these 2 templates to each style faster ;) (just 2 clicks ;) )

BustaCap 05-06-2003 12:31 AM

I've installed Firefly's template backup hack. I'm not clear on how I should use this to add the two templates to all of the style sets. ..

Sorry for being so dense about this but I'm new to this. Can you tell me how I should do this?

-Sidekick- 05-06-2003 04:59 AM

You can do it fast without any hacks. Create one of the templates to your top style. Then hit your back button for your browser and change the style you are saving it to from the dropdown menu. Then do the same for the second template. :)

-Sidekick- 05-06-2003 05:00 AM

Grog any comment on my situation? Otherwise I'll just remove the style change option from the usercp since it will be on the main page of the forums.

grog6 05-06-2003 09:26 AM

@ -Sidekick- : Yup but you have to clik X times (the number of styles you have ;) ) to install a template to all styles, and the same thing with the second template whereas with the TBS, just upload the 2 .txt files to your FTP, and then click import to all styles, and you"re done :)

For your question concerning the user profile's change, and the problem you have, as you've said above, this pb is when you install a hack to change the style elsewhere than ic the user CP :(
I don't know why, sorry guy :(

BustaCap 05-06-2003 04:19 PM

ah, so I can import a .txt file as a template? That's what had me confused. I though I had to somehow convert it to a template file before I could import it.

Anyway, I got it working and it seems to be both showing correctly the number of users using each style, including showing styles even if noone is using them. Thanks!

BustaCap 05-11-2003 03:55 PM

grog6, I've got it working and it's working as it should except for one problem. On one of my styles it "squashes" it so that it looks really narrow. However, if I select the style through the UserCP it looks fine, so it must be something to do with the hack. The style is the Ravio Skin offered by VBskins.com. It happens with both the fixed width and expanded style. Any thoughts as to why this happens or how to fix it?

Right now what I've done is to remove the:

<center>
$style_select
</select>
<br>

from the forumhome template for the Ravio style. Of course, this means that I don't get the dropdown box on that skin. However, if I'm viewing another skin (with the dropdown box) I can at least change to the Ravio Skin. As soon as I add the:
<center>
$style_select
</select>
<br>

to the forum home for Ravio style it messes it up again. So I'm just leaving it out.


All times are GMT. The time now is 06:23 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.01085 seconds
  • Memory Usage 1,740KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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