Author |
Topic  |
|
weeweeslap
Senior Member
   
USA
1077 Posts |
|
weeweeslap
Senior Member
   
USA
1077 Posts |
Posted - 17 March 2003 : 21:34:52
|
anyone?
 |
 |
|
GauravBhabu
Advanced Member
    
4288 Posts |
Posted - 17 March 2003 : 22:03:29
|
Try this
<A Href=""/track_exchange/default.asp?sortBy=&CreatedBy=1&SimID=&SearchName=g+force+addict&mode=search&initial=0"">View My Tracks</A>
|
 |
|
weeweeslap
Senior Member
   
USA
1077 Posts |
Posted - 17 March 2003 : 22:10:33
|
I tried inserting that line of code but it errors on me, and rather than having g+force+addict I would like it to grab the name of the person who's profuile they are viewing |
Edited by - weeweeslap on 17 March 2003 22:11:23 |
 |
|
Steve D.
Average Member
  
USA
640 Posts |
|
Steve D.
Average Member
  
USA
640 Posts |
Posted - 17 March 2003 : 22:25:55
|
to get the user name of the profile you're viewing you could use
ChkString(rs("M_NAME"), "display") & ChkString(rs("M_NAME"), "display") &
so try this URL <A Href=""/track_exchange/default.asp?sortBy=&CreatedBy=1&SimID=&SearchName=" & ChkString(rs("M_NAME"), "display") & "&mode=search&initial=0"">View My Tracks</A> |
Swing Dancing Video Clips - It's All Swing! Forum |
 |
|
weeweeslap
Senior Member
   
USA
1077 Posts |
Posted - 17 March 2003 : 22:36:01
|
snitztest test that's the login thanks steve, that worked perfectly, here's the entire code I used:
Response.Write " <td bgColor=""" & strPageBGColor & """ valign=""top"">" & vbNewLine & _ " <tr>" & vbNewLine & _ " <td bgColor=""" & strPopUpTableColor & """ align=""right"" nowrap width=""10%"" valign=""top""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Users' Tracks: </font></b></td>" & vbNewLine & _ " <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><a href=""/track_exchange/default.asp?SortBy=&CreatedBy=1&SimID=&SearchName="& ChkString(rs("M_NAME"),"display") & "&mode=search&initial=0&submit1.x=10&submit1.y=16"">View My Tracks</a></font></td>" & vbNewLine & _ " </tr>" & vbNewLine thank ya steve! I appreciate the hel[p  |
Edited by - weeweeslap on 17 March 2003 22:36:16 |
 |
|
weeweeslap
Senior Member
   
USA
1077 Posts |
Posted - 17 March 2003 : 22:44:12
|
ut ho, well there's another problem, since the folder track_exchange is not a subfolder in the forum folder it gives me a white page, 404, I tried adding "& strBaseURL &" to the line and it yiends http://track_exchange/etc etc etc etc etc, How do I fix that? I cannot add http://www.weeweeslap.com to it since www.coastercrazy.com also uses the same code files, I have the code editing though that if certain site accesses it, it uses separate colors and stuff, whole revamped config, but the profile it's not working with the & strBaseURL & in place of where www.weeweeslap.com" target="_blank">http://www.weeweeslap.com or www.coastercrazy.com should be Any ideas on that? |
 |
|
GauravBhabu
Advanced Member
    
4288 Posts |
Posted - 17 March 2003 : 22:57:51
|
checked your site it works correctly for track_exchange |
 |
|
Steve D.
Average Member
  
USA
640 Posts |
Posted - 17 March 2003 : 23:32:40
|
how about
<a href=""../" & strForumURL & "/track_exchange/default.asp?SortBy=&CreatedBy=1&SimID=&SearchName="& ChkString(rs("M_NAME"),"display") & "&mode=search&initial=0&submit1.x=10&submit1.y=16"">View My Tracks</a>
|
Swing Dancing Video Clips - It's All Swing! Forum |
 |
|
weeweeslap
Senior Member
   
USA
1077 Posts |
Posted - 17 March 2003 : 23:41:02
|
tried that almost right, it yield http://www.weeweeslap.com/http://www.weeweeslap.com/forum/etcetcetc soI just used ../track-exchange/etcetcetc and that worked perfectly! Thank you Steve once again, you've been great help  Thank you too GauravBhabu for trying  |
Edited by - weeweeslap on 17 March 2003 23:41:21 |
 |
|
Steve D.
Average Member
  
USA
640 Posts |
|
weeweeslap
Senior Member
   
USA
1077 Posts |
|
|
Topic  |
|