![]() |
Was wondering I don't want to do this with usergroups I have a custom profile field where they select from a drop down their favorite sport team (as my site is a sports website) and would like to try and get something like this set up where when they select their fav. team it puts a background for their team in the postbit - just something small I have created that would repeat itself.
Any help you could provide on doing this it would be greatfully appreciated. |
yeah that type of integration rather than by usergroup would be amazing as far as different ways you could use it
|
Quote:
|
Quote:
Jees, I should just release my template! Glad you guys like it though :) |
Quote:
Code:
<if condition="$show['avatar']"> WikipediaWictionaryChambers (UK)Google imagesGoogle defineThe Free DictionaryJoin exampleWordNetGoogleUrban DictionaryAnswers.comrhymezone.comMerriam-Webster<>0 wvcidfjoguarm |
Quote:
Find: <div id="postmenu_$post[postid]"> Replace: <div id="postmenu_$post[postid]" align="center"> Find: <div class="smallfont"> Replace: <div class="smallfont" align="center"> |
1 Attachment(s)
Very promising mod. Thank you, firstly. Now...
When I add more than 1 usergroup to this... the first usergroup I added (administrators) is borked a bit. The image shows up fine, but the avatar, username, etc is force "out" to the right, where the actual post should be. Any ideas on what I'm doing wrong? Possibly, if you have the time... maybe make a "template" for those who wish to use this for multiple usergroups? Also... and I suspect you're pretty busy, and can understand if you don't want to throw this in... but any way you can code in some curved boxes, where the posts, join date, etc go? I tried to use your mod with another mod that adds the boxes, but the image just ended up in there, in addition to the rest of the postbit, which didn't look so hawt. Lastly... again, if you have time, maybe throw in a signature cell, below it all. At any rate, thank you for your time, and I look forward to a response. |
Quote:
https://vborg.vbsupport.ru/showpost....6&postcount=27 See if that helps your issue. IF it does not, I coded mine slightly different for my forum. I have admins with a background and regular users with a background. IF this is the same idea you are going for, I can dig up my code and help you with it. I'm not sure I quite understand what you mean by curved boxes? I'm not familiar with that mod, link me? |
Here's mine. Like I said before, it's setup for everyone to have the basic background and then for administrators to have the custom one.
You will need to assign a separate CSS too. Code:
<if condition="is_member_of($post, 6)"> |
TY :) Sadly, it didn't work for me. The first solution is the one I tried last night. The last one, above, yeilds the same results ("you're missing a </if> tag! oh n0es!") and the avatar, etc gets shoved out to the right.
|
Quote:
Can you post up your postbit so I can look it over? |
Quote:
| I had this problem when adding more then one group. What you are doing wrong is adding the following code to many times- there should only be 1 instance of this code: Code:
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px"> | Here is a code for 1 background/group(after changing the red): Quote:
| Two backgrounds/groups would look like this: Quote:
| Three backgrounds/groups would look like this: Quote:
|
Yeah, thanks for clearing that up. I tried to explain that, that you need independent CSS for each statement, but the if tags I didn't know about. I'll update the initial install info. Thanks!
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
:) Thanks for helping out!
|
Quote:
Thank you, so much! Worked like a charm! |
great mod, saw it a awhile ago, tagged it.
|
down.low thanks for the additional info! good stuff
|
1 Attachment(s)
I managed to make everything appear, but I have one problem. About every other post, the post bit is either dropped all the way down, or fixed. What do I do?
|
We need to see your postbit code. Copy it into notepad and then attach that file here so I can look at it.
|
1 Attachment(s)
Sure, here you go.
Edit: Ok I just realized exactly what it's doing, it's putting the avy and user info directly in the middle of the posbit. So if the post is really long, the avy/postbit are really far down. However I don't know how to fix it |
Quote:
|
Ok, scratch my previous post, I figured it out. This is an awesome mod!
|
Quote:
|
can u get me the background in the 2nd pic
|
It's posted in the thread somewhere. I don't currently use it anymore.
|
How do you get the Postbit to display on the side like that ??
|
That would be the postbit legacy mode. You can enable which way you would like it in your User CP options. ;)
|
This just did absolutely nothing on my Bulletin :(
I REALLY want this.. it looks amazing. "That would be the postbit legacy mode. You can enable which way you would like it in your User CP options" How would I make my forum look to the left like yours as a default? |
Log into the control panel. In the User CP, go to "vbulletin options". Once you are there, look for the "Style and Language Settings" section. Scroll down and look for "Use Legacy (Vertical) Postbit Template" and select YES. This will default your forum to the postbit_legacy mode.
|
I'm going to work on making this a product, then it will be much easier to work with. Only problem is I have no idea where to start, lol.
|
Quote:
|
Hmm, you're right. It was posted at one point, I guess the dude removed it. I can search around on my server and see if I still have that image uploaded. Give me a little bit. If not, I can have my brother redo the image.
|
Fastbird would you care to share how you did your header on your website I love how it keeps rotating pictures of cars.... anyway can you fill me in on how that's done?
|
The rotation is the winner of the picture of the month. We have a poll and let our members decide who's car/picture should be put up in the banner.
It's just a javascript for a banner rotation. I'll have to post up the code I used later tonight, as I'm at work right now and can't really get to it. Thanks for the comments guys, nice to know the work you put in pays off! |
Your template looks hot I will post a banner from our site to your site for cars that's the least I can do that's if you would like me to.. My site is related around sport bikes.. Your layout is one of the cleanest looking layouts I've ever seen.. a big pat on the back..
I have as ZX14 with nitrous pushing over 210 hp.. your site brings me back to when I built my cars ahead 1970 fire bird 350 4 bolt main 194 closed chamber heads with the tunnel ram with two 400 carburetors mounted to the top of that beast... I found out 600 carburetors flooded out on the street..LOL .. a solid crank and the biggest 12 disc three speed transmission that GM made and also It was boarded 30 over with LCD flat top pistons .. And this is where the hairs stand up on the back your neck picture this a flat black 1970 tub in the back with a scoop sticking a least 2 foot high and when the hood was closed it buckled the scoop a little bit... that thing looked hotter than the Mad Max car.. I used to have cops just to stop me just to ask me where I was going...LOL |
Quote:
I'll get you that code ASAP, promise! |
All times are GMT. The time now is 06:23 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:
|