PDA

View Full Version : How to do this [4.2.2]


FURONES
03-28-2015, 05:10 PM
Its possible to install in 4.2.2?

thanks!

Lynne
03-28-2015, 05:15 PM
You want to put a left and right border on the posts?

FURONES
03-28-2015, 05:26 PM
Only for the OP


examples:

http://foroparalelo.com/general/mujeres-perdedoras-321685/

http://www.forocoches.com/foro/showthread.php?t=3660414&page=27

Lynne
03-28-2015, 10:58 PM
I have seen mods here that will 'mark' the OPs posts. I'm not sure they do a border. But, you can probably do a search and find a mod and then modify it to just add a border instead of change the background (or whatever the mod does). Did you try a search at all?

FURONES
03-29-2015, 10:55 AM
Yes, i try. But im spanish (i dont know if im searching good)

billstelling
03-29-2015, 11:08 AM
A simple bit of code added to additional.css will do it. If I still had a test site to work with I would help you out but since I don't there's not much I can do.

It would be something like
.postbody {
border-right: 3px solid red !important;
border-left: 3px solid red !important;
}

FURONES
03-29-2015, 12:14 PM
where i have to put this?

sorry I am a newbie

thanks

Lynne
03-29-2015, 03:47 PM
Take a look at this modification - https://vborg.vbsupport.ru/showthread.php?t=299130&highlight=original You can probably modify that to do what you want.

FURONES
03-29-2015, 08:23 PM
Thanks!

MarkFL
03-29-2015, 09:33 PM
In your "additional.css" template add the following class:

.postcontainerOP {
border-right: 3px solid red !important;
border-left: 3px solid red !important;
}

In your "postbit_legacy" template, near the top, locate the code:

<li class="postbitlegacy postbitim postcontainer {vb:raw post.statusicon}" id="post_{vb:raw post.postid}">

And replace it with this:

<li class='postbitlegacy postbitim postcontainer {vb:raw post.statusicon}<vb:if condition="$thread['postuserid'] == $post['userid']"> postcontainerOP</vb:if>' id="post_{vb:raw post.postid}">

FURONES
03-30-2015, 01:15 PM
Thanks very much!