![]() |
Postbit Legacy - Usergroup Backgrounds
1 Attachment(s)
Hello! This is my first submission. I run LTXTech.com, I go by phantomzer0 over there, and I wanted this hack for a long time. I decided to write it on my own and the outcome was perfect. I know enough to get the job done, so if there is a more efficient way to produce this, by all means post it up!
Here is what this hack will do for you: Demo Link: http://ltxtech.com/forums/showthread.php?t=2865 Now, you can make any usergroups use these backgrounds. You will have to design your own, of course, but you can assign them however you would like. In the case of my forum, we have them set-up for administrators. You could make a separate image for staff members, reg users, banned users, whatever you need. You can also duplicate it and assign different images for different colored styles. I'll show you how below. Here's how to do it: -- Navigate to your Admin CP. Once there go to Styles and Templates, then to Style Manager, and then click the "Go" button once you have decided which template you would like to install this on. -- Scroll all the way to the bottom and look for the "Additional CSS Definitions" Box. I like to use the second box for all of my custom CSS, but you can surely use either one. Copy this and paste it into the box. Code:
.postbit { http://ltxtech.com/borders.jpg You will need to figure out the color code of your borders and assign the same color to the CSS code. You can adjust the size of the border by increasing or decreasing the "1px" numbers. 3px would obviously increase the size of the border to 3 pixels. You can also rename the CSS ".postbit" to something else, but if you do make sure you take note of that. -- Now we will assign the background to the actual postbit. To do so, you need to navigate to Styles and Templates, then click on the "<< >>" button on the style you want to edit. -- Scroll down the list and find "Postbit Templates" http://ltxtech.com/postbit1.jpg -- Double click on "Postbit Legacy", as seen in the picture above. Find: Code:
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px"> Code:
<if condition="is_member_of($post, #)"> Example, my forum has a light and dark skin. The dark skin's CSS is "postbit" and the CSS for the light skin is "postbit2". On the Dark skin, I use the code above and for the light skin it's the exact same, only I have changed the td class to postbit2. The only thing left to do is design a background image. Once you have that, you can upload it and point your CSS url to the image on your server.I'm fairly sure I have included all the steps to accomplish this, if I missed one, please point it out! Good luck and thanks for looking! Update: If you would like to assign multiple background images to multiple usergroups, see this post. User down.low explains very well how to achieve this result! Thanks DL! https://vborg.vbsupport.ru/showpost....8&postcount=52 |
thanks .. but in Postbit Legacy i have problem to replace
The following error occurred when attempting to evaluate this template: Parse error: parse error in c:\appserv\www\vb\includes\adminfunctions_template .php(3929) : eval()'d code on line 28 This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish. |
What version of vbulletin are you running? I installed this first on 3.7.2 and it's been working fine since. Make sure you get the </if> tag on the end of the statement too.
|
Is it possible to change the posting+signature area too? How? Looks great so far. Tagged.
|
Yeah, I would imagine so. You would have to find the sections in the postbit legacy template, but the hack would be the same idea. You would just style the CSS differently for the main body of the post, at least that's what I would imagine.
|
Please give us a try for us, non-coder is here. :p
|
Quote:
|
So after 7 installs I guess everything is working ok for you guys? Sweet! Post some links so I can see what you guys have done with it!
|
Parse error: syntax error, unexpected '<' in /home/********/public_html/forum/includes/adminfunctions_template.php(3938) : eval()'d code on line 28
|
Quote:
|
u talking about which bg?
https://vborg.vbsupport.ru/external/2010/07/10.png<--- This one? |
Hey fastbird did you knock up one for the signature area.
I thought of finding something like this for donators. Because we dont use postbit legacy this wont work. I was thinking of adding something similiar to the signature area. Think you could help me with this? |
Thanks İnstalled :)
|
I don't quite get it though.
Do you mean backgrounds for the various usergroups? |
Worked perfect first try on 3.8.1. Thank you.
http://img525.imageshack.us/img525/3310/worksog4.jpg Although I'm not really a graphics guru. I much rather have a background image similar to yours, but with film instead lining the borders as if there was an explosion in the back and that part of the reel leaked in. ;) Quote:
|
nice tx..
|
hi sir. i try to find
Code:
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px"> This is my postbit_legacy Code:
$template_hook[postbit_start] thanks sir |
Same as mine it didnt work for me..
i cant find this code as well: Code:
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px"> Code:
$template_hook[postbit_start] |
Quote:
Quote:
Quote:
|
thank"s nice Fastbird :up:
|
can you help us fastbird.
|
Quote:
Either someone else will have to step in or you'll have to wait for the weekend where I can try to give it a shot. |
Quote:
|
Add your code: rowspan="2"
Code:
<if condition="is_member_of($post, #)"> |
Works perfect for me!
|
How can i make it so different usergroups have different backgrounds??
|
Quote:
Code:
<if condition="is_member_of($post, 6)"> Works great btw |
yea figured it out it runs perfect for me thank yu :)
|
awesome
<< bookmarked for next update :) |
Glad it's working for you guys! :)
|
Fastbird how did you put the FQuick on your site?
|
My brother, SoulReaver made the graphics, but you can get a generic version from FQuick. You have to look under affiliations or something, I believe, and there is a zip file with the product for you to import.
|
hi dear
Thanks İnstalled how to change quote box like this : how to get to this form https://vborg.vbsupport.ru/external/2009/08/98.jpg i mean it's: quote: Orginially posted By Fastbird I Like It |
Quote:
|
<a href="https://vborg.vbsupport.ru/showthread.php?t=120073&highlight=bbcode+manager" target="_blank">https://vborg.vbsupport.ru/showt...bbcode+manager</a>
This is the hack I used. It's the simple quote box. I installed this a long time ago and it seems to still work OK. Good luck! |
thanks for answer to me
|
thanks Fastbird,it worked fine
|
Thanks
|
Worked fine first time,,vb3.8.2 the error some got was because they had'nt put usergroup id no. in place of # .. thx buddy nice mod
|
Hello FB... this looks really nice. Before I install how did you get the upper part ........... the avatar and right underneath it, centered? I'd like to center mine too.
Very nice and thank you. update: Figured out the centering, this is really sweet....... again thanks! |
All times are GMT. The time now is 04:52 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:
|