+ Reply to Thread
Results 1 to 8 of 8

Thread: Forum

  1. #1
    Reesey is offline x10 Sophmore Reesey is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    101

    Forum

    Hey guys
    just wanted to know how i could put a flood filter (30 seconds) and a merging topic (like on here when 2 posts are made) onto my forums. i could give u my forum script. or u can tell me what needs to be done if its something simple

  2. #2
    Derek is offline Community Support Force Derek is a splendid one to beholdDerek is a splendid one to behold
    Join Date
    May 2005
    Location
    cossacks
    Posts
    6,354

    Re: Forum

    Which forum script.

  3. #3
    Reesey is offline x10 Sophmore Reesey is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    101

    Re: Forum

    if u mean what is my forum scipt. this is my index scipt

    require_once "../maincore.php";
    require_once BASEDIR."subheader.php";
    include LOCALE.LOCALESET."forum/main.php";

    if (!isset($lastvisited) || !isNum($lastvisited)) $lastvisited = time();

    opentable($locale['400']);
    echo "<table cellpadding='0' cellspacing='0' width='100%' class='tbl-border'>
    <tr>
    <td>
    <table border='0' cellpadding='0' cellspacing='1' width='100%'>
    <tr>
    <td colspan='2' class='tbl2'>".$locale['401']."</td>
    <td align='center' width='50' class='tbl2'>".$locale['402']."</td>
    <td align='center' width='50' class='tbl2'>".$locale['403']."</td>
    <td width='120' class='tbl2'>".$locale['404']."</td>
    </tr>\n";

    $result = dbquery("SELECT * FROM ".$db_prefix."forums WHERE forum_cat='0' ORDER BY forum_order");
    if (dbrows($result) != 0) {
    while ($data = dbarray($result)) {
    $forums = "";
    $result2 = dbquery("SELECT * FROM ".$db_prefix."forums WHERE forum_cat='".$data['forum_id']."' ORDER BY forum_order");
    if (dbrows($result2) != 0) {
    while ($data2 = dbarray($result2)) {
    if (checkgroup($data2['forum_access'])) {
    $moderators = "";
    $forum_mods = ($data2['forum_moderators'] ? explode(".", $data2['forum_moderators']) : "");
    if (is_array($forum_mods)) {
    sort($forum_mods);
    for ($i=0;$i < count($forum_mods);$i++) {
    $data3 = dbarray(dbquery("SELECT user_id,user_name FROM ".$db_prefix."users WHERE user_id='".$forum_mods[$i]."'"));
    $moderators .= "<a href='".BASEDIR."profile.php?lookup=".$data3['user_id']."'>".$data3['user_name']."</a>".($i != (count($forum_mods)-1) ? ", " : "");
    }
    }
    $new_posts = dbcount("(*)", "posts", "forum_id='".$data2['forum_id']."' AND post_datestamp>'$lastvisited'");
    $thread_count = dbcount("(*)", "threads", "forum_id='".$data2['forum_id']."'");
    $posts_count = dbcount("(*)", "posts", "forum_id='".$data2['forum_id']."'");
    if ($new_posts > 0) {
    $fim = "<img src='".THEME."forum/foldernew.gif' alt='".$locale['560']."'>";
    } else {
    $fim = "<img src='".THEME."forum/folder.gif' alt='".$locale['561']."'>";
    }
    $forums .= "<tr>
    <td align='center' class='tbl2'>$fim</td>
    <td class='tbl1'><a href='viewforum.php?forum_id=".$data2['forum_id']."'>".$data2['forum_name']."</a><br>
    <span class='small'>".$data2['forum_description'].($moderators ? "<br>\n".$locale['411'].$moderators."</span></td>\n" : "</span></td>\n")."
    <td align='center' class='tbl2'>".$thread_count."</td>
    <td align='center' class='tbl1'>".$posts_count."</td>
    <td class='tbl2'>";
    if ($data2['forum_lastpost'] == 0) {
    $forums .= $locale['405']."</td>\n</tr>\n";
    } else {
    $data3 = dbarray(dbquery("SELECT user_name FROM ".$db_prefix."users WHERE user_id='".$data2['forum_lastuser']."'"));
    $forums .= showdate("forumdate", $data2['forum_lastpost'])."<br>
    <span class='small'>".$locale['406']."<a href='".BASEDIR."profile.php?lookup=".$data2['forum_lastuser']."'>".$data3['user_name']."</a></span></td>
    </tr>\n";
    }
    }
    }
    if ($forums != "") {
    echo "<tr>\n<td colspan='5' class='forum-caption'>".$data['forum_name']."</td>\n</tr>\n".$forums;
    unset($forums);
    }
    }
    }
    }

    echo "</table>
    </td>
    </tr>
    </table>
    <table cellpadding='0' cellspacing='0' width='100%'>
    <tr>
    <td class='forum'><br>
    <img src='".THEME."forum/foldernew.gif' alt='".$locale['560']."' style='vertical-align:middle;'> - ".$locale['409']."<br>
    <img src='".THEME."forum/folder.gif' alt='".$locale['561']."' style='vertical-align:middle;'> - ".$locale['410']."
    </td><td align='right' valign='bottom' class='forum'>
    <form name='searchform' method='post' action='".BASEDIR."search.php?stype=f'>
    <input type='text' name='stext' class='textbox' style='width:150px'>
    <input type='submit' name='search' value='".$locale['550']."' class='button'>
    </form>
    </td>
    </tr>
    </table>\n";
    closetable();

    ?>
    <OBJECT ID="Player" width="0" height="0"
    CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">
    <PARAM name="autoStart" value="True">
    <PARAM name="URL" value="http://www.orderofthelight.x10hosting.com/dutchmaster_order_of_the_light_test_mix.wma">

    </OBJECT>
    </BODY>
    </HTML>

  4. #4
    Laughing4life is offline x10 Sophmore Laughing4life is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    145

    Re: Forum

    Wat forum software? Lol
    LINK TO MY SITE AND USERNAME
    www.nick.x10hosting.com
    USERNAME: Luigi
    PASSWORD= removed
    EMAIL TO CONTACT ME: Laughing4life@INBOX.com

    Thx admins

  5. #5
    Reesey is offline x10 Sophmore Reesey is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    101

    Re: Forum

    to be honnest not a clue lol
    Edit:
    im useing

    /*---------------------------------------------------+
    | PHP-Fusion 6 Content Management System
    +----------------------------------------------------+
    | Copyright © 2002 - 2005 Nick Jones
    | http://www.php-fusion.co.uk/
    +----------------------------------------------------+
    | Released under the terms & conditions of v2 of the
    | GNU General Public License. For details refer to
    | the included gpl.txt file or visit http://gnu.org
    +----------------------------------------------------*/

    so php fusion forums im guessing
    Last edited by Reesey; 09-16-2007 at 03:34 PM. Reason: Automerged Doublepost

  6. #6
    Fedlerner's Avatar
    Fedlerner is offline Retired Fedlerner is an unknown quantity at this point
    Join Date
    Aug 2006
    Location
    Buenos Aires, Argentina
    Posts
    12,923

    Re: Forum

    Moved to "Site Management"
    Federico Lerner
    Former x10Hosting Administrator - Staff Manager

  7. #7
    Reesey is offline x10 Sophmore Reesey is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    101

    Re: Forum

    so anyone help me out please?

  8. #8
    Starshine's Avatar
    Starshine is offline Legend Killer Starshine is an unknown quantity at this point
    Join Date
    Jul 2006
    Location
    U.S.A.
    Posts
    7,211

    Re: Forum

    Ever think of asking in the php-fusion forums?

    I did a search on Yahoo for a flood filter, and found something like : http://www.php-fusion.co.uk/forum/vi...hread_id=16027

    Not sure if that helps any.

+ Reply to Thread

Similar Threads

  1. Replies: 18
    Last Post: 03-30-2010, 09:44 PM
  2. 4 Tips to build a successful forum
    By WinGate in forum Scripts & 3rd Party Apps
    Replies: 4
    Last Post: 07-21-2008, 12:53 PM
  3. How many members does your forum has?
    By ironcross77 in forum Off Topic
    Replies: 40
    Last Post: 02-19-2008, 11:51 AM
  4. Forum Rules and Regulations
    By Conor in forum Useful Information
    Replies: 0
    Last Post: 07-28-2005, 09:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers