![]() |
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.
|
All times are GMT. The time now is 12:49 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:
|