Jul 24, 2008

Evilboard (forum Software) - Multiple Categorys - Don't Work :( - I am creating a forum and i can't fix more then 1 category.

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > PHP Programming

free web hosting

Evilboard (forum Software) - Multiple Categorys - Don't Work :( - I am creating a forum and i can't fix more then 1 category.

Arne-Christian
I am at the moment trying to program my own forum, but i need more then a single category, here is my source:
CODE

function cat () {
include("functions/functions.php");
echo '<table width="100%"  border="0" cellspacing="0">
<tr>
<td class="eb_top" colspan="3" style="border-bottom-width: 0; height: 30px; font-size: 12px;">&nbsp;<b>Forum</b></td>
</tr>';
     global $catid;

  $db = new db;
  $db->connect();
  $connect = $db->query("SELECT * FROM eb_forum WHERE catecory = '1'");

  # START GET CATEGORYS #
  $catz = array();
  while ( $cat = mysql_fetch_object( $connect ) ) {
  /*echo "  <tr>
    <td height=\"22\" class=\"eb_menu1\">&nbsp;<b>{$cat->name}</b></td>
    <td width=\"10%\" height=\"22\"  class=\"eb_menu3\"><div align=\"center\">Topics:</div></td>
    <td width=\"10%\" height=\"22\" class=\"eb_menu3\"><div align=\"center\">Replies:</div></td>
     </tr>";*/
    $catz[] .= "<tr>
    <td height=\"22\" class=\"eb_menu1\">&nbsp;<b>{$cat->name}</b></td>
    <td width=\"10%\" height=\"22\"  class=\"eb_menu3\"><div align=\"center\">Topics:</div></td>
    <td width=\"10%\" height=\"22\" class=\"eb_menu3\"><div align=\"center\">Replies:</div></td>
     </tr>";
     $catid = $cat->catid;
          }
   foreach ( $catz as $c ) {
    $get = $db->query("SELECT * FROM eb_forum WHERE catid = '$catid' AND catecory = '0'");
   while ( $getinfo = mysql_fetch_object( $get ) ) {
//$replay_num =  sql_get_topics("get_all_topics", "$forum_id");
  {
  $forum_id = $getinfo -> ForumID;
// Get Rows
$query = "SELECT * FROM `eb_topic` WHERE `ForumID` = '$forum_id'";
$connect = mysql_query($query);
$num_topic_rows = mysql_num_rows($connect);
// End Get Rows
// Get Rows
$query2 = "SELECT * FROM `eb_post` WHERE `ForumID` = '$forum_id'";
$connect2 = mysql_query($query2);
$num_replay_rows = mysql_num_rows($connect2);
// End Get Rows
  $forum_id = $getinfo -> ForumID;
  $desc = $getinfo -> desc;
  $mods = $getinfo -> mods;
  $name = $getinfo -> name;
   echo '<tr>
       <td width="80%" class="forum_footer">&nbsp;<a href="?showforum=' . $forum_id . '"><b>' . $name . '</b></a><br>
     &nbsp;' . $desc . '<br>
        <b>&nbsp;Forum led by:</b><a href="?group=' . $mods . '">&nbsp;' . $mods . '</a></td>
        <td width="10%" class="forum_footer2"><div align="center"></div>      <div align="center">'. $num_topic_rows .'</div></td>
        <td width="10%"  class="forum_footer2"><div align="center"></div>      <div align="center">'. $num_replay_rows .'</div></td>
       </tr>';
  }
   }
   }
  
}
?>


I have tried all possible ways that i can think off still i cannot fix it, someone please help smile.gif

Notice from saint-michael:
no bumping topics someone will see it and make a post.

 

 

 


Reply

Saint_Michael
Although I can't in terms of what you can add but i will provide you some links to give you some idea's on creating a forum

http://www.pixel2life.com/tutorials/count/...hp_based_forum/
http://www.pixel2life.com/tutorials/count/...ds_and_replies/

this should give you some ideas on where to go next.

Reply

Arne-Christian
Thanks a LOT!This fixed it smile.gif And just again thanks a lot for helping me.

Reply

Saint_Michael
no problem keep us up to date as well. if you need any more php help go here. www.pixel2life.com. that got quite a database of php tuts that can help you out.

Reply

alex1985
Really good topic to follow, I should wait for some replies,

Reply

alex1985
Anymore replies, still waiting?!

Reply

galexcd
This topic is two years old and resolved. Why would there be any more replies?

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. multiple values dont work - 4.62 hr back. (1)
  2. software multiple posts in forums - 97.35 hr back. (1)
Similar Topics

