Archive for howtodoit.myfastforum.org 
 



       howtodoit.myfastforum.org Forum Index -> Add-on`s for your forum
Symon

Add simple image attachment mod

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>.
Symon





       howtodoit.myfastforum.org Forum Index -> Add-on`s for your forum
Page 1 of 1
Create your own free forum | Buy a domain to use with your forum