|
إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...
انضم الينا
#1
| ||
| ||
Here are few modifications I made to vBulletin Facebook App. Hope it helps other users . Important : Please backup all the files before making any changes. Feature 1: Last Thread information on Forum Home Default : [IMG]http://i.imgur.com/7sExZ.jpg[/IMG] New Look [IMG]http://i.imgur.com/foSrA.jpg[/IMG] Code changes : 1. Open Forums.php 2. Find the code Code: 3. Replace with Code: replace appname with your facebook app . P.S: 41 characters of the thread title will be visible. Having more and more characters will look ugly. Feature 2 : Post "Users reply" in facebook wall instead of Posted a reply on APP NAME Default : New Look : [IMG]http://i.imgur.com/ZFgDd.jpg[/IMG] [IMG]http://i.imgur.com/ycK8n.jpg[/IMG] 1. Open editor.php 2. Find the code Code: public function wall($title, $message) { $opt = array(); $opt['message'] = $this->wallMessage(); $opt['link'] = FACEBOOK_CANVAS_URL . $this->redirect; $opt['name'] = ThreadInfo::get($this->thread_id)->getName(); $opt['caption'] = ''; $opt['description'] = ''; $this->send_to_wall($opt); } replace with Code: public function wall($title, $message) { $opt = array(); $opt['message'] = $message; $opt['link'] = FACEBOOK_CANVAS_URL . $this->redirect; $opt['name'] = ThreadInfo::get($this->thread_id)->getName(); $opt['caption'] = ''; $opt['description'] = $message ; $this->send_to_wall($opt); } Feature 3 : View the current thread on Forum Site [IMG]http://i.imgur.com/P6LOb.jpg[/IMG] 1. Open category_item.php 2. Find Code: public function renderItem($category, $id, $page) { echo CategoryContentItem::get($category, $id, $page)->getHtml(); return time() + 3; } 3. Replace with Code: public function renderItem($category, $id, $page) { echo CategoryContentItem::get($category, $id, $page)->getHtml(); $threadShowThread = CategoryContentItem::getRedirect($category, $id, $page); echo " View this article on Forum Similar Threads "; return time() + 3; } Don't forget to change FORUM URL. Please considering donating - [email protected] (PayPal) . Hope to update this thread with more features. If you find any bug while using, please reply here. @Mod : I did not find any category in vb.org and found this section to be best suited. __DEFINE_LIKE_SHARE__ |
مواقع النشر (المفضلة) |
| |
المواضيع المتشابهه | ||||
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
Login Modification | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 08-11-2010 12:50 AM |
vB4 Modification Problem | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 05-11-2010 01:12 AM |
I need this Template Modification... | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 12-17-2009 05:11 AM |
Modification to template | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 11-12-2009 02:30 PM |
Licensing and Modification | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 04-25-2009 04:10 AM |