Log in

View Full Version : help!


thepub
04-10-2007, 01:17 AM
I'm so new to this and completely lost. I am installing a mod for my forum and in one part says I need to put the forum ID of the forum within the code I am trying to add. First of all what is the forum id? Is that the name of the forum? So I thought that was what it was and tried it...I saved and got this message: The following error occurred when attempting to evaluate this template:

Parse error: parse error, unexpected T_STRING, expecting ']' in /home/thenbcom/public_html/includes/adminfunctions_template.php(3596) : eval()'d code on line 1

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.

T_Richardson
04-10-2007, 01:32 AM
In admincp, under Forums & Moderators, Forum Manager, click on the forum you want the ID, and in the top center, you will see the ID number of that forum, For ex; (Forum: Public Area (id: 3)). Put that number where the script asks you.

You can also get it when you click on that forum in your forums, and look at the URL in the address pane, it'll end with that forum ID.

thepub
04-10-2007, 01:43 AM
thank you! I changed the information and it worked just fine EXCEPT in between posts I see this [postcount] == 1 && 59 == 59"> now on the code I was supposed to place this <if condition="$post[postcount] == 1 && $thread[forumid] == x(replace with forumid of your recipe mod)">
<else /> at the top of postbit_legacy. I did so and the forum ID is 59. Can you please tell me what that is supposed to look like so I can do it right?

T_Richardson
04-10-2007, 01:54 AM
If this is a mod from here, you should post in that mod thread to get support from the author.

thepub
04-10-2007, 01:57 AM
thank you so much!