HexagonReborn

How to change topic image? - HexagonReborn

How to change topic image?

by viper69 » Sun Jan 22, 2023 9:15 am

Screenshot_2.jpg
viper69
Registered User
Posts: 234
Joined: Fri Jun 03, 2022 5:35 pm

Re: How to change topic image?

by Mannix_ » Sun Jan 22, 2023 9:46 am

if you have your images uploaded to the images folder and they match the name and file extension of the standard ones found in prosilver f.e sticky_read_mine.gif

then in hexagon.css find and delete

Code: Select all

.row-item:before, .row-item:after {
	font-size: 30px;
	left: 10px;
	padding: 0px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-family: hexagon;
}

.global_read:before,
.global_read_mine:before,
.announce_read:before,
.announce_read_mine:before,
.sticky_read:before,
.sticky_read_mine:before,
.global_unread:before,
.global_unread_mine:before,
.announce_unread:before,
.announce_unread_mine:before,
.sticky_unread:before,
.sticky_unread_mine:before,
.global_read_locked:before,
.global_read_locked_mine:before,
.announce_read_locked:before,
.announce_read_locked_mine:before,
.forum_read_locked:before,
.sticky_read_locked:before,
.sticky_read_locked_mine:before,
.topic_read_locked:before,
.topic_read_locked_mine:before,
.global_unread_locked:before,
.global_unread_locked_mine:before,
.announce_unread_locked:before,
.announce_unread_locked_mine:before,
.forum_unread_locked:before,
.topic_unread_locked:before,
.topic_unread_locked_mine:before,
.global_unread_locked:before,
.global_unread_locked_mine:before,
.announce_unread_locked:before,
.announce_unread_locked_mine:before,
.forum_unread_locked:before,
.topic_unread_locked:before,
.topic_unread_locked_mine:before,
.forum_read:before,
.forum_read_subforum:before,
.topic_read:before,
.topic_read_mine:before,
.forum_unread:before,
.forum_unread_subforum:before,
.topic_unread:before,
.topic_unread_mine:before,
.sticky_unread_locked:before,
.sticky_unread_locked_mine:before,
.topic_moved:before,
.topic_read_hot:before,
.topic_read_hot_mine:before,
.topic_unread_hot:before,
.topic_unread_hot_mine:before,
.pm_read:before,
.pm_unread:before {
	content: '\e800';
}

.forum_link:before {
	content: '\f08e';
	font-family: FontAwesome;
}

.forum_unread_subforum:after {
	content: '\e800';
	margin: 10px 0 0 16px;
	font-size: 15px;
}

.forum_read_subforum:after {
	content: '\e800';
	margin: 10px 0 0 16px;
	font-size: 15px;
}

.forum_read_locked:after,
.global_read_locked:after,
.global_read_locked_mine:after,
.announce_read_locked:after,
.announce_read_locked_mine:after,
.sticky_read_locked:after,
.sticky_read_locked_mine:after,
.topic_read_locked:after,
.topic_read_locked_mine:after {
	content: '\f023';
	margin: 1px 0 0 9px;
	font-size: 20px;
	font-family: FontAwesome;
}

.forum_unread_locked:after,
.global_unread_locked:after,
.global_unread_locked_mine:after,
.announce_unread_locked:after,
.announce_unread_locked_mine:after,
.sticky_unread_locked:after,
.sticky_unread_locked_mine:after,
.topic_unread_locked:after,
.topic_unread_locked_mine:after {
	content: '\f023';
	margin: 1px 0 0 9px;
	font-size: 20px;
	font-family: FontAwesome;
}

.topic_read_hot:after,
.topic_read_hot_mine:after ,
.topic_unread_hot:after,
.topic_unread_hot_mine:after {
	content: '\f0e7';
	margin: 0 0 0 10px;
	font-size: 20px;
	font-family: FontAwesome;
	-webkit-animation: pulse 2s linear infinite;
	-moz-animation: pulse 2s linear infinite;
	animation: pulse 2s linear infinite;
	top: 38%;
}

