Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Skin view - show skin in postbit Details »»
Skin view - show skin in postbit
Version: 1.00, by Xoligy Xoligy is offline
Developer Last Online: Mar 2013 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.6.4 Rating:
Released: 12-11-2006 Last Update: 12-13-2006 Installs: 70
Uses Plugins
 
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 12-12-2006, 10:44 AM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please include the file as an attachment.

Thank you.
Reply With Quote
  #3  
Old 12-12-2006, 12:26 PM
Xoligy Xoligy is offline
 
Join Date: Jun 2006
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, added.
Reply With Quote
  #4  
Old 12-12-2006, 12:55 PM
Allan's Avatar
Allan Allan is offline
 
Join Date: Jun 2003
Location: France
Posts: 1,513
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 12-12-2006, 02:30 PM
Xoligy Xoligy is offline
 
Join Date: Jun 2006
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 12-12-2006, 02:43 PM
AMG021 AMG021 is offline
 
Join Date: Sep 2006
Location: Not From This Planet
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you soo much!!! lol just posted the requested last night and you made it that fast excellent dude!!
Reply With Quote
  #7  
Old 12-12-2006, 02:55 PM
AMG021 AMG021 is offline
 
Join Date: Sep 2006
Location: Not From This Planet
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed it and followed your direction(s) but for some reason it doesn't seem to work
Reply With Quote
  #8  
Old 12-12-2006, 02:55 PM
Allan's Avatar
Allan Allan is offline
 
Join Date: Jun 2003
Location: France
Posts: 1,513
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Xoligy View Post
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.
ok, thanks ^^
Reply With Quote
  #9  
Old 12-12-2006, 03:02 PM
Xoligy Xoligy is offline
 
Join Date: Jun 2006
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AMG021 View Post
I installed it and followed your direction(s) but for some reason it doesn't seem to work
Make sure the users have set their skin in their profile, rather than just using the Quick Style Changer. I'm now going to work on a fix for that
Reply With Quote
  #10  
Old 12-12-2006, 03:03 PM
AMG021 AMG021 is offline
 
Join Date: Sep 2006
Location: Not From This Planet
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Xoligy View Post
Make sure the users have set their skin in their profile, rather than just using the Quick Style Changer. I'm now going to work on a fix for that
Ok working now

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:16 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09203 seconds
  • Memory Usage 2,293KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete