[DEV] Item Shop

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Locked
Zarath
Registered User
Posts: 736
Joined: Fri Dec 06, 2002 9:01 am
Contact:

Post by Zarath » Sat Dec 14, 2002 12:45 pm

Xycius wrote: Ey, help me so I can install rgp shop too.

Please you guys I know there are guys who can do it :)



lol, you cleared the line of viewtopic.php that parses the template...

Did you back up?

User avatar
IceMan_35
Registered User
Posts: 118
Joined: Sun Nov 24, 2002 10:09 pm

Post by IceMan_35 » Sat Dec 14, 2002 12:48 pm

oh my bad.never mind :oops:

User avatar
IceMan_35
Registered User
Posts: 118
Joined: Sun Nov 24, 2002 10:09 pm

Post by IceMan_35 » Sat Dec 14, 2002 1:07 pm

I am having problems with how the names of the items are displayed. If I use uppercase letters it will make them into upper and lower. And I can't edit them after entering CAPS. !!!

Xycius
Registered User
Posts: 11
Joined: Fri Nov 22, 2002 8:00 pm

Post by Xycius » Sat Dec 14, 2002 1:09 pm

Yes, I backuped but can you fix the problem and give me the right viewtopic.com with parses line and upload it to a host or email it to webmaster@db-nrg.net please ?

User avatar
IceMan_35
Registered User
Posts: 118
Joined: Sun Nov 24, 2002 10:09 pm

Post by IceMan_35 » Sat Dec 14, 2002 1:11 pm

a very important issue.

I would like to use GOLDS in the allowence instead of points as I am using it for experience and not for purchase. I have called the other GOLD and people can buy things with it. Please tell me if I can use the GOLDS amount insted of POINTS. Thanks.

Zarath
Registered User
Posts: 736
Joined: Fri Dec 06, 2002 9:01 am
Contact:

Post by Zarath » Sat Dec 14, 2002 1:16 pm

IceMan_35 wrote: a very important issue.

I would like to use GOLDS in the allowence instead of points as I am using it for experience and not for purchase. I have called the other GOLD and people can buy things with it. Please tell me if I can use the GOLDS amount insted of POINTS. Thanks.



I didn't make the allowance mod, so I can't change it, I would think it would use whatever you had it set to anyways...

On the caps thing, it should only uppercase the first letter of every item, I don't know why it would be setting any upper case to lower case.

Zarath
Registered User
Posts: 736
Joined: Fri Dec 06, 2002 9:01 am
Contact:

Post by Zarath » Sat Dec 14, 2002 1:17 pm

Xycius wrote: Yes, I backuped but can you fix the problem and give me the right viewtopic.com with parses line and upload it to a host or email it to webmaster@db-nrg.net please ?



You can't download uploaded .php files... and mine would be completely different from yours, depending on the hacks you've installed, which judging from the un-parsed template variables are alot more than what I have installed.

User avatar
IceMan_35
Registered User
Posts: 118
Joined: Sun Nov 24, 2002 10:09 pm

Post by IceMan_35 » Sat Dec 14, 2002 1:24 pm

Can you tell me what I need for it to use points instead? what do I need to change? anyone???

Thanks in advance.

Xycius
Registered User
Posts: 11
Joined: Fri Nov 22, 2002 8:00 pm

Post by Xycius » Sat Dec 14, 2002 1:29 pm

I mean can you tell me what the problem, where the problem is and how I can fix it so my viewtopic isn't so strange.

Here is my viewtopic.php

http://members.lycos.nl/dbnrgtopsite/viewtopic.php

