The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Change style on index with UPDATE Details »» | |||||||||||||||||||||||||
This hack displays a small box at the top of your forum's index, where you can change easily of style. The number of users who used is too displayed just next the Style's name. This hacks was already existed : https://vborg.vbsupport.ru/showthrea...tyle+AND+index but it didn't updat the user's table in the database, and if you use others hacks which display the user's style in the postbit, or an other hack to list hacks used on your board (such as mine or Lesane's), information which was displayed was false ! Now, it's updated when the user uses this scroll menu, and so, no pb with other hacks :-) Moreover, the style directly shown in the scroll menu, is the style that the user uses, so he knows which style he used A simple changement in this scroll menu, and the user is automatically redirected to the forum's index with the new style selected Ce hack affiche en haut de votre forum une petite boite, ou vous pouvez facilement changer de style. Le nombre d'utilisateurs utilisant ce style est egalement montre a cote du nom du style. Ce genre de hack existait deja : https://vborg.vbsupport.ru/showthrea...tyle+AND+index mais il ne mettait pas a jour les infos du membre dans la table user, et si vous utilisez d'autres hacks qui montre le style de chaque membre dans le postbit, ou mon hack qui liste les styles utilises sur votre forum, les infos affichees auraient alors pu etre fausses ! Maintenant c'est mis a jour quand le user utilise ce petit menu, et ainsi, plus de pb avec les autres hacks :-) De plus, le style actuellement utilis? par le membre est directement affiche, ainsi il sait quel style il utilise a tout moment. Un simple changement dans ce menu, redirige le membre vers l'accueil du forum avec le nouveau style choisi [HIGH]Here is the english version. I could understand a mod or Firefly want to remove this hack (which is only a modification of an other one) Voici la version anglaise. Je pourrais comprendre qu'un modo ou un Firefly veuille supprimer ce hack, etant donne que ce n'est que la modification d'un hack de Firefly[/HIGH] Show Your Support
|
Comments |
#22
|
|||
|
|||
Done
|
#23
|
|||
|
|||
Quote:
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? |
#24
|
|||
|
|||
Grog, I have a question about your hack. When I go to edit my forumhome template (Templates/modify) I see this:
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! |
#25
|
||||
|
||||
@ 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 ) |
#26
|
|||
|
|||
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? |
#27
|
|||
|
|||
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.
|
#28
|
|||
|
|||
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.
|
#29
|
||||
|
||||
@ -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 |
#30
|
|||
|
|||
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! |
#31
|
|||
|
|||
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. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|