![]() |
|
Mod Options |
![]() |
|||||||||||||||||||||||||||||||||||
What style are we all using?
![]() Developer Last Online: Jun 2020 ![]() ![]() ![]() This modification is in the archives.
NOTE: Make sure all your styles have different display orders (only if they are in the same grouping). For instance, don't have 2 styles each with the display order of '1' otherwise this hack will just show 'Style: ' and no style shown.
This hack will show each users current selected style when viewing a post. If you want to see how this looks, take a look at the screenshot attached. The style system is a little more complex than the vBulletin 2 one, but it's still pretty simple and straightforward. My apologies if this has already been released! I must also note that all of this code is original, meaning I made it all myself, I didn't look at someone else's code if anyone was wondering, so that we don't play the 'blame game' later on. NOTE: For those who are wondering, this hack adds NO EXTRA QUERIES to your pages! Meaning the load and processing time are about the same as usual, they don't change much ![]() Okay anyhow, here we go: Instructions Open includes/functions_showthread.php and find
Above, add:
Find
Above add
Open the postbit template (or postbit_legacy if you're using old-style postbits) and find
Above, add
Now add the following phrase: Phrase Type: GLOBAL Title: not_specified Text: not specified Title: style Text: Style All done! ![]() Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
No members have liked this post.
|
Comments |
#2
|
||||
|
||||
Alright first install. . . I love this hack!
Thanks!! ![]() No members have liked this post.
|
#3
|
|||
|
|||
Looks good. Excellent job ^_^
No members have liked this post.
|
#4
|
||||
|
||||
Well done!
BTW, is there any way that could be able to made that as a link? Whereby user can click on it ? Exactly like what Vb.org having now. thanks
__________________
~ Brian My Blog: www.MrBrian.me Ultimate Soccer Forum www.WeTalkSoccer.com URL Shortener service with custom link keywords: www.GoLink.US No members have liked this post.
|
#5
|
||||
|
||||
Ok
![]() ![]() No members have liked this post.
|
#6
|
||||
|
||||
strange i did everything and checked it twice but only get a ":" where it is suposed to go?
No members have liked this post.
|
#7
|
||||
|
||||
Originally Posted by ryancooper
You need the phrases to add.
No members have liked this post.
|
#8
|
||||
|
||||
Originally Posted by NuclioN
It works for me using child styles
![]() No members have liked this post.
|
#9
|
||||
|
||||
Originally Posted by Gary W
The phrase is definatly there. jsut tryed to add it again and got There is already a phrase named 'not_specified'. You may not create duplicate names
there is only 1 phrase correct? Any other ideas? No members have liked this post.
|
#10
|
||||
|
||||
Originally Posted by Gary W
Ok
![]() No members have liked this post.
|
#11
|
||||
|
||||
Originally Posted by Matthew Lam
vb.org is using the quick and dirty way, like i call it.
the Style part is not generated, but it's a big if condition test in postbit, (as it was done during the Beta when we didn't want to hack where not needed) No members have liked this post.
|
#12
|
||||
|
||||
Originally Posted by ryancooper
Thanks for bringing this to my attention. I fixed it now, for upgrading, just replace global $stylechoosercache;
with global $stylechoosercache, $vbphrase; No members have liked this post.
|
#13
|
||||
|
||||
Originally Posted by Gary W
Oh good so i wasn't going nutz!! LOL Thanks for a great hack!
Updated but still get teh same thing?? No members have liked this post.
Last edited by ryancooper; 28 Mar 2004 at 23:33. |
#14
|
||||
|
||||
Yes the same here. Or you see a : (when a child style whas chosen) or the phrase '(not_specified)' but if they choose a master style it's correct displayed.
No members have liked this post.
|
#15
|
||||
|
||||
Sorry about that guys
![]() Add the following phrase: Title: style Text: Style No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 10:59.