vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How to do this [4.2.2] (https://vborg.vbsupport.ru/showthread.php?t=318013)

FURONES 03-28-2015 05:10 PM

How to do this [4.2.2]
 
1 Attachment(s)
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/muje...edoras-321685/

http://www.forocoches.com/foro/showt...660414&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
Code:

.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/showthrea...light=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:

Code:

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

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

Code:

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

Code:

<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!


All times are GMT. The time now is 08:05 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
  • Page Generation 0.01092 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (11)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete