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

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 MOD: Avatar Categories W/ Avatar Gallery
 New Topic  Reply to Topic
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

SiSL
Average Member

Turkey
671 Posts

Posted - 23 September 2005 :  14:36:52  Show Profile  Visit SiSL's Homepage  Reply with Quote
-----------------------------------------------------------
AVATAR CATEGORIES for Snitz 3.4 v1.0
Posted 9/23/2005 - SiSL
-----------------------------------------------------------

This mod allows you to edit / manage categories for your Avatar Mod also includes modified version of Avatar Gallery mod by filo_2k

This package includes following files and REQUIRES AVATAR MOD by Hamlin for 3.4 over Richard Kinser's..

Excuse if I missed any step (my first public mod) Hope that helps.

Download

UPDATE: DBS file change
<

CHIP Online Forum

My Mods
Select All Code | Fix a vulnerability for your private messages | Avatar Categories W/ Avatar Gallery Mod | Complaint Manager
Admin Level Revisited | Merge Forums | No More Nested Quotes Mod

Edited by - SiSL on 28 September 2005 21:05:50

Podge
Support Moderator

Ireland
3775 Posts

Posted - 23 September 2005 :  15:35:54  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message  Reply with Quote
Do you have a demo account and url ?<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

SiSL
Average Member

Turkey
671 Posts

Posted - 23 September 2005 :  15:49:03  Show Profile  Visit SiSL's Homepage  Reply with Quote
http://www.amedia.org/forum/

user: demo
pass: test

You can view from Profile, also admin sections having additions to add all avatars in category.

Admin Category Maintenance screen:




Admin Add Avatar Screen:





Admin Avatar Review / Edit Screen:




<

CHIP Online Forum

My Mods
Select All Code | Fix a vulnerability for your private messages | Avatar Categories W/ Avatar Gallery Mod | Complaint Manager
Admin Level Revisited | Merge Forums | No More Nested Quotes Mod

Edited by - SiSL on 23 September 2005 16:01:41
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 27 September 2005 :  16:43:39  Show Profile  Visit modifichicci's Homepage  Reply with Quote
Good work, I see.
I haven't tryed it, but I'll do soon.
Only a question about the dbs:

these lines
[UPDATE]
AVATAR
(AC_ID)#('1')
[END]
AC_ID isn't in AVATAR, is it right?
What update do they?
<

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

SiSL
Average Member

Turkey
671 Posts

Posted - 27 September 2005 :  18:08:53  Show Profile  Visit SiSL's Homepage  Reply with Quote
quote:
Originally posted by modifichicci

Good work, I see.
I haven't tryed it, but I'll do soon.
Only a question about the dbs:

these lines
[UPDATE]
AVATAR
(AC_ID)#('1')
[END]
AC_ID isn't in AVATAR, is it right?
What update do they?




it is Avatar Category ID determining Avatar to be in which category and it is in AVATAR table.<

CHIP Online Forum

My Mods
Select All Code | Fix a vulnerability for your private messages | Avatar Categories W/ Avatar Gallery Mod | Complaint Manager
Admin Level Revisited | Merge Forums | No More Nested Quotes Mod

Edited by - SiSL on 27 September 2005 21:23:18
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 28 September 2005 :  08:34:56  Show Profile  Visit modifichicci's Homepage  Reply with Quote
quote:
it is Avatar Category ID determining Avatar to be in which category and it is in AVATAR table.

This is the dbs file, but I don't see the command to create AC_ID in AVATAR, it is create in AVATARS_CATS.
Where I am wrong?

[CREATE]
AVATAR_CATS
AC_ID
AC_NAME#varchar (255)#NULL#
AC_STATUS#int#NULL#0
[END]
[ALTER]
AVATAR
ADD#A_CATID#int#NULL#1
[END]
[INSERT]
AVATAR_CATS
(AC_NAME,AC_STATUS)#('Misc','0')
[END]
[UPDATE]
AVATAR
(AC_ID)#('1')
[END]<

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 28 September 2005 :  08:47:45  Show Profile  Reply with Quote
The last 4 lines of that dbs adds the AC_ID field to the AVATAR table.

<

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.”
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 28 September 2005 :  11:48:13  Show Profile  Visit modifichicci's Homepage  Reply with Quote
Ok thank you!<

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 28 September 2005 :  12:20:52  Show Profile  Reply with Quote
You're welcome

