Jump to content

Highlight Topic Author


Pete T

Recommended Posts

Posted

@Pete T Just realized the post border color cannot be set custom css from settings. Also the ipsBadge classes do not need to style their color to white inline as their text is already white from IPS CSS code.

Posted
1 minute ago, David.. said:

@Pete T Just realized the post border color cannot be set custom css from settings. Also the ipsBadge classes do not need to style their color to white inline as their text is already white from IPS CSS code.

I check tomorrow see why not working remember you saying had issue custom theme but mind been busy other bits that might forget to check.

Posted
21 minutes ago, Pete T said:

I check tomorrow see why not working remember you saying had issue custom theme but mind been busy other bits that might forget to check.

    2 => 
    array (
      'selector' => 'a',
      'type' => 'add_inside_start',
      'content' => '{{if $item->starter_id == $comment->author_id && !$comment->new_topic && settings.bd_hta_showPostBorder}}

<div class="" style="border-bottom: 3px solid {setting="bd_hta_colour"}"> </div>

{{endif}}',
    ),
	
  ),
), parent::hookData() );
}
/* End Hook Data */

 

See how the <div class="" is empty?

  • 1 month later...
  • 2 weeks later...
Posted

Hi!

I try to modify the custom CSS Post Border Classes to make a gradient (I want the both border side are transparent) but I can do it.

Currently I use this code

background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(0, 131, 195, 0.5) 25%, rgba(0, 131, 195, 0.2) 75%, rgba(255, 255, 255, 0) 100%);

In view that it does not work, I have tried to apply other CSS random and in everything it makes me disappear the line.

The CSS custom dosent work? Maybe I need put other function?

Thanks in advance.

Posted
3 hours ago, Gonzo Lorenzo said:

Hi!

I try to modify the custom CSS Post Border Classes to make a gradient (I want the both border side are transparent) but I can do it.

Currently I use this code


background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(0, 131, 195, 0.5) 25%, rgba(0, 131, 195, 0.2) 75%, rgba(255, 255, 255, 0) 100%);

In view that it does not work, I have tried to apply other CSS random and in everything it makes me disappear the line.

The CSS custom dosent work? Maybe I need put other function?

Thanks in advance.

little unsure what asking ?

Posted
1 hour ago, Gonzo Lorenzo said:

? Sorry.

CSS custom code to make both side of the bar degrade in gradient up to transparent. As possible? I try with several codes, and doesn't work.

so what the css class using to get the result ?

Posted (edited)

If an unregistered guest is topic starter and there are other guests writing in that topic all guests have the title topic starter. Maybe it would be an idea to disable it at all for guest postings.

Edited by Ramsesx
  • 3 months later...
Posted (edited)

How do I edit this to make it smaller on mobile, the element has no name in firefox css editor ?

 

I now figured it out.

Here is CSS code for small tab for mobile screen. Add it to custom CSS file in admin back end.

@media screen and (max-width:767px) {
.ipsBadge.ipsBadge_large {
    height: 17px !important;
    line-height: 16px !important;
    font-size: 11px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    margin-bottom: 4px !important;
    margin-top: 2px !important;

    }
}

1915275530_ScreenShot2018-09-10at3_02_55pm.thumb.png.6ca0e9e5f40cf397d396ddab5d790180.png

Edited by beats23
  • 5 months later...
  • 1 year later...
Posted

There is a bug as it pertains to guest posts when a thread is started by a guest. Every subsequent guest that responds will have the thread starter flag.

Suggest a fix of not applying the badge at all in instances where the thread starter is a guest.

Posted
On 4/19/2020 at 10:35 AM, KarelPCH said:

@Pete T,

 

See comment above, Please kindly check to assisting in fixing the bug. Thanks,

I doubt that would be easy due to way the plugin works via username vs ID number I would look this when and if 4.5 comes.

Posted (edited)
16 hours ago, Pete T said:

I doubt that would be easy due to way the plugin works via username vs ID number I would look this when and if 4.5 comes.

Wouldn't this just involve checking if $item->starter_id is 0 (or whatever value it has for a guest)? In addition to the current check, && $item->starter_id != 0.

Adding for clarity, since there's no way to know that a guest is the same guest, I think the behavior should be to disable this entirely, even if the display name selected by the guest is reused later in the thread. Perhaps your meaning that if a guest named "Paul" starts the thread, and later a guest named "Paul" replies, you'd think it should display there.

I'm of the opinion that in instances where a guest starts the thread, there's no way to guarantee it's the same "Paul" and therefore, the plugin should just be disabled.

Though I can see how others would feel otherwise.

Edited by Paul E.
additional clarity
  • 4 months later...
Posted
On 8/29/2020 at 1:00 PM, KarelPCH said:

Hi @Pete T

 

What are the plans for 4.5 ? Would the mod still workl?

Not tested yet but getting around to testing and updating all item's.

  • 1 month later...
  • 2 weeks later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...