امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
Code:
vs
Code:
So the media items do get imported using the old field
Read more
کد:
SELECT
att.*,
f.*,
u.username,
a.*,
att.attachmentid AS pictureid
FROM attachment AS att
vs
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
