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)
 User Space 1.1.02 (last update 02/14/08)
 New Topic  Reply to Topic
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 8

cripto9t
Average Member

USA
881 Posts

Posted - 15 January 2008 :  17:41:42  Show Profile  Reply with Quote
Thanks Image.

Because of the db issues I updated the zip - v 1.1.01

I also added uninstall files for each feature.<

    _-/Cripto9t\-_
Go to Top of Page

NiteOwl
Junior Member

Canada
403 Posts

Posted - 16 January 2008 :  19:12:11  Show Profile  Visit NiteOwl's Homepage  Reply with Quote
I love it!! BTW Crypto9t I found that the readme in the friends folder appears to be the readme for the bookmark addon.
<

-=NiteOwl=-
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 17 January 2008 :  08:47:19  Show Profile  Reply with Quote
Thanks NiteOwl
quote:
Originally posted by NiteOwl

BTW Crypto9t I found that the readme in the friends folder appears to be the readme for the bookmark addon.

I used the bookmark readme to write the friends readme and went through it and replaced "bookmarks" with "friends". I missed a few spots :). Just think "friends" when you see the word "bookmarks".<

    _-/Cripto9t\-_
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 17 January 2008 :  09:17:25  Show Profile  Reply with Quote
Heres something thats missing from the readme. I hard coded some constraints in the files instead of adding them to config_new table. You can change these to suit your needs.

In user_space.asp near the top of the file.
Const strUSTxt = "Your Space"       ' Main page title
Const strPostTxt = "Posts"          ' Post page title
Const strDraftTxt = "Drafts"        ' Draft page title
Const intDraftWarn = 5              ' Days till auto delete - warns member that a draft is close to deletion
Const strBookmarkTxt = "Bookmarks"  ' Bookmark page title
Const intIsNew = 7                  ' Number of days to display the new icon - used for bookmarks, friends
Const strFriendTxt = "Friends"      ' Friend page title
Const strFriendLev1 = "Level 1"     ' Friend Level 1
Const strFriendLev2 = "Level 2"     ' Friend Level 2
Const strFriendLev3 = "Level 3"     ' Friend Level 3

For example, if you would rather use "Buddy List" instead of "Friends" just change the value of strFriendTxt.

Where it says don't edit, don't :).
'## DO NOT EDIT BELOW THIS LINE!!

Const intFRow = 4                   ' !!! Do Not Edit This Line !!!! Holds # of feature rows
Const intFCol = 6                   ' !!! Do Not Edit This Line !!!! Holds # of feature cols
Most of the file depends on those two numbers.

There are also a few in pop_user_space.asp that limit the amount of bookmarks and friends a member can have.
'Set values to suit your needs
'Values do not apply to mods and admins
Const blnLimit = true            'boolean  holds member limits switch
Const intBookmarkMax = 100       'numeric  holds max num of bookmarks a member can have
Const intFriendMax = 100         'numeric  holds max num of friends a member can have
blnLimit is true/false. It applies to both bookmarks and friends. true - limits | false - no limits

<

    _-/Cripto9t\-_
Go to Top of Page

texanman
Junior Member

United States
410 Posts

Posted - 17 January 2008 :  19:38:52  Show Profile  Reply with Quote
Thanks cripto9t
Is there a way to reduce the fonts in New topic, new friend, old topics (20 or more) etc to footer font size instead of default font?<
Go to Top of Page

bobby131313
Senior Member

USA
1163 Posts

Posted - 17 January 2008 :  19:46:57  Show Profile  Visit bobby131313's Homepage  Reply with Quote
I just noticed that the category font size seems to be missing, I'm installing this mod now.

I changed all instances of....

strCategoryFontColor &

To....

strCategoryFontColor & """ size=""" & strDefaultFontSize &

Should be 8 of them in user_space.asp, looks mucho better now. <

Switch the order of your title tags

Edited by - bobby131313 on 17 January 2008 19:54:49
Go to Top of Page

bobby131313
Senior Member

USA
1163 Posts

Posted - 17 January 2008 :  21:30:55  Show Profile  Visit bobby131313's Homepage  Reply with Quote
Hmmm, bookmarks seem to be clashing with OWM's Today/Yesterday mod...

Microsoft VBScript runtime error '800a000d'

Type mismatch: '[string: "Today 9:26:15 PM"]'

/user_space.asp, line 1203


Got then when adding a bookmark from the link on user_space.asp


Fixed in inc_function_common.asp around line 940. Search for....

' For any page that needs the actual date, add the file name to the above case statement.

Add user_space.asp to the list. I do believe that was part of the previously mentioned mod.<

Switch the order of your title tags

Edited by - bobby131313 on 17 January 2008 21:42:14
Go to Top of Page

bobby131313
Senior Member

USA
1163 Posts

Posted - 17 January 2008 :  23:12:09  Show Profile  Visit bobby131313's Homepage  Reply with Quote
OK, I have bookmarks working from the link in user_space.asp. But clicking on the icons on topic.asp, pop_user_space.asp always forwards to default.asp. I can't figure it out.

member01
snitz

if someone wants to take a look.

http://www.stampcommunity.org/

You'll have to go to user_space.asp manually, I haven't coded a link yet.<

Switch the order of your title tags

Edited by - bobby131313 on 17 January 2008 23:15:23
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 18 January 2008 :  07:58:23  Show Profile  Reply with Quote
bobby it looks like your useing the beta version 1.0.00.
I changed the url querystring in the bookmark link in topics which
pop_user_space checks and if its not right, it redirects.
You need version 1.1.01 and follow the update instructions.
There were a lot of bugs in the initial release.


It looks like the zip file is bad. I'll post the correct links

In topic.asp overwrite the first change with this
'##BOOKMARKS ## User Space Mod ## Add Code below ###############
                        
                        if trim(strUSBookmarkSwitch) <> "" then
                                if cLng(strUSBookmarkSwitch) = 1 then
                                        Response.Write  "<a href=""JavaScript:openWindow5('pop_user_space.asp?mode=bookmark&action=add&type=post&archive=" & ArchiveView & "&topic_id=" & TopicID & "&reply_id=" & Reply_ReplyID & "')"">" & getCurrentIcon(strIconFavorites,"Bookmark this reply","align=""absmiddle"" hspace=""6""") & "</a>" & vbNewLine
                                end if
                        end if

'## End #####################################################

and the second with this
'##BOOKMARKS ## User Space Mod ## Add Code below ###########################

        if trim(strUSBookmarkSwitch) <> "" then
                if cLng(strUSBookmarkSwitch) = 1 then
                        Response.Write  "<a href=""JavaScript:openWindow5('pop_user_space.asp?mode=bookmark&action=add&type=post&archive=" & ArchiveView & "&topic_id=" & TopicID & "')"">" & getCurrentIcon(strIconFavorites,"Bookmark this topic","align=""absmiddle"" hspace=""6""") & "</a>" & vbNewLine
                end if
        end if

'## End ## Thats all for this file ##########################


I'm going to update the zip

<

    _-/Cripto9t\-_

Edited by - cripto9t on 18 January 2008 08:14:26
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 18 January 2008 :  08:53:14  Show Profile  Reply with Quote
I updated the zip with the correct topic.asp reference file for the bookmarks addon.
<

    _-/Cripto9t\-_
Go to Top of Page

bobby131313
Senior Member

USA
1163 Posts

Posted - 18 January 2008 :  09:34:47  Show Profile  Visit bobby131313's Homepage  Reply with Quote
Awesome, worked like a charm!

Thanks cripto9t! This is an awesome mod.

Found one little cosmetic problem, the cell that contains "User Space Management" on admin_user_space.asp has a mismatched font/bg color.

			        "                     <td bgcolor=""" & strHeadCellColor & """ colspan=""2"" align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """><b>User Space Management</b></font></td>" & vbNewLine & _


Should be...

			        "                     <td bgcolor=""" & strCategoryCellColor & """ colspan=""2"" align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """><b>User Space Management</b></font></td>" & vbNewLine & _


<

Switch the order of your title tags

Edited by - bobby131313 on 18 January 2008 09:47:40
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 18 January 2008 :  13:14:21  Show Profile  Reply with Quote
quote:
Originally posted by texanman

Thanks cripto9t
Is there a way to reduce the fonts in New topic, new friend, old topics (20 or more) etc to footer font size instead of default font?



Search for getIconLegend (there are 2 places) and in the line above it change strDefaultFontSize to strFooterFontSize.
If you want to change the text find sub getIconLegend(), they are all listed there.<

    _-/Cripto9t\-_
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 18 January 2008 :  13:21:19  Show Profile  Reply with Quote
Thanks bobby if you spot any more please post them. Using Header instead of Category is a pretty common mistake with me. Thats why I like to copy and paste as much as possible <

    _-/Cripto9t\-_
Go to Top of Page

bobby131313
Senior Member

USA
1163 Posts

Posted - 20 January 2008 :  21:46:32  Show Profile  Visit bobby131313's Homepage  Reply with Quote
OK, I think I've found a bug. It seems that instead of recent posts, it's just running down the active topics that the member has posted in from the top of the forum until it gets to 50.

It's not the most recent 50. It's listing a topic for me that hasn't been posted to by anyone since last October because it's near the top of the forum.

Anyone else seeing this? You'll have to look at a member with a lot of posts for it to be obvious.<

Switch the order of your title tags

Edited by - bobby131313 on 20 January 2008 21:49:56
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 21 January 2008 :  10:35:05  Show Profile  Reply with Quote
I see it. It's in the sql statement. I originally wrote this with no limits where it worked fine. I think I'll have to loop through the categories and forums, like default.asp, to get it to display properly.<

    _-/Cripto9t\-_
Go to Top of Page
Page: of 8 Previous Topic Topic Next Topic  
Previous Page | 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.18 seconds. Powered By: Snitz Forums 2000 Version 3.4.07