Text
Add simple image attachment mod

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    howtodoit.myfreeforum.org Forum Index -> Add-on`s for your forum
View previous topic :: View next topic  
Author Message
Please Register and Login to this forum to stop seeing this advertsing.





Add Karma

Posted:     Post subject:

Back to top
symon
Site Admin
Site Admin

Location: 

Joined: 13 Mar 2006
Posts: 866


Location: Hampshire Add Karma

PostPosted: Wed Apr 19, 2006 2:03 pm    Post subject: Add simple image attachment mod Reply with quote

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




Last edited by symon on Wed Jan 17, 2007 7:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    howtodoit.myfreeforum.org Forum Index -> Add-on`s for your forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Card File  Gallery  Forum Archive
HOWTODOIT was designed and built by Symon Field
Creator Of ☆ FarnboroughInvinciblesAgonyAuntFairiesAsylum Alliance FunnyWorldHOWTODOIT PHPbb3
HOWTODOIT© Symon Field 2006,2007,2008

Powered by phpBB Group © 2001,2005.
 

Create your own free forum | Buy a domain to use with your forum