The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Topic prefix

2 posters

Go down

In progress Topic prefix

Post by Winging Fri 17 Jul 2020 - 9:10

Technical Details

Forum version : #phpBB2
Position : Founder
Concerned browser(s) : Google Chrome
Who the problem concerns : Yourself
Forum link : https://ekin-ek.666forum.com/

Description of problem

I want to be able to clearly classify a large number of topics,Maybe it’s like a button or label
It has [All], [Hot], [Translation], [Original]... and so on

I can click the button and find only [original] articles to help me quickly find related topic types

https://drive.google.com/file/d/18aLCy0ncrEejEN6fDCCbgo0WwujpfRtd/view
https://drive.google.com/file/d/1bPY--fGUJ2KEe9U3IAc_EvD_-yMgOwHk/view
Winging
Winging
Forumember

Female Posts : 147
Reputation : 4
Language : traditional chinese

https://ekin-ek.666forum.com/

Back to top Go down

In progress Re: Topic prefix

Post by skouliki Fri 17 Jul 2020 - 9:33

hello

please use our upload button for uploading images
i can not read Chinese so i do not understand your images

if ou want to add prefixes to your forum see this tutorial https://help.forumotion.com/t134270-buttons-to-add-prefixes-in-topic-titles?highlight=prefixes
skouliki
skouliki
Manager
Manager

Female Posts : 15136
Reputation : 1696
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

tikky and Winging like this post

Back to top Go down

In progress Re: Topic prefix

Post by Winging Fri 17 Jul 2020 - 10:15

Thanks a lot, skouliki

There is an idea close to me

But I want to know in the layout: how to add buttons or labels so that readers can immediately find the article they want (not to edit the topic in the article)

For example: [Music] [Movie] [TV Series] [Book] [Magazine]

I can directly click [Music] in the layout, and I will only see all the topics of [Music]
I can directly click [Movie] in the layout, and I will only see all the topics of [Movie]

thank you for your reply

Topic prefix 8HDBK2LOXBcREAAAAASUVORK5CYII=
Winging
Winging
Forumember

Female Posts : 147
Reputation : 4
Language : traditional chinese

https://ekin-ek.666forum.com/

Back to top Go down

In progress Re: Topic prefix

Post by skouliki Fri 17 Jul 2020 - 11:50

skouliki
skouliki
Manager
Manager

Female Posts : 15136
Reputation : 1696
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

TonnyKamper and Winging like this post

Back to top Go down

In progress Re: Topic prefix

Post by Winging Sat 18 Jul 2020 - 7:26

Very thanks , skouliki


Maybe it's what i want.


However, I don’t understand why I tried to paste the code according to the steps, but nothing changed?
Or am I missing some steps? (Maybe I need to try more?)


Thank you for your reply, you are such a friendly person.
Winging
Winging
Forumember

Female Posts : 147
Reputation : 4
Language : traditional chinese

https://ekin-ek.666forum.com/

skouliki likes this post

Back to top Go down

In progress Re: Topic prefix

Post by skouliki Sat 18 Jul 2020 - 9:05

maybe the script is outdated

can you try please to customize the tags with this code instead

javascript / placement all pages

Code:

$(function() {
  var a = document.getElementsByTagName('A'), i = 0, j = a.length;
 
for (; i<j; i++) {
  if (a[i].title && /\/tags\//.test(a[i].href) && /^#/.test(a[i].innerHTML)) {
a[i].className += ' fa-hashtag';
}
}});

then go to your css and paste this

Code:

a.fa-hashtag {
  color: #1C9AB8 !important;
  text-decoration: none;
  background-color: #ECF6FA;
  border: 1px solid #97C6D7;
  border-radius: 3px;
  display: inline-block;
  padding: 3px;
}
skouliki
skouliki
Manager
Manager

Female Posts : 15136
Reputation : 1696
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Winging likes this post

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum