WordPress.org

العربية

  • القوالب
  • الإضافات
  • الأخبار
  • الدعم الفني
  • حول
    • كُتيب المساهمة
  • احصل على ووردبريس
احصل على ووردبريس
WordPress.org

Plugin Directory

BP Direct Menus

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

هذه الإضافة لم يتم تحديثها وتجربتها لأكثر من 3 إصدارات ووردبريس رئيسية. قد لا تكون خاضعة للصيانة أو تقدم الدعم والمساعدة بالوقت الحالي وقد تكون بها مشاكل في التوافق عند إستخدامها مع إصدارات حديثة من ووردبريس.

BP Direct Menus

بواسطة mrwulf
تنزيل
  • تفاصيل
  • المراجعات
  • التنصيب
  • التطوير
الدعم

الوصف

Completely integrated with the wordpress menu system so your theme’s menu menu styling is used.

Basic log in/out and register menu items that are only visible when appropriate.

Awesome custom menu item type will let you link to any page that requires the username as part of the url (example.com/members//messages). Tons of tags can be used to customize the menu text:
* User Info: username, firstname, lastname, displayname
* BuddyPress counts: unreadmessagecount, friendcount, groupcount
* BuddyPress counts that hide when zero: (unreadmessagecount), (friendcount), (groupcount)
* BuddyPress/WordPress avatar: avatar, avatar-thumb, avatar-mini

This plugin works great with “Menu Items Visibility Control” to only show menu items to certain roles/levels.
Also, try “WP ToolBar Removal” to totally replace the ugly unthemed wordpress/buddypress menu.

لقطات الشاشة

  • The meta box in nav menu admin page

  • An example of a custom profile menu

  • The admin view of the above profile menu

التنصيب

  1. Upload the “bp-direct-menu” folder into the “/wp-content/plugins/” directory

  2. Activate the plugin through the “Plugins” menu in WordPress

  3. Go to Appearance->Menus to add menu items of type BuddyPress Direct Links

  4. See the help link for more info.

الأسئلة المتكررّة

How does this work?

Visit your navigation admin menu page, you got a new box including 5 links: ‘log in’, ‘logout’, ‘log in/logout’, ‘register’, ‘custom’.

Add the link you want, for example “Log in|Logout”

  1. You can change the 2 titles links, just separate them with a | (pipe)

  2. You can add a page for redirection, example #bpmdloginout#index.php This will redirect users on site index.

  3. You can add 2 pages for redirection, example #bpmdloginout#login.php|logout.php This will redirect users too.

  4. For this redirection you can use the special value %actualpage%, this will redirect the user on the actual page.

What are the shortcodes?

You can also add shortcodes in your pages/posts. just do this :

In you posts/pages : [loginout]
In your theme : <?php echo do_shortcode( '[loginout]' ); ?>

The 4 basic shortcodes are “[bpdm_login]”, “[bpdm_logout]” and “[bpdm_loginout]”, “[bpdm_register]”.

You can set 2 parameters, named “redirect” and “edit_tag”.

Redirect: used to redirect the user after the action (log in or out) ; example : “/welcome/” or “index.php”

Edit_tag: used to modify the tag, ; example ” class=’myclass’” or ” id=’myid’ class=’myclass’ rel=’friend’” etc

You can also modify the title link with [login]Click here to connect[/login] for example

How does the custom link work?
  • Add it to a menu or using a shortcode just like the other links.
  • Put in the end part of the URL after the #bpmdcustom# placeholder or in the url_part parameter. This will be appended to “.com/members/” (the user’s profile page), so to go to a user’s messages: “#bpmdcustom#/messages/”.
  • Use one (or more) of the replacement tags in the menu item title or shortcode text:
    • “Messages %(unreadmessagecount)%”
    • [bpdmcustom url_part=”/messages/”]Messages %(unreadmessagecount)%[/bpdmcustom]
How awesome is the custom link?

Totally.

المراجعات

Love it!

GabyRangel 3 سبتمبر، 2016
I have been searching for a way to send users to specific pages that are nowhere on the menu options. This did the trick! Took seconds to set up and now I have what I needed. Thank you so much!

Clear as mud, no support

fpats 7 فبراير، 2017
Check out the support forum for a load of confused & ignored users. Nice one.
إقرأ جميع المراجعات 12

المساهمون والمطوّرون

“BP Direct Menus” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.

المساهمون
  • mrwulf

ترجمة ”BP Direct Menus“ إلى لغتك.

مُهتم بالتطوير؟

تصفّح الشفرة، تحقق من مستودع SVN، أو الاشتراك في سجل التطوير بواسطة RSS.

سجل التغييرات

1.0

  • 2013-09-21

  • First release

ميتا Meta

  • Version 1.0.0
  • Last updated قبل 12 سنة
  • Active installations 30+
  • WordPress version 3.0 أو أعلى
  • Tested up to 3.6.1
  • Language
    English (US)
  • Tags
    linklog inloginlogoutmenu
  • عرض متقدم

التقييم

4.4 out of 5 stars.
  • 9 5-star reviews 5 stars 9
  • 1 4-star review 4 stars 1
  • 1 3-star review 3 stars 1
  • 0 2-star reviews 2 stars 0
  • 1 1-star review 1 star 1

أضف مراجعتي

See all reviews

المساهمون

  • mrwulf

الدعم

لديك شيء لتقوله؟ بحاجة الى مساعدة؟

عرض منتدى الدعم

تبرع

هل ترغب في تقديم دعم متقدم لهذه الإضافة؟

تبرع لهذه الإضافة

  • نبذة عن
  • أخبار
  • Hosting
  • الخصوصية
  • Showcase
  • قوالب
  • إضافات
  • الأنماط
  • تعلم
  • الدعم الفني
  • المطوّرون
  • WordPress.tv ↗
  • شارك بالمساهمة معنا
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

العربية

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • قم بزيارة صفحتنا على الفيسبوك
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
الكود شِعرٌ.