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
  #32  
Old 12-14-2006, 12:13 AM
Invalid ID's Avatar
Invalid ID Invalid ID is offline
 
Join Date: Apr 2006
Location: Karachi. Pakistan
Posts: 411
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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"
And ...

Code:
Unable to add cookies, header already sent.
File: /home/apni/public_html/forum/showthread.php(1044) : eval()'d code
Line: 25
Reply With Quote
  #33  
Old 12-14-2006, 01:16 AM
DPSR DPSR is offline
 
Join Date: Aug 2006
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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"
so i'm back with previous version
Reply With Quote
  #34  
Old 12-14-2006, 07:41 AM
Xoligy Xoligy is offline
 
Join Date: Jun 2006
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #35  
Old 12-14-2006, 08:59 AM
DPSR DPSR is offline
 
Join Date: Aug 2006
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Xoligy View Post
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.
Many many thanks for the update and your hard work :up:
Reply With Quote
  #36  
Old 12-14-2006, 09:45 AM
Allan's Avatar
Allan Allan is offline
 
Join Date: Jun 2003
Location: France
Posts: 1,513
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Work perfectly , thanks
Reply With Quote
  #37  
Old 12-14-2006, 08:21 PM
Matt Slick Matt Slick is offline
 
Join Date: Nov 2005
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #38  
Old 12-15-2006, 12:53 AM
Invalid ID's Avatar
Invalid ID Invalid ID is offline
 
Join Date: Apr 2006
Location: Karachi. Pakistan
Posts: 411
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #39  
Old 12-15-2006, 01:24 AM
DPSR DPSR is offline
 
Join Date: Aug 2006
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ Matt Slick- In your 'postbit' template, look for--
Code:
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
after add--
Code:
<if condition="$post['stylename']">Style: $post[stylelink]</if>
@InValid ID- In your 'postbit_legacy' template, look for--
Code:
			<div>
					$vbphrase[posts]: $post[posts]
				</div>
after add--
Code:
<if condition="$post['stylename']">Style: $post[stylelink]</if>
be sure to keep a backup before editing any file
Reply With Quote
  #40  
Old 12-15-2006, 03:02 AM
Bison's Avatar
Bison Bison is offline
 
Join Date: Jun 2002
Location: Virginia Beach, Virginia
Posts: 522
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Correction:

PHP Code:
<if condition="$post['stylename']"><div class="smallfont">Style$post[stylelink]</div></if> 
Reply With Quote
  #41  
Old 12-15-2006, 09:30 AM
Xoligy Xoligy is offline
 
Join Date: Jun 2006
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
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 09:05 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.04769 seconds
  • Memory Usage 2,313KB
  • Queries Executed 25 (?)
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
  • (7)bbcode_code
  • (1)bbcode_php
  • (1)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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