Jump to content

Community

(DP45) Guest View Limits


DawPi

Recommended Posts

  • 2 weeks later...
  • 1 month later...
  • 3 weeks later...

I am still having the same issue after updating to the latest version. When I set the Time Amount to 1H and when the guests reach the maximum amount of post, the disable time just doesn't match up. E.g Now is 21.17 and restriction should finish at 22.17 but message is saying "The restriction will be disabled at Today, 9:17 PM.


Is it an issue with time zone or something ?


Thanks

Link to comment
Share on other sites

GhostedX, try this.. Open file: adminsourcesclassesdp3classesdp3tvClass.php
Find:

return $hour * $i * $this->settings['dp3_tv_time_limit'];[/CODE]

Change to:

[CODE]return $hour * $i * $this->settings['dp3_tv_time_limit'] + $this->registry->class_localization->getTimeOffset();

Link to comment
Share on other sites

  • 4 weeks later...

DawPi , i completely understand that this MOD does not have the feature I asked for , but i wanted to know if I can manually edit something to enable this.
The Mod had been great for getting new member registration , but would like just one forum ID to be viewed with no limits ! Please do help with this as a manual edit !

Link to comment
Share on other sites

Chetan105, to exclude any forum(s) from the limit do this.:

Open file: admin/sources/classes/dp3classes/dp3tvClass.php
Find:

/* Topics only? */[/CODE]

Add Above:

[CODE] /* Exclude forums (for Chetan105) */ if( in_array( $this->request['f'], array( 2, 4, 6, 7, 8, 9 ) ) ) { return false; }



Where 2,4,6,7,8,9 (etc.) are the forum IDs.

Link to comment
Share on other sites

  • 2 weeks later...
  • Daniel F changed the title to (DP45) Guest View Limits

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy