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/O Code)
 Help adding adding a custom link into the profile.
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

weeweeslap
Senior Member

USA
1077 Posts

Posted - 17 March 2003 :  09:14:53  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
http://www.weeweeslap.com/forum/pop_profile.asp?mode=display&id=3

That's the link to my profile on my website.
under the username:WeeWeeSlap I want to add another row that says:
Tracks:View My Tracks
where View My Tracks would have a link in this matter:

http://URL/track_exchange/default.asp?SortBy=&CreatedBy=1&SimID=&SearchName=USERNAME&mode=search&initial=0

I.E. http://www.weeweeslap.com/track_exchange/default.asp?SortBy=&CreatedBy=1&SimID=&SearchName=g+force+addict&mode=search&initial=0
so that when they click the link, it takes them to that users track files in my track exchange. Also instead of weeweeslap.com to get the url from the db, since there are two sites using the same forum but different looks so that it keeps the url of the site they are on, weeweeslap.com or coastercrazy.com.
can someone tell me what to add to the pop_profile.asp page so that row and link can show up? I would greatly appreciate it if you can help. Thank you.

Edited by - weeweeslap on 17 March 2003 09:15:57

weeweeslap
Senior Member

USA
1077 Posts

Posted - 17 March 2003 :  21:34:52  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
anyone?
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 17 March 2003 :  22:03:29  Show Profile
Try this


<A Href=""/track_exchange/default.asp?sortBy=&CreatedBy=1&SimID=&SearchName=g+force+addict&mode=search&initial=0"">View My Tracks</A>

Go to Top of Page

weeweeslap
Senior Member

USA
1077 Posts

Posted - 17 March 2003 :  22:10:33  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
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
Go to Top of Page

Steve D.
Average Member

USA
640 Posts

Posted - 17 March 2003 :  22:17:19  Show Profile  Visit Steve D.'s Homepage  Send Steve D. a Yahoo! Message
Do you have a login so we can view your site?

Swing Dancing Video Clips - It's All Swing! Forum
Go to Top of Page

Steve D.
Average Member

USA
640 Posts

Posted - 17 March 2003 :  22:25:55  Show Profile  Visit Steve D.'s Homepage  Send Steve D. a Yahoo! Message
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
Go to Top of Page

weeweeslap
Senior Member

USA
1077 Posts

Posted - 17 March 2003 :  22:36:01  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
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
Go to Top of Page

weeweeslap
Senior Member

USA
1077 Posts

Posted - 17 March 2003 :  22:44:12  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
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?
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 17 March 2003 :  22:57:51  Show Profile
checked your site it works correctly for track_exchange
Go to Top of Page

Steve D.
Average Member

USA
640 Posts

Posted - 17 March 2003 :  23:32:40  Show Profile  Visit Steve D.'s Homepage  Send Steve D. a Yahoo! Message
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
Go to Top of Page

weeweeslap
Senior Member

USA
1077 Posts

Posted - 17 March 2003 :  23:41:02  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
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
Go to Top of Page

Steve D.
Average Member

USA
640 Posts

Posted - 17 March 2003 :  23:43:06  Show Profile  Visit Steve D.'s Homepage  Send Steve D. a Yahoo! Message
No problem. I really like the layout of your site!

Swing Dancing Video Clips - It's All Swing! Forum
Go to Top of Page

weeweeslap
Senior Member

USA
1077 Posts

Posted - 18 March 2003 :  01:02:19  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
thanks!

coaster crazy
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 1.3 seconds. Powered By: Snitz Forums 2000 Version 3.4.07