![]() |
Ok I have the module working beautifully. At the moment the module is showing newest links. Is there a way to make it so that certain usergroups cant see links that are in restricted categories? As I have retricted access to 18+ category but the links show in the module to anyone.
Also Is it possible to show the latest links for a specified category? I want to make several newest link modules example: Latest Manga, Latest Music, Latest AMV Thanks |
Quote:
|
Quote:
- select one of your forums which has the viewing permissions that you want to apply to the category and its entries - edit the category, and find the box 'Parent Forum'. select the chosen forum and tick the box "Also make this the parent of..." You can also set this up in two ways: - If the LDM/admin/setting can_see_protected_links_on_portal is 'on', unauthorised people can see protected entries, but cannot visit them. - If off, then unauthorised people never get to see the protected entries. Quote:
$filter = array("link.linkmoderate = 0"); and change it, e.g., as follows: $filter = array("link.linkmoderate = 0", "ltoc.catid = 5"); to restrict the module to new entries in category with catid 5. or $filter = array("link.linkmoderate = 0", "ltoc.catid IN (5,6,7)"); to restrict to category ids 5,6,7 |
Quote:
|
Hey Andrew it does work but not in the way I want.
I want it so can create a module called Latest Manga which will show all the latest links for category id 1, Then also create a module called Latest AMV that will show all the latest links for category id 112. What the code youve given me is doing is putting it all in one module. |
Probably because you're using the array version, make another plugin, but use the single version for each and set one for cat 1 and one for cat 112.
|
Quote:
Saying that, I started using the module a few versions back so while I've updated the .php file I've not touched the module within the CMPS admin area .. which might make a difference? Zowners - do you have "adv_portal_custom_ldm_new, links_vbalinks" within the "Templates Used" box within the module edit screen? |
Quote:
Now if the files were renamed in a way that they do not have any spaces, nor in their parent directories, will that fix it? |
Quote:
|
Quote:
|
All times are GMT. The time now is 08:11 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|