+ Reply to Thread
Results 1 to 5 of 5

Thread: category id's. help.

  1. Join Date
    Jan 2005
    Posts
    9

    category id's. help.

    ok sorry to sound like a n00b but i dont have a clue what category id's are. i go through everything in admin and generate code and it gives me this.

    <?php include_once("/home/deko/public_html/forum-news/news.php");
    $forum_obj = new EP_Dev_Forum_News();
    $forum_obj->display_News("", "1", "0", "0"); ?>
    i put that in a basic php page and i get this

    No posts found in selected forum category.
    my page where i want the page displayed is. http://gtagames.southsidedesigns.net/new.php

    my forums are at http://gtagames.southsidedesigns.net/forums.

    thanks.



    if you could consider taking a look yourself post and ill pm you details. thanks a lot.

  2. Join Date
    Aug 2004
    Posts
    781

    category id's. help.

    I used the word category ID because almost everyone ( ) who uses a forum knows what a category refers to. In your case, the category may be called a forum or something similar. I look on your forum and the link to your site news forum is:
    http://www.gtagames.southsidedesigns...rums/index.php?showforum=4

    See the bolded text above? The 4 is your category id. Either set the default category id in the control panel under Forum Settings or specify it when you go to generate code on the Generate Code page.

  3. Join Date
    Jan 2005
    Posts
    9

    category id's. help.

    ok cool. thanks. im kinda just learning. ill try it.

  4. Join Date
    Aug 2004
    Posts
    781

    category id's. help.

    Oh, do not forget that you probably still have caching enabled. If you are testing this stuff out I suggest you turn it off until you get the layout and all the way you want. Otherwise your news will only update every x minutes (where x is your cache time setting).

    Go to Script Settings page of Control Panel and set caching time to 0.

  5. Join Date
    Jan 2005
    Posts
    9

    category id's. help.

    ok thanks. it works like a dream. thanks a lot.

    now all i have top do is change the templates and im done. thanks.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts