Originally posted by LK:
I'm having trouble using MultiHack unfortunately so I can't tell you what to do. (I downloaded the zip file Allen linked to but it doesn't mention %%LINK%%).
Thanks LK, the %%LINK%% comes from here,
Originally posted by Alan Thompson:
[qb]
Thanks, All,
I want to share some "enhancements." Our Forum Members are fairly unsophisticated so I need to make everything as simple as possible. Since our Members like to share image files only, I made some modifications to make it a no brainer to get the image links into posts.
Here is a simple mod to vars_wordlets.cgi to make a clickable link within the results page that will paste the link into the message window using JavaScript:
Find this line in the Upload Mod for vars_wordlets.cgi:
q!upload-_-up_success! => q!The file you uploaded was successful. You can access it by clicking <a href="%%LINK%%" target="_new">here</a>.
You may also copy the following statement to use the hyperlink in your posts.
%%LINK%%
<a href="%%BACK%%">Click here to upload more files</a> or <a href="%%MANAGER%%">Click here to manage your uploaded files</a>!,
Replace with the following:
q!upload-_-up_success! => q!The file you uploaded was successful. You can access it by clicking <a href="%%LINK%%" target="_new">here</a>.
Simply click the link below to paste it into your post (you can also copy and paste it).
<a href="javascript:void(0)" onclick="window.opener.insertAtCaret(window.opener.document.replier.message, ' [img]%%LINK%%[/img] '); window.focus();">[img]%%LINK%%[/img]</a>
<a href="%%BACK%%">Click here to upload more files</a> or <a href="%%MANAGER%%">Click here to manage your uploaded files</a>!,
[/qb]