.global_read,
.global_read_mine, 
.global_read_locked, 
.global_read_locked_mine, 
.global_unread, 
.global_unread_mine, 
.global_unread_locked, 
.global_unread_locked_mine, 
.announce_read, 
.announce_read_mine, 
.announce_read_locked, 
.announce_read_locked_mine, 
.announce_unread, 
.announce_unread_mine, 
.announce_unread_locked, 
.announce_unread_locked_mine, 
.forum_link, 
.forum_read, 
.forum_read_locked, 
.forum_read_subforum, 
.forum_unread, 
.forum_unread_locked, 
.forum_unread_subforum, 
.sticky_read, 
.sticky_read_mine, 
.sticky_read_locked, 
.sticky_read_locked_mine, 
.sticky_unread, 
.sticky_unread_mine, 
.sticky_unread_locked, 
.sticky_unread_locked_mine, 
.topic_moved, 
.topic_read, 
.topic_read_mine, 
.topic_read_hot, 
.topic_read_hot_mine, 
.topic_read_locked, 
.topic_read_locked_mine, 
.topic_unread, 
.topic_unread_mine, 
.topic_unread_hot, 
.topic_unread_hot_mine, 
.topic_unread_locked, 
.topic_unread_locked_mine,
.pm_read, .pm_unread {
	background-image: none;
}
Did I helped You? Consider a donation.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!
User avatar
Mannix_
Registered User
Posts: 2134
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt

Re: How to change topic image?

by viper69 » Sun Jan 22, 2023 11:25 am

nothing happen
viper69
Registered User
Posts: 234
Joined: Fri Jun 03, 2022 5:35 pm

Re: How to change topic image?

by Mannix_ » Sun Jan 22, 2023 11:28 am

did you purged the browser cache after ???
Did I helped You? Consider a donation.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!
User avatar
Mannix_
Registered User
Posts: 2134
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt

Re: How to change topic image?

by viper69 » Sun Jan 22, 2023 11:28 am

how to equal text? why text going down icon?
Screenshot_3.jpg
Screenshot_3.jpg (10.46 KiB) Viewed 109 times
viper69
Registered User
Posts: 234
Joined: Fri Jun 03, 2022 5:35 pm

Re: How to change topic image?

by Mannix_ » Sun Jan 22, 2023 11:40 am

Don't know, it shouldn't as it doesn't on my test board
rrr.png
Without ability to see it won't be able to help :)
Did I helped You? Consider a donation.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!
User avatar
Mannix_
Registered User
Posts: 2134
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt

Re: How to change topic image?

by viper69 » Sun Jan 22, 2023 11:52 am

Mannix_ wrote:Don't know, it shouldn't as it doesn't on my test board
rrr.png
Without ability to see it won't be able to help :)
i am using this
try this https://www.phpbb.com/customise/db/exte ... forum_icon


its adult forum. Can i share with you?
viper69
Registered User
Posts: 234
Joined: Fri Jun 03, 2022 5:35 pm

Re: How to change topic image?

by viper69 » Sun Jan 22, 2023 12:04 pm

Mannix_ wrote:did you purged the browser cache after ???
now its blank

how to set my own icon or default icon?
viper69
Registered User
Posts: 234
Joined: Fri Jun 03, 2022 5:35 pm

Re: How to change topic image?

by Mannix_ » Sun Jan 22, 2023 12:21 pm

viper69 wrote: i am using this
try this https://www.phpbb.com/customise/db/exte ... forum_icon
its adult forum. Can i share with you?
If you are gonna use the same icon for all the forums there is no point using that extension. Just use the images like for topics
viper69 wrote:
Mannix_ wrote:did you purged the browser cache after ???
now its blank
are 100% sure the images and image file extension match the the one from prosilver??? Just for testing copy the images from prosilver to this theme and see if they show up.
Did I helped You? Consider a donation.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!
User avatar
Mannix_
Registered User
Posts: 2134
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt

Re: How to change topic image?

by viper69 » Mon Jan 23, 2023 7:35 am

Mannix_ wrote:
viper69 wrote: i am using this
try this https://www.phpbb.com/customise/db/exte ... forum_icon
its adult forum. Can i share with you?
If you are gonna use the same icon for all the forums there is no point using that extension. Just use the images like for topics
viper69 wrote: now its blank
are 100% sure the images and image file extension match the the one from prosilver??? Just for testing copy the images from prosilver to this theme and see if they show up.
i will use differnt icon.
viper69
Registered User
Posts: 234
Joined: Fri Jun 03, 2022 5:35 pm

Re: How to change topic image?

by Mannix_ » Mon Jan 23, 2023 7:39 am

viper69 wrote: i will use differnt icon.
In that case open forumlist_body.html
find

Code: Select all

