yahoo spamms I get 500 message with in an hour on there.
Gmail I get messages that I request ir expect.
You are not logged in. Please login or register.
PunBB Forums → Posts by shinko_metsuo
yahoo spamms I get 500 message with in an hour on there.
Gmail I get messages that I request ir expect.
I can help a little.
I would not mind knowing how to do this too
You can have a cut off limit if it's shorter than such and such words then you will get only so many points if it's longer than such and such words then you get even more points. Also have it where admins and mods can award/take away points for what ever reason. I'm not sure if this part is possable but have it where you can take so many points to a store and buy extra post on your post count or sig/avatar images. A cool name (one that I use before I went to punbb) is Aura.
I have Mandrake 9.2 and it can't connect
hmm well it was on one of the computers at the school and they never update those things. Maybe it was an older version.
please share your solution to running it under Linux.
Uh connorhd my man the nav bar still does not work in IE.
nvm for now ._.;;
wow nice mod
wow nice but whats with the Freewebs page builder look?
I need a review section with an interface does anyone know where I can get an open source?
Thanks Advance,
Metsuo
I think that did the trick
thanks connorhd
Whoa nice work connorhd
What does the treaty do.
Sorry I live in the US so I don't know.
When someone post under a post you made it takes the other post and not the main one. (this is hard to explain)
say I posted a new topic to be shown on the news page
Ipsum
then someone else comes along and post under
Lorem
someone else's post will show on the news page instead of mine
Using XuMix's mod this one will work (I don't recomend this)
download AP_News_Generator and use it.
create news.php
<?php
// The forum from which we'll pull the news bits
$forum_id = 1;
// Number of news posts to include in the index
$num_posts_index = 10;
// Path to news item template
$template_path = PUN_ROOT.'plugins/AP_News_Generator/news.tpl';
// Directories in which plugin will save generated markup (must end with slash)
$output = '';
$output_dir_archive = PUN_ROOT.'plugins/AP_News_Generator/archive/';
if (!isset($archive))
{
// Generate front page news
$result = $db->query('SELECT id, subject FROM '.$db->prefix.'topics WHERE forum_id='.$forum_id.' ORDER BY sticky DESC, posted DESC LIMIT 0, '.$num_posts_index) or error('Unable to fetch topic list', __FILE__, __LINE__, $db->error());
if (!$db->num_rows($result))
message('There are no topics to generate news based on in forum with ID = '.$forum_id.'.');
$news_tpl = file_get_contents($template_path) or error('Unable to open new item template '.$template_path.'. Make sure $template_path is correct', __FILE__, __LINE__);
/* $fh = @fopen($output_dir_latest.'news.html', 'wb');
if (!$fh)
error('Unable to write news to '.$output_dir_latest.'news.html. Please make sure PHP has write access to the directory '.$output_dir_latest, __FILE__, __LINE__);
*/
while ($cur_topic = $db->fetch_assoc($result))
{
$result2 = $db->query('SELECT posted, poster, message, hide_smilies FROM '.$db->prefix.'posts WHERE topic_id='.$cur_topic['id'].' ORDER BY posted ASC LIMIT 1') or error('Unable to fetch topic list', __FILE__, __LINE__, $db->error());
$cur_post = $db->fetch_assoc($result2);
$num_comments = $db->result($db->query('SELECT COUNT(id)-1 AS num FROM '.$db->prefix.'posts WHERE topic_id='.$cur_topic['id']));
$search = array('<news_subject>', '<news_posted>', '<news_poster>', '<news_message>', '<news_comments>');
$replace = array(pun_htmlspecialchars($cur_topic['subject']), date('Y-m-d H:i', $cur_post['posted']), pun_htmlspecialchars($cur_post['poster']), parse_message($cur_post['message'], $cur_post['hide_smilies']), '<a href="'.$pun_config['o_base_url'].'/viewtopic.php?id='.$cur_topic['id'].'">Comments ('.$num_comments.')</a>');
$output .= str_replace($search, $replace, $news_tpl);
}
$output .= '';
//display news
echo $output;
}
else
{
// Generate monthly archives
$year_end = intval(date('Y'));
$month_end = intval(date('n'));
$year_start = ($month_end != 1) ? $year_end : $year_end-1;
$month_start = ($month_end != 1) ? $month_end-1 : 12;
// How far back should we go?
$result = $db->query('SELECT MIN(posted) FROM '.$db->prefix.'topics WHERE forum_id='.$forum_id.'') or error('Unable to fetch earliest topic', __FILE__, __LINE__, $db->error());
$history_limit = $db->result($result);
$year_limit = intval(date('Y', $history_limit));
$month_limit = intval(date('n', $history_limit));
while ($year_end > $year_limit || $month_end > $month_limit)
{
$result = $db->query('SELECT id, subject FROM '.$db->prefix.'topics WHERE forum_id='.$forum_id.' AND posted>=UNIX_TIMESTAMP(\''.$year_start.'-'.$month_start.'-01\') AND posted<UNIX_TIMESTAMP(\''.$year_end.'-'.$month_end.'-01\') ORDER BY posted DESC') or error('Unable to fetch topic list', __FILE__, __LINE__, $db->error());
if ($db->num_rows($result))
{
$news_tpl = file_get_contents($template_path) or error('Unable to open new item template '.$template_path.'. Make sure $template_path is correct', __FILE__, __LINE__);
$fh = @fopen($output_dir_archive.$year_end.'-'.($month_start > 9 ? $month_start : '0'.$month_start).'.html', 'wb');
if (!$fh)
error('Unable to write news archive to '.$output_dir_archive.$year_end.'-'.($month_end > 9 ? $month_end : '0'.$month_end).'.html Please make sure PHP has write access to the directory '.$output_dir_archive, __FILE__, __LINE__);
while ($cur_topic = $db->fetch_assoc($result))
{
$result2 = $db->query('SELECT posted, poster, message, hide_smilies FROM '.$db->prefix.'posts WHERE topic_id='.$cur_topic['id'].' ORDER BY posted ASC LIMIT 1') or error('Unable to fetch topic list', __FILE__, __LINE__, $db->error());
$cur_post = $db->fetch_assoc($result2);
$num_comments = $db->result($db->query('SELECT COUNT(id)-1 AS num FROM '.$db->prefix.'posts WHERE topic_id='.$cur_topic['id']));
$search = array('<news_subject>', '<news_posted>', '<news_poster>', '<news_message>', '<news_comments>');
$replace = array(pun_htmlspecialchars($cur_topic['subject']), date('Y-m-d H:i', $cur_post['posted']), pun_htmlspecialchars($cur_post['poster']), parse_message($cur_post['message'], $cur_post['hide_smilies']), '<a href="'.$pun_config['o_base_url'].'/viewtopic.php?id='.$cur_topic['id'].'">Comments ('.$num_comments.')</a>');
fwrite($fh, str_replace($search, $replace, $news_tpl));
}
fclose($fh);
}
$year_end = $year_start;
$month_end = $month_start;
$year_start = ($month_end != 1) ? $year_end : $year_end-1;
$month_start = ($month_end != 1) ? $month_end-1 : 12;
}
//Archive display
$dir = "./archive/";
if (is_dir($dir)) {
if ($dh = opendir($dir)) {
$file_arr = array(); $f = 0;
while (false !== ($file = readdir($dh))) {
if ($file != "." && $file != ".." && $file != "index.php" && $file[0] != ".") {
$file_arr[$f++] = $file;
}
}
closedir($dh);
}
sort( $file_arr ); reset( $file_arr );
for( $i=1; $i < count( $file_arr ) +1 ; $i++ ) {
echo "<a href=\"'.PUN_ROOT.'news.php?month='.$i.'&archive=true\">".str_replace('.html', '', $file_arr[$i-1])."</a><br>";
}
}
if(isset($_GET['month']) && (file_exists('./archive/'.$year_end.'-0'.$month.'.html') || file_exists('./archive/'.$year_end.'-0'.$month.'.html') ) )
{
if($month < 10)
include './archive/'.$year_end.'-0'.$month.'.html';
else
include './archive/'.$year_end.'-'.$month.'.html';
}
else if(isset($_GET['month']) && (!file_exists('./archive/'.$year_end.'-0'.$month.'.html') || !file_exists('./archive/'.$year_end.'-0'.$month.'.html') ) )
message($lang_common['Bad request']);
}
?>
create your index.php to be something like this.
<?php
define('PUN_ROOT', './');
define('PUN_QUIET_VISIT', 1);
require PUN_ROOT.'include/common.php';
$page_title = pun_htmlspecialchars($pun_config['o_board_title']);
define('PUN_ALLOW_INDEX', 1);
require PUN_ROOT.'header.php';
require PUN_ROOT.'include/parser.php';
?>
<div class="block">
<h2><span>Welcome</span></h2>
<div class="box">
<div class="inbox">
<p>Welcome box</a>
</p>
</div>
</div>
</div>
<?php
//Gets the news :)
require PUN_ROOT.'news.php';
//just so I know its my footer.
require PUN_ROOT.'footer.php';
Not the best way of doing things but it looks professional and it's something to use while Connorhd fixes his page so you won't look ignorant
What's so special about it other than it's illegal.
install.php wrote:The file 'config.php' already exists which would mean that PunBB is already installed. You should go here instead."
Do you have to install it on a clean install?
*smacks head* I think I compressed my config in one of the compressed files. Redownload and install it like a normal PunBB (there is only one you can get and I know config.php is not in it)
I would not mind seeing this meyself
Well, thats just how it is when you have a successful foprums people want a piece of the pie, and when they get it they are most likely to abuse there power. So my advice is to only make mods out of people you know, or people who know something about you forum topic.
My forum is not very successful. I have 25 members and only 5 of them (including me) post. I have my forum for community views not to race others in members and hits.
I've had one person invade my forums. He was a quite a well know troll on the GameFAQs.com forums. I think he is now KOS (kill on sight) there. Since my site is linked with GameFAQs he used that as a reason to invade. He only came the once and I IP banned him straight away.
I made a forum that was badly made (I'm a n00b thats why I have punbb now) it had a list of IPs from KOS members that were on GameFAQs.
Answer: It works great for 1.2.5. I put it in the PunBB Supermod with no problems.
Connorhd wrote:probably, why don't you try and see?
Dude---you have a really pissy attitude today. Why don't you go f*** yourself? I won't be back. It was a simple question is all. And to think I was liking this place.
calm down I don't think he meant to be a smart ass.
PunBB Forums → Posts by shinko_metsuo
Powered by PunBB, supported by Informer Technologies, Inc.