Thread Rating:
  • 3 Vote(s) - 4.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] Lastposter avatar 3.0.x
@Whiteneo I don't know coding. All I can do is copy & paste.
Reply
You just need to add the class.

.avatarep_forumdisplay_img{border-radius:2px}

To the end of avatarep.css stylesheet and save it, now refresh cache and done. Now your avatar for thread owner must be like squared Smile

P.D Just take on mind that this will add on the entire page to owner and las poster due it is taken by general page.
The only infinite thing is the universe and human stupidity, but the universe is not for sure

Plugins 1.6.x

Plugins 1.8.x

Reply
Can it be done?

To show the thread started avatar a little bit bigger or make the last poster avatar a little bit smaller in the inner pages of the forum (not in the homepage of the forum though)?
Reply
Yes in the same way you can apply it if you have the last version of the plugin.

And yeah of course you can add many new multiple instances of code at your owns.

If you require an addition and many other users want the same i can put in a todo list of new changes before a new release cames to add it. But that requires time to write and test and more.

But right now all is available to change for page sections only. So if avatars styles are special for that section yeah it's possible to be done. Otherwise i need a request but not for only one person due many times i had written multiple code changes that multiple users does not need it at all and the code was in there like unusefull.

I need to add features that all needs including me due i always use the plugin into my forums boards.
The only infinite thing is the universe and human stupidity, but the universe is not for sure

Plugins 1.6.x

Plugins 1.8.x

Reply
Everything is running fine. Just one problem.

And this doesn't happen anywhere else.

Say one forum has a sub-category. For example under 'Animals' it has sub categories saying 'Tigers' & 'Lions'.

Now when somebody open ups the Animal forum then the 'Tiger' & 'Lions' sub-forums shows as a preview on the top. After that shows all the discussions that falls into the general category on Animals. Right?

On that page only, this keeps happening..

[Image: 1.png]

[Image: 2.png]

[Image: 3.png]

As you can see the texts are just flowing out of the box. How to fix it?
Reply
(2021-02-06, 12:31 PM)vk_knight Wrote: Everything is running fine. Just one problem.

And this doesn't happen anywhere else.

Say one forum has a sub-category. For example under 'Animals' it has sub categories saying 'Tigers' & 'Lions'.

Now when somebody open ups the Animal forum then the 'Tiger' & 'Lions'  sub-forums shows as a preview on the top. After that shows all the discussions that falls into the general category on Animals. Right?

On that page only, this keeps happening..

[Image: 1.png]

[Image: 2.png]

[Image: 3.png]

As you can see the texts are just flowing out of the box. How to fix it?

If it happens in forumdisplay then You can add to the css , word-break property or overflow: auto ; property . check if it worked.

at the forumdisplay_thread template you can see there is a lastpost value
<span class="lastpost smalltext"><avatarep_uid_[{$thread['lastposteruid']}]>{$lastpostdate}<br />
		<a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$avbr}{$lastposterlink}</span>
for the lastpost. just replace with this
<div style="overflow: auto;"> <span class="lastpost smalltext"><avatarep_uid_[{$thread['lastposteruid']}]>{$lastpostdate}<br />
		<a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$avbr}{$lastposterlink}</span></div>

or if it happens in index page them check the forumbit template for the lastpost
Reply
And even so into forumdisplay templates to forum and cat sufix items add a width besides 280 - 230 to 250 - 280 it depends on your theme design.

But there are a couple of ways to perform it but all requires some extra manual editions Smile
The only infinite thing is the universe and human stupidity, but the universe is not for sure

Plugins 1.6.x

Plugins 1.8.x

Reply
(2021-02-06, 02:00 PM)PARADOXP Wrote:
(2021-02-06, 12:31 PM)vk_knight Wrote: Everything is running fine. Just one problem.

And this doesn't happen anywhere else.

Say one forum has a sub-category. For example under 'Animals' it has sub categories saying 'Tigers' & 'Lions'.

Now when somebody open ups the Animal forum then the 'Tiger' & 'Lions'  sub-forums shows as a preview on the top. After that shows all the discussions that falls into the general category on Animals. Right?

On that page only, this keeps happening..

[Image: 1.png]

[Image: 2.png]

[Image: 3.png]

As you can see the texts are just flowing out of the box. How to fix it?

If it happens in forumdisplay then You can add to the css , word-break property or overflow: auto ; property . check if it worked.

at the forumdisplay_thread template you can see there is a lastpost value
<span class="lastpost smalltext"><avatarep_uid_[{$thread['lastposteruid']}]>{$lastpostdate}<br />
		<a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$avbr}{$lastposterlink}</span>
for the lastpost. just replace with this
<div style="overflow: auto;"> <span class="lastpost smalltext"><avatarep_uid_[{$thread['lastposteruid']}]>{$lastpostdate}<br />
		<a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$avbr}{$lastposterlink}</span></div>

or if it happens in index page them check the forumbit template for the lastpost

(2021-02-06, 02:54 PM)Whiteneo Wrote: And even so into forumdisplay templates to forum and cat sufix items add a width besides 280 - 230 to 250 - 280 it depends on your theme design.

But there are a couple of ways to perform it but all requires some extra manual editions Smile

So, I added the code...
<div style="overflow: auto;"> <span class="lastpost smalltext"><avatarep_uid_[{$thread['lastposteruid']}]>{$lastpostdate}<br />
		<a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$avbr}{$lastposterlink}</span></div>

in the forumdisplay_thread, sadly it did nothing. Then I added it in the forumbit but as suggested by you guys it got applied through & through from index page to all the sub-categories. Which is really disturbing thing to see in the forum homepage.

Then I checked through Inspect element. The code was actually in "forumbit_depth2_forum_lastpost". So, I added the div code in it & voila.

[Image: Capture.png]

It looks like this now. Smile
Anyway, thanks both of you...

And also if you guys provide any other option apart from adding this bar. Then I am happy to apply it.
Reply
As i said you need to add a specific width to table as described in first post by images and sugestions.

We don't have any forum url to see it, so it's comolicated to help you that way.

As you can see go to my forums and all is fine, so you only need to customize values and done.
The only infinite thing is the universe and human stupidity, but the universe is not for sure

Plugins 1.6.x

Plugins 1.8.x

Reply
@Whiteneo You are right. It is creating problems.

The situation is that I cannot apply the plugin to my live site as these problems hasn't been resolved.

I am using Cerulean theme by Vintagedaddyo. If that helps.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)