{% if forumrow.FORUM_DESC %}<br />{{ forumrow.FORUM_DESC }}{% endif %}
							{% if forumrow.MODERATORS %}
								<br /><strong>{{ forumrow.L_MODERATOR_STR }}{{ lang('COLON') }}</strong> {{ forumrow.MODERATORS }}
							{% endif %}
							{% if forumrow.subforum|length and forumrow.S_LIST_SUBFORUMS %}
								{% EVENT forumlist_body_subforums_before %}
								<br /><strong>{{ forumrow.L_SUBFORUM_STR }}{{ lang('COLON') }}</strong>
								{% for subforum in forumrow.subforum %}
								{% EVENT forumlist_body_subforum_link_prepend %}<a href="{{ subforum.U_SUBFORUM }}" class="subforum{% if subforum.S_UNREAD %} unread{% else %} read{% endif %}" title="{% if subforum.S_UNREAD %}{{ lang('UNREAD_POSTS') }}{% else %}{{ lang('NO_UNREAD_POSTS') }}{% endif %}">
										<i class="icon {% if subforum.IS_LINK %}fa-external-link{% else %}fa-file-o{% endif %} fa-fw {% if subforum.S_UNREAD %} icon-red{% else %} icon-blue{% endif %} icon-md" aria-hidden="true"></i>{{ subforum.SUBFORUM_NAME }}</a>{% if not subforum.S_LAST_ROW %}{{ lang('COMMA_SEPARATOR') }}{% endif %}{% EVENT forumlist_body_subforum_link_append %}
								{% endfor %}
								{% EVENT forumlist_body_subforums_after %}
							{% endif %}
and change it to

Code: Select all

<div style="pading-inline-start: 39px">
{% if forumrow.FORUM_DESC %}<br />{{ forumrow.FORUM_DESC }}{% endif %}
							{% if forumrow.MODERATORS %}
								<br /><strong>{{ forumrow.L_MODERATOR_STR }}{{ lang('COLON') }}</strong> {{ forumrow.MODERATORS }}
							{% endif %}
							{% if forumrow.subforum|length and forumrow.S_LIST_SUBFORUMS %}
								{% EVENT forumlist_body_subforums_before %}
								<br /><strong>{{ forumrow.L_SUBFORUM_STR }}{{ lang('COLON') }}</strong>
								{% for subforum in forumrow.subforum %}
								{% EVENT forumlist_body_subforum_link_prepend %}<a href="{{ subforum.U_SUBFORUM }}" class="subforum{% if subforum.S_UNREAD %} unread{% else %} read{% endif %}" title="{% if subforum.S_UNREAD %}{{ lang('UNREAD_POSTS') }}{% else %}{{ lang('NO_UNREAD_POSTS') }}{% endif %}">
										<i class="icon {% if subforum.IS_LINK %}fa-external-link{% else %}fa-file-o{% endif %} fa-fw {% if subforum.S_UNREAD %} icon-red{% else %} icon-blue{% endif %} icon-md" aria-hidden="true"></i>{{ subforum.SUBFORUM_NAME }}</a>{% if not subforum.S_LAST_ROW %}{{ lang('COMMA_SEPARATOR') }}{% endif %}{% EVENT forumlist_body_subforum_link_append %}
								{% endfor %}
								{% EVENT forumlist_body_subforums_after %}
							{% endif %}
							</div>
Purge the cache in ACP after
Did I helped You? Consider a donation.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!
User avatar
Mannix_
Registered User
Posts: 2134
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt

Re: How to change topic image?

by viper69 » Mon Jan 23, 2023 10:53 am

Mannix_ wrote:
viper69 wrote: i will use differnt icon.
In that case open forumlist_body.html
find

Code: Select all

{% if forumrow.FORUM_DESC %}<br />{{ forumrow.FORUM_DESC }}{% endif %}
							{% if forumrow.MODERATORS %}
								<br /><strong>{{ forumrow.L_MODERATOR_STR }}{{ lang('COLON') }}</strong> {{ forumrow.MODERATORS }}
							{% endif %}
							{% if forumrow.subforum|length and forumrow.S_LIST_SUBFORUMS %}
								{% EVENT forumlist_body_subforums_before %}
								<br /><strong>{{ forumrow.L_SUBFORUM_STR }}{{ lang('COLON') }}</strong>
								{% for subforum in forumrow.subforum %}
								{% EVENT forumlist_body_subforum_link_prepend %}<a href="{{ subforum.U_SUBFORUM }}" class="subforum{% if subforum.S_UNREAD %} unread{% else %} read{% endif %}" title="{% if subforum.S_UNREAD %}{{ lang('UNREAD_POSTS') }}{% else %}{{ lang('NO_UNREAD_POSTS') }}{% endif %}">
										<i class="icon {% if subforum.IS_LINK %}fa-external-link{% else %}fa-file-o{% endif %} fa-fw {% if subforum.S_UNREAD %} icon-red{% else %} icon-blue{% endif %} icon-md" aria-hidden="true"></i>{{ subforum.SUBFORUM_NAME }}</a>{% if not subforum.S_LAST_ROW %}{{ lang('COMMA_SEPARATOR') }}{% endif %}{% EVENT forumlist_body_subforum_link_append %}
								{% endfor %}
								{% EVENT forumlist_body_subforums_after %}
							{% endif %}
