![]() |
Change style on index with UPDATE
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] |
Here is the french version
Voici la version francaise. |
and the SC
|
nice!
thanks man, i needed that :D |
Haha, uc, Grog6 has followed my command ;P
|
@ Flup : ;)
|
Nice work grog, but how many queries does this add to forumhome?
|
1 query to get the number of styles,
1 other which is run X times (depends of your number of styles to display how many users use the style, but you can remove this query and not show the number of users who use styles, and 1 to update the user's table which is ONLY run if the user modify his style ;) |
nice work :glasses:
|
grog6,
nice hack. :) 1 question. say i have other styles running, but are not selectable to users, how I can avoid from having those style sets from showing up in the box? i've attached a ss to show you what i mean. i have 4 styles that are set as non-selectable. (ie, 0 users) thanks! ;) |
All times are GMT. The time now is 01:55 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|