Author |
Topic |
n8pbm
Junior Member
USA
212 Posts |
Posted - 02 April 2003 : 22:39:06
|
I created a signup form for my site. I have had some request for this to be a mod. This is my attempt to create that mod. There are a few things I would like to add but thought some feedback would help as well.
This mod allows members to sign up to an event on a forum. It creates a list of members that plan to attend.
Here is a screenshot of the mod in an event:
There are two versions of this mod in the zip file. One is for the Recurring Dates Event Mod and the other is for the Non Recurring Dates Event Mod. I have only tested this with Access. Please let me know if someone tests it on SQL and mySQL.
Version 1.8B Fixed the admin_Signup.asp page for Recurring Events so it now works. Fixed the error in readmeRecurring.txt Removed inc_func_common.asp from the mod.
Version 1.7B Added the links to the Cal.asp file. Added support for the Recurring Dates version of the New Events Mod.
Version 1.6B Added ability to email all members on the list Added confirmation box when moderator/admin delete member from list Removed Pop_Delete_List.asp and combined it into eventlist.asp Fixed bug where the signup link would not show
Version 1.5B Added the ability to delete lists Moderators and admins can remove members from list The ability to select if you want the list with an event Cleaned up the code and minor fixes Updated the readme.txt file and included line numbers for a clean install
Version 1.01B Corrected the readme Fixed eventlist.asp to match forum variables Cleaned up the file and fixed some small errors.
You can download the latest beta version here Updated 9/30/2003: http://www.glpuc.org/mods/eventlistV1_8B.zip
USE AT YOUR OWN RISK! |
Mike Great Lakes Pop Up Club Camping |
Edited by - n8pbm on 09 November 2003 10:15:32 |
|
dpmcalister
Junior Member
United Kingdom
161 Posts |
Posted - 03 April 2003 : 11:59:54
|
I've downloaded the MOD and will implement it into my club's site (not online yet, but it will be available at www.modus-operandi.co.uk/iwarpuk/forum from Monday. I'll let you know how it plays out.
Thanks though (it's just the sort of thing I was looking for ) |
|
|
Etymon
Advanced Member
United States
2385 Posts |
Posted - 03 April 2003 : 18:12:16
|
Thank you for the MOD. I think this is very helpful. Thanks once again!
Etymon
|
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 03 April 2003 : 18:15:30
|
Sounds good, how do you view the attendee list? |
The UK MkIVs Forum |
|
|
n8pbm
Junior Member
USA
212 Posts |
Posted - 03 April 2003 : 18:33:43
|
quote: Originally posted by DavidRhodes
Sounds good, how do you view the attendee list?
If you click on the link (circled in the screenshot) it will take you to a list of attendees for that event and the opportunity to sign up yourself or update/delete yourself from the list. |
Mike Great Lakes Pop Up Club Camping |
|
|
randykirkpatrick
New Member
73 Posts |
Posted - 04 April 2003 : 11:00:49
|
YOu said to find this but what line is it around?
In Topic.asp Find This code (1247 with both Events Calendar and Polls installed)
if AdminAllowed = 1 and ArchiveView <> "true" then Response.Write " <tr>" & vbNewLine & _ " <td colspan=""3""><font face=""" & strDefaultFontFace & """ color=""" & strForumFontColor & """ size=""" & strFooterFontSize & """><b>Admins/Moderators:</b> <a href=""javascript:openPollWindow('pop_poll.asp?TOPIC_ID=" & Topic_ID & "&p=wv','300','300')"">See who voted</a></font></td>" & vbNewLine & _ " </tr>" & vbNewLine end if Response.Write " </table>" & vbNewLine & _ " </td>" & vbNewLine & _ " </tr>" & vbNewLine & _ "</table>" & vbNewLine end if end if Response.Write " </td>" & vbNewLine
Here is a copy of my Topic.asp file http://www.pa-designs.com/File_uploads/topic.zip if someone can take a look at it for me. |
Thank you Randy K |
Edited by - randykirkpatrick on 04 April 2003 11:16:15 |
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 04 April 2003 : 11:30:06
|
Got it working fine Could do with neatening up the eventlist.asp page so it displays in the same format as the rest of the forum and maybe have it in a pop up?? |
The UK MkIVs Forum |
|
|
n8pbm
Junior Member
USA
212 Posts |
Posted - 04 April 2003 : 11:35:43
|
RandyKirkPatrick,
You should add the following code right after line 1300 in your topic.asp:
if isevent = "False" then
Response.Write " <tr>" & vbNewLine & _
" <td valign=""bottom""><hr noshade size=""" & strFooterFontSize & """><font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><span class=""spnMessageText"">To sign up for this event or to see who it attending click below:<br><a href=""" & strForumURL & "eventlist.asp?Event=" & TopicID & "&B1=Submit"">" & strForumURL & "eventlist.asp?Event=" & TopicID & "&B1=Submit</a> </span></font></td>" & vbNewLine & _
" </tr>" & vbNewLine
end if
|
Mike Great Lakes Pop Up Club Camping |
Edited by - n8pbm on 04 April 2003 11:44:39 |
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 04 April 2003 : 11:39:56
|
There's a '<' missing to the left of 'a href' by the way |
The UK MkIVs Forum |
|
|
n8pbm
Junior Member
USA
212 Posts |
Posted - 04 April 2003 : 11:48:43
|
Thanks David for the correction, I have edited the above post with the fix. I will correct the file when I get home.
I agree it needs to be improved on the style. My next version should include some of those changes. I originally had it as a pop up on my site but I did not like it so I changed it. It could easilt be changed to a pop up however.
Thanks for the feedback. |
Mike Great Lakes Pop Up Club Camping |
|
|
randykirkpatrick
New Member
73 Posts |
Posted - 04 April 2003 : 12:00:08
|
Ok got the link to show up but when I click on it I get:
The page cannot be displayed There is a problem with the page you are trying to reach and it cannot be displayed.
|
Thank you Randy K |
|
|
dpmcalister
Junior Member
United Kingdom
161 Posts |
Posted - 04 April 2003 : 15:45:09
|
Got it working fine on my test site. Although I've edited it a little - to make the attendee's number a hidden input with a value of 1 (as I require each user to book only themselves for each event). I also agree with the styling comment.
However, its a very good addition to my site, thanks very much for writing it |
|
|
Image
Average Member
Canada
574 Posts |
Posted - 04 April 2003 : 20:54:52
|
quote: Originally posted by DavidRhodes
There's a '<' missing to the left of 'a href' by the way
in eventlist.asp at line 130 and 150
"<tr><td width=""30%""><p>Username:</p></td><td width=""70%""> <INPUT type=""text"" name=""event"" size=""40"" value=""" & rsSQL("M_NAME") & """></td></tr>" & vbNewLine & _
|
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 04 April 2003 : 21:23:06
|
n8pbm, You don't need to include inc_footer.asp, just call the function WriteFooter at the bottom of the page, the date function is also not needed as it is in inc_func_common.asp |
The UK MkIVs Forum |
|
|
n8pbm
Junior Member
USA
212 Posts |
Posted - 04 April 2003 : 21:41:30
|
Thanks David and Image, I actually did not expect this much activity on it .
I have uploaded version 1.01 that fixes what was listed above and should make the list more in line with the forum.
For those that installed my first version, you can just replace eventlist.asp with the new one.
My Warning again: This is only a beta version, If you use it on a live forum you an not blame me! . Besides, this is my first mod. |
Mike Great Lakes Pop Up Club Camping |
|
|
n8pbm
Junior Member
USA
212 Posts |
Posted - 04 April 2003 : 21:59:27
|
quote: Originally posted by randykirkpatrick
Ok got the link to show up but when I click on it I get:
The page cannot be displayed There is a problem with the page you are trying to reach and it cannot be displayed.
You need to turn off friendly HTML errors. Once you do that you will get a more descriptive error message.
Check to make sure you have eventlist.asp in your forum directory and make sure you have the corrected link in your topic.asp.
Hope that helps |
Mike Great Lakes Pop Up Club Camping |
|
|
Topic |
|