and change it to

Code: Select all

<div style="pading-inline-start: 39px">
{% if forumrow.FORUM_DESC %}<br />{{ forumrow.FORUM_DESC }}{% endif %}
							{% if forumrow.MODERATORS %}
								<br /><strong>{{ forumrow.L_MODERATOR_STR }}{{ lang('COLON') }}</strong> {{ forumrow.MODERATORS }}
							{% endif %}
							{% if forumrow.subforum|length and forumrow.S_LIST_SUBFORUMS %}
								{% EVENT forumlist_body_subforums_before %}
								<br /><strong>{{ forumrow.L_SUBFORUM_STR }}{{ lang('COLON') }}</strong>
								{% for subforum in forumrow.subforum %}
								{% EVENT forumlist_body_subforum_link_prepend %}<a href="{{ subforum.U_SUBFORUM }}" class="subforum{% if subforum.S_UNREAD %} unread{% else %} read{% endif %}" title="{% if subforum.S_UNREAD %}{{ lang('UNREAD_POSTS') }}{% else %}{{ lang('NO_UNREAD_POSTS') }}{% endif %}">
										<i class="icon {% if subforum.IS_LINK %}fa-external-link{% else %}fa-file-o{% endif %} fa-fw {% if subforum.S_UNREAD %} icon-red{% else %} icon-blue{% endif %} icon-md" aria-hidden="true"></i>{{ subforum.SUBFORUM_NAME }}</a>{% if not subforum.S_LAST_ROW %}{{ lang('COMMA_SEPARATOR') }}{% endif %}{% EVENT forumlist_body_subforum_link_append %}
								{% endfor %}
								{% EVENT forumlist_body_subforums_after %}
							{% endif %}
							</div>
Purge the cache in ACP after
for what?
viper69
Registered User
Posts: 234
Joined: Fri Jun 03, 2022 5:35 pm

Re: How to change topic image?

by Mannix_ » Mon Jan 23, 2023 10:56 am

viper69 wrote:
for what?
for this

this is what happened when you ask two question in single topic you get confused
Did I helped You? Consider a donation.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!
User avatar
Mannix_
Registered User
Posts: 2134
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt

Re: How to change topic image?

by viper69 » Mon Jan 23, 2023 11:03 am

look please not working

my adult forum
viper69
Registered User
Posts: 234
Joined: Fri Jun 03, 2022 5:35 pm

Re: How to change topic image?

by Mannix_ » Mon Jan 23, 2023 11:37 am

sorry i made i typo try this

Code: Select all

<div style="padding-inline-start: 39px">
{% if forumrow.FORUM_DESC %}{{ forumrow.FORUM_DESC }}{% endif %}
							{% if forumrow.MODERATORS %}
								<br /><strong>{{ forumrow.L_MODERATOR_STR }}{{ lang('COLON') }}</strong> {{ forumrow.MODERATORS }}
							{% endif %}
							{% if forumrow.subforum|length and forumrow.S_LIST_SUBFORUMS %}
								{% EVENT forumlist_body_subforums_before %}
								<br /><strong>{{ forumrow.L_SUBFORUM_STR }}{{ lang('COLON') }}</strong>
								{% for subforum in forumrow.subforum %}
								{% EVENT forumlist_body_subforum_link_prepend %}<a href="{{ subforum.U_SUBFORUM }}" class="subforum{% if subforum.S_UNREAD %} unread{% else %} read{% endif %}" title="{% if subforum.S_UNREAD %}{{ lang('UNREAD_POSTS') }}{% else %}{{ lang('NO_UNREAD_POSTS') }}{% endif %}">
										<i class="icon {% if subforum.IS_LINK %}fa-external-link{% else %}fa-file-o{% endif %} fa-fw {% if subforum.S_UNREAD %} icon-red{% else %} icon-blue{% endif %} icon-md" aria-hidden="true"></i>{{ subforum.SUBFORUM_NAME }}</a>{% if not subforum.S_LAST_ROW %}{{ lang('COMMA_SEPARATOR') }}{% endif %}{% EVENT forumlist_body_subforum_link_append %}
								{% endfor %}
								{% EVENT forumlist_body_subforums_after %}
							{% endif %}
							</div>
Did I helped You? Consider a donation.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!
User avatar
Mannix_
Registered User
Posts: 2134
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt