|
إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...
انضم الينا
#1
| ||
| ||
In vb 3.8.4 (and probably 3.8.x) there is a missing hook in showthread.php. If you compare showthread.php with forumdisplay.php, you will notice that in forumdisplay.php, the forumdisplay_loggedinuser hook is called twice. This is very convenient for anyone that wants to do processing on the users who are logged in (e.g. change usernames to real names or anything else). My understanding is that the reason the hook is called twice is because there are two sections of code - one for the current user and another for all other logged in users.
showthread.php is missing the hook for the current user. I believe that the following line of code should be placed on line 1772 in showthread.php: Code: ($hook = vBulletinHook::fetch_hook('showthread_loggedinuser ')) ? eval($hook) : false; -Anthony __DEFINE_LIKE_SHARE__ |
مواقع النشر (المفضلة) |
| |
المواضيع المتشابهه | ||||
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
Forum Template hook | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 05-23-2010 04:10 AM |
CMS CMS hook equivalent of forumhome_start? | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 03-03-2010 06:50 AM |
Forum Reply All in PM's ??? Is it missing or am I missing something? | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 01-13-2010 07:49 PM |
Searching for a hook location | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 08-12-2009 04:40 AM |
How to use a hook? | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 04-12-2009 10:10 PM |