symon Site Admin Location: Joined: 13 Mar 2006 Posts: 866 Location: Hampshire Add Karma
Posted: Mon Nov 06, 2006 9:50 am Post subject: Add image or small file
The attachment component, allows you to upload images to the myff gallery at:
http://gallery.myff.org/
as well as your own in forum gallery at:
http://yourforumname.myfreeforum.org/index.php?component=gallery
or
http://yourforumname.myfastforum.org/index.php?component=gallery
Using the component you can upload an image and show either a thumbnail or full image in your post on our forums.
To make the change you must go to the logo/template editor in the administration panel and create your own template if you have not already done so.
You will then need to create a new user with the name of editor and give them admin rights.
You will now be allowed to edit template files.
Currently most forum templates have the following code in posting_body.tpl
Code:
<br /><span class="genmed"><a href="javascript:void(0);" onclick="window.open('http://www.postimage.org/index.php?mode=phpbb&tpl=.&forumurl=' + escape(document.location.href), '_imagehost', 'resizable=yes,width=500,height=400');return false;">Add image to post</a></span>
this code is always placed after "</textarea>" and links to the current upload service we use.
It needs replacing with:
Code:
<br/>{MYFF.ATTACHMENT}
If you do not have the code mentioned, then simply look for </textarea> and place the code after </textarea>.
_________________ Join me on FaceBook = symon field