FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

phpBB3, some questions

 


Crinoid
I have another question about phpBB3, and maybe this thread could be used by different people, who have problems, that have to be solved.

1. Attachments to the post: how to remove the line under image , with file name and how many times it was viewed?
Totally unnecessary and distracts from reading.
rvec
edit the template
I think you'd have to edit template\attachment.html
Crinoid
Yes, I see the edit attachment.html in template Prosilver, which I'm using.
But what should I change there, without stopping the forum working? I never made such invasions in templates before.
rvec
Crinoid wrote:
Yes, I see the edit attachment.html in template Prosilver, which I'm using.
But what should I change there, without stopping the forum working? I never made such invasions in templates before.

you have to know some html.
to change something in the template make sure you delete the cache file in teh cache dir.
should be something like tpl_Prosilver_attachment.html.php

If you want to only remove the stuff for images and not for all the other attachements search for
Code:
IF _file.S_THUMBNAIL

the thumbnail part stops with
Code:
<!-- ENDIF -->


just like the thumbnail part there are parts for every filegroup (images, media, flash,...).
Just scroll through the file and read the 'IF _file.....' stuff.

the {} stuff are like variables. Those will be filled in by the template engine. You can guess by what it will be replaced.
{_file.L_DOWNLOAD_COUNT} for example will probably be replaced by the number of download of that file.
Crinoid
Is it possible to remove the line of text under attachment at all? Even number of viewing is not interesting for a reader, and only causes the distraction.

My attachments are just jpg and gif files.
Reply to topic    Frihost Forum Index -> Scripting -> Website Software

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.