![]() |
Skin view - show skin in postbit
As requested, this plug-in shows what skin users are using in their postbit.
The variables are as follows: $post[stylename] - The style name, eg. Smooth Blue $post[styleid] - The style ID, eg. 13 (it's unlikely that you'll need this) $post[styleurl] - The URL to the style, eg. /forum/showthread.php?t=133805&styleid=13 $post[stylelink] - A link to the style and the style name, eg. Smooth blue The recommended code to put in your postbit/postbit_legacy templatebit is: Style: $post[stylelink] If you don't wish to have the skin name link to the skin, use: Style: $post[stylename] Please note: Due to the default behaviour of vBulletin, this will only show the skin set in the user's options, and not the skin chosen from the "Quick Style Chooser". You can fix this by installing this plug-in (highly recommended). Update: If you also want it in the profile, please check out Xplorer4x4's moderation of this plug-in. You're free to do what you like with this code, although credit is appreciated, it's not required. Brought to you by eXaltic - vBulletin skins. |
Please include the file as an attachment.
Thank you. |
Sorry, added.
|
Thank you, it's cool ;)
A question, it's possible to add for the member which use style differents with "Quick Style Chooser" ? Because the member don't use the user options generaly :( |
I think the "Quick Style Chooser" is set by cookies rather than stored by vBulletin so there's no real way to do it. I could however (probably) make it so when changing skin via the "Quick Style Chooser" it changes their settings. I'll look in to it once I've released another plug-in I'm working on.
|
Thank you soo much!!! lol just posted the requested last night and you made it that fast excellent dude!!
|
I installed it and followed your direction(s) but for some reason it doesn't seem to work :(
|
Quote:
|
Quote:
|
Quote:
But one thing why does it only say the title of the skin and not like [ Style: blah blah blah] ? Ok solved that too just did it like this Style: $post[stylename] and works like a charm :) |
I've just finished the plug-in that makes the quick style changer update the database, I'll update the main post in a minute.
|
any screenshots?
|
Look at your postbit :P
|
ok, uninstalling then as there no point to reference.
|
I have installed both hacks for this to work. The Style does not show up in everyones Postbit. When I say the style does not show up it does not even show the word Style at all either so it must be something with the conditional
I inserted the line in bold print |
Thanks, but it's not working for me. I have put it under Reputation Power, but it does not show.
Please help. |
Quote:
He was referring to this forum.... they use this here on THIS SITE... |
I'll look in to the problem, but for the other hack to work, the user has to re-visit the forum for it to update their settings.
EDIT: You're right. When a user is using the default skin, it shows up as empty. I've fixed it, and now uploading the updated file. |
:up: its all perfect now
Thank You! :) |
Installed. Thanks for this.
|
This is a possible fix for the issue I had with psiStats 2006 with the default style being listed as being used by 100% of the memberbase due to people using quick reply. I never bothered to put psiStats back on after my upgrade to 3.6.4 because of that flaw. Fingers crossed it will fix it.
|
Quote:
|
I mean to post the post above in the thread for the product/plug in you have linked to. I have it installed.
|
Yeah I guessed, I also notice you linked to it on psiStat's thread, thanks :)
|
Hello Xoligy, firstly thanks a lot for this mod :D
One questing, can you make it to add the link to the style with the style name? Like- Style: Smooth Blue |
Good idea, I'll add that now.
|
Instaled and working very nice. Regards
|
Quote:
|
After updated, on postbit, i have white page
|
You're right, the variables shouldn't contain the quotes ('). I'll update the post.
Thanks for spotting that out. |
After installing the latest one, I got the following error messages:
Code:
string(39) "/forum/showthread.php?t=3877&styleid=43" string(61) "Default" string(39) "/forum/showthread.php?t=3877&styleid=43" string(61) "Default" string(39) "/forum/showthread.php?t=3877&styleid=43" string(61) "Default" string(39) "/forum/showthread.php?t=3877&styleid=43" string(61) "Default" Code:
Unable to add cookies, header already sent. |
Thanks a lot for the update Xoligy
But after upgrading its showing this error- Code:
string(77) "/celebrities-models/2761-cameron-diaz-19-new-wallpapers-added.html&styleid=14" string(96) "FRV8" |
Oops, I must have uploaded the wrong version, sorry!!!! Updated. Also I notice you've got some kind of URL rewritter, so I'll fix the URLs to make them work with that.
EDIT: Done. You (hopefully) shouldn't have any problems now. |
Quote:
|
Work perfectly , thanks :)
|
Please excuse my obvious stupidity, but how do you implement this?
What code do you put where? I've installed lots of hacks, but I don't know where to put the code in the postbit. Need some help. |
It's visiable next to the Reputation Icon, may I know how can I make it visiable under the post counter of members in postbitlegacy?
Thanks |
@ Matt Slick- In your 'postbit' template, look for--
Code:
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if> Code:
<if condition="$post['stylename']">Style: $post[stylelink]</if> Code:
<div> Code:
<if condition="$post['stylename']">Style: $post[stylelink]</if> |
Correction:
PHP Code:
|
Thanks DPSR and Bison :)
The conditional shouldn't be needed, since if it can't find anything it will show the default skin, but it's better to have it in there just to be safe. |
All times are GMT. The time now is 06:18 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|