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
 Avatar Mod 1.3 for 3.4 & pop_profile.asp error
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Ravencer
Starting Member

Canada
12 Posts

Posted - 22 September 2004 :  18:20:14  Show Profile
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  Show Profile
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
Go to Top of Page

Ravencer
Starting Member

Canada
12 Posts

Posted - 23 September 2004 :  15:00:23  Show Profile
*BUMP* Anyone?
Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 23 September 2004 :  16:17:01  Show Profile
Move the "end if" onto a line of its own.
Go to Top of Page

Ravencer
Starting Member

Canada
12 Posts

Posted - 23 September 2004 :  17:23:32  Show Profile
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.
Go to Top of Page

Ravencer
Starting Member

Canada
12 Posts

Posted - 23 September 2004 :  20:22:47  Show Profile
Last *bump* before reversing the Mod.
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 23 September 2004 :  20:46:22  Show Profile
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 & _
Go to Top of Page

Ravencer
Starting Member

Canada
12 Posts

Posted - 23 September 2004 :  20:54:50  Show Profile
Thanks for the response. It the way you specified in the .asp file. It just looks that way in the error message in IE6

Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 23 September 2004 :  21:16:22  Show Profile
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>
Go to Top of Page

Ravencer
Starting Member

Canada
12 Posts

Posted - 23 September 2004 :  22:19:18  Show Profile
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
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 23 September 2004 :  22:25:47  Show Profile
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.
Go to Top of Page

Ravencer
Starting Member

Canada
12 Posts

Posted - 23 September 2004 :  22:29:34  Show Profile
I meant more as a regular board user not as an admin.
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 23 September 2004 :  22:36:52  Show Profile
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 ?
Go to Top of Page

Ravencer
Starting Member

Canada
12 Posts

Posted - 23 September 2004 :  22:50:49  Show Profile
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

Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 23 September 2004 :  23:32:11  Show Profile
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 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.23 seconds. Powered By: Snitz Forums 2000 Version 3.4.07