i want ths on my pages how do i add it?
2 2005-11-19 02:07
Re: new style im working on (2 replies, posted in PunBB 1.2 discussion)
im done u can dl it here of on punres
3 2005-11-18 07:11
Re: 1.3 teaser (121 replies, posted in PunBB 1.2 discussion)
like w/ the css the way it is now
4 2005-11-18 02:48
Re: 1.3 teaser (121 replies, posted in PunBB 1.2 discussion)
is the style feature going to stay the same?
5 2005-11-16 04:04
Re: add images to navigation / function.php? (10 replies, posted in PunBB 1.2 modifications, plugins and integrations)
i got something like that in a style but it puts the pic in the post topic line 2 they share the same class i thnkx
6 2005-11-14 05:43
Topic: new style im working on (2 replies, posted in PunBB 1.2 discussion)
its on my forum, but you hav to register to see it its called quicktime and should be done in a little bit.
7 2005-10-19 03:51
Re: Cash Mod 1.0.0 (63 replies, posted in PunBB 1.2 modifications, plugins and integrations)
I got it now works like a charm
8 2005-10-13 13:41
Re: [Release?] Extern.php News Extension (81 replies, posted in PunBB 1.2 modifications, plugins and integrations)
this worked nice for me. i used
//
// Use this to display 'news' - the recent topics from a specific forum
// expanded to include the first post text, posters, comments, etc.
//
else if ($_GET['action'] == 'news')
{
$order_by = ($_GET['action'] == 'active') ? 't.last_post' : 't.posted';
$forum_sql = '';
// Get the forum id(s) you'd like to post news from
if (isset($_GET['fid']) && $_GET['fid'] != '')
{
$fids = explode(',', trim($_GET['fid']));
$fids = array_map('intval', $fids);
if (!empty($fids))
$forum_sql = ' AND f.id IN('.implode(',', $fids).')';
}
// RSS support not implemented, if anyone wants to do it, feel free..
if (isset($_GET['type']) && strtoupper($_GET['type']) == 'RSS')
{
}
// Regular HTML output
else
{
$show = isset($_GET['show']) ? intval($_GET['show']) : $show_default_topics;
if ($show < 1 || $show > $show_max_topics)
$show = $show_default_topics;
$result = $db->query('SELECT t.id, t.poster, t.subject, t.posted, t.last_post, t.num_replies, t.num_views, f.id AS fid, f.forum_name FROM '.$db_prefix.'topics AS t INNER JOIN '.$db_prefix.'forums AS f ON t.forum_id=f.id WHERE t.moved_to IS NULL '.$forum_sql.' ORDER BY '.$order_by.' DESC LIMIT '.$show.' ') or error('Unable to fetch topic list', __FILE__, __LINE__, $db->error());
$show_count = 0;
if(!$db->num_rows($result))
{
echo "No news to display";
}
else
{
while ( ($show_count < $show) && ($cur_topic = $db->fetch_assoc($result)) )
{
echo "<div class=newsblock>";
$temp = '';
if ($pun_config['o_censoring'] == '1')
$cur_topic['subject'] = censor_words($cur_topic['subject']);
if (pun_strlen($cur_topic['subject']) > $max_subject_length)
$subject_truncated = trim(substr($cur_topic['subject'], 0, ($max_subject_length-5))).' ...';
else
$subject_truncated = $cur_topic['subject'];
// Call Avatars Code
if ($img_size = @getimagesize($pun_config['o_avatars_dir'].'/'.$cur_post['poster_id'].'.gif'))
$user_avatar = '<img src="$forums/'.$pun_config['o_avatars_dir'].'/'.$cur_post['poster_id'].'.gif" '.$img_size[3].' alt="" />';
else if ($img_size = @getimagesize($pun_config['o_avatars_dir'].'/'.$cur_post['poster_id'].'.jpg'))
$user_avatar = '<img src="$forums/'.$pun_config['o_avatars_dir'].'/'.$cur_post['poster_id'].'.jpg" '.$img_size[3].' alt="" />';
else if ($img_size = @getimagesize($pun_config['o_avatars_dir'].'/'.$cur_post['poster_id'].'.png'))
$user_avatar = '<img src="$forums/'.$pun_config['o_avatars_dir'].'/'.$cur_post['poster_id'].'.png" '.$img_size[3].' alt="" />';
// Simplify frequently required display information
$thisdate = date('l, d F Y', $cur_topic['posted']);
$poster = $cur_topic['poster'];
$comments = $cur_topic['num_replies'];
$views = $cur_topic['num_views'];
// If using headlines, then after first item only show headlines...
if(isset($_GET['headlines']) && $show_count > 0)
{
echo "<p class=\"newsheadline\"><a href=".$pun_config['o_base_url']."/viewtopic.php?id=".$cur_topic['id'].">$subject_truncated</a> ($comments)</p> \n";
}
else
{
// DISPLAY FOR TITLE OF NEWS
echo "<p class=\"newstitle\"><a href=".$pun_config['o_base_url']."/viewtopic.php?id=".$cur_topic['id'].">$subject_truncated</a></p> \n";
$id = $cur_topic['id'];
$msg = $db->query('SELECT id, poster, poster_id, poster_ip, poster_email, message, posted, edited, edited_by FROM '.$db_prefix.'posts WHERE topic_id='.$id.' LIMIT 1') or error('Unable to fetch post info', __FILE__, __LINE__, $db->error());
if ( !$db->num_rows($msg) ) continue;
$cur_post = $db->fetch_assoc($msg);
$posterid = $cur_post['poster_id'];
// DISPLAY FOR "Posted on DATE by POSTER"
echo "<p class=\"newsdetails\">Posted on $thisdate by <a href=".$pun_config['o_base_url']."/profile.php?id=$posterid>$poster</a> $user_avatar</p> \n";
$truncate = isset($_GET['summary']) ? 1 : 0;
if ($truncate == 1)
{
$paragraph = preg_split("/\s*\n+/", $cur_post['message']);
if (isset($paragraph[1]))
{
$cur_post['message'] = $paragraph[0] . "...";
}
}
// parse BBCode, smilies and HTML
$cur_post['message'] = parse_message($cur_post['message'], 0);
if ($pun_config['o_smilies'] == '1')
$message = do_smilies($cur_post['message']);
echo str_replace("img/smilies", "$forums/img/smilies", "<p class=\"newstext\">$message");
if ($truncate == 1) { echo "<p><a href=".$pun_config['o_base_url']."/viewtopic.php?id=".$cur_topic['id'].">Read More...</a></p>"; }
echo "</p> \n";
echo "<p class=\"newsextra\">Comments(<a href=".$pun_config['o_base_url']."/viewtopic.php?id=".$cur_topic['id'].">$comments</a>) | Views (<a href=".$pun_config['o_base_url']."/viewtopic.php?id=".$cur_topic['id'].">$views</a>) </p> \n";
}
echo "</div>"; // end newsblock div
$show_count++;
}
}
}
}
and did the other two things at the top
9 2005-10-11 03:24
Re: Punbb homepage? (6 replies, posted in PunBB 1.2 modifications, plugins and integrations)
like do you have to change it with each date? when you generate?
10 2005-10-11 02:37
Re: Cash Mod 1.0.0 (63 replies, posted in PunBB 1.2 modifications, plugins and integrations)
when i post it says i have dollars but then what am i supposed to do with them? i cant see the lottery or bank thingy? am i supposed 2
11 2005-10-11 02:31
Re: Cash Mod 1.0.0 (63 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Theres kind off some conflict with attachment mod... idk if i installed it correctly
12 2005-10-05 23:46
Re: Pls Help : how to remove "Newest registered user" (6 replies, posted in General discussion)
how do you get rid of that whole box?
13 2005-10-02 04:18
Re: problem with browsers (1 replies, posted in PunBB 1.2 troubleshooting)
nvmind got it
14 2005-10-02 04:13
Topic: problem with browsers (1 replies, posted in PunBB 1.2 troubleshooting)
My forum looks the way I want it to in firefox but in IE the forum is too small?
http://www.cellfuse.com/forum/
15 2005-10-02 01:27
Topic: question with brdtitle (1 replies, posted in PunBB 1.2 discussion)
is there anyway not to have one?
16 2005-09-24 16:52
Topic: Can someone make me a plugin (3 replies, posted in PunBB 1.2 modifications, plugins and integrations)
that keeps track of the mods ive installed with like a notepad?
17 2005-09-20 00:30
Re: announcments (2 replies, posted in PunBB 1.2 modifications, plugins and integrations)
how can i put it somewhere else other than the forum like my sites homepage?
18 2005-09-18 20:44
Topic: announcments (2 replies, posted in PunBB 1.2 modifications, plugins and integrations)
how do i integrate announcments? into my site; what variable?
19 2005-09-18 16:48
Re: Steps to Integrate Login/Logout (17 replies, posted in PunBB 1.2 modifications, plugins and integrations)
got it workin jus needs / after
define('PUN_ROOT', './forum');
define('PUN_ROOT', './forum/');
jus have to make it look good now
GOOD HOW_TO
20 2005-09-18 15:59
Re: Steps to Integrate Login/Logout (17 replies, posted in PunBB 1.2 modifications, plugins and integrations)
i get this error
The file 'config.php' doesn't exist or is corrupt. Please run install.php to install PunBB first.
test.php
<?php
define('PUN_ROOT', './forum');
include 'forum/include/common.php';
include './login_function.inc.php';
login_menu();
?>
the function
<?php
function login_menu() {
global $pun_user;
if ($pun_user['is_guest']) {
echo "<form id=\"login\" method=\"post\" action=\"/forum/login.php?action=in\" onsubmit=\"return process_form(this)\">
<input type=\"hidden\" name=\"form_sent\" value=\"1\" />
<input type=\"hidden\" name=\"redirect_url\" value=\"".$_SERVER['SCRIPT_NAME']."\" />
<input type=\"text\" name=\"req_username\" size=\"25\" maxlength=\"25\" />
<input type=\"password\" name=\"req_password\" size=\"16\" maxlength=\"16\" />
<input type=\"submit\" name=\"login\" value=\"Login\" />
</form>";
}
else {
echo "Logged in as: ".pun_htmlspecialchars($pun_user['username'])."<br> Last visit: ". format_time($pun_user['last_visit'])."
<br>Click <a href=\"/forum/login.php?action=out&id=".$pun_user['id']."\">Log out</a>";
}
}
?>
21 2005-09-18 00:34
Re: Steps to Integrate Login/Logout (17 replies, posted in PunBB 1.2 modifications, plugins and integrations)
i don think it worked
typo i found were here
include './login_function.inc.php'
login_menu();
>?
shud be
include './login_function.inc.php';
login_menu();
?>
22 2005-09-17 22:19
Topic: integrate with my site (0 replies, posted in PunBB 1.2 modifications, plugins and integrations)
ok I read throught the integration forum and want my forum to load where my other pages load. I'm thinking i have to use the mini portal mod, and if so do I have to have all the files in the root directory? b/c ther currently in root/forum.
ex: http://www.cellfuse.com/index.php
Heres the code im useing now
<?php
$page = isset($_GET['content']) && preg_match('/^[a-z]+$/', $_GET['content']) ? $_GET['content'] : 'i';
include('content/' . $page . '.php');
?>
then have my links in the nav bar pointing here
<a href="<?php echo $_SERVER['SCRIPT_NAME']; ?>?content=a" title='Info about me' class="menu">About</a>
can i have it open here or not.
23 2005-09-17 22:01
Re: Finally: www.mellaflusia.com (20 replies, posted in PunBB 1.2 show off)
how did u integrate the forum I wanna do the same thing but am really confused do i use mini portal?
24 2005-09-16 13:35
Re: Finally: www.mellaflusia.com (20 replies, posted in PunBB 1.2 show off)
in firefox the long urls overlap the chat box mabey do something bout that no wrap idk
25 2005-09-13 23:34
Re: Mark topics as read v1.1 (92 replies, posted in PunBB 1.2 modifications, plugins and integrations)
so after i install the mod for 1.2.7 what do i need to change to get it to work?