Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] ABP Force Portal
#1
ABP Force Portal


This plugin redirects users who come (back) to index page and didn't visit the forum since a delay (fixed by admin) to the portal page.
Guests and members can have different delay until be redirected.

Upgrade
  • Deactivate the plugin from ACP
  • Install the plugin

Installation
  • Unzip the .zip
  • Copy the UPLOAD contents to the forum root
  • Activate plugin in ACP

Settings
  • portal page (must be a MyBB page)
  • delay for guest (in hours)
  • delay for members (in hours)

Languages
english, french

Tchat en français
Do not ask me help through PM or Discord

Reply
#2
Useful :thumbsup:
Reply
#3
very good idea....

edit: how can i make it so its to the portal if there are new posts? And to the index if there are no new posts?
Reply
#4
I won't add this feature, too heavy for a simple redirection.
It needs informations about the portal (displayed fid) and compare (count) last post date with last user' activity timestamp.

And if you choose another landing page than portal, it won't be useful.
Tchat en français
Do not ask me help through PM or Discord

Reply
#5
I correct the install procedure, it was containing a call to a non-existant function. (build #8 - version 1.6)
Tchat en français
Do not ask me help through PM or Discord

Reply
#6
hi man,
i copy files to mybb directory correctly. when i want active this plugin get this error
Parse error: syntax error, unexpected ';' in C:\xampp\htdocs\mybb\inc\plugins\abp_forceportal.php on line 133

that line is:
$ugroup = explode(','; $mybb->user['additionalgroups']);
must be change to
$ugroup = explode(',', $mybb->user['additionalgroups']);
Reply
#7
Oups.
Sorry for the typo, I correct it immediatly
Tchat en français
Do not ask me help through PM or Discord

Reply


Forum Jump:


Users browsing this thread: 6 Guest(s)