3.1 & 3.2 Extensions Database 3.1 / 3.2Topic Author

<span class="qte-attr qte_31_32-qte">3.1.x &amp; 3.2.x</span>
User avatar

Topic Author
dmzx Online
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 10 Chrome

Re: Topic Author

Post by dmzx »

Mommike wrote: 02 Apr 2017, 11:12
dmzx wrote: 02 Apr 2017, 11:08
Mommike wrote: 02 Apr 2017, 11:01 Thank worked fine!

One more question. It capitalize every word. How do modify that it showing exactly this way, as I write inside ACP.
This should not be, what did you add in ACP?
Sorry, my bad. It is under the extensions tab, Topic author - Adjust topic author text. How to modify that it showing the text exactly this way, as I write inside this field.

What text did you add?

User avatar

Mommike
Users
Users
Posts: 12
Joined: 24 Mar 2017, 16:05
    Windows 10 Chrome

Re: Topic Author

Post by Mommike »

dmzx wrote: 02 Apr 2017, 11:13
Mommike wrote: 02 Apr 2017, 11:12
dmzx wrote: 02 Apr 2017, 11:08
Mommike wrote: 02 Apr 2017, 11:01 Thank worked fine!

One more question. It capitalize every word. How do modify that it showing exactly this way, as I write inside ACP.
This should not be, what did you add in ACP?
Sorry, my bad. It is under the extensions tab, Topic author - Adjust topic author text. How to modify that it showing the text exactly this way, as I write inside this field.

What text did you add?
I write there - "Teema autor", but inside topic shows me "Teema Autor". Every word is capitalized.

User avatar

Topic Author
dmzx Online
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 10 Chrome

Re: Topic Author

Post by dmzx »

Open topicauthor.css

Delete:

text-transform: capitalize;

And clear cache.

User avatar

Mommike
Users
Users
Posts: 12
Joined: 24 Mar 2017, 16:05
    Windows 10 Chrome

Re: Topic Author

Post by Mommike »

dmzx wrote: 02 Apr 2017, 11:37 Open topicauthor.css

Delete:

text-transform: capitalize;

And clear cache.
Thanks! :tumbsyes:

User avatar

fliper4o
Users
Users
Posts: 21
Joined: 05 Aug 2017, 19:13
    Windows 8.1 Chrome

Post by fliper4o »

Hey,
I really like your extensions ! Thank you :)

Just two questions, if you don't mind :)
1st How can I delete the field
Select colour: Click field to select with colour picker.
Or Can you make an option like Yes/No (if ppl want that field to be colored or they want it blank(just text) as)
Image
2nd Can I change the position if it in profile as some guy mentioned but I would add after the rank ether.
Just as it shows the picture below !
mikeablah wrote:It's below the name and avatar which would be great to have! Thanks so much.
Image
Edit:
For v1.0.2 dmzx/styles/all/template/event/viewtopic_body_avatar_after.html
dmzx wrote:In the viewtopic_body the EVENT is standard above.
You can place the <!-- EVENT viewtopic_body_avatar_after --> on a other place in the viewtopic_body but then you change the original .html file.
you have to clear the cache if you change it.
What to change to looks like what @mikeablah quoted
https://wiki.phpbb.com/Event_List
Seems possible to me as the examples proves it. Just need some help to do it so.

Thank you!

User avatar

fliper4o
Users
Users
Posts: 21
Joined: 05 Aug 2017, 19:13
    Windows 8.1 Chrome

Re: Topic Author

Post by fliper4o »

Bump
As, mikeablah, said.
How can I change the position.
From
Image
To
Image
viewtopic_body_avatar_after.html

Code: Select all

<!--
*
* @package Topic Author
* @author dmzx (www.dmzx-web.net)
* @copyright (c) 2014 by dmzx (www.dmzx-web.net)
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* 
-->

</div>
<div>
<br /><!-- IF postrow.S_TOPIC_POSTER --><strong style="color: #FF0000;">{L_TOPIC_AUTHOR}</strong><!-- ENDIF -->
I'm using v1.0.2 on phpBB 3.2.1 with prosilver 'cuz honestly I don't like the "Added text colour field" & I can't even get rid of it with Yes/No option on the newest version.
Thanks!

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Ubuntu Chrome

Re: Topic Author

Post by martin »

You just change the name of the event file to where ever you would like it to show.
Selection_001.png
You would also need to have another tab open of the acp so you can purge the cache or your see an error page.
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
Image

User avatar

fliper4o
Users
Users
Posts: 21
Joined: 05 Aug 2017, 19:13
    Windows 8.1 Chrome

Re: Topic Author

Post by fliper4o »

fliper4o wrote: 19 Sep 2017, 21:31 Image
& this is
viewtopic_body_postrow_rank_after
or
something else?
martin wrote: 20 Sep 2017, 10:10 Image
//I've changed
1.png
topicauthor\styles\all\template\event from viewtopic_body_avatar_after.html to viewtopic_body_postrow_rank_after.html
And lol the f*ck
2.png
But the place of "Topic Author" aka "Original Poster" is on the right place as it should be(in the original pic). Right before Posts: & Joined:
I'll need some help.
Thanks
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Firefox

Re: Topic Author

Post by Sniper_E »

