![]() |
ForumID - categorieID ? equivalent
is there a equivalent for the CategorieID like in comparison with forumID ?
examples: CategorieID forumID what i want is the categorieID equivalent for this condition <if condition="in_array($thread['forumid'], array(1,2,3,6))"></if> |
The categoryid is the forumid.
|
but the condition seems not to work with categorieID why?
|
Are you trying to do a condition that only uses the category id to cover all the child forums also? I think you need to first get the child forumids. Take a look at the API (in Quick Links dropdown) and I think there is a function something like fetch_child_ids or fetch_child_forumids and you can look that up.
|
yes thats what i am trying to do. but i have no idea how to combinate this childforums api with the condition code :(
|
Play with it and see. I believe you get a array from the function. then you can use the array in your condition.
Post what you try and what the results are. |
ist it this function?
fetch_child_forums Quote:
if yes, that shouldnt work or? <if condition="fetch_child_forums($thread['forumid'], fetch_child_forums(1,2,3,6))"></if> |
No. You would want to use the function first to fetch the child forums (in a plugin) and then use the results of that plugin in your condition.
|
ok i thought it would be easyer , so i have no chance :(
but thanks for trying. --------------- Added [DATE]1301585586[/DATE] at [TIME]1301585586[/TIME] --------------- so cant anyone help me ? |
after 3 years im still need solution again o.o
i wonder that no one needs it because in google i also found notghing beside a try of someone and no solutions. |
All times are GMT. The time now is 02:45 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:
|