Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Installing POLL MOD with Smile Manager Plus
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

sirsmiley
New Member

77 Posts

Posted - 30 December 2002 :  12:25:20  Show Profile
Hello, I am just confussed on this somewhat. I need to add some code for Poll mod in my post.asp, but in that same area around line 918 I have already modified it with some code for smile manager plus. I just need to know how I would add this code now with smile manager plus code.

What I need to add looks like this:


strRqMethod = "EditTopic" or strRqMethod = "Topic" or strRqMethod = "TopicQuote" then
Response.Write " <tr>" & vbNewLine
'################################## Poll Mod ###################################
'Remember to remove the &_ code from the end of the line above.
Response.Write " <td bgColor=""" & strPopUpTableColor & """ noWrap vAlign=""top"" align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>" & vbNewLine
if strRqMethod = "Topic" or strRqMethod = "EditTopic" then
if Request.QueryString("poll") = "1" then
Response.Write "Poll Question:"
else
Response.Write "Message:"
end if
else
Response.Write "Message:"
end if
Response.Write "</b><br />" & vbNewLine
' Remember to start the 2nd line below with Response.Write.
'###############################################################################

Response.Write " <br />" & vbNewLine & _
" <table border=""0"">" & vbNewLine & _
" <tr>" & vbNewLine & _
" <td align=""left"" nowrap><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine
if strAllowHTML = "1" then
Response.Write " * HTML is ON<br />" & vbNewLine


And what I already have in that area looks like this:


'############# SmileManager Plus MOD ################
if strRqMethod = "Edit" or strRqMethod = "URL" or strRqMethod = "EditURL" or _
strRqMethod = "Forum" or strRqMethod = "EditForum" or _
strRqMethod = "Reply" or strRqMethod = "ReplyQuote" or _
strRqMethod = "EditTopic" or strRqMethod = "Topic" or strRqMethod = "TopicQuote" then
Response.Write " <tr>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """ noWrap vAlign=""middle"" height=""40"" align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Message:</b><br />" & vbNewLine & _
" <br /><table border=""0"" cellpadding=0 cellspacing=0 width=""100%"">" & vbNewLine & _
" <tr>" & vbNewLine & _
" <td align=""left"" nowrap><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine


if strIcons = "1" and strShowSmiliesTable = "1" then
if strRqMethod = "Edit" or strRqMethod = "EditTopic" or _
strRqMethod = "Reply" or strRqMethod = "ReplyQuote" or _
strRqMethod = "Topic" or strRqMethod = "TopicQuote" then
%>
<!--#INCLUDE FILE="inc_smilies.asp" -->
<%
'####################################################

end if
end if
Response.Write " </font></td>" & vbNewLine & _
" </tr>" & vbNewLine & _
" </table>" & vbNewLine & _
" </font></td>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """><textarea cols=""" & intCols & """ name=""Message"" rows=""" & intRows & """ wrap=""VIRTUAL"" onselect=""storeCaret(this);"" onclick=""storeCaret(this);"" onkeyup=""storeCaret(this);"" onchange=""storeCaret(this);"">" & Trim(CleanCode(TxtMsg)) & "</textarea><br /></td>" & vbNewLine & _
" </tr>" & vbNewLine

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 30 December 2002 :  14:47:08  Show Profile
Post a link to a txt version of your post.asp file and I will add it in for you.

Support Snitz Forums
Go to Top of Page

Danomatic
Starting Member

16 Posts

Posted - 30 December 2002 :  21:08:41  Show Profile
I've got the exact same question...

Here's a link to my post.asp (.txt version). http://www.danomatic.org:6000/Snitz%20TXT/post.txt

Thanks and let me know if you need anything else.
Go to Top of Page

sirsmiley
New Member

77 Posts

Posted - 31 December 2002 :  02:15:56  Show Profile
Awsome, thanks Davio! Here is the link to the text version of my post.asp file:

http://www.alwaysjaci.123hostnow.com/post.txt

I think I added the rest of the code in there ok, but maybe you can check the rest of it out while your looking at it. My e-mail address is sirsmiley@earthlink.net in case you need to get a hold of me.

Thanks again,
Kevin

