Andy wrote:
Hi, Sure, but I don't think it'll work quite like you are thinking, as to get the value of the LinkOwner's AdSenseID, it requires looking at the glinks_Users (or gforum_User table, in the case of this one) - to get the AdSenseID (remember, the adsenseID is for the person who MADE the post, NOT the person who's viewing it (in that case, it would be easier - as it would already exist in $USER)
Cheers
Sorry, but don't really understand what do you mean.
So, why do you need to look in gcomm_user table to see AdSenseID and not in gforum_users table?
When someone is viewing post, you connect to gforum database, look in gforum_users table for the ID of person who made post, get his adsenseID and print it.
Second part would be, when some is editing or adding his profile in gcomm, we already have AdSenseID field there for GLinks, just add sync command so when someone add or change adsenseID that value is added in gforum_users table. Or am I missing something?
UnReal Network