vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Mini Mods - admin background on postbit (https://vborg.vbsupport.ru/showthread.php?t=273505)

bomber1614 11-06-2011 11:00 PM

admin background on postbit
 
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

https://vborg.vbsupport.ru/ 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

GFG_Cam 11-07-2011 05:11 AM

nice add on for the postbit + its for 4.x.x :D

Lazorbeam 11-07-2011 03:29 PM

Looks great. How to proceed to add this to whole usergroups?

bomber1614 11-07-2011 04:34 PM

Quote:

Originally Posted by Lazorbeam (Post 2265381)
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

popular 11-07-2011 05:17 PM

can I do this with specific users instead of usergroup?

this is an awesome idea btw :D


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

bomber1614 11-07-2011 05:54 PM

Quote:

Originally Posted by popular (Post 2265420)
can I do this with specific users instead of usergroup?

this is an awesome idea btw :D

not sure maybe i will look into right now and ill let you know

Lazorbeam 11-08-2011 01:22 AM

Quote:

Originally Posted by bomber1614 (Post 2265404)
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 :).

dvL-den 11-09-2011 02:39 AM

I edited for now...

http://www.vbulletiners.com/img/images/adminbhdh.jpg

bomber1614 11-09-2011 04:03 AM

Quote:

Originally Posted by Lazorbeam (Post 2265542)
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

JimxJNM 11-10-2011 07:10 AM

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

*Installed*


All times are GMT. The time now is 11:00 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
  • Page Generation 0.01022 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete