Author |
Topic |
|
Ravencer
Starting Member
Canada
12 Posts |
Posted - 22 September 2004 : 18:20:14
|
I have installed this Avatar Mod
I am unable to access the pop_profile.asp page now. I cannot edit it via Admin control panel or view it.
The mod has been installed correctly as far as the admin panel is concerned as admin_avatar_settings.asp loads correctly. I have uploaded a avatar from a remote location.
I have gone through the install instructions twice to confirm the changes have been made correctly. I have used the 3.4.03 instructions for the Topic.asp file.
This is the site address: http://www.vancouverevents.com/board
Forum version: 3.4.04 DB: mysql Mods installed: Site integration v1.2. (turned off)
Copy of pop_profile.asp in text form.
Any suggestions or corrections?
|
|
Ravencer
Starting Member
Canada
12 Posts |
Posted - 22 September 2004 : 19:13:52
|
I have removed friendly http error messages and discovered this error:
Microsoft VBScript compilation error '800a0412'
Must be first statement on the line
/board/inc_profile.asp, line 235
" </tr>" & vbNewLine end if
-------------------------------------------^
THis is a link to the text version of this file: inc_profile.asp |
Edited by - Ravencer on 22 September 2004 19:47:30 |
|
|
Ravencer
Starting Member
Canada
12 Posts |
Posted - 23 September 2004 : 15:00:23
|
*BUMP* Anyone? |
|
|
Hamlin
Advanced Member
United Kingdom
2386 Posts |
Posted - 23 September 2004 : 16:17:01
|
Move the "end if" onto a line of its own. |
|
|
Ravencer
Starting Member
Canada
12 Posts |
Posted - 23 September 2004 : 17:23:32
|
Ok I have done that.
And now have this:
" </tr>" & vbNewLine
end if
end if
Response.Write " </table>" & vbNewLine & _
" </td>" & vbNewLine
end if 'extended profile
It now produces this error:
Microsoft VBScript compilation error '800a0408'
Invalid character
/board/inc_profile.asp, line 617
" <input type=""submit"" value=""Submit"" name=""Submit1"">" & vbNewLine & _ " </td>" & vbNewLine & _ ------------------------------------------------------------------------------------------^
I have tried removing one of the 2 "end if" and all it does is create an error at line 616 instead.
I have updated the inc_profile.asp to reflect the change requested. |
|
|
Ravencer
Starting Member
Canada
12 Posts |
Posted - 23 September 2004 : 20:22:47
|
Last *bump* before reversing the Mod. |
|
|
laser
Advanced Member
Australia
3859 Posts |
Posted - 23 September 2004 : 20:46:22
|
The " _" (space underscore) sequence should be at the end of the line, simply break the line so it looks lik this :
" <input type=""submit"" value=""Submit"" name=""Submit1"">" & vbNewLine & _
" </td>" & vbNewLine & _
|
|
|
Ravencer
Starting Member
Canada
12 Posts |
Posted - 23 September 2004 : 20:54:50
|
Thanks for the response. It the way you specified in the .asp file. It just looks that way in the error message in IE6
|
|
|
laser
Advanced Member
Australia
3859 Posts |
Posted - 23 September 2004 : 21:16:22
|
It all depends on what the ^ is pointing to, that's what it thinks the error is.
I just checked your inc_profile link (above) and using that file you should put your cursor on line 617, col 102 and press <Enter> |
|
|
Ravencer
Starting Member
Canada
12 Posts |
Posted - 23 September 2004 : 22:19:18
|
Thank you Hamlin and laser.
I failed to pickup the " way off on the left. I was hard returning one vbNewLine & too early.
It is working now.
Next question is can avatars be linked to off-site avatars? |
Edited by - Ravencer on 23 September 2004 22:19:50 |
|
|
laser
Advanced Member
Australia
3859 Posts |
Posted - 23 September 2004 : 22:25:47
|
quote: Next question is can avatars be linked to off-site avatars?
Yep, just enter the full "http://www....." style URL when you are entering the avatar details. But be warned, people can then alter or remove the avatars you are linking to and you have zero control over it. |
|
|
Ravencer
Starting Member
Canada
12 Posts |
Posted - 23 September 2004 : 22:29:34
|
I meant more as a regular board user not as an admin. |
|
|
laser
Advanced Member
Australia
3859 Posts |
Posted - 23 September 2004 : 22:36:52
|
But only admins can add new avatars I thought ... that's how mine works anyway.
What do you want a regular board user to be able to do then ? |
|
|
Ravencer
Starting Member
Canada
12 Posts |
Posted - 23 September 2004 : 22:50:49
|
Save the admin from doing it for users with large membership lists. The typical users I know change their avatars frequently.
I usually work with .php Here is a example of the user control panel:
www.insidethecrease.com/board
User: TESTER Password: test
|
|
|
laser
Advanced Member
Australia
3859 Posts |
Posted - 23 September 2004 : 23:32:11
|
Ah yes, very doable in ASP & Snitz as well, just that it's not requested a lot The avatar MOD really only creates and populates another column in the members table, so it wouldn't take much effort to change the pop_profile.asp settings from a dropdown to a textfield that users can type anything into they want. That would also eliminate all the admin functions for keeping the avatars up to date, which is what you're looking for anyway |
|
|
|
Topic |
|