The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
You could use something like:
PHP Code:
|
Благодарность от: | ||
RichieBoy67 |
#12
|
||||
|
||||
Yes Mark, this works as I asked.
But I cannot include more than one forum ID in each case. Suppose this needs to have an array or how? Thanks |
#13
|
||||
|
||||
Then you could use something like:
PHP Code:
|
#14
|
||||
|
||||
I am confused. Sorry for not understanding easily.
That's take the first code in post #11 PHP Code:
case XX: case YY: case ZZ: Thanks |
#16
|
||||
|
||||
Quote:
PHP Code:
|
3 благодарности(ей) от: | ||
MarkFL, RichieBoy67, Stratis |
#17
|
||||
|
||||
Sorry Mark I could not understand at start, that I can put as many case χχχ: i want.
I have read PHP Manual, but unfortunately i don't understand. You see many things that are easy for some people are very difficult for others. I try very hard but how forward can some one can go. Thanks for your help, and by making a lot of tests-combinations than I realized. Yes now its easy when is there a way to understand. For some dummies like me. PHP Code:
Hope if we put many forums id there is no problem to forum or else? EDIT: Len, we posted same time, did not see it first |
Благодарность от: | ||
HM666 |
#18
|
||||
|
||||
LOL that is ok at least the info is there now for someone else if they get lost.
|
#19
|
||||
|
||||
Suppose I have a forum with forumid 2 and I wish for the button to read "Submit Ticket", and I have 2 forums with forumids 3 and 4, and I wish for the button to read "Add to Tutorial" and I have 3 forums with forumids 5, 6 and 7 and I wish for the button to read "Ask the Expert."
Then my PHP Code should be: PHP Code:
edit: If not, then I will be glad to whip up a simple mod that will let you define the text for the button based on forumid, and use phrasing so you can translate them. |
#20
|
||||
|
||||
Its ok for me as it is, the only thing, if there is a problem when we put many forum ids.
As i see no problem with it to. Thanks guys for help. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|