[VNNET] Up Thread For XF2 [Deleted]

Thank you for such a fast response! However, some strange behavior when trying to schedule up thread.

I can't get it to schedule


1562998783258.webp

1562998831590.webp

This is a default forum, only addon is VNNet Up Thread.

(the "up thread" button works perfectly, only schedule has a problem)
 

I don't think that's the XF standard.
  • Uninstallation must not depend on an external server. If an external request needs to occur during uninstallation and this request fails, uninstallation should still be able to proceed. You must not block or prevent uninstallation in any way.
  • If installation depends on an external server (such as for license verification), this must be clearly declared in your resource

PHP:
    public function checkInstall()
    {
        $server = $_SERVER['SERVER_NAME'];
        $addId = 21;
        $file = file_get_contents('https://vnnet.org/lic/'.$server.'/'.$addId);
        $exp = explode('|', $file);
        if($exp[0] != 1){
            die('This domain '.$server.' not license in VNNET, please contact admin@vnnet.org');
        }
        return $exp;
    }
  
    public function checkUninstall()
    {
        $server = $_SERVER['SERVER_NAME'];
        $addId = 21;
        $file = file_get_contents('https://vnnet.org/lic/'.$server.'/'.$addId);
        $exp = explode('|', $file);
      
        if($exp[0] != 1){
            return 'nodata';
        }else{
            return $exp;
        }
    }
 
Permission inheritance is broken. They have to be enabled in each usergroup.

Example:

User is in two usergroups:
Registered and Moderator

Registered:
1569908930464.png

Moderator:
1569908954737.png

The moderator will not be able to "up own threads" unless both usergroups have the permission set to YES.
 
This resource has been removed and is no longer available. The following reason was provided:
This resource has been deleted by XenForo Ltd. in line with our resource housekeeping criteria.
 
Top Bottom