Author |
Topic |
cripto9t
Average Member
USA
881 Posts |
Posted - 15 January 2008 : 17:41:42
|
Thanks Image.
Because of the db issues I updated the zip - v 1.1.01
I also added uninstall files for each feature.< |
_-/Cripto9t\-_ |
|
|
NiteOwl
Junior Member
Canada
403 Posts |
Posted - 16 January 2008 : 19:12:11
|
I love it!! BTW Crypto9t I found that the readme in the friends folder appears to be the readme for the bookmark addon. < |
-=NiteOwl=-
|
|
|
cripto9t
Average Member
USA
881 Posts |
Posted - 17 January 2008 : 08:47:19
|
Thanks NiteOwlquote: 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\-_ |
|
|
cripto9t
Average Member
USA
881 Posts |
Posted - 17 January 2008 : 09:17:25
|
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\-_ |
|
|
texanman
Junior Member
United States
410 Posts |
Posted - 17 January 2008 : 19:38:52
|
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?< |
|
|
bobby131313
Senior Member
USA
1163 Posts |
Posted - 17 January 2008 : 19:46:57
|
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 |
|
|
bobby131313
Senior Member
USA
1163 Posts |
Posted - 17 January 2008 : 21:30:55
|
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 |
|
|
bobby131313
Senior Member
USA
1163 Posts |
Posted - 17 January 2008 : 23:12:09
|
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 |
|
|
cripto9t
Average Member
USA
881 Posts |
Posted - 18 January 2008 : 07:58:23
|
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
and the second with this
I'm going to update the zip
< |
_-/Cripto9t\-_ |
Edited by - cripto9t on 18 January 2008 08:14:26 |
|
|
cripto9t
Average Member
USA
881 Posts |
Posted - 18 January 2008 : 08:53:14
|
I updated the zip with the correct topic.asp reference file for the bookmarks addon. < |
_-/Cripto9t\-_ |
|
|
bobby131313
Senior Member
USA
1163 Posts |
Posted - 18 January 2008 : 09:34:47
|
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.
Should be...
< |
Switch the order of your title tags |
Edited by - bobby131313 on 18 January 2008 09:47:40 |
|
|
cripto9t
Average Member
USA
881 Posts |
Posted - 18 January 2008 : 13:14:21
|
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\-_ |
|
|
cripto9t
Average Member
USA
881 Posts |
Posted - 18 January 2008 : 13:21:19
|
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\-_ |
|
|
bobby131313
Senior Member
USA
1163 Posts |
Posted - 20 January 2008 : 21:46:32
|
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 |
|
|
cripto9t
Average Member
USA
881 Posts |
Posted - 21 January 2008 : 10:35:05
|
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\-_ |
|
|
Topic |
|