First image on first message as topic icon

Started by tdguchi, July 24, 2014, 03:41:51 PM

Previous topic - Next topic

tdguchi

Hi, I new at smf, and I want to edit the board template to show the first image of a post, as the icon of the topic, just like this website versionoriginal.org/ seccion-1080p.html is there any way?

thanks


tdguchi

yeah, is something like that... but the mod needs an attached image, what i want is to put the first on every post....

Hj Ahmad Rasyid Hj Ismail

See if any of these mods come close to your needs:http://custom.simplemachines.org/mods/index.php?action=search;basic_search=message%20icon;bool=and;asc;start=20

Otherwise, explain a bit further with example on what you trying to achieve. May be, someone can code it for you.

tdguchi

ok....  I have some posts in some forums in a website (based on smf) posts are like this:

[center][img]http://pics.filmaffinity.com/Paycheck-957568097-main.jpg [/img][/center]
[list type=none]
[li][b][size=15pt]Datos Filmográficos [/size][/b] [/li]
[li][b]Sinópsis: [/b]Michael Jennings (Ben Affleck) es un ingeniero brillante y muy bien pagado que realiza importantes proyectos para una empresa de alta tecnología. Cada vez que termina un trabajo se lo borran de la memoria para que no pueda divulgarlo. Jennings espera ganar 90 millones de dólares por su último proyecto, en el que ha invertido tres años de trabajo. Sin embargo, en esta ocasión ni siquiera le pagan, aunque vuelven a borrarle la memoria. Con la ayuda de su compañera y amante Rachel (Uma Thurman), tratará de averiguar qué ha sucedido durante todo ese tiempo del que no recuerda nada. (FILMAFFINITY) [/li]
[li][b]País: [/b][img]http://www.filmaffinity.com/imgs/countries/US.jpg [/img] Estados Unidos [/li]
[li][b]Director: [/b]John Woo [/li] [li][b]Reparto: [/b]Ben Affleck, Uma Thurman, Aaron Eckhart, Colm Feore, Paul Giamatti, Joe Morton, Michael C. Hall, Emily Holmes, Krista Allen, John Cassini, Fulvio Cecere, Joe Coyle, Richard Cummins [/li]
[li][b]Género: [/b] Ciencia ficción . Thriller . Acción | Viajes en el tiempo. Cyberpunk. Thriller futurista [/li]
[li][b]Ficha De La Película: [/b][url]http://www.filmaffinity.com/es/film260686.html [/url] [/li]
[li][b]Calificacion: [/b]5,7 (basado en la valoración de usuarios de Filmaffinity) [/li]
[li][b][size=15pt]Trailer[/size][/b] [/li] [li] asd [/li [/list]


so, what I want, is to take this part: (which is the first img on the post)

[center][img]http://pics.filmaffinity.com/Paycheck-957568097-large.jpg [/img][/center]

extract the image link, and show it near the topic title in forum index in the first column (replacing the icon2 windowbg), something like:



that, with all the posts of that forum (everyone with its own image , picked from every post)

thank you

hope the explanation has been good.

Advertisement: