Last topic title

Looking for an Extension? Have an Extension request? Post your request here for help. (Note: This forum is community supported; while there is an Extensions Development Team, said team does not dedicate itself to handling requests in this forum)
Anti-Spam Guide
User avatar
FoFa
Registered User
Posts: 200
Joined: Wed Dec 03, 2008 9:21 am
Name: Daniel L.
Contact:

Re: Last topic title

Post by FoFa » Fri May 06, 2016 5:59 pm

@Lumpy Burgertushie : the OP knows. It's why he is asking someone to migrate this MOD into an extension.
Formly ForumsFaciles :wink:

User avatar
Lumpy Burgertushie
Registered User
Posts: 66930
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Last topic title

Post by Lumpy Burgertushie » Sat May 07, 2016 1:52 am

FoFa wrote:@Lumpy Burgertushie : the OP knows. It's why he is asking someone to migrate this MOD into an extension.
this makes twice you have spoken for the OP. now, you may be absolutely correct in your interpretation of what the OP wants but it would be much better if he/she were to answer the questions and provide the info we need to help him.
If what he is saying or wanting was that clear then there would not be so many posts here trying to get some clarification etc.

thanks,
robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

User avatar
Talk19Zehn
Registered User
Posts: 415
Joined: Tue Aug 09, 2011 1:10 pm
Contact:

Re: Last topic title

Post by Talk19Zehn » Sun May 08, 2016 8:32 am

Hello, maybe a first idea as like a small first aid. Until someone an extension wrote.
Could we possibly make this? The first approach works and is dependent on the size of the original graphic (forum-image).
They will be scaled to 30px (width) in this example, reduced the original-graphics (forum-image) and output this image parallel in lastpost into lastsubjekt.
Do I need "width" adjust? It might work for this purpose, if it is the right away. ... -> Test(!):

we_universal

forumlist_body.html

line 79

Code: Select all

						<!-- IF forumrow.LAST_POST_TIME --><dfn>{L_LAST_POST}</dfn>
I have changed

Code: Select all

						<!-- IF forumrow.LAST_POST_TIME --><span class="forum-image lastsubjekt">{forumrow.FORUM_IMAGE}</span><dfn>{L_LAST_POST}</dfn>
CSS: I added in the end as like a first step, idea.

content.css

Code: Select all

/*  forumlist lastsubjekt img */
.lastsubjekt img {
	float: left;
	margin-right: 5px;
	padding-top: 5px;
	width: 30px;
	height: auto;
}
responsive.css

Code: Select all

/* responsive design lastsubjekt img */
@media only screen and (max-width: 700px), only screen and (max-device-width: 700px) {
	.lastsubjekt img {
		display: none;
	}
}

Regards

===
Edit: 09.05.2016 - A graphic to illustrate I can not insert regrettably here.
Edit: 13.05.2016 - My image deleted, it´s not necessary anymore ...
Last edited by Talk19Zehn on Fri May 13, 2016 8:32 am, edited 2 times in total.
World Meteorological Organization (WMO) Weather - Climate - Water
BTW: My own works - phpBB - read more: ongray-design-de or look here: phpBB VT Theme
Extension: phpBB Advent Calendar - Final

User avatar
FoFa
Registered User
Posts: 200
Joined: Wed Dec 03, 2008 9:21 am
Name: Daniel L.
Contact:

Re: Last topic title

Post by FoFa » Sun May 08, 2016 9:18 am

Lumpy Burgertushie wrote:this makes twice you have spoken for the OP. now, you may be absolutely correct in your interpretation of what the OP wants
The OP is french (so do I) and he isn't always at ease speaking english. My purpose was only helping him to clarify what he wants, since he asked the same on french board.
Formly ForumsFaciles :wink:

User avatar
Mammouth
Registered User
Posts: 71
Joined: Wed Apr 27, 2016 11:06 am

Re: Last topic title

Post by Mammouth » Mon May 09, 2016 1:14 pm

Hello Talk19Zehn thank you for your help, but the result is not what I want. This is the icon of the subject I want on the homepage, not a copy of the image of the forum.

