Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - My favorites link
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

My favorites link

 Post Reply Post Reply Page  12>
Author
urko View Drop Down
Groupie
Groupie
Avatar

Joined: 23 September 2004
Location: Slovenia
Status: Offline
Points: 160
Post Options Post Options   Thanks (0) Thanks(0)   Quote urko Quote  Post ReplyReply Direct Link To This Post Topic: My favorites link
    Posted: 12 June 2006 at 8:47pm
I have saved and renamed 3 pages:
- pm_buddy_list.asp
- pm_add_buddy.asp
- pm_delete_budy.asp
to create  page to save my favorites links.

When you're reading news you have a link to save the link to my favorites link.

I have also made a new table in db ( tblMyLinks), change the recordset in new created pages.

Now...when I click  add to my favorite link from news page it goes to new page MyLinks.asp, it show the title name in textfield where it usually shows username.
However, when I want to submit it to my favorite links, it gives my javascript error:

My link can not be found in DB. Check you havent misspelled member username.

Now this where my knowledge stops Cry...If any of you could point me in right direction I would very much appreicated.

Thanks,Big smile



Urko
Back to Top
Ali Bilgrami View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 April 2005
Location: Pakistan
Status: Offline
Points: 492
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ali Bilgrami Quote  Post ReplyReply Direct Link To This Post Posted: 13 June 2006 at 4:43pm
well if its a java script error u might want to look at any java scripts runnin on the pages
Back to Top
urko View Drop Down
Groupie
Groupie
Avatar

Joined: 23 September 2004
Location: Slovenia
Status: Offline
Points: 160
Post Options Post Options   Thanks (0) Thanks(0)   Quote urko Quote  Post ReplyReply Direct Link To This Post Posted: 13 June 2006 at 4:45pm
it is. but i think i must change something inside the code to enter the link.

I have delete the javascript and still I couldnt submit the link...empty results.

Urko
Back to Top
Ali Bilgrami View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 April 2005
Location: Pakistan
Status: Offline
Points: 492
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ali Bilgrami Quote  Post ReplyReply Direct Link To This Post Posted: 14 June 2006 at 7:51am
with out having a look at the code its rather difficult to sort what is the problem...
Back to Top
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post Posted: 14 June 2006 at 10:08am
it sounds like, since your using the Buddy pages that the page is checking the "link" against the usernames in the database, and i doubt any member has the username of a link your entering, so its coming back with that message.
S2H.co.uk - WebWiz Mods and Skins

For support on my mods + skins, please use my forum.
Back to Top
urko View Drop Down
Groupie
Groupie
Avatar

Joined: 23 September 2004
Location: Slovenia
Status: Offline
Points: 160
Post Options Post Options   Thanks (0) Thanks(0)   Quote urko Quote  Post ReplyReply Direct Link To This Post Posted: 14 June 2006 at 10:16am
exactly.. Is there a way to do it so that you could add to my favorite links?




Edited by urko - 14 June 2006 at 10:18am
Urko
Back to Top
urko View Drop Down
Groupie
Groupie
Avatar

Joined: 23 September 2004
Location: Slovenia
Status: Offline
Points: 160
Post Options Post Options   Thanks (0) Thanks(0)   Quote urko Quote  Post ReplyReply Direct Link To This Post Posted: 15 June 2006 at 9:46am
I have made my quick list Smile, but I noticed I need to wirte some code so that users will not be able to read other users quicklist.

Example:

If you're logged in forum you can go to your quick list by clicking Myquicklist.

But I noticed that if you change for example in the toolbar where it shows:

http://mysite.com/myquicklist.asp?Author_ID=12
to 2
you can see quicklist from the user that has ID 2.

What should i write so that if user changes the ID in toolbar it will point him to a certain page ( like insufficient_permission.asp )??





Edited by urko - 15 June 2006 at 9:47am
Urko
Back to Top
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post Posted: 15 June 2006 at 10:39am
well instead of getting the users ID from the querystring, (am guessing your using the WWF common.asp file) just get the users id using

lngLoggedinUserID

that'll be the current logged in users ID
S2H.co.uk - WebWiz Mods and Skins

For support on my mods + skins, please use my forum.
Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.