Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 22 Jun 2005, 11:09
misterfade misterfade is offline
 
Join Date: Jun 2003
Trying to combine vbulletin + my own db

Hi,

I have a page setup that anyone can see, but the info displayed depends if the user is logged in or logged in and part of a certain usergroup. That part I have down.

The top:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Where the login/info is:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Now I have a separate database that I created with a list of users, they have the same name as the forums, but it also contains lots of other stuff, which I want to display once they're logged in. How would I set it so that when that member logs into that page, it also shows them their info from the other database? I tried:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

but that doesn't work. I don't get any errors, it's just that it doesn't do what I want it to.

I know this seems confusing but if anyone can help me out it would be great.
Thanks.
Reply With Quote
  #2  
Old 22 Jun 2005, 12:13
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Start by changing '&&' by 'AND'.

And sorry i don't know what that $row_artists contain.
__________________
Marco van Herwaarden
Ex vBulletin.org Coordinator
Reply With Quote
  #3  
Old 22 Jun 2005, 13:01
misterfade misterfade is offline
 
Join Date: Jun 2003
Why would I need to change '&&'? It's the same as AND, no?

$row_artists['username'] is just getting the username from the SQL query I created, I didn't think I had to post that code, should I?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 09:51.

Layout Options | Width: Wide Color: