The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
Add backround image to quickreply and reply boxes (using Inline CSS,Template Edits) Details »» | |||||||||||||||||||||||||||
Add backround image to quickreply and reply boxes (using Inline CSS,Template Edits)
Developer Last Online: Mar 2015
Brvheart's - Add backround image to quickreply and reply boxes
----------------------------------------------------------------------------------------------------------------- This is a few simple template edits, I have seen this done via CSS but could not get it to work without the image scrolling out of view, so I decided to play around and see if I could get it to work in a different manner. I was not able to find the original thread that I saw this in with the CSS edits etc, if I find it I will gladly give credit for the original idea to the author. EDIT - Original hack here by Ev!L ErN!E See Directions below. The image should be uploaded to your images directory and be around 330 x 89 in size. I will upload the one I am using as a base. **************note************* the "background:#262626 in the below code needs to be change to fit your backround color, this is mine that I used, make sure to change it for your style on your board. **************end note********* ----------------------------------------------------------------------------------------------------------------- Details: Files to upload: 1 - to images folder Template edits: Editor Templates editor_toolbar_off editor_toolbar_on Show Thread Templates showthread_quickreply Live Demo - here please click install --------------------------------------------------------- Instructions: in editor_toolbar_off find: PHP Code:
PHP Code:
in editor_toolbar_on find (towards bottom of template): PHP Code:
PHP Code:
in showthread_quickreply find (towards bottom of template): There will be 2 instances of the below at the end of the template, you are looking for the second one PHP Code:
PHP Code:
Show Your Support
|
Comments |
#12
|
|||
|
|||
Thanks but I can't get it to work. I've done the Main CSS, done the templates edits but I don't get anything in my Quick Reply box and this is what I get in the normal box:
style="background:#000099 url(images/bluebg.bmp); background-repeat: no-repeat; background-position: center center; <!-- end brvhearts backround image --> style="display:block; width:540px; height:250px" tabindex="1" dir="ltr"> Any ideas, where I am going wrong? I've tried the full image address as well with still no luck. And I have changed the colors to my actual main css color. Thanks. |
#13
|
||||
|
||||
if you can give me a admin login for temp use I can have a look for you. PM if you want.
|
#14
|
|||
|
|||
I'll just show you my templates instead and hopefully you can correct them.
Here is my Main CSS WYSIWYG edit: Background: #000000 url(images/hiphop.jpg) repeat-x center fixed Extra CSS: background-repeat: no-repeat; background-position: center center; Here is my editor_toolbar_off template: PHP Code:
PHP Code:
|
#15
|
|||
|
|||
And here is my showthread_quickreply template:
PHP Code:
|
#16
|
||||
|
||||
OK- just tried this template edit this morning...
How do I get the editor to extend to length of the editor box? Thanx, Jacquii. |
#17
|
|||
|
|||
hmm... I really want to try this but alot of people are having problems.
Also the size of the quick reply box and normal sized reply box are different sizes so how can the same 330 x 89 image fit both ? Please help |
#18
|
||||
|
||||
You need to adjust the editor size via admincp/styles & templates/style manager/all style options (for each style you have installed)/Size and Dimensions
|
#19
|
||||
|
||||
Quote:
I actually trimmed down my "Full Reply" box, I have not tried it on a standard size...I will try it and see how it works. |
#20
|
||||
|
||||
Thanx for responding BRVHEART - I actually do have the setting set for 588px in the AdminCP - but when I make the edits - it seems like that setting is ignored?!?
Any suggestions? ALSO Thanx again for sharing the modification Jacquii. |
#21
|
||||
|
||||
hmmmm...not sure Poet to be honest. I will have a look and see what I can come up with....
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|