PointerDev AI Chat

PointerDev AI Chat

توسط

PointerDev AI Chat provides:

  • Admin settings page under Settings > PointerDev AI Chat
  • Frontend shortcode [pointerdevai_chat] that loads the widget bundle
  • Guest mode and login-required mode support
  • Server-side end-user token mint endpoint for logged-in WordPress users
  • Runtime session token lifecycle support for server-side AJAX proxy flows (exchange, refresh, revoke)

The widget JavaScript is bundled locally with this plugin. No JavaScript, CSS, or image assets are loaded from a CDN.

External Service

This plugin connects your WordPress site to the PointerDev AI service. A PointerDev AI account, project ID, publishable key, and, for login-required mode, secret key are required.

When visitors use the chat widget, the plugin sends chat messages, project credentials, anonymous visitor identifiers or logged-in user token data, and configured metadata to the API Base URL saved in Settings > PointerDev AI Chat. The default service endpoint is https://pointerdev.ai/, but site administrators may configure their own PointerDev AI API base URL.

Service provider: PointerDev AI
Service URL: https://pointerdev.ai/
Privacy policy: https://pointerdev.ai/privacy-policy
Terms: https://pointerdev.ai/terms-of-service

  1. Upload the pointerdev-ai-chat folder to /wp-content/plugins/.
  2. Activate the plugin through the WordPress admin.
  3. Go to Settings > PointerDev AI Chat and save:
    • API Base URL
    • Project ID
    • Publishable Key
    • Secret Key (required for login_required mode)
    • Optional widget title, subtitle, launcher label, icon style, icon text, and colors
  4. Add shortcode [pointerdevai_chat] to any page.

To show a round chat bubble launcher, choose Chat bubble icon for Launcher Icon Style and leave Launcher Label empty.

سوالات متداول

How does login_required mode work?

When auth_mode is end_user (or auto with logged-in users), plugin mints end-user tokens server-side using your stored secret key and feeds them to the widget.

Primary filter pointerdevai_end_user_token can override the generated token.
Legacy filter pointerai_end_user_token is still available for custom overrides.
When this filter returns a token, it overrides built-in token minting for widget auth.
The same server-side minting path is used by the plugin AJAX proxy when needed.

Default sub derivation is multisite-aware (blog_id:user_id). If you need Laravel-style parity (user_id only), use filter pointerdevai_end_user_subject_seed.
Legacy filter pointerai_end_user_subject_seed still works.

Can I use this for anonymous chat?

Yes. Set auth mode to anonymous or auto.

×
نظری برای این آیتم موجود نیست.
0 0 رای ها
امتیازدهی
اشتراک در
اطلاع از
0 نظرات
قدیمی‌ترین
تازه‌ترین بیشترین رأی
بازخورد (Feedback) های اینلاین
مشاهده همه دیدگاه ها
هیچ نسخه‌ای برای این آیتم موجود نیست.
بدون امتیاز

قیمت:

رایگان

نگارش

آخرین انتشار

21 خرداد 1405

آخرین بروزرسانی

1 هفته پیش

نصب های فعال

-

نگارش وردپرس

وردپرس 6.0+

تست شده از نسخه

وردپرس 7.0

نگارش PHP

PHP 8.0+

نسخه ها

0 نسخه