Author |
Topic |
pcrescue
Starting Member
32 Posts |
Posted - 01 June 2005 : 10:16:52
|
Hi,
what means the " first chunk off code?" |
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 01 June 2005 : 10:19:47
|
In what context? You're going to have to provide a bit more information than that if you want us to help you out.
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
|
|
pcrescue
Starting Member
32 Posts |
Posted - 02 June 2005 : 05:57:38
|
Ok Sorry,This is what I must place in admin_home.asp
Use your text editors find feature to fine the first chunk of code, and then paste the second chunk of code into the file as instructed.
" <LI><span class=""spnMessageText""><a href=""javascript:openWindow3('admin_config_order.asp')"">Category/Forum Order Configuration</a></span></LI>" & vbNewLine & _ |
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 02 June 2005 : 06:28:45
|
Following those instructions, there should be two lines/extracts of code; you need to find the first one in your copy of admin_home.asp and add the second as instructed.
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
|
|
pcrescue
Starting Member
32 Posts |
Posted - 02 June 2005 : 10:39:45
|
sorry, i'm a bit stuppid but can you provide me with a sample, lines/extract?
thank you |
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 02 June 2005 : 11:19:23
|
What mod is it you're trying to install?
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
|
|
pcrescue
Starting Member
32 Posts |
Posted - 02 June 2005 : 12:09:50
|
Active Users vs. 4.0.17
|
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 02 June 2005 : 12:22:49
|
Firstly, there's a new version of that mod available which you can download here.
If you continue on down into the actual code changes in the readme, it goes into more detail of how exactly you should go about making the changes. In the example you posted above, it tells you to find a specific line in admin_home.asp (provided in the readme), make a blank underneath that line and paste in a new line of code (also provided in the readme).
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
|
|
pcrescue
Starting Member
32 Posts |
Posted - 03 June 2005 : 01:20:05
|
This is what I have on approx line 95, still can find it.
case "mysql" if instr(lcase(strConnString), ";uid=root;")> 0 then Response.Write " <br />" & vbNewLine & _ " <table border=""1"" width=""100%"" bgcolor=""red"">" & vbNewLine & _ " <tr>" & vbNewLine & _ " <td align=""center""><font color=""white"" size=""2"">" & _ "<b>WARNING:</b> You are connecting to your MySQL Server database with the <b>root</b> user.<br /><br />" & _ "After you have completed your installation, consider creating a new user with lower privileges" & _ " and use that to connect to the database instead." & _ "</font></td>" & vbNewLine & _ " </tr>" & vbNewLine & _ " </table><br />" & vbNewLine end if |
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 03 June 2005 : 08:09:43
|
Line numbers in mod readmes are just an approximation of where you'd find the code in a clean install of the version of Snitz the mod was written for. If your lines differ from those in the readme, just search the file in question for the code the readme references.
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
|
|
pcrescue
Starting Member
32 Posts |
Posted - 03 June 2005 : 10:15:34
|
thank you,
if I do this then I got the following error message
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'fLang'
/admin_home.asp, line 132
|
|
|
pcrescue
Starting Member
32 Posts |
Posted - 03 June 2005 : 10:16:35
|
I've putted like this way.
'######################################################################################################### Response.Write " <LI><span class=""spnMessageText""><a href=""admin_config_members.asp"">Member Details Configuration</a></span></LI>" & vbNewLine & _ " <LI><span class=""spnMessageText""><a href=""admin_config_ranks.asp"">Ranking Configuration</a></span></LI>" & vbNewLine & _ " <LI><span class=""spnMessageText""><a href=""admin_config_datetime.asp"">Server Date/Time Configuration</a></span></LI>" & vbNewLine & _ " <LI><span class=""spnMessageText""><a href=""admin_config_email.asp"">Email Server Configuration</a></span></LI>" & vbNewLine & _ " <LI><span class=""spnMessageText""><a href=""admin_config_colors.asp"">Font/Table Color Code Configuration</a></span></LI>" & vbNewLine & _ " <LI><span class=""spnMessageText""><a href=""javascript:openWindow3('admin_config_badwords.asp')"">Bad Word Filter Configuration</a></span></LI>" & vbNewLine & _ " <LI><span class=""spnMessageText""><a href=""javascript:openWindow3('admin_config_namefilter.asp')"">UserName Filter Configuration</a></span></LI>" & vbNewLine & _ " <LI><span class=""spnMessageText""><a href=""javascript:openWindow3('admin_config_order.asp')"">Category/Forum Order Configuration</a></span></LI>" & vbNewLine & _ " <LI><span class=""spnMessageText""><a href=""admin_config_groupcats.asp"">Group Categories Configuration</a></span></LI>" & vbNewLine & _ " <LI><span class=""spnMessageText""><a href=""admin_config_activeusers.asp"">" & fLang(strLangMOD_Ls3kAU_05000) & "</a></span></LI>" & vbNewLine & _ " </UL></p>" & vbNewLine & _ " </font></td>" & vbNewLine & _ " <td bgcolor=""" & strForumCellColor & """ valign=""top""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strForumFontColor & """>" & vbNewLine & _ " <p><b>Other Configuration Options and Features:</b>" & vbNewLine & _ " <UL>" & vbNewLine |
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 03 June 2005 : 10:16:59
|
Have you completed all the instructions detailed in the readme? At the very end of the file there are instructions for installing the language packs for the AU mod which you've missed out.
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
|
|
pcrescue
Starting Member
32 Posts |
Posted - 03 June 2005 : 11:03:01
|
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'checkRadio'
/admin_config_activeusers.asp, line 71
after completion I've got this error message |
|
|
pcrescue
Starting Member
32 Posts |
Posted - 03 June 2005 : 11:04:09
|
can I just send my asp's for changing these? |
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 03 June 2005 : 11:08:20
|
What version of Snitz are you using?
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
|
|
Topic |
|