Jump to content

subforums again


doddsey_65

Recommended Posts

its alot since i updated the database with new records but here is the dump of $cat

 


array(2) { 

[0]=> array(9) { 

    ["f_fid"]=> string(1) "8" 
["p_id"]=> string(1) "0" 
    ["f_name"]=> string(7) "Testing" 
    ["f_description"]=> string(0) "" 
    ["f_topics"]=> string(1) "0" 
    ["f_posts"]=> string(1) "0" 
["f_last_post"]=> NULL 
    ["f_last_post_time"]=> NULL 
["f_last_poster"]=> NULL } 

[1]=> array(2) { 

[0]=> array(10) { 

["f_fid"]=> string(1) "2" 
      ["p_id"]=> string(1) "1"
["f_name"]=> string(12) "New Features" 
      ["f_description"]=> string(112) "This is the place to visit if you want to know what new feature have already been implemented. Updated Regularly" ["f_topics"]=> string(1) "9" 
      ["f_posts"]=> string(2) "20" 
      ["f_last_post"]=> string(21) "jQuery Pagination Fix" 
["f_last_post_time"]=> string(10) "1298989371"
["f_last_poster"]=> string(9) "doddsey65" 
      ["subforums"]=> NULL } 

[1]=> array(10) { 

["f_fid"]=> string(1) "9" 
["p_id"]=> string(1) "8" 
      ["f_name"]=> string(15) "Test Playground" 
["f_description"]=> string(134) "If you want to test some of the features ASF has to offer then this is the place to do so. Please don't test features in other forums." 
["f_topics"]=> string(1) "1" 
      ["f_posts"]=> string(1) "1" 
["f_last_post"]=> string(13) "Testing Topic" 
      ["f_last_post_time"]=> string(10) "1299012792" 
      ["f_last_poster"]=> string(5) "spicy" 
      ["subforums"]=> NULL 
} } } 

 

i did change it to $cat 1 but that just replaced the category name with the forum name and showed several categories for each forum each with the forum name. Here is the address for the github repository so you can have a better look.

 

https://github.com/doddsey65/ASF-A-Simple-Forum/blob/master/functions/functions.php

Link to comment
Share on other sites

Do you happen to have a messenger client so you can add my msn and we can take this a little more in depth?

If so go ahead and add me, creata.physics [at] gmail [dot] com

 

I do see that your main cat is in $cat[0] and the children are in $cat[1], im assuming this is another rendering problem since the array is 100% correct, so if you can add me we can get this corrected a lot faster, if not we'll just get it resolved here on the forums.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.