<

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.”
Go to Top of Page

SiSL
Average Member

Turkey
671 Posts

Posted - 28 September 2005 :  17:18:58  Show Profile  Visit SiSL's Homepage  Reply with Quote
Thank you, I'm kinda new on DBS file editing also having questions like that :(

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=59629
<

CHIP Online Forum

My Mods
Select All Code | Fix a vulnerability for your private messages | Avatar Categories W/ Avatar Gallery Mod | Complaint Manager
Admin Level Revisited | Merge Forums | No More Nested Quotes Mod
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 28 September 2005 :  17:25:39  Show Profile  Visit modifichicci's Homepage  Reply with Quote
ohhh so I was not wrong... Thank you again for my update knowledge!<

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

SiSL
Average Member

Turkey
671 Posts

Posted - 28 September 2005 :  21:07:19  Show Profile  Visit SiSL's Homepage  Reply with Quote
You know whats funny?

I re-checked my codes now and you don't even need AC_ID in AVATAR table. Silly me, it was something I used in first tries and forgot to remove it and asking for your forgiveness. So I deleted this line, that's why it does not give error after installation. I use A_CATID for my variables, not AC_ID from AVATAR table :)

So I re-uploaded this mod to Snitzbitz, you can find download link at original post.
<

CHIP Online Forum

My Mods
Select All Code | Fix a vulnerability for your private messages | Avatar Categories W/ Avatar Gallery Mod | Complaint Manager
Admin Level Revisited | Merge Forums | No More Nested Quotes Mod

Edited by - SiSL on 28 September 2005 21:07:59
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 29 September 2005 :  06:26:54  Show Profile  Reply with Quote
Whoa! I must've been looking at that dbs completely wrong!

<

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.”
Go to Top of Page

Gort
New Member

84 Posts

Posted - 21 April 2006 :  16:03:03  Show Profile  Reply with Quote
Great MOD!

But your text colors are off - you're defining <td> bgcolor as category background but you're not using category background font color.....

I fixed it by replacing strDefaultFontColor with strCategoryfontcolor where ever the the TD bgcolor was strCategoryCellColor<

Edited by - Gort on 21 April 2006 16:13:58
Go to Top of Page

Gort
New Member

84 Posts

Posted - 21 April 2006 :  19:13:19  Show Profile  Reply with Quote
I found another problem....my avatars aren't uploading correctly.
For some reason, the strCatID is not making its way into my sql statement. response.write on the statements gives the following:

INSERT INTO FORUM_AVATAR (A_URL, A_NAME, A_MEMBER_ID, A_CATID) VALUES ('avatars/batman1.jpg', 'batman1', 0, )
Microsoft JET Database Engine error '80040e14'
Syntax error in INSERT INTO statement.

/board/avatar_upload.asp, line 201


Does anyone have any ideas?
<
Go to Top of Page

shaggy073077
Starting Member

29 Posts

Posted - 15 March 2013 :  10:41:45  Show Profile  Send shaggy073077 an AOL message  Send shaggy073077 a Yahoo! Message  Reply with Quote
Can somebody tell me what I'm doing wrong.

Microsoft VBScript compilation error- Error '800a0409'

Unterminated string constant

/inc_avatar.asp, line 159

Response.Write "')"">
---------------------^


The problem lies in inc_avatar.asp which the part of the inc_avatar.asp file it's talking about is:

<br>
<%
else
Response.Write "<p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>You must register first, login and then edit profile to select avatar.</font></p>" & vbNewline
end if
Response.Write "<br><p>" & vbNewLine & _
      "<input value=""Galeri"" name=""gallery"" type=""button"" onclick=""openWindow3('pop_avatar_gallery.asp?mode=" & Request.Querystring("mode") & ""
      if Request.Querystring("mode") <> "Register" then
         Response.Write "&member=" & rs("Member_ID") & "&avatar=" & rs("M_AVATAR_URL") & "#" & rs("M_AVATAR_URL")
      end if
Response.Write "')"">
%>
<!--#INCLUDE file="inc_footer_short.asp" -->


Any help?
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.17 seconds. Powered By: Snitz Forums 2000 Version 3.4.07