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
 GetCurrentIcon() Error
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

CodeName
Junior Member

296 Posts

Posted - 02 September 2002 :  22:21:49  Show Profile
I have Snitz 3.4.2 - I installed Avatar Mod - Private Messages 3.4.2 - Active Users 4.17 and Smile Manager 3.4..

But When I installed Smile Manager 3.4 On this Mods - always have an erros

These Errors at :

: 'getCurrentIcon'

/forum/inc_post_buttons.asp, line 40

and

: ''

/forum/inc_smilies.asp, line 62

---------------------------------
And That "getCurrentIcon()" At Which Files in Snitz 3.4.2?

What I have to do for resolve this problem ?

NOTE:I'm working in localhost with this forum.



Edited by - CodeName on 02 September 2002 22:25:59

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 02 September 2002 :  22:26:20  Show Profile
What are the exact error messages? Syntax, what?

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 02 September 2002 :  22:29:34  Show Profile
getCurrentIcon is in inc_iconfiles.asp

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

CodeName
Junior Member

296 Posts

Posted - 02 September 2002 :  22:32:06  Show Profile
At inc_post_buttons.asp = Type discordant "GetCurrentIcon" Line 40
and at inc_smilies.asp = Object Needed : '' line 62
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 02 September 2002 :  22:46:00  Show Profile
Can you post from those files giving the errors about 10 lines before the error to a few lines after. Also, specify which lines are the ones giving the error.

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

CodeName
Junior Member

296 Posts

Posted - 02 September 2002 :  22:55:29  Show Profile
Ok,

Here is From inc_post_buttons.asp ;

----------------------------------------
Response.Write " <tr>" & vbNewLine & _-------->Line 40
" <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""top"">" & vbNewLine & _
" <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Format Mode:</b></font></td>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """ align=""left"">" & vbNewLine & _
" <select name=""font"" tabindex=""-1"" onChange=""thelp(this.options[this.selectedIndex].value)"">" & vbNewLine & _
" <option selected value=""0"">Basic </option>" & vbNewLine & _
" <option value=""1"">Help </option>" & vbNewLine & _
" <option value=""2"">Prompt </option>" & vbNewLine & _
" </select>" & vbNewLine & _
" <a href=""JavaScript:openWindowHelp('pop_help.asp?mode=post#mode')"" tabindex=""-1"">" & getCurrentIcon(strIconSmileQuestion,"","") & "</a></td>" & vbNewLine & _
" </tr>" & vbNewLine & _
" <tr>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """ align=""right"" rowspan=""2"" valign=""top"">" & vbNewLine & _
" <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Format:</b></font></td>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """ align=""left"">" & vbNewLine & _
" <a href=""Javascript:bold();"" tabindex=""-1"">" & getCurrentIcon(strIconEditorBold,"Bold","align=""top""") & "</a>" & _
"<a href=""Javascript:italicize();"" tabindex=""-1"">" & getCurrentIcon(strIconEditorItalicize,"Italicized","align=""top""") & "</a>" & _
"<a href=""Javascript:underline();"" tabindex=""-1"">" & getCurrentIcon(strIconEditorUnderline,"Underline","align=""top""") & "</a>" & _
"<a href=""Javascript:strike();"" tabindex=""-1"">" & getCurrentIcon(strIconEditorStrike,"Strikethrough","align=""top""") & "</a>" & vbNewLine & _
" <a href=""Javascript:left();"" tabindex=""-1"">" & getCurrentIcon(strIconEditorLeft,"Align Left","align=""top""") & "</a>" & _
"<a href=""Javascript:center();"" tabindex=""-1"">" & getCurrentIcon(strIconEditorCenter,"Centered","align=""top""") & "</a>" & _
"<a href=""Javascript:right();"" tabindex=""-1"">" & getCurrentIcon(strIconEditorRight,"Align Right","align=""top""") & "</a>" & vbNewLine & _
" <a href=""Javascript:hr();"" tabindex=""-1"">" & getCurrentIcon(strIconEditorHR,"Horizontal Rule","align=""top""") & "</a>" & _
" <a href=""Javascript:hyperlink();"" tabindex=""-1"">" & getCurrentIcon(strIconEditorUrl,"Insert Hyperlink","align=""top""") & "</a>" & _
"<a href=""Javascript:email();"" tabindex=""-1"">" & getCurrentIcon(strIconEditorEmail,"Insert Email","align=""top""") & "</a>"
if strIMGInPosts = "1" then
Response.Write "<a href=""Javascript:image();"" tabindex=""-1"">" & getCurrentIcon(strIconEditorImage,"Insert Image","align=""top""") & "</a>" & vbNewLine
end if
Response.Write " <a href=""Javascript:showcode();"" tabindex=""-1"">" & getCurrentIcon(strIconEditorCode,"Insert Code","align=""top""") & "</a>" & _
"<a href=""Javascript:quote();"" tabindex=""-1"">" & getCurrentIcon(strIconEditorQuote,"Insert Quote","align=""top""") & "</a>" & _
"<a href=""Javascript:list();"" tabindex=""-1"">" & getCurrentIcon(strIconEditorList,"Insert List","align=""top""") & "</a>" & vbNewLine
if lcase(strIcons) = "1" and strShowSmiliesTable = "0" then
'############# Smile Manager 3.4 MOD ################
Response.Write " <a href=""JavaScript:openWindow3('pop_new_smiles.asp')"" tabindex=""-1"">" & getCurrentIcon(strIconEditorSmilie,"Insert Smilie","align=""top""") & "</a>" & vbNewLine
'####################################################
end if

------------------------------------------------------

And Here is From inc_smilies.asp;

-----------------------------------------------
" }" & vbNewLine & _
" }" & vbNewLine & _
" // -->" & vbNewLine & _
" </script>" & vbNewLine
'############# Smile Manager 3.4 MOD ################ and remove &_ from the line above
response.write " <table width=""100%"" border=""0"" cellspacing=""0"" cellpadding=""0"" align=""center"">" & vbNewLine & _
" <tr>" & vbNewLine & _
" <td align=""center"" height=""20"" valign=""40""><a name=""smilies""></a><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><b>Smilies</b></font></td>" & vbNewLine & _
" </tr>" & vbNewLine
' allow Member edits?
if MemberID <> -1 then
strsql = "SELECT S2_AllowEdit FROM " & strTablePrefix & "SMILES2 WHERE S2_ID = 1"
set aecheck = my_conn.execute(strsql)-------->Here is Line 62
if aecheck("S2_AllowEdit") = 1 then
allowedit = 1
' get Members Smile List
strsql = "SELECT S_ID FROM " & strTablePrefix & "SMILES_CUSTOM WHERE MEMBER_ID = " & MemberID
set mslist = my_conn.execute(strsql)
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 02 September 2002 :  22:58:04  Show Profile
When you get the error from inc_post_buttons.asp, does that occur when you go to post a reply or new topic? If so, find in post.asp where there is an include for inc_post_buttons.asp and post about 10 lines from before that to a few lines after.

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 02 September 2002 :  23:16:20  Show Profile
Need to get some sleep but I have a feeling that both errors are due to incorrect modifications made to post.asp. Double check the changes you made there an make sure you didn't miss something.

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

CodeName
Junior Member

296 Posts

Posted - 03 September 2002 :  04:30:39  Show Profile
I think you right .. But I made What README saying to me in Smile Manager .. I will Try again today
Go to Top of Page

CodeName
Junior Member

296 Posts

Posted - 03 September 2002 :  05:50:10  Show Profile
Huh .. I tryed Again to install inc_post_buttons.asp and inc_smilies.asp status is same

What I have to do ?
Go to Top of Page

CodeName
Junior Member

296 Posts

Posted - 03 September 2002 :  10:47:11  Show Profile
I forgat to answer your questions

"When you get the error from inc_post_buttons.asp, does that occur when you go to post a reply or new topic?" -------> No one I was checking the files one by one and ý saw at there :-)

when ý go to post a reply --> is ok
when i want to create new topic --> is ok

But I was checking files one by one and ý saw the error and I asked

What I have to do ?
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 03 September 2002 :  13:00:24  Show Profile  Visit masterao's Homepage
Both those files are only supposed to be included in other pages, not to be viewed directly in you browser. If you do, you will get errors.


Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
Go to Top of Page

CodeName
Junior Member

296 Posts

Posted - 03 September 2002 :  16:07:37  Show Profile
So these errors are normal ?
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 03 September 2002 :  16:47:40  Show Profile
So you were actually typing in those pages in your address bar of your browser!?! Like masterao said those files are meant to be included in other files and will not produce anything recognizable if you go directly to them through the browser. Try the same thing here and see what happens.

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

CodeName
Junior Member

296 Posts

Posted - 03 September 2002 :  16:51:13  Show Profile
I tryed now Giving This Error :HTTP 500 Internal Error ..

NOTE: I tryed inc_smilies.asp .. but at my localhost/forum its giving error from the file ..

So is it normal Nikkol ?
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 03 September 2002 :  17:31:02  Show Profile
Normal ... I suppose. Actually, it is NOT normal to just enter file names into your address bar. As said before, many of the files are meant to be included in other files and will only work as such. An example is inc_mail.asp which processes an email. Without the required variables, it won't work.

Just stick to using the forum as intended, by clicking on links and buttons within the web pages.

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
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.3 seconds. Powered By: Snitz Forums 2000 Version 3.4.07