PDA

View Full Version : Last Attachment in Forum bit, i need some help


almosmm
05-04-2008, 08:54 PM
hi everyone

first of all. im working on my first hack and i have a weird problem,
the hack must get the last 5 attachments in each forum, and shows its thumbnails at the bottom of each forum.

to see the problem
upload the product i attached
and edit the template "forumhome_forumbit_level2_post"
and add this at the end of the template
$colors_attach

you must have some attachments in the forums to see what i mean,

well. you will see the attachments's thumbnails, but the thing is. if we have like 4 forums.
the 2nd and 3rd and 4rth forums, will show the 1st forum's thumbnails :S
what i want is, every forum, must shows its attachments only.

and guys anyone will fix this thing, you can take it and put it in the mods forum ^^


thank you.

SEOvB
05-04-2008, 08:58 PM
have you tried using the forumdisplay template rather then forumhome_forumbit_level2_post template?

almosmm
05-05-2008, 10:30 AM
oh well. i need to show the thumbnails at the forumhome page, under each forum bit.

and i guess if i put the hack into forumdisplay template. it will not be in the forumhome page, right ?

thank you.

GameWizard
05-05-2008, 10:36 AM
and i guess if i put the hack into forumdisplay template. it will not be in the forumhome page, right ?That's correct, as those are two separate templates.

almosmm
05-05-2008, 10:41 AM
right, so we are back to
forumhome_forumbit_level2_post template
.
still waiting for anyone who got the answer for this thing

--------------- Added 1210038334 at 1210038334 ---------------

anyone ? please ? i hope someone can help me with this problem.

--------------- Added 1210070320 at 1210070320 ---------------

still waiting......

almosmm
05-06-2008, 04:04 PM
guys it's working but i still have the same problem here.

everyforum, shows its attachments at the lower forum's place
like : the 2nd forum gets its attachments and 1st forum's attachments :S

almosmm
05-08-2008, 07:19 PM
anyone please ?

and here's the code for the plugin. if you want to add it into the file :
functions_forumlist.php
at ling 351

i hope someone comes up with the solution

almosmm
05-12-2008, 05:19 PM
come on guys. i need some help here.

Thank You