Quote:
Originally Posted by Nirjonadda
vBulletin 4.1.10
|
Sorry I cannot guarentee it will work on that version. Im assuming that the settings are slightly different on that setup. I may release a version for that at some point, however not on my priority list at the moment. To be honest I would recommend you upgrade to 4.2.0 anyways. Any reason why you havent updated?
Quote:
Originally Posted by Doc2911
good work, but i get this message.
|
Will have to look into that. This is the fix I have just put in place for the avatars which seems to be disabled on your php installation. May be worth contacting your host with this message as they may be able to enable it for you. In the meantime I will try and find a workaround.
Quote:
Originally Posted by Geisthund99
I ran the sql
now getting
This appears to be related to table prefix I add to the sql statement.
SELECT userid FROM dc_membermap WHERE userid = ".$vbulletin->userinfo['userid']
This works:
SELECT userid FROM vb_dc_membermap WHERE userid = ".$vbulletin->userinfo['userid']
The map appears fine.
It might be nice to have the map import users location from their profiiles. Just a thought cheers
Gareth
|
Try this statement instead in your case
[sql]
CREATE TABLE IF NOT EXISTS `vb_dc_membermap` (
`markerid` int(11) NOT NULL AUTO_INCREMENT,
`userid` int(11) NOT NULL,
`desc` text,
`lat` float(10,6) NOT NULL,
`lon` float(10,6) NOT NULL,
PRIMARY KEY (`markerid`),
UNIQUE KEY `idx_user` (`userid`))
[/sql]
Quote:
Originally Posted by Ricsca
|
Please could you try running the following in phpmyadmin as I am assuming the table is not there. However Im now 100% about this as I cannot see the sql error. If you can provide me with the actual error I can help more.
[sql]
CREATE TABLE IF NOT EXISTS `dc_membermap` (
`markerid` int(11) NOT NULL AUTO_INCREMENT,
`userid` int(11) NOT NULL,
`desc` text,
`lat` float(10,6) NOT NULL,
`lon` float(10,6) NOT NULL,
PRIMARY KEY (`markerid`),
UNIQUE KEY `idx_user` (`userid`))
[/sql]