Print Page | Close Window

Link field

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums Modifications
Forum Description: Mod's and Add-on's for Web Wiz Forums.
URL: https://forums.webwiz.net/forum_posts.asp?TID=22928
Printed Date: 30 March 2026 at 5:57am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Link field
Posted By: suedechaser
Subject: Link field
Date Posted: 18 March 2007 at 11:03pm
Hi all,

I asked this question in Mr Mellie's Latest Forum Posts topic, but, as an afterthought, it's probably best to ask in a separate topic ( sorry Mr Mellie !).

Can someone please help with instructions on how to put an extra field in new_topic_form.asp so users can type in an image link to associate an external image with a post.

The intention is to add this field into Mr Mellie's Latest Forum Posts mod to show a thumbnail next to any latest post link.

Any help would be greatly appreciated.

regards

suede



Replies:
Posted By: suedechaser
Date Posted: 05 April 2007 at 11:40pm
Hi all,

This mod is coming along quite nicely.

I can now include the url of an image with a post and that image will appear as an automatically resized thumbnail beside the topics in latest forum posts.

Message_form_inc.asp is the actual page that needs the box. I have been able to save the url with a topic by typing it into the box, but cannot populate it with the same saved url when opening the topic for editing. I have had to do a Response.Write() above the box to view the saved url!

Here is the code in message_form_inc.asp I am using:

<snip>
'If this is a new post or editing the first thread then display the subject text box
If strMode = "new" OR strMode="editTopic" OR strMode = "editPoll" OR strMode = "PM" OR strMode = "poll" Then
%>
<tr>
'*********begin mod*****************
     'this writes the saved image link to the screen
     <% Response.Write(strimagelink)%>
     'this is the input box
     <% Response.Write(" Image Link:")%><input type="text" name="imagelink" id="imagelink" size="50" maxlength="50" />
'***************end mod*****************
   <td align="right"><% = strTxtSubjectFolder %>:</td>
   <td align="left" width="70%">
    <input type="text" name="subject" id="subject" size="30" maxlength="50"<% If strMode="editTopic" OR strMode = "editPoll" OR strMode="PM" Then Response.Write(" value=""" & strTopicSubject & """") %> /><%

<snip>

How can I get the strimagelink to show up in the text box?





Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net