The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
I can't seem to get it to work, any idea of what the code would be exactly? I have been toying for a little while ( I am still a noob with coding =[ )
|
#12
|
|||
|
|||
Not exactly what you wanted but the following might help...
I have added the following code to the end of my headinclude template: Code:
<if condition="in_array($bbuserinfo[userid], array(800,799,773,1))"> <style> body { background: #870000;} .page { background: #870000; } </style> </if> This was done so that mods/admins would know that they were logged into a mod account and therefore prevent accidently posting stuff as an admin/normal user when the opposite is required. Obviously you can change those user ids to whatever you want |
#13
|
||||
|
||||
We can't tell what you did if you don't post the code your tried. Please use the code/php/html tags when you post it.
|
#14
|
|||
|
|||
Te easiest way is to use Marco's Post Background Color AddOn. His AddOn is expandable in most ways and can be also added with the vB CSS Color Picker and Color Preview. Also the Permissions are pre-defined and can be used in a proper way IMO one of the best AddOns ever
|
#15
|
||||
|
||||
Wow, I didn't know that existed. Learn something new every day!
|
#16
|
|||
|
|||
OK, so I messed around a little, and I used this code (a friend helped me, as I said, I am a noob to vBulletin code, I have no idea what anything is or what to do/place things in):
Code:
<if condition="in_array($bbuserinfo[userid], array(2))"> <style> body,td,th { color: #60fffd; </style> </if> I, however, want to edit the BODY of the post. Any ideas? |
#17
|
||||
|
||||
That code is not going to do anything in regards to what the original post in this thread is about - changing the post background depending on who makes the post. That will change the whole *sites* background color based on who is viewing the page.
|
#18
|
|||
|
|||
What would that need to look like?
|
#19
|
||||
|
||||
Something like this depending on what you want:
HTML Code:
.whatever {background-color: orange;} |
#20
|
|||
|
|||
Thanks
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|