Edited by - sirsmiley on 31 December 2002 02:18:38
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 31 December 2002 :  11:27:07  Show Profile
Kevin, here's your post.asp file in text format: link removed
Copy the text in that file, (don't save it from your browser) paste it in your favourite text or asp editor and save it as an ASP file. If it won't allow to save as a asp file, just save it as a txt file, then you can change the file extention to .asp afterwards.

Let me know if it works ok for you.

Danomatic, I'll do yours in a sec.

Support Snitz Forums

Edited by - Davio on 04 January 2003 22:17:46
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 31 December 2002 :  11:44:55  Show Profile
Danomatic, I am a bit upset at you. You could have at least tried to add the rest of the poll mod code to your file. But instead you have me do all the work of adding all the poll mod code to your file. Don't you think I have done enough work by providing this poll mod for you to use?

Your file can be found here: link removed
Follow the same instructions to save your file as I told Kevin in my previous post.

Support Snitz Forums

Edited by - Davio on 04 January 2003 22:20:14
Go to Top of Page

Danomatic
Starting Member

16 Posts

Posted - 31 December 2002 :  17:34:04  Show Profile
Davio, I only needed that one section of post.asp that was posted above. I'm sorry I must've placed an older post.asp up for viewing. I actually made several attempts to integrate your Poll Mod and Smiley Manager Plus on my own for the post.asp (the rest went beautifully... great directions provided).

But thank you very much for your time. I truly appreciate it.

[Edit]... I can get to dsilvera.com but neither of the /misc/post.txt (page cannot be found)
Again, thanks for taking the time on us "non-coders".

Edited by - Danomatic on 31 December 2002 18:27:08
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 31 December 2002 :  18:34:32  Show Profile
Grr. Just send me an email and I will email it to you.

Support Snitz Forums
Go to Top of Page

sirsmiley
New Member

77 Posts

Posted - 31 December 2002 :  22:40:56  Show Profile
Davio,

Thanks so much for the file! :) I appreciate all your hard work. :)

I do however have one error so far.I get this error while trying to open an existing topic. I sent you an e-mail about it and a link, but just in case you can't get to it or someone else may know what it is then here it is again:

ADODB.Recordset error '800a0cc1'

Item cannot be found in the collection corresponding to the requested name
or ordinal.

/topic.asp, line 136

Im not sure what to do with it. Here is the link to my topic.asp
http://www.alwaysjaci.123hostnow.com/topic.txt

Thanks again,
Kevin

Edited by - sirsmiley on 31 December 2002 22:44:19
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 01 January 2003 :  15:07:04  Show Profile
In your topic.asp file, add the following code in red to your line 106:
strSql = "SELECT M.M_NAME, M.M_RECEIVE_EMAIL, M.M_AIM, M.M_ICQ, M.M_MSN, M.M_YAHOO, M.M_PMRECEIVE" & _

Support Snitz Forums
Go to Top of Page

sirsmiley
New Member

77 Posts

Posted - 02 January 2003 :  04:35:55  Show Profile
Awesome! That did it Davio! Everything seems to be working fine now! Thanks so much for the mod and all the hard work and all the help! I really appreciate it very much! :)
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 02 January 2003 :  10:10:18  Show Profile
You're Welcome.

Support Snitz Forums
Go to Top of Page

Danomatic
Starting Member

16 Posts

Posted - 02 January 2003 :  12:07:45  Show Profile
Just wanted to thank Davio publicly for helping me out with one of his superb mods. He went above and beyond his duty for support.

Thanks!!

[Edit].. For dummies like me that use(d) the Poll mod in the 3.3.x versions.. You've got to set permissions in each individual forum with this newer version (older version wasn't like this). It's in the readme... just hit me on the head with a hammer.

Edited by - Danomatic on 02 January 2003 12:16:07
Go to Top of Page

sentinel
New Member

United Kingdom
76 Posts

Posted - 04 January 2003 :  20:44:26  Show Profile  Visit sentinel's Homepage
hi there, Any chance of a copy of the code there please, I am having the same problem with the code as well.
Its really getting to me now as well Stairing me in the face as well i bet.

Thanks

Sentinel

Edited by - sentinel on 06 January 2003 00:53:58
Go to Top of Page

sentinel
New Member

United Kingdom
76 Posts

Posted - 06 January 2003 :  00:36:41  Show Profile  Visit sentinel's Homepage
OK, can someone please help me with this one, I need to get the forum up and running again asap.
I have download sf2k_v34_03_ Snitz Forum.zip and the 2 mods.
i have edited all the file's ok, apart from the post.asp
i am having trouble with getting these 2 mods to work together at all.
i know they work and its my editing thats the problem but i am new at .asp and am having problems seeing how they go together.

I only need the code around this part to carry on and finished adding all the other mods then when i have finished it all i will post a download link for the full version of this forum with these 2 mods and more on it for you others to download so this question dosent keep getting repeated.

I have tried the links in this post and they are all dead of not the moded version.

Someone please help me out with this one.
A link to a post.asp file with the mod's on it would be great.


Thanks so much

Sentinel
Go to Top of Page

sirsmiley
New Member

77 Posts

Posted - 06 January 2003 :  04:46:46  Show Profile
Hey sentinel, If you want , you can add my 3_Mod_files package to your new updated forum,link is over in MOD add on w/code, then I have also sent you an already modified Poll mod zip in you e-mail that you can add to all of those pretty easily. :)
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.31 seconds. Powered By: Snitz Forums 2000 Version 3.4.07