The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
I would like to add a dropdownlist where the user can select stuff when starting a topic IF the topic is placed in a certain forum.
So: user 1 start a topic in forum with id 85, the dropdownlist is shown and the selection is entered in the db
user 2 post a reply to the topic and NO dropdownlist is shown.
How do I check if the post is the first post or a reply? How do I check if the post is done in forum with id 85? <
So: user 1 start a topic in forum with id 85, the dropdownlist is shown and the selection is entered in the db
user 2 post a reply to the topic and NO dropdownlist is shown.
How do I check if the post is the first post or a reply? How do I check if the post is done in forum with id 85? <
/Tribaliztic
- www.gotlandrace.se -
- www.gotlandrace.se -
Posted
How do I check if the post is the first post or a reply? Check the method variable that is passed to post.asp
How do I check if the post is done in forum with id 85? Check the FORUM_ID variable that is passed to post.asp<
How do I check if the post is done in forum with id 85? Check the FORUM_ID variable that is passed to post.asp<
Posted
*doh*
Thanks... <
Thanks... <
/Tribaliztic
- www.gotlandrace.se -
- www.gotlandrace.se -
Posted
Posted
Yeah, sometimes it would be best if one could think ONE more time before posting =)
<
<
/Tribaliztic
- www.gotlandrace.se -
- www.gotlandrace.se -
Posted
Don't worry mate, it happens to all of us at one time or another.<
Posted
So I got this working.. I stole the code for selecting forum in edit-mode. But where is this saved to the db? I have to add this to the sql-string but can't find it...
<
/Tribaliztic
- www.gotlandrace.se -
- www.gotlandrace.se -
Posted
I had no answer!<
Posted
uuh...?
<
/Tribaliztic
- www.gotlandrace.se -
- www.gotlandrace.se -
Posted
not exactly sure what you want, but everything entered in post.asp is entered using post_info.asp.
Look for<
Look for
Code:
if MethodType = "Topic" then _-/Cripto9t\-_
Posted
ah, I'll have a look in post_info.asp. Thanks.
<
/Tribaliztic
- www.gotlandrace.se -
- www.gotlandrace.se -
Email Member
Message Member
Post Moderation
FileUpload
If you're having problems uploading, try choosing a smaller image.
Preview post
Send Topic
Loading...