vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   help! (https://vborg.vbsupport.ru/showthread.php?t=144448)

thepub 04-10-2007 01:17 AM

help!
 
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:
Quote:

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
Quote:

[postcount] == 1 && 59 == 59">
now on the code I was supposed to place this
Quote:

<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!


All times are GMT. The time now is 12:23 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
  • Page Generation 0.01020 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete