The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
Hi there,
I've subscribed to a GeoIP list so I can server different contents to members in different countries. What is the correct syntax for the code below (or is it correct):- Quote:
Thanks in advance W.> |
|
#2
|
||||
|
||||
|
Cleaned up your code
![]() PHP Code:
|
|
#3
|
||||
|
||||
|
Thanks Dismounted,
Hooked it at global_start and used vbsetcookie (coz set_cookie doesn't work). Below is the code I used just incase it helps anyone else. PHP Code:
|
|
#4
|
||||
|
||||
|
Note that vbsetcookie() will add your cookie prefix to the cookie, so it actually should be:
PHP Code:
|
|
#5
|
||||
|
||||
|
Ah, Nice one.
Thanks for your help Dismounted. |
![]() |
|
|