http://image.noelshack.com/fichiers/201 ... etopic.png
http://image.noelshack.com/fichiers/201 ... esujet.png


Maybe i don't understand something ? :mrgreen:

User avatar
Talk19Zehn
Registered User
Posts: 415
Joined: Tue Aug 09, 2011 1:10 pm
Contact:

Re: Last topic title

Post by Talk19Zehn » Mon May 09, 2016 5:01 pm

Hi Mammouth, yes I know. It was a small idea when I look to your phpBB-board 3.0 (!). There it is often set that way ... ;)

Code: Select all

http://www.footballsupps.com/forum/
Okay, so we try again: Test(!) only an example
CSS please keep it.

Template -> forumlist_body.html - perhaps it is another way at this time ... :?:
search (line 79)
<!-- IF forumrow.LAST_POST_TIME -->

ADD after in a new line: Test(!)...

Code: Select all

							<!-- IF forumrow.FORUM_ID == 2 -->
								<span class="lastsubjekt"><img src="{T_THEME_PATH}/images/footballcup1.png" alt="" /></span><dfn>{L_LAST_POST}</dfn>
							<!-- ENDIF -->
							<!-- IF forumrow.FORUM_ID == 13 -->
								<span class="lastsubjekt"><img src="{T_THEME_PATH}/images/footballcup2.png" alt="" /></span><dfn>{L_LAST_POST}</dfn>
							<!-- ENDIF -->
							<!-- IF forumrow.FORUM_ID == 17 -->
								<span class="lastsubjekt"><img src="{T_THEME_PATH}/images/footballcup3.png" alt="" /></span><dfn>{L_LAST_POST}</dfn>
							<!-- ENDIF -->
Your forum IDs please adapt depending on, load the graphics in the directory theme / images (the name and the format of your graphics please apply also). Other solutions are possible and perhaps there are other ideas of other users regarding the HTML, to abbreviate your request. My test was successful (without subforums) if all conditions have been met. It´s again only a momentary individual proposal until someone writes an extension. ;)

Best regards


Edit:
Example: ==> Forum #6 with subforum #11
:?: ==> That could work, am not sure (without testing by myself).

Code: Select all

							<!-- IF forumrow.FORUM_ID == 6 or forumrow.subforum.FORUM_ID == 11 -->
								<span class="lastsubjekt"><img src="{T_THEME_PATH}/images/footballcup4.png" alt="" /></span><dfn>{L_LAST_POST}</dfn>
							<!-- ENDIF -->
.. greetings
World Meteorological Organization (WMO) Weather - Climate - Water
BTW: My own works - phpBB - read more: ongray-design-de or look here: phpBB VT Theme
Extension: phpBB Advent Calendar - Final

User avatar
Mammouth
Registered User
Posts: 71
Joined: Wed Apr 27, 2016 11:06 am

Re: Last topic title

Post by Mammouth » Tue May 10, 2016 8:53 pm

Hello Talk yes it works I took the stuff. However it would be too much work seen throughout the week we create topics with icons so I'll have to change forumlist body all the time ! I hope you understand what I say ;)

It is impossible to transfer this mod for 3.1 really without making an extension ? https://www.phpbb.com/customise/db/mod/ ... c_title_2/

You really have an automatic thing in the icons otherwise it's an impossible job sorry Talk :oops:

User avatar
Talk19Zehn
Registered User
Posts: 415
Joined: Tue Aug 09, 2011 1:10 pm
Contact:

Re: Last topic title

Post by Talk19Zehn » Wed May 11, 2016 9:42 am

Hello mmout, if appropriate: I think there will probably be no extension at this moment, because there is no event in this area (forumlist_body). I do not find any way today.
Either you use the example A or B for a first aid. True, they are associated with work. If you do not want both aids, I can not help. Other ideas for remedy I have no more.
Maybe someone has a different solution for you.
Sorry :oops:
World Meteorological Organization (WMO) Weather - Climate - Water
BTW: My own works - phpBB - read more: ongray-design-de or look here: phpBB VT Theme
Extension: phpBB Advent Calendar - Final

User avatar
FoFa
Registered User
Posts: 200
Joined: Wed Dec 03, 2008 9:21 am
Name: Daniel L.
Contact:

Re: Last topic title

Post by FoFa » Wed May 11, 2016 9:57 am

Hello,
Talk19Zehn wrote:there is no event in this area (forumlist_body). I do not find any way today.
I think there is an event, if I understand what is written here : Events List --> Template Events --> forumlist_body_last_post_title_prepend
wiki.phpbb.com, on its own events list page, wrote: Add content before the post title of the latest post in a forum on the forum list.
Formly ForumsFaciles :wink:

User avatar
Talk19Zehn
Registered User
Posts: 415
Joined: Tue Aug 09, 2011 1:10 pm
Contact:

Re: Last topic title

Post by Talk19Zehn » Wed May 11, 2016 10:23 am

Yes, of course (I know). Only you have anything between prepend, append be considered. ;) And that makes it difficult (for me (!)). :?: A direct event is not at that points, please see examples. I find no way.


:cry: Regards
World Meteorological Organization (WMO) Weather - Climate - Water
BTW: My own works - phpBB - read more: ongray-design-de or look here: phpBB VT Theme
Extension: phpBB Advent Calendar - Final

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Last topic title

Post by RMcGirr83 » Wed May 11, 2016 10:34 am

Last topic title is already part of phpBB, I believe the OP wants the topic icons to display on the index page.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

User avatar
FoFa
Registered User
Posts: 200
Joined: Wed Dec 03, 2008 9:21 am
Name: Daniel L.
Contact:

Re: Last topic title

Post by FoFa » Wed May 11, 2016 10:37 am

Right RMcGirr83 it's what we're talking about here ^_^
Formly ForumsFaciles :wink:

User avatar
Talk19Zehn
Registered User
Posts: 415
Joined: Tue Aug 09, 2011 1:10 pm
Contact:

Re: Last topic title

Post by Talk19Zehn » Wed May 11, 2016 11:00 am

Hi, the topic-icons and not a separat image looks like the forum-image or an another part? Oh, I have misinterpreted - my mistake, apologies. It was not apparent for me from the Boardversion 3.0 of the OP.

Code: Select all

http://www.footballsupps.com/forum/
Okay, then my reference is wrong. :oops:

Regards and sorry!!
World Meteorological Organization (WMO) Weather - Climate - Water
BTW: My own works - phpBB - read more: ongray-design-de or look here: phpBB VT Theme
Extension: phpBB Advent Calendar - Final

User avatar
Mammouth
Registered User
Posts: 71
Joined: Wed Apr 27, 2016 11:06 am

Re: Last topic title

Post by Mammouth » Wed May 11, 2016 11:27 am

Hello friends thank you for your help it's okay i'll do without for now. I hope one day extension is created :oops:

I remember just for those who arrive these two links:
http://www.footballsupps.com/forum.html (Phpbb 3.0.12)
http://v2.footballsupps.com/forum/ (in construction 3.1.9)

User avatar
Talk19Zehn
Registered User
Posts: 415
Joined: Tue Aug 09, 2011 1:10 pm
Contact:

Re: Last topic title

Post by Talk19Zehn » Wed May 11, 2016 11:46 am

Thanks so much, it's a small but subtle difference ... :oops:
Mammouth wrote:...(...)...
I remember just for those who arrive these two links:
http://www.footballsupps.com/forum.html (Phpbb 3.0.12)
http://v2.footballsupps.com/forum/ (in construction 3.1.9)
Can you tell us what was basically meant: Topic-Icons or the another parts?

I think, this would be nice to help seekers ... ;)

Thanks and ;) Best wishes
World Meteorological Organization (WMO) Weather - Climate - Water
BTW: My own works - phpBB - read more: ongray-design-de or look here: phpBB VT Theme
Extension: phpBB Advent Calendar - Final

Post Reply

Return to “Extension Requests”