If you put it there you may need a <dd></dd> wrapped around the ext template codes and remove that </div><div> line.

ext/dmzx/topicauthor/styles/all/template/event/viewtopic_body_postrow_rank_after.html

Code: Select all

<!-- IF postrow.TOPICAUTHOR_ENABLED and postrow.S_TOPIC_POSTER -->
<dd class="topic-author" style="background: #{postrow.TOPICAUTHOR_COLOUR}; color: #{postrow.TOPICAUTHOR_TEXT_COLOUR};">{postrow.TOPICAUTHOR_TEXT}</dd>
<!-- ENDIF -->
I change the code a little. I was getting a empty bar on users not the topic author when testing.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

User avatar

fliper4o
Users
Users
Posts: 21
Joined: 05 Aug 2017, 19:13
    Windows 8.1 Chrome

Re: Topic Author

Post by fliper4o »

Topic Author 1.0.2, phpBB 3.2.1 hm? When I try your example I've got nothing it's like disabled, nothing shows, nothing see, enable/disable is the same.
That's the original renamed viewtopic_body_postrow_rank_after.html

Code: Select all

</div>
<div>
<br /><!-- IF postrow.S_TOPIC_POSTER --><strong style="color: #FF0000;">{L_TOPIC_AUTHOR}</strong><!-- ENDIF -->
Edit:

Code: Select all

<!-- IF postrow.S_TOPIC_POSTER --><dd <strong style="color: #FF0000;">{L_TOPIC_AUTHOR}</strong></dd><!-- ENDIF -->
Result:
Image
Image
P.P. Tell me if there is something wrong, issues, errors, etc 'cuz I do NOT understand coding, much!
Last edited by fliper4o on 21 Sep 2017, 22:54, edited 2 times in total.

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Firefox

Re: Topic Author

Post by Sniper_E »

Sorry I'm testing phpBB 3.2.1 with topicauthor 1.0.4 hold on a minute and I'll look at the other versions.

Wait a minute are you running phpBB 3.2.1? You need Topic Author 1.0.4

This is the original 1.0.2 viewtopic_body_avatar_after.html

Code: Select all

<!-- IF postrow.TOPICAUTHOR_ENABLED -->
</div><div>
<br /><!-- IF postrow.S_TOPIC_POSTER --><div class="topic-author" style="background: #{postrow.TOPICAUTHOR_COLOUR};">{postrow.TOPICAUTHOR_TEXT}</div><!-- ENDIF -->
<!-- ENDIF -->

User avatar

fliper4o
Users
Users
Posts: 21
Joined: 05 Aug 2017, 19:13
    Windows 8.1 Chrome

Re: Topic Author

Post by fliper4o »

In 1.0.4 I dislike
Added text colour field by ...
That's why I'm using the old 1.0.2 version.
If you would like to help me get rid of the color I'm willing to use the newwest version 1.0.4 :)
Transparent can I make it?
Edit:
Naahhh...it looks awful to me sorry to say that. Even IF the field Select colour: is empty!
Compare:
ImageImage
Probably I'll back to version 1.0.2 as best option so far, thanks!

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Firefox

Re: Topic Author

Post by Sniper_E »

Sure I'll help you any way I can. Sorry I had to step out for a bit.

Now I was testing out 1.0.4 http://sniper-e.com/viewtopic.php?f=4&t=7

This is my test. Topic Author Rank After
Image

I actually like it better as Rank Before
Image

I can install 1.0.2 and see what it is you want to change. The color is in the user color I think, not sure of that version.
What exactly did you want to change in version 1.0.2? The color in 1.0.4 is set in the topicauthor.css

User avatar

fliper4o
Users
Users
Posts: 21
Joined: 05 Aug 2017, 19:13
    Windows 8.1 Chrome

Re: Topic Author

Post by fliper4o »

Hm...
I'm currently using 1.0.2, just tried 1.0.4 & back to 1.0.2. The picture(s) Before/After are 1.0.2.
That is what I've done Topic Author
Check the pic in my last post as it says "After" That I would like it to be on 1.0.4. What have to change on topicauthor.css
The pic after, the "After" pic is 1.0.4 with NO colour in acp settings.
I want to be like on the left image(1.0.2) when I try (1.0.4) I do NOT like it like that.
Image Image
Thanks!

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Firefox

Re: Topic Author

Post by Sniper_E »

Topic Author without the button, just text in version 1.0.4

See if this Is that what you want?
I have 1.0.4 installed and in the acp I changes the text color to red instead of purple.
You choose your preferred color.

These were my edited files.

viewtopic_body_postrow_rank_after.html

Code: Select all

<!-- IF postrow.TOPICAUTHOR_ENABLED and postrow.S_TOPIC_POSTER -->
<dd class="topic-author" style="color: #{postrow.TOPICAUTHOR_COLOUR}">{postrow.TOPICAUTHOR_TEXT}</dd>
<!-- ENDIF -->
topicauthor.css

Code: Select all

.topic-author {
	margin: 0;
	font-size: 9px;
	font-weight: bold;
}
    
@media (max-width: 700px) {
	.topic-author {
		margin: 1px 4px 1px 40px;
	}
}
And you know the text "Topic Author" is in the language file if you want it to say "Original Poster"

Post Reply Previous topicNext topic