Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Closed Thread
 
Thread Tools
admin background on postbit Details »»
admin background on postbit
Version: 1.00, by bomber1614 bomber1614 is offline
Developer Last Online: Feb 2012 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.1.7 Rating:
Released: 11-06-2011 Last Update: Never Installs: 3
Code Changes  
No support by the author.

i am here to show you guys the updated and easy mod to have a admin background ok here it is

in postbit.css your gonna find
Code:
.postbitlegacy .userinfo {
	float:{vb:stylevar left};
	position: relative;
	width: {vb:math {vb:stylevar postbitlegacy_userinfo_width}-{vb:math {vb:stylevar padding}*2}}; 
	padding: 2px {vb:stylevar padding} {vb:math {vb:stylevar padding}/2};
	font-size: {vb:stylevar small_fontSize};
	display:block;
        background: {vb:stylevar postbit_userinfo_background};
	_background-image: none;
	_margin-top: -{vb:math {vb:math 16px*{vb:stylevar line_height}} + {vb:stylevar padding}-{vb:stylevar postbit_border.borderWidth}};
	clear:both;
}
then once you find that your going to add under neath
Code:
/*Custom Postbit Background - Image*/
.postbitlegacy .userinfo2 {
	float:{vb:stylevar left};
	position: relative;
	width:{vb:math {vb:stylevar postbitlegacy_userinfo_width}-{vb:math {vb:stylevar 
padding}*2}}; 
	padding: 2px {vb:stylevar padding} {vb:math {vb:stylevar padding}/2};
	font-size: {vb:stylevar small_fontSize};
	display:block;
       background: #xxxxxx /*url(url to image here) no-repeat*/;
        _margin-top: -{vb:math {vb:math 16px*{vb:stylevar line_height}} + {vb:stylevar padding}-{vb:stylevar postbit_border.borderWidth}};
	clear:both;
}
then once you have finished hit save

now your going to search postbit_legacy

and your going to find
Code:
<div class="postdetails"> and your going to replace <div class="userinfo"> with this too
no replace that coding with this new coding
Code:
<div class="postdetails">
		<vb:if condition="is_member_of($post, 6)"><div class="userinfo2">
<vb:else />
<div class="userinfo">
</vb:if>
and then it going to look like this

this is a new updated photo


heres the admin image sorry guys new coding is up this is so that you can keep the same font you had before for the postbit_legacy

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
hoangserip

Comments
  #2  
Old 11-07-2011, 05:11 AM
GFG_Cam GFG_Cam is offline
 
Join Date: Jul 2011
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice add on for the postbit + its for 4.x.x
  #3  
Old 11-07-2011, 03:29 PM
Lazorbeam Lazorbeam is offline
 
Join Date: Aug 2010
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks great. How to proceed to add this to whole usergroups?
  #4  
Old 11-07-2011, 04:34 PM
bomber1614 bomber1614 is offline
 
Join Date: Oct 2010
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lazorbeam View Post
Looks great. How to proceed to add this to whole usergroups?
you do the same process just the code you add int he postbit_legacy where it says 6 you change that to the usergroups you want
  #5  
Old 11-07-2011, 05:17 PM
popular popular is offline
 
Join Date: Jun 2007
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can I do this with specific users instead of usergroup?

this is an awesome idea btw


edit: is it possible to make this into a user field as well, so members can edit their own background postbit by pasting img url
  #6  
Old 11-07-2011, 05:54 PM
bomber1614 bomber1614 is offline
 
Join Date: Oct 2010
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by popular View Post
can I do this with specific users instead of usergroup?

this is an awesome idea btw
not sure maybe i will look into right now and ill let you know
  #7  
Old 11-08-2011, 01:22 AM
Lazorbeam Lazorbeam is offline
 
Join Date: Aug 2010
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bomber1614 View Post
you do the same process just the code you add int he postbit_legacy where it says 6 you change that to the usergroups you want
Great!

This one's a longshot, but could I have the PSD of the background file if you have it? I would modify it heavily and colorize it as well.

If not, totally understandable .
  #8  
Old 11-09-2011, 02:39 AM
dvL-den dvL-den is offline
 
Join Date: Sep 2011
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I edited for now...

  #9  
Old 11-09-2011, 04:03 AM
bomber1614 bomber1614 is offline
 
Join Date: Oct 2010
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lazorbeam View Post
Great!

This one's a longshot, but could I have the PSD of the background file if you have it? I would modify it heavily and colorize it as well.

If not, totally understandable .
sorry i do not have the psd
  #10  
Old 11-10-2011, 07:10 AM
JimxJNM JimxJNM is offline
 
Join Date: Sep 2011
Location: Coral Harbour
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice man, where do we import the image on FTP?

*Installed*
Closed Thread


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 07:57 PM.


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.05178 seconds
  • Memory Usage 2,296KB
  • 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
  • (4)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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