Keywords : evilboard, forum, software, multiple, categorys, work, creating, forum, fix, 1, category

  1. Category, Subcategory?
    ! (12)
  2. Creating Something With Co-ordinates With Php.
    Something like you see in those web-based php games, like a map or som (12)
    Well, i was just wondering if something simple and basic could be made (like a small map where you
    could move around on, like you click up, and your position moves up and reports it to the
    database..etc) with co-ordinates in php . Taking the x-axis and the y-axis into consideration.
    Things like maps which online games have such as web-based space games or legacy-game.net. Thanks
    for any feedback, ~Aldo....
  3. Forum Script
    (3)
    Hello, i'm wanting to start making my own forum software but i dont know where to start or what
    i need to know in order to do this. I know i will need php and mysql but what else, and could some
    one point me to a good site were i could learn php and mysql. Thanks ....
  4. Php And Flash Image Gallery
    Need some help in creating or editing an xml file while viewing some o (5)
    Hello there and thanks for the helping hand you are offering. PHP newbie here! /ph34r.gif"
    style="vertical-align:middle" emoid=":ph34r:" border="0" alt="ph34r.gif" /> So here is my problem:
    On my website I have a flash image gallery.The way the gallery works is by uploading pictures in a
    folder and editing? an xml file.(pics.xml) where it adds the following code when you upload a
    picture: CODE <pictures>     <image location="nameofpicture1.jpg"
    desc="" />     <image location="nameofpicture2.jpg" desc="" /&#....
  5. Forum Last Post And Avatar
    need little help here (5)
    hi guys. I have a little problem here. Im making my own version of forum, just got into this
    problem on the last post from the topic and displaying the users avatar. i already have a upload
    script but not for images. I tried making some experiments but it didnt work. maybe someone here
    could help me. /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
    just want to: 1.) query the last post. 2.)display the avatar of the user....
  6. Creating A Login Box That Links To My Phpbb Forum
    Have my phpBB Forum Intergrated with my Website (4)
    Can someone please give me a code that I can use to put a login box on my website, that will login a
    user into my phpBB Forum? Sort of like Having my phpBB Forum Intergrated with my Website? Thank you
    so much if you can! /angel.gif" style="vertical-align:middle" emoid=":angel:" border="0"
    alt="angel.gif" /> Ex. ....
  7. Multiple Drop Down Lists ?
    Multiple drop down lists to take user to new page (4)
    Hi everyone I was wondering if anyone could help. I want to create a page with multiple drop down
    lists and depending what the user selects decides the page they will be taken to. Sorry i havent
    explained this too well. Here is an example of what i want (link below) the user is also emailed a
    copy http://www.dermalogica.com/SpeedMappingOnl...US®ion=B I have searched the web and come
    close but nothing does it right I would be extremely greatful if anyone could help! Thanks ....
  8. Using Multiple Selection Array In Table To Order Data
    Using multiple selection array in table to order data (1)
    have a form that has a multiple select choice, like this: CODE <form method="post"
    action="display.php" <select multiple name="selectsort[]">
    <option value="code">Code</option> <option
    value="amount">Amount</option> <option value="dateammended">Date
    Ammended</option> <option value="expreviewdate">Expiration/Review
    Date</option> <option value="effectivedate">Effective Date</option>
    <option value="e....
  9. Forum Troubles
    In phpbb (2)
    I am having forum trouble in phpbb. Whenever I go to post something or add someone to a group or
    anything else, I get an error that looks like this: Could not find email template file ::
    topic_notify DEBUG MODE Line : 111 File : emailer.php The email template thing changes but the
    Line 111 and File emailer.php are always the same. It's getting really annoying. Can anyone
    help me with this?....
  10. How To Display The Latest Forum Post On Main Page
    (4)
    Hey does anyone know how to display the latest forum post on the main page of a website? I'm new
    to PHP and have no idea what to do. Thanks in advance!....
  11. Protecting My Code
    from people that crack software (5)
    Is there any one way that I can protect something that I have written? 2 weeks ago I was contracted
    to write a script for a friend in California for $300. I have known him for a while, and I
    know he will respect my work, but if I sell this to other people how can I make sure they do the
    same? I would like to sell this script to others. I have thought of a couple possible ways to
    protect my code but I don't really like any of them. My question to you is whether I should use
    one of these ideas, or if there is a simpler way to protect my work. My first idea w....
  12. Php Forum Signature
    (10)
    Hey /tongue.gif" style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" /> Having
    browsed this and other sites I've come up with the following signature-code for generating text
    on an image: CODE <?php header("Content-type: image/png");
    $select = rand(1,3); if($select==1)$img = "gow.png";
    if($select==2)$img = "gow2.png"; if($select==3)$img =
    "gow3.png"; $image = imagecreatefrompng("$img"); //imagecolor....
  13. [forum] Double Posting Happening By An Error
    (3)
    Hello, I am currently working on EvilBoard 0.1.1, for those who know about this project versjon 0.1b
    can be downloaded from http://www.evilservices.com Well over to the reason why i am posting this,
    I am currently experincing a problem with my new posting code wich has been rewrited in version
    0.1.1, You see, it is double posting by an error, i thouht i could fix that myself, but no, so i
    just thought, Trap17 is perfect, they problety know how to fix this, Here is the code: CODE
    <? /* * @Name: Post Topic * @Author: Arne-Christian Blystad * @Copyright&....
  14. Ipb Multi Forum (hosting Mod)
    installation help? (6)
    Hi, i need a little help if possible, i have a multi forum hosting mod for ipb 1.31 ok.. I want to
    install this but the install text included is a little unclear.. I already have a copy of ipb 1.31
    installed and running (with users and posts), i want to install this mod but i also want to keep all
    my db user/post info and still be able to use my existing forums with just a link to the forum
    hosting form. Could someone please look at the documents included with this mod and give me more
    clear instructions on how to do this? Do i need to install a second copy of the IPB UP....
  15. Wiki Software
    (6)
    hello, im just kinda looking for some wiki software ( id like to put on my site ) and the only one
    that i got anywhere with was mediawiki, then it told me it wouldnt run on the version of php trap17
    has installed anyways, if anyone has some suggestions on easy to setup/manage wiki software, i will
    be vary interested....
  16. Free Web Forum Scripts?
    Question on web forum scripts (7)
    Can someone please tell me which of the free forum scripts is the best and why? I like these forums
    but i notice the script is not free lol ;-)....
  17. Do Somebody Have A Tutorial About... How To Create A Forum?
    how to create a forum? (11)
    Hei, guys. Do somebodys here have a toturial about how to create a forum? I really do wanna
    create my own forum, but I don't know exatly HOW! please, help me! Lucas ....
  18. How I Can Display Forum Topic On Main Website ?
    (4)
    Suppose i have a website.. domain.com , and have phpbb forums on domain.com/forums.. And i want to
    display the new topics written in the forum on the main page of website...how i can do that.. ? for
    example ,I want to display this topic `? "domain.com/forums/viewtopic.php?t=16" how can i do
    that ?....
  19. Creating Communities/groups In Php ?
    (2)
    for example , if on my website, i have made some kind of members area.that the users can join.i want
    to learn that , they can create the groups...and then others can join their groups... for example ,
    some one creates the group "fun" , and the others existing users can join that ... etc ? can some
    one give me some idea about it ?? if possible some kind of tutorial/Script/ url link etc ?? thanks......
  20. Creating Profiles In Php/mysql ?
    (7)
    i've started to learn php..im familiar to basics of php and mysql now.Now for example i want
    that some user can register to my website , and after that he can Login and log out , and he can see
    his profile.is there any tutorial about this ? or any helping url .. or any helping answer please
    /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />....
  21. Multiple Options?
    (3)
    Okay so what Im trying to figure out is how I would go about giving the people to uh, well for
    examplkes sake it would be like "how many cats do you have" then theyd fill in a number, submit and
    the next page would print out boxes for as many cats they have that will be too fill in a color of
    the cat, so basically something like that, where it will only give them so many fields based on how
    many they said they have, and then their final "reciept" will only print out stuff for as many as
    they filled itn ....
  22. Phpskye The New Forum Software.
    new forum software (4)
    PHPskye the upcomming forum software. Stefan Alkaline and I are making a new forum software with
    some unique features. We currently are still working on the heavy coding. (that includes the layout
    it sucks) But u are welcome to come and have a look. Remind feedback is allways welcome. We are
    planning on distrubuting a free and a premium board. Some handy options will be available that no
    board has so far. U are free to register and have a look around. U allso might notice the different
    layouts the layout on the mainpage will be the layout the other will be deleted afte....
  23. Forum Signatures Help
    (1)
    Click Here to view a post that i made to see whether my forum signature works in the signature
    box, and it doesnt. I dont know why, it works in the message area yet not in the signature. What do
    i need to do here in order to fix it? HTML is Enabled n i added the img into the HTML tags...still
    doesnt work, please help.....
  24. Can My Forum And Website Use The Same Profiles?
    (3)
    I've been programming a 'rate-em' site from scratch. You know like Hot Or Not. YEs,..
    yet another rate-em website. Anyway, i'ts done and before I launch it I need to add a forum as
    the finishing touch, but all the forum softeware out there seems so hard to integrate. I'm
    trying to make it so that when a user logs into my rate-em website they are also logged into 'my
    forum'. i.e. i want my forum and web site to use the same profile data. If anyone knows of a
    forum program made for this objective please let me know. I'm in over my head, a....
  25. How Handle Sending Back Multiple Checkboxes
    (1)
    I know how to send back the check-boxes, so that's not the issue. I have a form that contains a
    group of 5 check-boxes. The user could select none, one, all, or any combination in between.
    I'm working on form validation right now and am doing most of it server side. The validation is
    set so that if the user has to go back all their data is retained. I'm using case statements,
    which work wonderfully, but in this circumstance I don't know what would be the best method that
    allows for a multitude of combinations. I think there is a possibility of somethi....
  26. Php Classes
    Access the same class instance over multiple pages (1)
    Hey everyone. I am having some trouble accessing the same php class instance in more that one page.
    This is for my login script and what i need to do is be able to call the classes logout function
    from a separate page. What i have tried to do is create a new .php page and include the class file
    and then make a new class and call logout. This does not work because it does not log out the
    current user which is my problem. Can anyone help me fix this or know of another way to do it?
    Below is my class file CODE <?php     // member class     // handlers member logo....
  27. Php Sessions
    Multiple users using the same login (2)
    Hi, I'm realtively new to PHP and I'm considering creating some login functionality.
    However I want a group of users to use the same loginname and password. They will be loggin infrom
    different machines. The users will know they are sharing the account. Can anyone give me an idea
    of what kind of effect this might have on my sessions? Will it create any odd hiccups or other
    strange things?....
  28. My Forum/shoutbox
    its a shoutbox now, but will be a forum (8)
    Visit My Forum ok this is my forum it has: -Date Posted -Stores in mysql database -Shows in
    Decending order -Able to use HTML (this is a bad thing) -Shows How many users are online -Shows how
    long it takes to show the page -Looks simple and clean /smile.gif' border='0'
    style='vertical-align:middle' alt='smile.gif' /> Will Add: -Member system -No HTML in Posts
    -Replace the HTML with BB Codes if anyone could help me with the things i need to add please reply
    and rate my script /smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /> ill
    releas....
  29. Wap Forum
    several questions on WAP forums (9)
    /blink.gif' border='0' style='vertical-align:middle' alt='blink.gif' /> Right i want to set up a
    wap forum for rap battling. I think i need to use php, although i might need wml not sure. so
    questions: 1) WML or PHP? 2) Can i get a forum/message board script? 3) Where can i get it? Thanks
    in advance Not making helpful thread topics and titles results in warnings, or in extreme cases, a
    ban. Don't fall into the crack. ....
  30. Php Programmers, How Long To Finish Your Scripts?
    time spent on creating php scripts (23)
    Hello. I am currently working on kShoutBox 0.5 which has many new features. Now I realize that
    it's really really and i mean really difficult to create a PHP script because it really do takes
    your time. Example when I don't know what to do or what function to use, i check out the php
    manual, and you know, i use the old tradition "Trial and Error".....

    1. Looking for evilboard, forum, software, multiple, categorys, work, creating, forum, fix, 1, category

Searching Video's for evilboard, forum, software, multiple, categorys, work, creating, forum, fix, 1, category
Similar
Category,
Subcategory?
- !
Creating
Something
With
Co-ordinates
With Php. -
Something
like you see
in those
web-based
php games,
like a map
or som
Forum Script
Php And
Flash Image
Gallery -
Need some
help in
creating or
editing an
xml file
while
viewing some
o
Forum Last
Post And
Avatar -
need little
help here
Creating A
Login Box
That Links
To My Phpbb
Forum - Have
my phpBB
Forum
Intergrated
with my
Website
Multiple
Drop Down
Lists ? -
Multiple
drop down
lists to
take user to
new page
Using
Multiple
Selection
Array In
Table To
Order Data -
Using
multiple
selection
array in
table to
order data
Forum
Troubles -
In phpbb
How To
Display The
Latest Forum
Post On Main
Page
Protecting
My Code -
from people
that crack
software
Php Forum
Signature
[forum]
Double
Posting
Happening By
An Error
Ipb Multi
Forum
(hosting
Mod) -
installation
help?
Wiki
Software
Free Web
Forum
Scripts? -
Question on
web forum
scripts
Do Somebody
Have A
Tutorial
About... How
To Create A
Forum? -
how to
create a
forum?
How I Can
Display
Forum Topic
On Main
Website ?
Creating
Communities/
groups In
Php ?
Creating
Profiles In
Php/mysql ?
Multiple
Options?
Phpskye The
New Forum
Software. -
new forum
software
Forum
Signatures
Help
Can My Forum
And Website
Use The Same
Profiles?
How Handle
Sending Back
Multiple
Checkboxes
Php Classes
- Access the
same class
instance
over
multiple
pages
Php Sessions
- Multiple
users using
the same
login
My
Forum/shoutb
ox - its a
shoutbox
now, but
will be a
forum
Wap Forum -
several
questions on
WAP forums
Php
Programmers,
How Long To
Finish Your
Scripts? -
time spent
on creating
php scripts
advertisement



Evilboard (forum Software) - Multiple Categorys - Don't Work :( - I am creating a forum and i can't fix more then 1 category.



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE