Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - MP3 Player
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

MP3 Player

 Post Reply Post Reply Page  123>
Author
numanme View Drop Down
Senior Member
Senior Member
Avatar

Joined: 21 May 2003
Location: United Kingdom
Status: Offline
Points: 220
Post Options Post Options   Thanks (0) Thanks(0)   Quote numanme Quote  Post ReplyReply Direct Link To This Post Topic: MP3 Player
    Posted: 31 August 2006 at 12:14am

Just added an MP3 player to my forum I was just wondering if someone would have a look and have a go at perfecting this as I have just whacked it together but it works. The player is from http://www.jeroenwijering.com/?item=Flash+Mp3+Player

What I would like is for only members to view the player can anyone help, see the mp3 link in the menu  

http://www.numanme.co.uk/forumme/mp3.asp

Back to Top
quaz View Drop Down
Newbie
Newbie
Avatar

Joined: 09 August 2006
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote quaz Quote  Post ReplyReply Direct Link To This Post Posted: 01 September 2006 at 12:26am
id use
<!--#include virtual="/Wherever your forum system is/common.asp" -->
<% If lngLoggedInUserID <> "2" Then %>
the mp3 system
<% Else %>
for unauthorized users
<% End If %>


Edited by quaz - 01 September 2006 at 12:27am
Back to Top
numanme View Drop Down
Senior Member
Senior Member
Avatar

Joined: 21 May 2003
Location: United Kingdom
Status: Offline
Points: 220
Post Options Post Options   Thanks (0) Thanks(0)   Quote numanme Quote  Post ReplyReply Direct Link To This Post Posted: 01 September 2006 at 2:01am

Sorry but without sounding dumb, I don’t understand ASP can someone give it a go       

Back to Top
jckruger View Drop Down
Groupie
Groupie
Avatar

Joined: 18 April 2006
Location: Australia
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote jckruger Quote  Post ReplyReply Direct Link To This Post Posted: 05 September 2006 at 12:16am
I assume your buttons are in includes/navigation_buttons_inc.asp.
 
The line that has the response.Write for that button, just put this in front of it:
 

If lngLoggedInUserID <> 0 AND lngLoggedInUserID <> 2  AND blnActiveMember <> "False" Then
 
 
If no one knows the location of the MP3.asp file they won't know where it is. The above code should make the button hidden until the person is logged in. I have done this with all my buttons except for the register and login buttons until the person is logged on and then they appear.
 
Hope that's what you were after.
 
Cheers
 
Justin
Back to Top
numanme View Drop Down
Senior Member
Senior Member
Avatar

Joined: 21 May 2003
Location: United Kingdom
Status: Offline
Points: 220
Post Options Post Options   Thanks (0) Thanks(0)   Quote numanme Quote  Post ReplyReply Direct Link To This Post Posted: 05 September 2006 at 12:44am
thanks for that all is working well
Back to Top
numanme View Drop Down
Senior Member
Senior Member
Avatar

Joined: 21 May 2003
Location: United Kingdom
Status: Offline
Points: 220
Post Options Post Options   Thanks (0) Thanks(0)   Quote numanme Quote  Post ReplyReply Direct Link To This Post Posted: 05 September 2006 at 12:46am

If anyone is interested I will put up the files with some instructions

Back to Top
jckruger View Drop Down
Groupie
Groupie
Avatar

Joined: 18 April 2006
Location: Australia
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote jckruger Quote  Post ReplyReply Direct Link To This Post Posted: 05 September 2006 at 12:47am
That would be great.
 
Wow!!. You realy have put in a huge effort into your website. Impressive.


Edited by jckruger - 05 September 2006 at 12:51am
Back to Top
numanme View Drop Down
Senior Member
Senior Member
Avatar

Joined: 21 May 2003
Location: United Kingdom
Status: Offline
Points: 220
Post Options Post Options   Thanks (0) Thanks(0)   Quote numanme Quote  Post ReplyReply Direct Link To This Post Posted: 05 September 2006 at 2:24am

Give me about a week to put it together anyone up for testing   

Back to Top
 Post Reply Post Reply Page  123>

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.