TinyPortal

Development => Support => Topic started by: knat on December 10, 2006, 06:05:59 PM

Title: Does anybody know how to do this to messageindex.template.php
Post by: knat on December 10, 2006, 06:05:59 PM
Some dude who dosnt answer any emails of PMs made a mod that nobody seems to be able to get a hold on.

You can see the mod in action here: http://phofan.com/forum/index.php/board,2.0.html

How the hell did he create this ? Is it simple to do or is it very complex ?

I need it so bad for my forum but i have no clue on how to code it !

So if anybody can help me out i be very very thankful.. and so will others i am sure of it  :)
Title: Re: Does anybody know how to do this to display.template.php
Post by: Witte on December 10, 2006, 08:39:25 PM
That is on the SMF site...look in the mod section (I assume you mean the avatars being displayed)...

Sharon in red! (https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Feunationalist.org%2Fsmf%2FSmileys%2Fdefault%2Froll.gif&hash=67e85c1aa9fc4d93cb4d3541446f52db2e6aa49c)

Title: Re: Does anybody know how to do this to display.template.php
Post by: G6Cad on December 10, 2006, 09:15:02 PM
Thats the SMF gallery mod. And as said, you can download that from Simplemachines forums or the SMFHacks forum.
There are two versions, one free with less features and one paid version with all the features for 50$
Title: Re: Does anybody know how to do this to display.template.php
Post by: knat on December 11, 2006, 05:29:33 AM
I have to disagree with you both.. it is not the gallery mod... this mod shows a thumbnail of the first attachment in each topic.. does the gallery mod do that ??  ???

More help is needed pleeeease  :D

They are also searching for ways to do this over at SMF: http://www.simplemachines.org/community/index.php?topic=133201.msg850147;topicseen#msg850147
Title: Re: Does anybody know how to do this to display.template.php
Post by: JPDeni on December 11, 2006, 05:48:20 AM
This would have nothing whatever to do with TP. And I think the file you'd want to alter is MessageIndex.template.php.
Title: Re: Does anybody know how to do this to messageindex.template.php
Post by: knat on December 11, 2006, 06:08:23 AM
Quote from: JPDeni on December 11, 2006, 05:48:20 AM
This would have nothing whatever to do with TP. And I think the file you'd want to alter is MessageIndex.template.php.

I agree it is that file... my bad  :o

And i know it has nothing to do with TP but at least here i get a reply  :) and i know that there are some amazing php coders here on TP that might have an idea on how to do this..

Now i have a block that shows the latest attachment from a board that i select.. i have a mod that shows attachments (mediacenter mod)... so how hard can it be to pull the first attachment and show it in its own cell on the messageindex ? For me it would be very hard since im a newb to php.. but for somebody like you it might be easy.. i dont know.. i thought it was worth a try to come here with my question..  ::)
Title: Re: Does anybody know how to do this to messageindex.template.php
Post by: JPDeni on December 11, 2006, 07:34:06 AM
It wouldn't be easy for me because I don't know how attachments are handled at all. I don't allow any attachments on my board so I have no way of seeing how they are dealt with. The only way for me to figure out how the database works is to see it in action.
Title: Re: Does anybody know how to do this to messageindex.template.php
Post by: Lesmond on December 11, 2006, 08:24:20 AM
I think I might have found what you are all looking for
http://www.simplemachines.org/community/index.php?topic=7370.0
Title: Re: Does anybody know how to do this to messageindex.template.php
Post by: knat on December 11, 2006, 11:00:14 AM
Quote from: JPDeni on December 11, 2006, 07:34:06 AM
It wouldn't be easy for me because I don't know how attachments are handled at all. I don't allow any attachments on my board so I have no way of seeing how they are dealt with. The only way for me to figure out how the database works is to see it in action.

Ahh okay fair enough, i didnt know that.. would it help if i showed you some code that pulls the latest attachments from a board ??  ::)


Quote from: Lesmond on December 11, 2006, 08:24:20 AM
I think I might have found what you are all looking for
http://www.simplemachines.org/community/index.php?topic=7370.0

Nahh thats not the one i am looking for.. i already have that one.. it just makes you put different on/off icons for each board.. i need something that shows a thumbnail for the first attachment in each topic next to the topics icon..

But thanks anyway...   ;)
Title: Re: Does anybody know how to do this to messageindex.template.php
Post by: IchBin on December 11, 2006, 03:38:11 PM
I've seen that board before. I don't think the author of that modification has or will release it.
Title: Re: Does anybody know how to do this to messageindex.template.php
Post by: knat on December 11, 2006, 05:35:03 PM
Quote from: IchBinÃ,â,,¢ on December 11, 2006, 03:38:11 PM
I've seen that board before. I don't think the author of that modification has or will release it.

Yeah im afraid you are right about that.. thats why i wonder if anybody can make something similar to this.. so many people would want to use it ! :-)
Title: Re: Does anybody know how to do this to messageindex.template.php
Post by: Bushido on December 29, 2006, 05:03:02 PM
yea i really need help whit this too  ;D Please! please!