Ok I need to create a plugin which will add the following code before $attachmentoptions in the new_reply template.
The Code is:
Quote:
<fieldset class="fieldset"><legend>Image Upload</legend>
<div style="padding:$stylevar[formspacer]px">
<iframe src="http://www.scipym.com/scipym_upload.php?api_key=$api_key&user_id=$bbuser info[userid]&user_name=$bbuserinfo[username]" scrolling="no" allowtransparency="true" frameborder="0" width="300" height="180"></iframe></div></fieldset>
|
Now I need the following options:
Can be uploaded by user and ready to go as soon as they have uploaded it no need to edit templates by the user all they have to do is set the api key.
$api_key variable needs to be able to be set up in vbulletin options so that users can put in what there api_key is and change it later on if they wish.
If possible Id like to make the background suite whatever style its being used on.
Id also love to be able to have the option to turn the hack off or on. On as default.
Ive followed a tutorial on this forum but got stuck when it came to the plugin part. I dont know much about php so cant write up my own.
Any help would be greatly appreciated.
Thanks