The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Stylename (and Stylecounter) Modification v1.0.3.1 Details »» | |||||||||||||||||||||||||||
Stylename (and Stylecounter) Modification v1.0.3.1
Developer Last Online: Apr 2014
Note: This module has been changed to 1.0.3 since these were basically bugfixes.
Greetings, these are simple hacks made by me that show what stylename a user is using. Stylecounter module has been removed while I revise it to do a few things you guys requested! The stylename hack adds 0 queries and will adjust for: - Child and parent styles, including 'use forum default styles' - Will account for the current user (the one in the $bbuserinfo array) and which temp style he/she is using. - Same display orders (display order doesn't even matter...) Thanks go out to gnu- and cinq. The former for pointing out some odd little mistakes I made in cyphering the stylechoosercache with child and parent styles that I ignored (sorry!) and the latter for contributing a screenshot. I'm sorry for the hassle I caused some of you who installed, please know that when I did so, I was under duress from other issues and I did not account for a few things that I thought I had. Makes me look like a fool, sure... but since I corrected this basically.... a day, I don't expect to be treated harshly. (Be kind!) Update: v1.0.3.1 - Added optional instructions on how to make QuickStyleChanges permanent for logged-in users. Show Your Support
|
Comments |
#12
|
||||
|
||||
Doesn't work for me Checked two times. It shows "Default Style" for everyone. Even for myself, and no, I'm not using it. :l
|
#13
|
||||
|
||||
GNU please be specific as to which addon you refer. Do you mean the stylecount or stylename mods?
Also if you could please do the following, take the array $styleusercache and print_r it so you can see its structure, then paste it in a code bb tag here, so I can see if it is something specific to your forum. |
#14
|
||||
|
||||
I'm refering to that stylename in postbit mod, but I understood it wrong first, after reading that description the second time I noticed that it in deed doesn't get those styles that have been changed via quick change. Now I'm looking something to solve this.
EDIT: Though, it would be nice if you would add that one extra query, if that's what it needs, in to instructions. |
#15
|
||||
|
||||
Ah yes, I am already planning on coding a modifcation to this script (very simple but I don't have time at the moment) that will check the bbuserinfo of the current user in relation to the post to correct the discrepency. Thus, relative to all users each will appear to have the correct information, but not so for the others without adding an extra query. Give me some time with this, in the mean time, install the hack as normal and when I update it, you just have to add another line or two to the construct_style_options function.
Have a nice day. |
#16
|
||||
|
||||
Well, there's no construct_style_options in the hack I'm refering, but I'm sure to chek this out until you got it done.
|
#17
|
||||
|
||||
Already done, please following the upgrade guide, 3 changes to 2 files (virtually same change). Cheers.
|
#18
|
||||
|
||||
Btw.
Quote:
|
#19
|
||||
|
||||
This will sound very newbish, but it is the first instance of (I will make a note of it in the installer) and not the second, although if you feel thus inclined you can add in both places. Doesn't make a difference, but will affect load time for the cypher.
|
#20
|
||||
|
||||
yet another thing
Quote:
and edit: nah. it's still doing this. in attachment left is a screen shot of the postbit and at the right is my options. |
#21
|
||||
|
||||
Nice...installing now.
Oh, one thing: Quote:
*edit* Also: Quote:
If the addition is meant to go after the }, why not write 'find $template = 'postbit'; }' ? *edit* Uninstalled. This hack is of no use to me until it can display the styles correctly when they have been changed using the quickchooser. And....it doesn't add 5 seconds to load time, even when using 13 styles. 5 seconds would be insane. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|