can you tell me the problem please and how I can fix it.
  • <?php
    /***************************************************************************
    * viewtopic.php
    * -------------------
    * begin : Saturday, Feb 13, 2001
    * copyright : (C) 2001 The phpBB Group
    * email : support@phpbb.com
    *
    * $Id: viewtopic.php,v 1.186.2.6 2002/05/14 15:19:20 psotfx Exp $
    *
    *
    ***************************************************************************/

    /***************************************************************************
    *
    * This program is free software; you can redistribute it and/or modify
    * it under the terms of the GNU General Public License as published by
    * the Free Software Foundation; either version 2 of the License, or
    * (at your option) any later version.
    *
    ***************************************************************************/

    define('IN_PHPBB', true);
    $phpbb_root_path = './';
    include($phpbb_root_path . 'extension.inc');
    include($phpbb_root_path . 'common.'.$phpEx);
    include($phpbb_root_path . 'includes/bbcode.'.$phpEx);

    //
    // Start initial var setup
    //
    if ( isset($HTTP_GET_VARS[POST_TOPIC_URL]) )
    {
    $topic_id = intval($HTTP_GET_VARS[POST_TOPIC_URL]);
    }
    else if ( isset($HTTP_GET_VARS['topic']) )
    {
    $topic_id = intval($HTTP_GET_VARS['topic']);
    }

    if ( isset($HTTP_GET_VARS[POST_POST_URL]))
    {
    $post_id = intval($HTTP_GET_VARS[POST_POST_URL]);
    }

    $start = ( isset($HTTP_GET_VARS['start']) ) ? intval($HTTP_GET_VARS['start']) : 0;

    if ( !isset($topic_id) && !isset($post_id) )
    {
    message_die(GENERAL_MESSAGE, 'Topic_post_not_exist');
    }

    //
    // Find topic id if user requested a newer
    // or older topic
    //
    if ( isset($HTTP_GET_VARS['view']) && empty($HTTP_GET_VARS[POST_POST_URL]) )
    {
    if ( $HTTP_GET_VARS['view'] == 'newest' )
    {
    $header_location = ( @preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE')) ) ? 'Refresh: 0; URL=' : 'Location: ';

    if ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_sid']) )
    {
    $session_id = $HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_sid'];

    if ( $session_id )
    {
    $sql = "SELECT p.post_id
    FROM " . POSTS_TABLE . " p, " . SESSIONS_TABLE . " s, " . USERS_TABLE . " u
    WHERE s.session_id = '$session_id'
    AND u.user_id = s.session_user_id
    AND p.topic_id = $topic_id
    AND p.post_time >= u.user_lastvisit
    ORDER BY p.post_time ASC
    LIMIT 1";
    if ( !($result = $db->sql_query($sql)) )
    {
    message_die(GENERAL_ERROR, 'Could not obtain newer/older topic information', '', __LINE__, __FILE__, $sql);
    }

    if ( !($row = $db->sql_fetchrow($result)) )
    {
    message_die(GENERAL_MESSAGE, 'No_new_posts_last_visit');
    }

    $post_id = $row['post_id'];
    header($header_location . append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=$post_id#$post_id", true));
    exit;
    }
    }

    header($header_location . append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id", true));
    exit;
    }
    else if ( $HTTP_GET_VARS['view'] == 'next' || $HTTP_GET_VARS['view'] == 'previous' )
    {
    $sql_condition = ( $HTTP_GET_VARS['view'] == 'next' ) ? '>' : '<';
    $sql_ordering = ( $HTTP_GET_VARS['view'] == 'next' ) ? 'ASC' : 'DESC';

    $sql = "SELECT t.topic_id
    FROM " . TOPICS_TABLE . " t, " . TOPICS_TABLE . " t2, " . POSTS_TABLE . " p, " . POSTS_TABLE . " p2
    WHERE t2.topic_id = $topic_id
    AND p2.post_id = t2.topic_last_post_id
    AND t.forum_id = t2.forum_id
    AND p.post_id = t.topic_last_post_id
    AND p.post_time $sql_condition p2.post_time
    AND p.topic_id = t.topic_id
    ORDER BY p.post_time $sql_ordering
    LIMIT 1";
    if ( !($result = $db->sql_query($sql)) )
    {
    message_die(GENERAL_ERROR, "Could not obtain newer/older topic information", '', __LINE__, __FILE__, $sql);
    }

    if ( $row = $db->sql_fetchrow($result) )
    {
    $topic_id = $row['topic_id'];
    }
    else
    {
    $message = ( $HTTP_GET_VARS['view'] == 'next' ) ? 'No_newer_topics' : 'No_older_topics';
    message_die(GENERAL_MESSAGE, $message);
    }
    }
    }

    //
    // This rather complex gaggle of code handles querying for topics but
    // also allows for direct linking to a post (and the calculation of which
    // page the post is on and the correct display of viewtopic)
    //
    $join_sql_table = ( !isset($post_id) ) ? '' : ", " . POSTS_TABLE . " p, " . POSTS_TABLE . " p2 ";
    $join_sql = ( !isset($post_id) ) ? "t.topic_id = $topic_id" : "p.post_id = $post_id AND t.topic_id = p.topic_id AND p2.topic_id = p.topic_id AND p2.post_id <= $post_id";
    $count_sql = ( !isset($post_id) ) ? '' : ", COUNT(p2.post_id) AS prev_posts";

    $order_sql = ( !isset($post_id) ) ? '' : "GROUP BY p.post_id, t.topic_id, t.topic_title, t.topic_status, t.topic_replies, t.topic_time, t.topic_type, t.topic_vote, t.topic_last_post_id, f.forum_name, f.forum_status, f.forum_id, f.auth_view, f.auth_read, f.auth_post, f.auth_reply, f.auth_edit, f.auth_delete, f.auth_sticky, f.auth_announce, f.auth_pollcreate, f.auth_vote, f.auth_attachments ORDER BY p.post_id ASC";

    $sql = "SELECT t.topic_id, t.topic_title, t.topic_status, t.topic_replies, t.topic_time, t.topic_type, t.topic_vote, t.topic_last_post_id, f.forum_name, f.forum_status, f.forum_id, f.auth_view, f.auth_read, f.auth_post, f.auth_reply, f.auth_edit, f.auth_delete, f.auth_sticky, f.auth_announce, f.auth_pollcreate, f.auth_vote, f.auth_attachments" . $count_sql . "
    FROM " . TOPICS_TABLE . " t, " . FORUMS_TABLE . " f" . $join_sql_table . "
    WHERE $join_sql
    AND f.forum_id = t.forum_id
    $order_sql";
    if ( !($result = $db->sql_query($sql)) )
    {
    message_die(GENERAL_ERROR, "Could not obtain topic information", '', __LINE__, __FILE__, $sql);
    }

    if ( !($forum_topic_data = $db->sql_fetchrow($result)) )
    {
    message_die(GENERAL_MESSAGE, 'Topic_post_not_exist');
    }

    $forum_id = $forum_topic_data['forum_id'];

    //
    // Start session management
    //
    $userdata = session_pagestart($user_ip, $forum_id);
    init_userprefs($userdata);
    //
    // End session management
    //

    //
    // Start auth check
    //
    $is_auth = array();
    $is_auth = auth(AUTH_ALL, $forum_id, $userdata, $forum_topic_data);

    if( !$is_auth['auth_view'] || !$is_auth['auth_read'] )
    {
    if ( !$userdata['session_logged_in'] )
    {
    $redirect = ( isset($post_id) ) ? POST_POST_URL . "=$post_id" : POST_TOPIC_URL . "=$topic_id";
    $redirect .= ( isset($start) ) ? "&start=$start" : '';
    $header_location = ( @preg_match("/Microsoft|WebSTAR|Xitami/", getenv("SERVER_SOFTWARE")) ) ? "Refresh: 0; URL=" : "Location: ";
    header($header_location . append_sid("login.$phpEx?redirect=viewtopic.$phpEx&$redirect", true));
    exit;
    }

    $message = ( !$is_auth['auth_view'] ) ? $lang['Topic_post_not_exist'] : sprintf($lang['Sorry_auth_read'], $is_auth['auth_read_type']);

    message_die(GENERAL_MESSAGE, $message);
    }
    //
    // End auth check
    //

    $forum_name = $forum_topic_data['forum_name'];
    $topic_title = $forum_topic_data['topic_title'];
    $topic_id = $forum_topic_data['topic_id'];
    $topic_time = $forum_topic_data['topic_time'];

    if ( !empty($post_id) )
    {
    $start = floor(($forum_topic_data['prev_posts'] - 1) / $board_config['posts_per_page']) * $board_config['posts_per_page'];
    }

    //
    // Is user watching this thread?
    //
    if( $userdata['session_logged_in'] )
    {
    $can_watch_topic = TRUE;

    $sql = "SELECT notify_status
    FROM " . TOPICS_WATCH_TABLE . "
    WHERE topic_id = $topic_id
    AND user_id = " . $userdata['user_id'];
    if ( !($result = $db->sql_query($sql)) )
    {
    message_die(GENERAL_ERROR, "Could not obtain topic watch information", '', __LINE__, __FILE__, $sql);
    }

    if ( $row = $db->sql_fetchrow($result) )
    {
    if ( isset($HTTP_GET_VARS['unwatch']) )
    {
    if ( $HTTP_GET_VARS['unwatch'] == 'topic' )
    {
    $is_watching_topic = 0;

    $sql_priority = (SQL_LAYER == "mysql") ? "LOW_PRIORITY" : '';
    $sql = "DELETE $sql_priority FROM " . TOPICS_WATCH_TABLE . "
    WHERE topic_id = $topic_id
    AND user_id = " . $userdata['user_id'];
    if ( !($result = $db->sql_query($sql)) )
    {
    message_die(GENERAL_ERROR, "Could not delete topic watch information", '', __LINE__, __FILE__, $sql);
    }
    }

    $template->assign_vars(array(
    'META' => '<meta http-equiv="refresh" content="3;url=' . append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&start=$start") . '">')
    );

    $message = $lang['No_longer_watching'] . '<br /><br />' . sprintf($lang['Click_return_topic'], '<a href="' . append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&start=$start") . '">', '</a>');
    message_die(GENERAL_MESSAGE, $message);
    }
    else
    {
    $is_watching_topic = TRUE;

    if ( $row['notify_status'] )
    {
    $sql_priority = (SQL_LAYER == "mysql") ? "LOW_PRIORITY" : '';
    $sql = "UPDATE $sql_priority " . TOPICS_WATCH_TABLE . "
    SET notify_status = 0
    WHERE topic_id = $topic_id
    AND user_id = " . $userdata['user_id'];
    if ( !($result = $db->sql_query($sql)) )
    {
    message_die(GENERAL_ERROR, "Could not update topic watch information", '', __LINE__, __FILE__, $sql);
    }
    }
    }
    }
    else
    {
    if ( isset($HTTP_GET_VARS['watch']) )
    {
    if ( $HTTP_GET_VARS['watch'] == 'topic' )
    {
    $is_watching_topic = TRUE;

    $sql_priority = (SQL_LAYER == "mysql") ? "LOW_PRIORITY" : '';
    $sql = "INSERT $sql_priority INTO " . TOPICS_WATCH_TABLE . " (user_id, topic_id, notify_status)
    VALUES (" . $userdata['user_id'] . ", $topic_id, 0)";
    if ( !($result = $db->sql_query($sql)) )
    {
    message_die(GENERAL_ERROR, "Could not insert topic watch information", '', __LINE__, __FILE__, $sql);
    }
    }

    $template->assign_vars(array(
    'META' => '<meta http-equiv="refresh" content="3;url=' . append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&start=$start") . '">')
    );

    $message = $lang['You_are_watching'] . '<br /><br />' . sprintf($lang['Click_return_topic'], '<a href="' . append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&start=$start") . '">', '</a>');
    message_die(GENERAL_MESSAGE, $message);
    }
    else
    {
    $is_watching_topic = 0;
    }
    }
    }
    else
    {
    if ( isset($HTTP_GET_VARS['unwatch']) )
    {
    if ( $HTTP_GET_VARS['unwatch'] == 'topic' )
    {
    $header_location = ( @preg_match("/Microsoft|WebSTAR|Xitami/", getenv("SERVER_SOFTWARE")) ) ? "Refresh: 0; URL=" : "Location: ";
    header($header_location . append_sid("login.$phpEx?redirect=viewtopic.$phpEx&" . POST_TOPIC_URL . "=$topic_id&unwatch=topic", true));
    exit;
    }
    }
    else
    {
    $can_watch_topic = 0;
    $is_watching_topic = 0;
    }
    }

    //
    // Generate a 'Show posts in previous x days' select box. If the postdays var is POSTed
    // then get it's value, find the number of topics with dates newer than it (to properly
    // handle pagination) and alter the main query
    //
    $previous_days = array(0, 1, 7, 14, 30, 90, 180, 364);
    $previous_days_text = array($lang['All_Posts'], $lang['1_Day'], $lang['7_Days'], $lang['2_Weeks'], $lang['1_Month'], $lang['3_Months'], $lang['6_Months'], $lang['1_Year']);

    if( !empty($HTTP_POST_VARS['postdays']) || !empty($HTTP_GET_VARS['postdays']) )
    {
    $post_days = ( !empty($HTTP_POST_VARS['postdays']) ) ? $HTTP_POST_VARS['postdays'] : $HTTP_GET_VARS['postdays'];
    $min_post_time = time() - ($post_days * 86400);

    $sql = "SELECT COUNT(p.post_id) AS num_posts
    FROM " . TOPICS_TABLE . " t, " . POSTS_TABLE . " p
    WHERE t.topic_id = $topic_id
    AND p.topic_id = t.topic_id
    AND p.post_time >= $min_post_time";
    if ( !($result = $db->sql_query($sql)) )
    {
    message_die(GENERAL_ERROR, "Could not obtain limited topics count information", '', __LINE__, __FILE__, $sql);
    }

    $total_replies = ( $row = $db->sql_fetchrow($result) ) ? $row['num_posts'] : 0;

    $limit_posts_time = "AND p.post_time >= $min_post_time ";

    if ( !empty($HTTP_POST_VARS['postdays']))
    {
    $start = 0;
    }
    }
    else
    {
    $total_replies = $forum_topic_data['topic_replies'] + 1;

    $limit_posts_time = '';
    $post_days = 0;
    }

    $select_post_days = '<select name="postdays">';
    for($i = 0; $i < count($previous_days); $i++)
    {
    $selected = ($post_days == $previous_days[$i]) ? ' selected="selected"' : '';
    $select_post_days .= '<option value="' . $previous_days[$i] . '"' . $selected . '>' . $previous_days_text[$i] . '</option>';
    }
    $select_post_days .= '</select>';

    //
    // Decide how to order the post display
    //
    if ( !empty($HTTP_POST_VARS['postorder']) || !empty($HTTP_GET_VARS['postorder']) )
    {
    $post_order = (!empty($HTTP_POST_VARS['postorder'])) ? $HTTP_POST_VARS['postorder'] : $HTTP_GET_VARS['postorder'];
    $post_time_order = ($post_order == "asc") ? "ASC" : "DESC";
    }
    else
    {
    $post_order = 'asc';
    $post_time_order = 'ASC';
    }

    $select_post_order = '<select name="postorder">';
    if ( $post_time_order == 'ASC' )
    {
    $select_post_order .= '<option value="asc" selected="selected">' . $lang['Oldest_First'] . '</option><option value="desc">' . $lang['Newest_First'] . '</option>';
    }
    else
    {
    $select_post_order .= '<option value="asc">' . $lang['Oldest_First'] . '</option><option value="desc" selected="selected">' . $lang['Newest_First'] . '</option>';
    }
    $select_post_order .= '</select>';

    //
    // Go ahead and pull all data for this topic
    //
    $sql = "SELECT u.username, u.user_id, u.user_posts, u.user_from, u.user_website, u.user_email, u.user_icq, u.user_aim, u.user_yim, u.user_regdate, u.user_msnm, u.user_viewemail, u.user_rank, u.user_sig, u.user_sig_bbcode_uid, u.user_avatar, u.user_avatar_type, u.user_allowavatar, u.user_allowsmile, u.user_points, p.*, pt.post_text, pt.post_subject, pt.bbcode_uid
    FROM " . POSTS_TABLE . " p, " . USERS_TABLE . " u, " . POSTS_TEXT_TABLE . " pt
    WHERE p.topic_id = $topic_id
    $limit_posts_time
    AND pt.post_id = p.post_id
    AND u.user_id = p.poster_id
    ORDER BY p.post_time $post_time_order
    LIMIT $start, ".$board_config['posts_per_page'];
    if ( !($result = $db->sql_query($sql)) )
    {
    message_die(GENERAL_ERROR, "Could not obtain post/user information.", '', __LINE__, __FILE__, $sql);
    }

    if ( $row = $db->sql_fetchrow($result) )
    {
    $postrow = array();
    do
    {
    $postrow[] = $row;
    }
    while ( $row = $db->sql_fetchrow($result) );
    $db->sql_freeresult($result);

    $total_posts = count($postrow);
    }
    else
    {
    message_die(GENERAL_MESSAGE, $lang['No_posts_topic']);
    }

    $sql = "SELECT *
    FROM " . RANKS_TABLE . "
    ORDER BY rank_special, rank_min";
    if ( !($result = $db->sql_query($sql)) )
    {
    message_die(GENERAL_ERROR, "Could not obtain ranks information.", '', __LINE__, __FILE__, $sql);
    }

    $ranksrow = array();
    while ( $row = $db->sql_fetchrow($result) )
    {
    $ranksrow[] = $row;
    }
    $db->sql_freeresult($result);

    //
    // Define censored word matches
    //
    $orig_word = array();
    $replacement_word = array();
    obtain_word_list($orig_word, $replacement_word);

    //
    // Censor topic title
    //
    if ( count($orig_word) )
    {
    $topic_title = preg_replace($orig_word, $replacement_word, $topic_title);
    }

    //
    // Was a highlight request part of the URI? Yes, this idea was
    // taken from vB but we did already have a highlighter in place
    // in search itself ... it's just been extended a bit!
    //
    if ( isset($HTTP_GET_VARS['highlight']) )
    {
    $highlight_match = array();

    //
    // Split words and phrases
    //
    $words = explode(' ', trim(urldecode($HTTP_GET_VARS['highlight'])));

    for($i = 0; $i < count($words); $i++)
    {
    if ( trim($words[$i]) != '' )
    {
    $highlight_match[] = '#\b(' . str_replace("*", "([\w]+)?", $words[$i]) . ')\b#is';
    }
    }

    $highlight_active = ( count($highlight_match) ) ? true : false;
    }
    else
    {
    $highlight_active = false;
    }

    //
    // Post, reply and other URL generation for
    // templating vars
    //
    $new_topic_url = append_sid("posting.$phpEx?mode=newtopic&" . POST_FORUM_URL . "=$forum_id");
    $reply_topic_url = append_sid("posting.$phpEx?mode=reply&" . POST_TOPIC_URL . "=$topic_id");
    $view_forum_url = append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id");
    $view_prev_topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&view=previous");
    $view_next_topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&view=next");

    //
    // Mozilla navigation bar
    //
    $nav_links['prev'] = array(
    'url' => $view_prev_topic_url,
    'title' => $lang['View_previous_topic']
    );
    $nav_links['next'] = array(
    'url' => $view_next_topic_url,
    'title' => $lang['View_next_topic']
    );
    $nav_links['up'] = array(
    'url' => $view_forum_url,
    'title' => $forum_name
    );

    $reply_img = ( $forum_topic_data['forum_status'] == FORUM_LOCKED || $forum_topic_data['topic_status'] == TOPIC_LOCKED ) ? $images['reply_locked'] : $images['reply_new'];
    $reply_alt = ( $forum_topic_data['forum_status'] == FORUM_LOCKED || $forum_topic_data['topic_status'] == TOPIC_LOCKED ) ? $lang['Topic_locked'] : $lang['Reply_to_topic'];
    $post_img = ( $forum_topic_data['forum_status'] == FORUM_LOCKED ) ? $images['post_locked'] : $images['post_new'];
    $post_alt = ( $forum_topic_data['forum_status'] == FORUM_LOCKED ) ? $lang['Forum_locked'] : $lang['Post_new_topic'];

    //
    // Set a cookie for this topic
    //
    if ( $userdata['session_logged_in'] )
    {
    $tracking_topics = ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_t']) ) ? unserialize($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_t']) : array();
    $tracking_forums = ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_f']) ) ? unserialize($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_f']) : array();

    if ( !empty($tracking_topics[$topic_id]) && !empty($tracking_forums[$forum_id]) )
    {
    $topic_last_read = ( $tracking_topics[$topic_id] > $tracking_forums[$forum_id] ) ? $tracking_topics[$topic_id] : $tracking_forums[$forum_id];
    }
    else if ( !empty($tracking_topics[$topic_id]) || !empty($tracking_forums[$forum_id]) )
    {
    $topic_last_read = ( !empty($tracking_topics[$topic_id]) ) ? $tracking_topics[$topic_id] : $tracking_forums[$forum_id];
    }
    else
    {
    $topic_last_read = $userdata['user_lastvisit'];
    }

    if ( count($tracking_topics) >= 150 && empty($tracking_topics[$topic_id]) )
    {
    asort($tracking_topics);
    unset($tracking_topics[key($tracking_topics)]);
    }

    $tracking_topics[$topic_id] = time();

    setcookie($board_config['cookie_name'] . '_t', serialize($tracking_topics), 0, $board_config['cookie_path'], $board_config['cookie_domain'], $board_config['cookie_secure']);
    }

    //
    // Load templates
    //
    $template->set_filenames(array(
    'body' => 'viewtopic_body.tpl')
    );
    make_jumpbox('viewforum.'.$phpEx, $forum_id);

    //
    // Output page header
    //
    $page_title = $lang['View_topic'] .' - ' . $topic_title;
    include($phpbb_root_path . 'includes/page_header.'.$phpEx);

    //
    // User authorisation levels output
    //
    $s_auth_can = ( ( $is_auth['auth_post'] ) ? $lang['Rules_post_can'] : $lang['Rules_post_cannot'] ) . '<br />';
    $s_auth_can .= ( ( $is_auth['auth_reply'] ) ? $lang['Rules_reply_can'] : $lang['Rules_reply_cannot'] ) . '<br />';
    $s_auth_can .= ( ( $is_auth['auth_edit'] ) ? $lang['Rules_edit_can'] : $lang['Rules_edit_cannot'] ) . '<br />';
    $s_auth_can .= ( ( $is_auth['auth_delete'] ) ? $lang['Rules_delete_can'] : $lang['Rules_delete_cannot'] ) . '<br />';
    $s_auth_can .= ( ( $is_auth['auth_vote'] ) ? $lang['Rules_vote_can'] : $lang['Rules_vote_cannot'] ) . '<br />';

    if ( $is_auth['auth_mod'] )
    {
    $s_auth_can .= sprintf($lang['Rules_moderate'], '<a href="' . append_sid("modcp.$phpEx?" . POST_FORUM_URL . "=$forum_id") . '">', '</a>');

    $topic_mod = '<a href="' . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=delete") . '"><img src="' . $images['topic_mod_delete'] . '" alt="' . $lang['Delete_topic'] . '" title="' . $lang['Delete_topic'] . '" border="0" /></a>&nbsp;';

    $topic_mod .= '<a href="' . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=move"). '"><img src="' . $images['topic_mod_move'] . '" alt="' . $lang['Move_topic'] . '" title="' . $lang['Move_topic'] . '" border="0" /></a>&nbsp;';

    $topic_mod .= ( $forum_topic_data['topic_status'] == TOPIC_UNLOCKED ) ? '<a href="' . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=lock") . '"><img src="' . $images['topic_mod_lock'] . '" alt="' . $lang['Lock_topic'] . '" title="' . $lang['Lock_topic'] . '" border="0" /></a>&nbsp;' : '<a href="' . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=unlock") . '"><img src="' . $images['topic_mod_unlock'] . '" alt="' . $lang['Unlock_topic'] . '" title="' . $lang['Unlock_topic'] . '" border="0" /></a>&nbsp;';

    $topic_mod .= '<a href="' . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=split") . '"><img src="' . $images['topic_mod_split'] . '" alt="' . $lang['Split_topic'] . '" title="' . $lang['Split_topic'] . '" border="0" /></a>&nbsp;';
    }

    //
    // Topic watch information
    //
    $s_watching_topic = '';
    if ( $can_watch_topic )
    {
    if ( $is_watching_topic )
    {
    $s_watching_topic = '<a href="' . append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&unwatch=topic&start=$start") . '">' . $lang['Stop_watching_topic'] . '</a>';
    $s_watching_topic_img = ( isset($images['Topic_un_watch']) ) ? '<a href="' . append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&unwatch=topic&start=$start") . '"><img src="' . $images['Topic_un_watch'] . '" alt="' . $lang['Stop_watching_topic'] . '" title="' . $lang['Stop_watching_topic'] . '" border="0"></a>' : '';
    }
    else
    {
    $s_watching_topic = '<a href="' . append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&watch=topic&start=$start") . '">' . $lang['Start_watching_topic'] . '</a>';
    $s_watching_topic_img = ( isset($images['Topic_watch']) ) ? '<a href="' . append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&watch=topic&start=$start") . '"><img src="' . $images['Topic_watch'] . '" alt="' . $lang['Stop_watching_topic'] . '" title="' . $lang['Start_watching_topic'] . '" border="0"></a>' : '';
    }
    }

    //
    // If we've got a hightlight set pass it on to pagination,
    // I get annoyed when I lose my highlight after the first page.
    //
    $pagination = ( $highlight_active ) ? generate_pagination("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&postdays=$post_days&postorder=$post_order&highlight=" . $HTTP_GET_VARS['highlight'], $total_replies, $board_config['posts_per_page'], $start) : generate_pagination("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&postdays=$post_days&postorder=$post_order", $total_replies, $board_config['posts_per_page'], $start);

    //
    // Send vars to template
    //
    $template->assign_vars(array(
    'FORUM_ID' => $forum_id,
    'FORUM_NAME' => $forum_name,
    'TOPIC_ID' => $topic_id,
    'TOPIC_TITLE' => $topic_title,
    'PAGINATION' => $pagination,
    'PAGE_NUMBER' => sprintf($lang['Page_of'], ( floor( $start / $board_config['posts_per_page'] ) + 1 ), ceil( $total_replies / $board_config['posts_per_page'] )),

    'POST_IMG' => $post_img,
    'REPLY_IMG' => $reply_img,

    'L_AUTHOR' => $lang['Author'],
    'L_MESSAGE' => $lang['Message'],
    'L_POSTED' => $lang['Posted'],
    'L_POST_SUBJECT' => $lang['Post_subject'],
    'L_VIEW_NEXT_TOPIC' => $lang['View_next_topic'],
    'L_VIEW_PREVIOUS_TOPIC' => $lang['View_previous_topic'],
    'L_POST_NEW_TOPIC' => $post_alt,
    'L_POST_REPLY_TOPIC' => $reply_alt,
    'L_BACK_TO_TOP' => $lang['Back_to_top'],
    'L_DISPLAY_POSTS' => $lang['Display_posts'],
    'L_LOCK_TOPIC' => $lang['Lock_topic'],
    'L_UNLOCK_TOPIC' => $lang['Unlock_topic'],
    'L_MOVE_TOPIC' => $lang['Move_topic'],
    'L_SPLIT_TOPIC' => $lang['Split_topic'],
    'L_DELETE_TOPIC' => $lang['Delete_topic'],
    'L_GOTO_PAGE' => $lang['Goto_page'],

    'S_TOPIC_LINK' => POST_TOPIC_URL,
    'S_SELECT_POST_DAYS' => $select_post_days,
    'S_SELECT_POST_ORDER' => $select_post_order,
    'S_POST_DAYS_ACTION' => append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . '=' . $topic_id . "&start=$start"),
    'S_AUTH_LIST' => $s_auth_can,
    'S_TOPIC_ADMIN' => $topic_mod,
    'S_WATCH_TOPIC' => $s_watching_topic,

    'U_VIEW_TOPIC' => append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&start=$start&postdays=$post_days&postorder=$post_order&highlight=" . $HTTP_GET_VARS['highlight']),
    'U_VIEW_FORUM' => $view_forum_url,
    'U_VIEW_OLDER_TOPIC' => $view_prev_topic_url,
    'U_VIEW_NEWER_TOPIC' => $view_next_topic_url,
    'U_POST_NEW_TOPIC' => $new_topic_url,
    'U_POST_REPLY_TOPIC' => $reply_topic_url)
    );

    //
    // Does this topic contain a poll?
    //
    if ( !empty($forum_topic_data['topic_vote']) )
    {
    $sql = "SELECT vd.vote_id, vd.vote_text, vd.vote_start, vd.vote_length, vr.vote_option_id, vr.vote_option_text, vr.vote_result
    FROM " . VOTE_DESC_TABLE . " vd, " . VOTE_RESULTS_TABLE . " vr
    WHERE vd.topic_id = $topic_id
    AND vr.vote_id = vd.vote_id
    ORDER BY vr.vote_option_id ASC";
    if ( !($result = $db->sql_query($sql)) )
    {
    message_die(GENERAL_ERROR, "Could not obtain vote data for this topic", '', __LINE__, __FILE__, $sql);
    }

    if ( $vote_info = $db->sql_fetchrowset($result) )
    {
    $db->sql_freeresult($result);
    $vote_options = count($vote_info);

    $vote_id = $vote_info[0]['vote_id'];
    $vote_title = $vote_info[0]['vote_text'];

    $sql = "SELECT vote_id
    FROM " . VOTE_USERS_TABLE . "
    WHERE vote_id = $vote_id
    AND vote_user_id = " . $userdata['user_id'];
    if ( !($result = $db->sql_query($sql)) )
    {
    message_die(GENERAL_ERROR, "Could not obtain user vote data for this topic", '', __LINE__, __FILE__, $sql);
    }

    $user_voted = ( $row = $db->sql_fetchrow($result) ) ? TRUE : 0;
    $db->sql_freeresult($result);

    if ( isset($HTTP_GET_VARS['vote']) || isset($HTTP_POST_VARS['vote']) )
    {
    $view_result = ( ( ( isset($HTTP_GET_VARS['vote']) ) ? $HTTP_GET_VARS['vote'] : $HTTP_POST_VARS['vote'] ) == 'viewresult' ) ? TRUE : 0;
    }
    else
    {
    $view_result = 0;
    }

    $poll_expired = ( $vote_info[0]['vote_length'] ) ? ( ( $vote_info[0]['vote_start'] + $vote_info[0]['vote_length'] < time() ) ? TRUE : 0 ) : 0;

    if ( $user_voted || $view_result || $poll_expired || !$is_auth['auth_vote'] || $forum_topic_data['topic_status'] == TOPIC_LOCKED )
    {
    $template->set_filenames(array(
    'pollbox' => 'viewtopic_poll_result.tpl')
    );

    $vote_results_sum = 0;

    for($i = 0; $i < $vote_options; $i++)
    {
    $vote_results_sum += $vote_info[$i]['vote_result'];
    }

    $vote_graphic = 0;
    $vote_graphic_max = count($images['voting_graphic']);

    for($i = 0; $i < $vote_options; $i++)
    {
    $vote_percent = ( $vote_results_sum > 0 ) ? $vote_info[$i]['vote_result'] / $vote_results_sum : 0;
    $vote_graphic_length = round($vote_percent * $board_config['vote_graphic_length']);

    $vote_graphic_img = $images['voting_graphic'][$vote_graphic];
    $vote_graphic = ($vote_graphic < $vote_graphic_max - 1) ? $vote_graphic + 1 : 0;

    if ( count($orig_word) )
    {
    $vote_info[$i]['vote_option_text'] = preg_replace($orig_word, $replacement_word, $vote_info[$i]['vote_option_text']);
    }

    $template->assign_block_vars("poll_option", array(
    'POLL_OPTION_CAPTION' => $vote_info[$i]['vote_option_text'],
    'POLL_OPTION_RESULT' => $vote_info[$i]['vote_result'],
    'POLL_OPTION_PERCENT' => sprintf("%.1d%%", ($vote_percent * 100)),

    'POLL_OPTION_IMG' => $vote_graphic_img,
    'POLL_OPTION_IMG_WIDTH' => $vote_graphic_length)
    );
    }

    $template->assign_vars(array(
    'L_TOTAL_VOTES' => $lang['Total_votes'],
    'TOTAL_VOTES' => $vote_results_sum)
    );

    }
    else
    {
    $template->set_filenames(array(
    'pollbox' => 'viewtopic_poll_ballot.tpl')
    );

    for($i = 0; $i < $vote_options; $i++)
    {
    if ( count($orig_word) )
    {
    $vote_info[$i]['vote_option_text'] = preg_replace($orig_word, $replacement_word, $vote_info[$i]['vote_option_text']);
    }

    $template->assign_block_vars("poll_option", array(
    'POLL_OPTION_ID' => $vote_info[$i]['vote_option_id'],
    'POLL_OPTION_CAPTION' => $vote_info[$i]['vote_option_text'])
    );
    }

    $template->assign_vars(array(
    'L_SUBMIT_VOTE' => $lang['Submit_vote'],
    'L_VIEW_RESULTS' => $lang['View_results'],

    'U_VIEW_RESULTS' => append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&postdays=$post_days&postorder=$post_order&vote=viewresult"))
    );

    $s_hidden_fields = '<input type="hidden" name="topic_id" value="' . $topic_id . '"><input type="hidden" name="mode" value="vote">';
    }

    if ( count($orig_word) )
    {
    $vote_title = preg_replace($orig_word, $replacement_word, $vote_title);
    }

    $template->assign_vars(array(
    'POLL_QUESTION' => $vote_title,

    'S_HIDDEN_FIELDS' => ( !empty($s_hidden_fields) ) ? $s_hidden_fields : '',
    'S_POLL_ACTION' => append_sid("posting.$phpEx?" . POST_TOPIC_URL . "=$topic_id"))
    );

    $template->assign_var_from_handle('POLL_DISPLAY', 'pollbox');
    }
    }

    //
    // Update the topic view counter
    //
    $sql = "UPDATE " . TOPICS_TABLE . "
    SET topic_views = topic_views + 1
    WHERE topic_id = $topic_id";
    if ( !$db->sql_query($sql) )
    {
    message_die(GENERAL_ERROR, "Could not update topic views.", '', __LINE__, __FILE__, $sql);
    }

    //
    // Okay, let's do the loop, yeah come on baby let's do the loop
    // and it goes like this ...
    //
    for($i = 0; $i < $total_posts; $i++)
    {
    $poster_id = $postrow[$i]['user_id'];
    $poster = ( $poster_id == ANONYMOUS ) ? $lang['Guest'] : $postrow[$i]['username'];

    $post_date = create_date($board_config['default_dateformat'], $postrow[$i]['post_time'], $board_config['board_timezone']);

    $poster_posts = ( $postrow[$i]['user_id'] != ANONYMOUS ) ? $lang['Posts'] . ': ' . $postrow[$i]['user_posts'] : '';

    $poster_from = ( $postrow[$i]['user_from'] && $postrow[$i]['user_id'] != ANONYMOUS ) ? $lang['Location'] . ': ' . $postrow[$i]['user_from'] : '';

    $poster_joined = ( $postrow[$i]['user_id'] != ANONYMOUS ) ? $lang['Joined'] . ': ' . create_date($lang['DATE_FORMAT'], $postrow[$i]['user_regdate'], $board_config['board_timezone']) : '';

    $poster_avatar = '';
    if ( $postrow[$i]['user_avatar_type'] && $poster_id != ANONYMOUS && $postrow[$i]['user_allowavatar'] )
    {
    switch( $postrow[$i]['user_avatar_type'] )
    {
    case USER_AVATAR_UPLOAD:
    $poster_avatar = ( $board_config['allow_avatar_upload'] ) ? '<img src="' . $board_config['avatar_path'] . '/' . $postrow[$i]['user_avatar'] . '" alt="" border="0" />' : '';
    break;
    case USER_AVATAR_REMOTE:
    $poster_avatar = ( $board_config['allow_avatar_remote'] ) ? '<img src="' . $postrow[$i]['user_avatar'] . '" alt="" border="0" />' : '';
    break;
    case USER_AVATAR_GALLERY:
    $poster_avatar = ( $board_config['allow_avatar_local'] ) ? '<img src="' . $board_config['avatar_gallery_path'] . '/' . $postrow[$i]['user_avatar'] . '" alt="" border="0" />' : '';
    break;
    }
    }

    //
    // Define the little post icon
    //
    if ( $userdata['session_logged_in'] && $postrow[$i]['post_time'] > $userdata['user_lastvisit'] && $postrow[$i]['post_time'] > $topic_last_read )
    {
    $mini_post_img = $images['icon_minipost_new'];
    $mini_post_alt = $lang['New_post'];
    }
    else
    {
    $mini_post_img = $images['icon_minipost'];
    $mini_post_alt = $lang['Post'];
    }

    $mini_post_url = append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $postrow[$i]['post_id']) . '#' . $postrow[$i]['post_id'];

    //
    // Generate ranks, set them to empty string initially.
    //
    $poster_rank = '';
    $rank_image = '';
    if ( $postrow[$i]['user_id'] == ANONYMOUS )
    {
    }
    else if ( $postrow[$i]['user_rank'] )
    {
    for($j = 0; $j < count($ranksrow); $j++)
    {
    if ( $postrow[$i]['user_rank'] == $ranksrow[$j]['rank_id'] && $ranksrow[$j]['rank_special'] )
    {
    $poster_rank = $ranksrow[$j]['rank_title'];
    $rank_image = ( $ranksrow[$j]['rank_image'] ) ? '<img src="' . $ranksrow[$j]['rank_image'] . '" alt="' . $poster_rank . '" title="' . $poster_rank . '" border="0" /><br />' : '';
    }
    }
    }
    else
    {
    for($j = 0; $j < count($ranksrow); $j++)
    {
    if ( $postrow[$i]['user_posts'] >= $ranksrow[$j]['rank_min'] && !$ranksrow[$j]['rank_special'] )
    {
    $poster_rank = $ranksrow[$j]['rank_title'];
    $rank_image = ( $ranksrow[$j]['rank_image'] ) ? '<img src="' . $ranksrow[$j]['rank_image'] . '" alt="' . $poster_rank . '" title="' . $poster_rank . '" border="0" /><br />' : '';
    }
    }
    }

    //
    // Handle anon users posting with usernames
    //
    if ( $poster_id == ANONYMOUS && $postrow[$i]['post_username'] != '' )
    {
    $poster = $postrow[$i]['post_username'];
    $poster_rank = $lang['Guest'];
    }

    $temp_url = '';

    if ( $poster_id != ANONYMOUS )
    {
    $temp_url = append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$poster_id");
    $profile_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_profile'] . '" alt="' . $lang['Read_profile'] . '" title="' . $lang['Read_profile'] . '" border="0" /></a>';
    $profile = '<a href="' . $temp_url . '">' . $lang['Read_profile'] . '</a>';

    $temp_url = append_sid("privmsg.$phpEx?mode=post&" . POST_USERS_URL . "=$poster_id");
    $pm_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_pm'] . '" alt="' . $lang['Send_private_message'] . '" title="' . $lang['Send_private_message'] . '" border="0" /></a>';
    $pm = '<a href="' . $temp_url . '">' . $lang['Send_private_message'] . '</a>';

    if ( !empty($postrow[$i]['user_viewemail']) || $is_auth['auth_mod'] )
    {
    $email_uri = ( $board_config['board_email_form'] ) ? append_sid("profile.$phpEx?mode=email&" . POST_USERS_URL .'=' . $poster_id) : 'mailto:' . $postrow[$i]['user_email'];

    $email_img = '<a href="' . $email_uri . '"><img src="' . $images['icon_email'] . '" alt="' . $lang['Send_email'] . '" title="' . $lang['Send_email'] . '" border="0" /></a>';
    $email = '<a href="' . $email_uri . '">' . $lang['Send_email'] . '</a>';
    }
    else
    {
    $email_img = '';
    $email = '';
    }

    $www_img = ( $postrow[$i]['user_website'] ) ? '<a href="' . $postrow[$i]['user_website'] . '" target="_userwww"><img src="' . $images['icon_www'] . '" alt="' . $lang['Visit_website'] . '" title="' . $lang['Visit_website'] . '" border="0" /></a>' : '';
    $www = ( $postrow[$i]['user_website'] ) ? '<a href="' . $postrow[$i]['user_website'] . '" target="_userwww">' . $lang['Visit_website'] . '</a>' : '';

    if ( !empty($postrow[$i]['user_icq']) )
    {
    $icq_status_img = '<a href="http://wwp.icq.com/' . $postrow[$i]['user_icq'] . '#pager"><img src="http://web.icq.com/whitepages/online?icq=' . $postrow[$i]['user_icq'] . '&img=5" width="18" height="18" border="0" /></a>';
    $icq_img = '<a href="http://wwp.icq.com/scripts/search.dll?to=' . $postrow[$i]['user_icq'] . '"><img src="' . $images['icon_icq'] . '" alt="' . $lang['ICQ'] . '" title="' . $lang['ICQ'] . '" border="0" /></a>';
    $icq = '<a href="http://wwp.icq.com/scripts/search.dll?to=' . $postrow[$i]['user_icq'] . '">' . $lang['ICQ'] . '</a>';
    }
    else
    {
    $icq_status_img = '';
    $icq_img = '';
    $icq = '';
    }

    $aim_img = ( $postrow[$i]['user_aim'] ) ? '<a href="aim:goim?screenname=' . $postrow[$i]['user_aim'] . '&message=Hello+Are+you+there?"><img src="' . $images['icon_aim'] . '" alt="' . $lang['AIM'] . '" title="' . $lang['AIM'] . '" border="0" /></a>' : '';
    $aim = ( $postrow[$i]['user_aim'] ) ? '<a href="aim:goim?screenname=' . $postrow[$i]['user_aim'] . '&message=Hello+Are+you+there?">' . $lang['AIM'] . '</a>' : '';

    $temp_url = append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$poster_id");
    $msn_img = ( $postrow[$i]['user_msnm'] ) ? '<a href="' . $temp_url . '"><img src="' . $images['icon_msnm'] . '" alt="' . $lang['MSNM'] . '" title="' . $lang['MSNM'] . '" border="0" /></a>' : '';
    $msn = ( $postrow[$i]['user_msnm'] ) ? '<a href="' . $temp_url . '">' . $lang['MSNM'] . '</a>' : '';

    $yim_img = ( $postrow[$i]['user_yim'] ) ? '<a href="http://edit.yahoo.com/config/send_webmesg?.target=' . $postrow[$i]['user_yim'] . '&.src=pg"><img src="' . $images['icon_yim'] . '" alt="' . $lang['YIM'] . '" title="' . $lang['YIM'] . '" border="0" /></a>' : '';
    $yim = ( $postrow[$i]['user_yim'] ) ? '<a href="http://edit.yahoo.com/config/send_webmesg?.target=' . $postrow[$i]['user_yim'] . '&.src=pg">' . $lang['YIM'] . '</a>' : '';
    }
    else
    {
    $profile_img = '';
    $profile = '';
    $pm_img = '';
    $pm = '';
    $email_img = '';
    $email = '';
    $www_img = '';
    $www = '';
    $icq_status_img = '';
    $icq_img = '';
    $icq = '';
    $aim_img = '';
    $aim = '';
    $msn_img = '';
    $msn = '';
    $yim_img = '';
    $yim = '';
    }

    $temp_url = append_sid("posting.$phpEx?mode=quote&" . POST_POST_URL . "=" . $postrow[$i]['post_id']);
    $quote_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_quote'] . '" alt="' . $lang['Reply_with_quote'] . '" title="' . $lang['Reply_with_quote'] . '" border="0" /></a>';
    $quote = '<a href="' . $temp_url . '">' . $lang['Reply_with_quote'] . '</a>';

    $temp_url = append_sid("search.$phpEx?search_author=" . urlencode($postrow[$i]['username']) . "&showresults=posts");
    $search_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_search'] . '" alt="' . $lang['Search_user_posts'] . '" title="' . $lang['Search_user_posts'] . '" border="0" /></a>';
    $search = '<a href="' . $temp_url . '">' . $lang['Search_user_posts'] . '</a>';

    if ( ( $userdata['user_id'] == $poster_id && $is_auth['auth_edit'] ) || $is_auth['auth_mod'] )
    {
    $temp_url = append_sid("posting.$phpEx?mode=editpost&" . POST_POST_URL . "=" . $postrow[$i]['post_id']);
    $edit_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_edit'] . '" alt="' . $lang['Edit_delete_post'] . '" title="' . $lang['Edit_delete_post'] . '" border="0" /></a>';
    $edit = '<a href="' . $temp_url . '">' . $lang['Edit_delete_post'] . '</a>';
    }
    else
    {
    $edit_img = '';
    $edit = '';
    }

    if ( $is_auth['auth_mod'] )
    {
    $temp_url = append_sid("modcp.$phpEx?mode=ip&" . POST_POST_URL . "=" . $postrow[$i]['post_id'] . "&" . POST_TOPIC_URL . "=" . $topic_id);
    $ip_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_ip'] . '" alt="' . $lang['View_IP'] . '" title="' . $lang['View_IP'] . '" border="0" /></a>';
    $ip = '<a href="' . $temp_url . '">' . $lang['View_IP'] . '</a>';

    $temp_url = append_sid("posting.$phpEx?mode=delete&" . POST_POST_URL . "=" . $postrow[$i]['post_id']);
    $delpost_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_delpost'] . '" alt="' . $lang['Delete_post'] . '" title="' . $lang['Delete_post'] . '" border="0" /></a>';
    $delpost = '<a href="' . $temp_url . '">' . $lang['Delete_post'] . '</a>';
    }
    else
    {
    $ip_img = '';
    $ip = '';

    if ( $userdata['user_id'] == $poster_id && $is_auth['auth_delete'] && $forum_topic_data['topic_last_post_id'] == $postrow[$i]['post_id'] )
    {
    $temp_url = append_sid("posting.$phpEx?mode=delete&" . POST_POST_URL . "=" . $postrow[$i]['post_id']);
    $delpost_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_delpost'] . '" alt="' . $lang['Delete_post'] . '" title="' . $lang['Delete_post'] . '" border="0" /></a>';
    $delpost = '<a href="' . $temp_url . '">' . $lang['Delete_post'] . '</a>';
    }
    else
    {
    $delpost_img = '';
    $delpost = '';
    }
    }

    $post_subject = ( $postrow[$i]['post_subject'] != '' ) ? $postrow[$i]['post_subject'] : '';

    $message = $postrow[$i]['post_text'];
    $bbcode_uid = $postrow[$i]['bbcode_uid'];

    $user_sig = ( $postrow[$i]['enable_sig'] && $postrow[$i]['user_sig'] != '' && $board_config['allow_sig'] ) ? $postrow[$i]['user_sig'] : '';
    $user_sig_bbcode_uid = $postrow[$i]['user_sig_bbcode_uid'];
    if( $poster_id != ANONYMOUS )
    {
    $user_points = ( $userdata['user_level'] == ADMIN || $userdata['user_level'] == MOD ) ? '<a href="' . append_sid("pointscp.$phpEx?" . POST_USERS_URL . "=" . $postrow[$i]['user_id']) . '" class="gensmall" title="' . sprintf($lang['Points_link_title'], $board_config['points_name']) . '">' . $board_config['points_name'] . '</a>' : $board_config['points_name'];
    $user_points = '<br />' . $user_points . ': ' . $postrow[$i]['user_points'];

    if( $board_config['points_donate'] && $userdata['session_logged_in'] )
    {
    $donate_points = '<br />' . sprintf($lang['Points_donate'], '<a href="' . append_sid("pointscp.$phpEx?mode=donate&" . POST_USERS_URL . "=" . $postrow[$i]['user_id']) . '" class="gensmall" title="' . sprintf($lang['Points_link_title_2'], $board_config['points_name']) . '">', '</a>');
    }
    else
    {
    $donate_points = '';
    }
    }
    else
    {
    $user_points = '';
    $donate_points = '';
    }

    //
    // Note! The order used for parsing the message _is_ important, moving things around could break any
    // output
    //

    //
    // If the board has HTML off but the post has HTML
    // on then we process it, else leave it alone
    //
    if ( !$board_config['allow_html'] )
    {
    if ( $user_sig != '' && $userdata['user_allowhtml'] )
    {
    $user_sig = preg_replace('#(<)([\/]?.*?)(>)#is', "<\\2>", $user_sig);
    }

    if ( $postrow[$i]['enable_html'] )
    {
    $message = preg_replace('#(<)([\/]?.*?)(>)#is', "<\\2>", $message);
    }
    }

    //
    // Parse message and/or sig for BBCode if reqd
    //
    if ( $board_config['allow_bbcode'] )
    {
    if ( $user_sig != '' && $user_sig_bbcode_uid != '' )
    {
    $user_sig = ( $board_config['allow_bbcode'] ) ? bbencode_second_pass($user_sig, $user_sig_bbcode_uid) : preg_replace('/\:[0-9a-z\:]+\]/si', ']', $user_sig);
    }

    if ( $bbcode_uid != '' )
    {
    $message = ( $board_config['allow_bbcode'] ) ? bbencode_second_pass($message, $bbcode_uid) : preg_replace('/\:[0-9a-z\:]+\]/si', ']', $message);
    }
    }

    if ( $user_sig != '' )
    {
    $user_sig = make_clickable($user_sig);
    }
    $message = make_clickable($message);

    //
    // Highlight active words (primarily for search)
    //
    if ( $highlight_active )
    {
    if ( preg_match('/<.*>/', $message) )
    {
    $message = preg_replace($highlight_match, '<!-- #sh -->\1<!-- #eh -->', $message);

    $end_html = 0;
    $start_html = 1;
    $temp_message = '';
    $message = ' ' . $message . ' ';

    while( $start_html = strpos($message, '<', $start_html) )
    {
    $grab_length = $start_html - $end_html - 1;
    $temp_message .= substr($message, $end_html + 1, $grab_length);

    if ( $end_html = strpos($message, '>', $start_html) )
    {
    $length = $end_html - $start_html + 1;
    $hold_string = substr($message, $start_html, $length);

    if ( strrpos(' ' . $hold_string, '<') != 1 )
    {
    $end_html = $start_html + 1;
    $end_counter = 1;

    while ( $end_counter && $end_html < strlen($message) )
    {
    if ( substr($message, $end_html, 1) == '>' )
    {
    $end_counter--;
    }
    else if ( substr($message, $end_html, 1) == '<' )
    {
    $end_counter++;
    }

    $end_html++;
    }

    $length = $end_html - $start_html + 1;
    $hold_string = substr($message, $start_html, $length);
    $hold_string = str_replace('<!-- #sh -->', '', $hold_string);
    $hold_string = str_replace('<!-- #eh -->', '', $hold_string);
    }
    else if ( $hold_string == '<!-- #sh -->' )
    {
    $hold_string = str_replace('<!-- #sh -->', '<span style="color:#' . $theme['fontcolor3'] . '"><b>', $hold_string);
    }
    else if ( $hold_string == '<!-- #eh -->' )
    {
    $hold_string = str_replace('<!-- #eh -->', '</b></span>', $hold_string);
    }

    $temp_message .= $hold_string;

    $start_html += $length;
    }
    else
    {
    $start_html = strlen($message);
    }
    }

    $grab_length = strlen($message) - $end_html - 1;
    $temp_message .= substr($message, $end_html + 1, $grab_length);

    $message = trim($temp_message);
    }
    else
    {
    $message = preg_replace($highlight_match, '<span style="color:#' . $theme['fontcolor3'] . '"><b>\1</b></span>', $message);
    }
    }

    //
    // Replace naughty words
    //
    if ( count($orig_word) )
    {
    if ( $user_sig != '' )
    {
    $user_sig = preg_replace($orig_word, $replacement_word, $user_sig);
    }

    $post_subject = preg_replace($orig_word, $replacement_word, $post_subject);
    $message = preg_replace($orig_word, $replacement_word, $message);
    }

    //
    // Parse smilies
    //
    if ( $board_config['allow_smilies'] )
    {
    if ( $postrow[$i]['user_allowsmile'] && $user_sig != '' )
    {
    $user_sig = smilies_pass($user_sig);
    }

    if ( $postrow[$i]['enable_smilies'] )
    {
    $message = smilies_pass($message);
    }
    }

    //
    // Replace newlines (we use this rather than nl2br because
    // till recently it wasn't XHTML compliant)
    //
    if ( $user_sig != '' )
    {
    $user_sig = '<br />_________________<br />' . str_replace("\n", "\n<br />\n", $user_sig);
    }

    $message = str_replace("\n", "\n<br />\n", $message);

    //
    // Editing information
    //
    if ( $postrow[$i]['post_edit_count'] )
    {
    $l_edit_time_total = ( $postrow[$i]['post_edit_count'] == 1 ) ? $lang['Edited_time_total'] : $lang['Edited_times_total'];

    $l_edited_by = '<br /><br />' . sprintf($l_edit_time_total, $poster, create_date($board_config['default_dateformat'], $postrow[$i]['post_edit_time'], $board_config['board_timezone']), $postrow[$i]['post_edit_count']);
    }
    else
    {
    $l_edited_by = '';
    }

    //
    // Again this will be handled by the templating
    // code at some point
    //
    $row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
    $row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
    /* Begin HP/MP/EXP Mod
    *
    * Note: all new variables used created in this mod
    * are prefixed with level_ to be sure of not overwriting
    * other variables.
    *
    */

    /* Calculate Level
    * A user's level is determined by their total number of posts.
    * A nice mathmatical formula is used to translate their post count
    * into an intager level.
    *
    * Note: A user with zero (0) posts is considered level 0, however
    * making one (1) post, raises them to level 1.
    *
    */

    if($postrow[$i]['user_posts'] < 1)
    {
    $level_level = 0;
    }
    else
    {
    $level_level = floor( pow( log10( $postrow[$i]['user_posts'] ), 3 ) ) + 1;
    }

    /* Determine Hit Points (HP)
    *
    * Hp is based on user activity.
    * Max HP is based on the user's level, and will generally
    * be the same for all users of the same level.
    *
    * A user's current HP is based on the user's posts per day.
    * A higher post per day (ppd), the more HP they will have. A
    * user with an average PPD (set below) will have 50% of their
    * max HP. As a user goes over the average PPD, they will have
    * more HP, but the gains will decrease as the user's PPD increases.
    * This makes achieving 100% hp difficult, but not impossible.
    *
    * For users with under the average PPD, they will have HP equal
    * to 1/2 the percentage their ppd is of the average.
    * ie- a user with 2.5 ppd, and an average ppd of 5 will have
    * 25% of their max HP. This is because 2.5 is 50% of 5, and 1/2
    * of that, is 25%.
    *
    * Users who manage to post so far above the average that they have
    * more HP than their max will recieve a bonus to their max HP.
    *
    * Note that users at level 0 will always have 0 / 0 hp.
    *
    */

    /*
    * This value determines the 'average' posts per day.
    * The admin may redefine this variable as he wishes.
    * Higher values will generally decrease users' HP, and
    * lower values will generally increase users' HP.
    *
    * Note: Do NOT set this value to zero (0).
    * This -may- be set to a fractional value (eg, 5.1, 3.1415)
    *
    */

    $level_avg_ppd = 5;

    /*
    * this value sets how hard it is to achieve 100%
    * hp. The higher you set it, the harder it is to
    * get full hp.
    *
    * to judge how high to set it, a user must have
    * posts per day equal to the $level_avg_ppd plus
    * the number set below.
    *
    * This should NOT be zero.
    */

    $level_bonus_redux = 5;

    /*
    * We need to actually calculate the user's posts per day
    * because unlike in the profile, it's not done for us.
    *
    */
    $level_user_ppd = ($postrow[$i]['user_posts'] / max(1, round( ( time() - $postrow[$i]['user_regdate'] ) / 86400 )));

    if($level_level < 1)
    {
    $level_hp = "0 / 0";
    $level_hp_percent = 0;
    }
    else
    {
    $level_max_hp = floor( (pow( $level_level, (1/4) ) ) * (pow( 10, pow( $level_level+2, (1/3) ) ) ) / (1.5) );

    if($level_user_ppd >= $level_avg_ppd)
    {
    $level_hp_percent = floor( (.5 + (($level_user_ppd - $level_avg_ppd) / ($level_bonus_redux * 2)) ) * 100);
    }
    else
    {
    $level_hp_percent = floor( $level_user_ppd / ($level_avg_ppd / 50) );
    }

    if($level_hp_percent > 100)
    {
    //Give the user a bonus to max HP for greater than 100% hp.
    $level_max_hp += floor( ($level_hp_percent - 100) * pi() );
    $level_hp_percent = 100;
    }
    else
    {
    $level_hp_percent = max(0, $level_hp_percent);
    }

    $level_cur_hp = floor($level_max_hp * ($level_hp_percent / 100) );

    //Be sure a user has no more than max, and no less than zero hp.
    $level_cur_hp = max(0, $level_cur_hp);
    $level_cur_hp = min($level_max_hp, $level_cur_hp);

    $level_hp = $level_cur_hp . ' / ' . $level_max_hp;
    }

    /* Determine MP
    *
    * MP is calculated by how long the user has been around
    * and how often they post.
    *
    * Max MP is based on level, and increases with level
    * Each post a user makes costs them mp,
    * and a user regenerates mp proportional to how
    * many days they have been registered
    *
    */

    //Number of days the user has been at the forums.
    $level_user_days = max(1, round( ( time() - $postrow[$i]['user_regdate'] ) / 86400 ));

    /* The mp cost for one post.
    * Raising this value will generally decrease the current
    * mp for most posters.
    * This may be set to a decimal value (eg, 2, 2.1, 3.141596)
    * This should NOT be set to 0
    */
    $level_post_mp_cost = 2.5;

    /* This determines how much mp a user regenerates per day
    * Raising this value will generally increase the current
    * mp for most posters.
    * This may be set to a decimal value (eg, 3, 3.5, 2.71828)
    * This should NOT be set to 0
    */
    $level_mp_regen_per_day = 4;

    if($level_level < 1)
    {
    $level_mp = '0 / 0';
    $level_mp_percent = 0;
    }
    else
    {
    $level_max_mp = floor( (pow( $level_level, (1/4) ) ) * (pow( 10, pow( $level_level+2, (1/3) ) ) ) / (pi()) );

    $level_mp_cost = $postrow[$i]['user_posts'] * $level_post_mp_cost;
    $level_mp_regen = max(1, $level_user_days * $level_mp_regen_per_day);

    $level_cur_mp = floor($level_max_mp - $level_mp_cost + $level_mp_regen);
    $level_cur_mp = max(0, $level_cur_mp);
    $level_cur_mp = min($level_max_mp, $level_cur_mp);

    $level_mp = $level_cur_mp . ' / ' . $level_max_mp;
    $level_mp_percent = floor($level_cur_mp / $level_max_mp * 100 );

    }

    /* Determine EXP percentage
    *
    * Experience is determined by how far the user is away
    * from the next level. This is expressed as a percentage.
    *
    * Note, a user of level 0 has 100% experience. Making one post
    * will put them at level 1. Also, a user that is shown to have 100%
    * experience, will go up a level on their next post.
    *
    */

    if($level_level == 0)
    {
    $level_exp = "0 / 0";
    $level_exp_percent = 100;
    }
    else
    {
    $level_posts_for_next = floor( pow( 10, pow( $level_level, (1/3) ) ) );


    $level_posts_for_this = max(1, floor( pow( 10, pow( ($level_level - 1), (1/3) ) ) ) );

    $level_exp = ($postrow[$i]['user_posts'] - $level_posts_for_this) . " / " . ($level_posts_for_next - $level_posts_for_this);

    $level_exp_percent = floor( ( ($postrow[$i]['user_posts'] - $level_posts_for_this) / max( 1, ($level_posts_for_next - $level_posts_for_this ) ) ) * 100);
    }

    /* END HP/MP/EXP MOD */


    $template->assign_block_vars('postrow', array(
    'ROW_COLOR' => '#' . $row_color,
    'ROW_CLASS' => $row_class,
    'POSTER_NAME' => $poster,
    'POSTER_RANK' => $poster_rank,
    'RANK_IMAGE' => $rank_image,
    'POSTER_JOINED' => $poster_joined,
    'POSTER_POSTS' => $poster_posts,
    'POSTER_FROM' => $poster_from,
    'POSTER_AVATAR' => $poster_avatar,
    'POST_DATE' => $post_date,
    'POST_SUBJECT' => $post_subject,
    'MESSAGE' => $message,
    'SIGNATURE' => $user_sig,
    'EDITED_MESSAGE' => $l_edited_by,

    'MINI_POST_IMG' => $mini_post_img,
    'PROFILE_IMG' => $profile_img,
    'PROFILE' => $profile,
    'SEARCH_IMG' => $search_img,
    'SEARCH' => $search,
    'PM_IMG' => $pm_img,
    'PM' => $pm,
    'EMAIL_IMG' => $email_img,
    'EMAIL' => $email,
    'WWW_IMG' => $www_img,
    'WWW' => $www,
    'ICQ_STATUS_IMG' => $icq_status_img,
    'ICQ_IMG' => $icq_img,
    'ICQ' => $icq,
    'AIM_IMG' => $aim_img,
    'AIM' => $aim,
    'MSN_IMG' => $msn_img,
    'MSN' => $msn,
    'YIM_IMG' => $yim_img,
    'YIM' => $yim,
    'EDIT_IMG' => $edit_img,
    'EDIT' => $edit,
    'QUOTE_IMG' => $quote_img,
    'QUOTE' => $quote,
    'IP_IMG' => $ip_img,
    'IP' => $ip,
    'DELETE_IMG' => $delpost_img,
    'DELETE' => $delpost,
    'POINTS' => $user_points,
    'DONATE_POINTS' => $donate_points,


    'L_MINI_POST_ALT' => $mini_post_alt,
    /* BEGIN LEVEL MOD */
    "POSTER_HP" => $level_hp,
    "POSTER_HP_WIDTH" => $level_hp_percent,
    "POSTER_HP_EMPTY" => ( 100 - $level_hp_percent ),
    "POSTER_MP" => $level_mp,
    "POSTER_MP_WIDTH" => $level_mp_percent,
    "POSTER_MP_EMPTY" => ( 100 - $level_mp_percent ),
    "POSTER_EXP" => $level_exp,
    "POSTER_EXP_WIDTH" => $level_exp_percent,
    "POSTER_EXP_EMPTY" => ( 100 - $level_exp_percent ),
    "POSTER_LEVEL" => $level_level,
    /* END LEVEL MOD */

    'U_MINI_POST' => $mini_post_url,
    'U_POST_ID' => $postrow[$i]['post_id'])
    );
    }
    //
    // Quick Reply Mod
    //
    if ( ((!$is_auth['auth_reply']) or ($forum_topic_data['forum_status'] == FORUM_LOCKED) or ($forum_topic_data['topic_status'] == TOPIC_LOCKED)) and ($userdata['user_level'] != ADMIN) )
    {
    $quick_reply_form = "";
    }
    else
    {
    if ( $can_watch_topic && $is_watching_topic )
    {
    $notify = 1;
    }
    else
    {
    $notify = $userdata['user_notify'];
    }
    $bbcode_uid = $postrow[$total_posts - 1]['bbcode_uid'];
    $last_poster = $postrow[$total_posts - 1]['username'];
    $last_msg = $postrow[$total_posts - 1]['post_text'];
    $last_msg = str_replace(":1:$bbcode_uid", "", $last_msg);
    $last_msg = str_replace(":$bbcode_uid", "", $last_msg);
    $last_msg = "[QUOTE=\"$last_poster\"]" . $last_msg . "[/QUOTE]";
    $quick_reply_form = "
    <script language='JavaScript'>
    function checkForm() {
    formErrors = false;
    if (document.post.input.value.length < 2) {
    formErrors = '" . $lang['Empty_message'] . "';
    }
    if (formErrors) {
    alert(formErrors);
    return false;
    } else {
    if (document.post.quick_quote.checked) {
    document.post.message.value = document.post.last_msg.value;
    }
    document.post.message.value += document.post.input.value;
    return true;
    }
    }
    </script>
    <form action='".append_sid("posting.$phpEx")."' method='post' name='post' onsubmit='return checkForm(this)'>
    <span class='genmed'><b>".$lang["Quick_Reply"].":</b><br />
    <textarea name='input' rows='10' cols='65' wrap='virtual' class='post''></textarea><br />
    <input type='checkbox' name='quick_quote' />".$lang["Quick_quote"]."<br />
    <input type='checkbox' name='attach_sig' checked='checked' />".$lang["Attach_signature"]."<br />
    <input type='hidden' name='mode' value='reply' />
    <input type='hidden' name='t' value='" . $topic_id . "' />
    <input type='hidden' name='last_msg' value='". $last_msg ."' />
    <input type='hidden' name='message' value='' />
    <input type='hidden' name='notify' value=" . $notify . " />
    <input type='submit' name='preview' class='liteoption' value='".$lang['Preview']."' />&nbsp;
    <input type='submit' name='post' class='mainoption' value='".$lang["Submit"]."' />
    </form></span>";
    }

    $template->assign_vars(array(
    'QUICK_REPLY_FORM' => $quick_reply_form)
    );
    //
    // END Quick Reply Mod
    //
    $template->pparse('body');

    include($phpbb_root_path . 'includes/page_tail.'.$phpEx);

    ?>
^^^^^^
that is how my viewtopic.php is and with some other hacks, please reply with the right code.

Zarath
Registered User
Posts: 736
Joined: Fri Dec 06, 2002 9:01 am
Contact:

Post by Zarath » Sat Dec 14, 2002 1:29 pm

It already uses the points mod, as it says in the instal.txt file.

The_Best_Ever
Registered User
Posts: 21
Joined: Sun Sep 01, 2002 12:28 pm
Location: UK,Birmingham
Contact:

Post by The_Best_Ever » Sat Dec 14, 2002 2:06 pm

Uploading Avatars is a phpbb setting under in the normal ACP...

Custom title will be in the version after this one,
Glow/Shadow/Color are all in the one I'm releasing tomorrow
Privileges buy title (I see no use for this, and I doubt anyone else does so it will be gone after this version and replaced with buy custom title, just a filler for now), signature, avatar (Doesn't let you use any of these in viewtopic until you buy it.

All those are toggle-able.

The rest of the stuff in the release is in the FAQ, just read that when I release it.


yeah i know uploadin avatars in a phpbb settin but that can be turned on and off and i want my members to buy their own Custom Avatar to upload..

oh and the rest of the mod rules

Trel
Registered User
Posts: 507
Joined: Sun Aug 11, 2002 2:02 pm
Location: In your moniter stupid
Contact:

Post by Trel » Sat Dec 14, 2002 2:48 pm

is there anyway for an admin to remove items from a user?

Narc0sis
Registered User
Posts: 662
Joined: Tue Apr 09, 2002 12:59 am
Contact:

Post by Narc0sis » Sat Dec 14, 2002 2:55 pm

no offense Xycius, but you seem kind of lost. If you're having trouble installing the points mod then you'd probably be more successful finding help by asking your question in the points mod thread, thats what its there for

http://www.phpbb.com/phpBB/viewtopic.ph ... sc&start=0

Xycius
Registered User
Posts: 11
Joined: Fri Nov 22, 2002 8:00 pm

Post by Xycius » Sat Dec 14, 2002 3:18 pm

I Know, I will install the mod again but only viewtopic.php and will look if I can make it my own otherwise I will post in point tread. But because this is the half of the rpg item and I wanted to install that mod I made the post here.

Cygnusfear
Registered User
Posts: 41
Joined: Tue Nov 12, 2002 7:41 pm
Location: Netherlands
Contact:

Post by Cygnusfear » Sat Dec 14, 2002 5:31 pm

*Sigh*, why do you post your f****ng whole VIEWTOPIC.PHP HERE?!?!? Come on, PM it to someone if you have to, but don't do this to people visiting this forum. If you're so desperate for help, post it in the MOD SUPPORT forum man..

Cheers,
Alex[/url]
Alexander Mangel ( http://lst.omniband.nu )
S q u a r e c a v i t y @ w a n a d o o . n l

Locked

Return to “[2.0.x] MODs in Development”