ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 33,782
- Points
- 823
Reputation:
Code:
vs
Code:
So the media items do get imported using the old field
Read more
Continue reading...
Code:
SELECT
att.*,
f.*,
u.username,
a.*,
att.attachmentid AS pictureid
FROM attachment AS att
vs
Code:
Code:
SELECT
c.*,
u.*,
IF(u.username IS NULL, c.postusername, u.username) AS username,
c.filedataid AS pictureid
FROM picturecomment AS c
So the media items do get imported using the old field
attachmentid, but the comments do use filedataid for lookups - this does not work as those are different IDs (in vBulletin 4 the same filedataid can...Read more
Continue reading...