The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Linking whos online from different sites..
Hello,
I was wondering if this would be possible. Lets say I have several VB sites all related to mine and the sites are actually partnered. I would like the whos online from each site to link to each other. So the whos online would look like this: WHO'S ONLINE FROM X.COM, XX.COM, and XXX.COM What do you think? Possible? Ian |
#2
|
||||
|
||||
You'd need to connect to the database of each site, and then call the who's online code.
|
#3
|
|||
|
|||
OK - can you maybe suggest what code to look at? - I can install hacks, but I cannot make them
Ian |
#4
|
||||
|
||||
Code:
mysql_connect($CONF['localhost'], $CONF['NAME'], $CONF['PWORD']); # Connect mysql_select_db($CONF['DBNAME']); # Database |
#5
|
|||
|
|||
Thanks - where is the above code found?
Ian |
#6
|
||||
|
||||
in my head, lol.
it's just a basic code used to connect to a db. |
#7
|
|||
|
|||
Ohh ok but where do I place those lines of code?
Ian |
#8
|
||||
|
||||
well, if you want to call the online users on lets say your homepage, you place that inside the table or whatever you want it to be called in, then call the online variable for that forum.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|