Author |
Topic |
phy1729
Average Member
USA
589 Posts |
Posted - 26 January 2008 : 13:51:10
|
Delete that line. Apparently another mod also uses strSql and you can't redefine a variable so the error Name redefined. Cripto, you may want to rename the variable to something like UserSpace_strSql in the next version.< |
|
|
thermal_seeker
Junior Member
United Kingdom
430 Posts |
Posted - 26 January 2008 : 13:58:36
|
thanks.. fixed :)
now to progress..to the next stage< |
No good at coding, but I can plough a field !! |
|
|
blackinwhite
Average Member
Turkey
657 Posts |
Posted - 27 January 2008 : 02:09:48
|
it'S a great mod. I installed bookmarks and friends, not problem at all.
does "Posts" mod work like "active posts" in the member profile, I think it only whows last active posts?< |
|
|
blackinwhite
Average Member
Turkey
657 Posts |
Posted - 27 January 2008 : 02:25:06
|
just a minor problem. there is no control for the same link in bookmarks section, you can add the same link multiple times.< |
|
|
cripto9t
Average Member
USA
881 Posts |
Posted - 28 January 2008 : 10:28:09
|
"Users Posts" returns active posts that a member has participated in - started or replied in. they are not working properly, as Bobby pointed out above. I hope to have them fixed sometime this week.
Bookmarks doesn't check for duplicates. Like bookmarks in your browser, it's up to the user to manage them.< |
_-/Cripto9t\-_ |
|
|
cripto9t
Average Member
USA
881 Posts |
Posted - 14 February 2008 : 10:30:54
|
1.1.02 released
Main bug fix this version, User Posts max value bug - fixed All the other issues pointed out so far have been addressed. I also added some more constants to "user_space.asp" to make customization a little easier.
I opted to fix the user posts bug by using a date to query the db instead of a max value. It was a lot easier to go this route, plus it gives equal time to all forums.
To update, replace "user_space.asp" and "admin_user_space.asp" with the new files. You'll have to go to "admin user space" and set a default date limit.< |
_-/Cripto9t\-_ |
|
|
bobby131313
Senior Member
USA
1163 Posts |
Posted - 14 February 2008 : 12:08:47
|
Unfortunately, posts are still not working right. Here is a screenshot...
http://www.stampcommunity.org/uploaded/bobby131313/posts.gif
It's set for last day which should only be about 5 topics. As you can see there are topics there that haven't been updated since January.
There's also some kind of paging problem, notice it say 1-15 of 95, well if you go to page 2 you get ...
ADODB.Recordset error '800a0bcd'
Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.
/user_space.asp, line 348
The "95" is not related to the admin days setting, nor the active topics table, nor total posts, nor the drop-down setting. It doesn't change, I don't know what is determining that number.
I'm going to keep investigating and see if I can maybe figure out why it's doing what it's doing.< |
Switch the order of your title tags |
Edited by - bobby131313 on 14 February 2008 12:09:37 |
|
|
cripto9t
Average Member
USA
881 Posts |
Posted - 14 February 2008 : 14:41:03
|
Bobby and the other 3 people that have downloaded this version, dowload the zip again and replace "user_space.asp". I didn't change the version #.
Apparantly I didn't test this with mysql . That and some copy and paste left over that shouldn't have been there. I think it's working now.
I also got rid of some of the options in the day dropdown list. Again if your one of the 4 who downloaded this, try it again withthe new file.< |
_-/Cripto9t\-_ |
|
|
bobby131313
Senior Member
USA
1163 Posts |
|
thelodger
Junior Member
United Kingdom
296 Posts |
Posted - 14 February 2008 : 15:14:32
|
Nice 1, looks good and works well.< |
|
|
bobby131313
Senior Member
USA
1163 Posts |
Posted - 14 February 2008 : 15:18:34
|
Weeeeeeeeeeeeeeeeeeee..............
Appears to be dead on! Thank you soooo much for your hard work. I really appreciate it. I'm going to do a little more testing and hopefully go live this evening.
One little cosmetic change I made that might interest you for future updates...
If you search user_space.asp for "Expand this category" and change the icon to the left of it to "strIconPlus" and the icon to the left of "Hide this category" to "strIconMinus", then all the User Space sections will match default.asp perfectly. < |
Switch the order of your title tags |
|
|
bobby131313
Senior Member
USA
1163 Posts |
Posted - 14 February 2008 : 15:57:36
|
OK, looks like one more small bug that only affects admins.
If you look at someone elses' posts, it's fine until you go past page 1, then it reverts to your own posts.< |
Switch the order of your title tags |
|
|
cripto9t
Average Member
USA
881 Posts |
Posted - 14 February 2008 : 16:33:30
|
bobby find this line in user_space.asp
" <input name=""mode"" type=""hidden"" value=""" & intMode & """>" & vbNewLine Add this line after it
if bAdminView = true then Response.Write " <input name=""memid"" type=""hidden"" value=""" & memID & """>" & vbNewLine < |
_-/Cripto9t\-_ |
|
|
bobby131313
Senior Member
USA
1163 Posts |
Posted - 14 February 2008 : 17:09:52
|
Worked like a charm. Thanks!
quote: You'll have to go to "admin user space" and set a default date limit.
Let me see if I understand this. This just sets the default correct? It's not actually supposed to limit how far a user can go back using the drop down?
Not that it's a big deal, but I'm playing with it and it doesn't *seem* to do anything.< |
Switch the order of your title tags |
|
|
cripto9t
Average Member
USA
881 Posts |
Posted - 14 February 2008 : 17:58:20
|
Default was the wrong word for this. It limits what is available in the dropdown for normal users. You won't notice a change if you are logged in as an admin or mod. Try this, set Post Limit to 120 days. Sign in as a normal user. click the days dropdown. 120 days should be the biggest option.
Keep testing bobby .< |
_-/Cripto9t\-_ |
|
|
Topic |
|