how to add this code to the xenforo editor ?

A.Chakery

Active member
hi,

recently I lunched my first Xenfofo powered forum.

I am using this code in my vb3.x and I dont know how to make it work with Xenforo and where to add ,

Code:
           <td><div class="imagebutton"><a href="http://www.filebulk.com" onclick="openWindow('http://www.filebulk.com', 650, 280, 'selector'); return false;">
        <img src="http://www.forum.com/images/misc/upload.png" alt="Upload Files to Filebulk.com" border="0" />
        </a>
        </div></td>

I have to add it to editor template ?

and how can I put the [code ] [/ code] button in the editor.


thanks
 
Couldn't find a way to add a button/link to all editors in one go.
I think you'll have to edit 4 templates: thread_create, thread_reply, quick_reply, post_edit.

Find code:
Code:
<xen:include template="attachment_upload_button" />

Add Below:
Code:
<input type="button" value="Upload to Filebulk" class="button JsOnly"
	onclick="openWindow('http://www.filebulk.com', 650, 280, 'selector'); return false;" />
 
I used this code and it worked,

Code:
<a href="http://www.filebulk.com" onclick="openWindow('http://www.filebulk.com', 650, 280, 'selector'); return false;" class="button" target="_blank">{xen:phrase upload_file}</a>

but the problem is I wanna popup-like window.

any idea to how to do it ?
 
Back
Top Bottom