|
إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...
انضم الينا
#1
| ||
| ||
The table schema of phpwsbb_topics contains the columns lastpost_author_id and lastpost_author. The last mentioned column helds the login name of the poster, published in the forum list. 1st - I want to suggest, never to show the true login name to the (also anonymous) public for security reasons. Instead, the display name is to prefer to show any identity. 2nd - the column lastpost_author is redundant. To publish an author, simply call the mod users API like Current_User::getDisplayName() I want to suggest to drop the column, because the values are not reliable in case some names become changed. The lastpost_author_id stored is sufficient enough in any case to call the (always actual) display name. What I've seen was: Class Topic.php line#399 $this->lastpost_author = $user->getUsername(); should be $this->lastpost_author = $user->getDisplayName(); but I'm not sure if that is all. Hilmar __DEFINE_LIKE_SHARE__ |
مواقع النشر (المفضلة) |
| |
المواضيع المتشابهه | ||||
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
Missing table headers in PHPWSBB | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 05-20-2010 10:50 PM |
RSS Module | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 01-07-2010 03:50 AM |
phpwsbb error 404 not found when i click on forum link. | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 11-10-2009 03:10 PM |
phpwsbb error 404 not found when i click on forum link. | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 11-10-2009 02:50 PM |
pws162 + mod access115 | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 05-10-2009 05:50 PM |