I've been trying, but haven't found how to do it =/ There must be an easy way though... Jansson did it on PunRes.
1,927 2006-07-04 19:22
Re: Some Problems (15 replies, posted in PunBB 1.2 troubleshooting)
Try this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html dir="<pun_content_direction>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<pun_char_encoding>" />
<pun_head>
<style type="text/css">
#left {
width: 140px;
float: left;
}
#main {
margin-left: 150px;
margin-right: 150px;
}
#container {
width: 100%;
float: right;
margin-left: -140px;
}
#right {
width: 140px;
float: right;
}
</style>
</head>
<body>
<div id="punwrap">
<div id="pun<pun_page>" class="pun">
<div id="brdheader" class="block">
<div class="box">
<div id="brdtitle" class="inbox">
<center><img src="http://www.sameold.org/fpc/logo.php" alt="The Flower Power Clan" /></center>
<center><pun_desc></center>
</div>
<pun_navlinks>
<pun_status>
</div>
</div>
<div id="right">
<div class="block">
<h2 class="block2"><span>Affiliates</span></h2>
<div class="box">
Affs Here
</div>
</div>
</div>
<div id="container">
<div id="main">
<pun_announcement>
<pun_main>
</div>
</div>
<div id="left">
<div class="block">
<h2><span>Menu</span></h2>
<div class="box">
<pun_sidelinks>
</div>
</div>
<div class="block">
<h2 class="block2"><span>Links</span></h2>
<div class="box">
<div class="inbox">
<ul>
<li>-<a href="http://flowerpowerclan.16.forumer.com/index.php">FPC Archives</a></li>
<li>-<a href="http://gamersociety.forumer.com">Pega's Gaming Society</a></li>
<li>-<a href="http://tehplace.boardzero.com">Teh Place</a></li>
<li>-<a href="http://hypocrites.forumer.com">Samuel's Message Board</a></li>
<li>-<a href="http://www.animalcrossingwildworld.com/forums">ACWW Unofficial Fansite</a></li>
<li>-<a href="http://www.animalxing.com/hybrids.php">AnimalXing.com Hybrid Guide (Great for clan breeders!)</a></li>
<li>-<a href="http://animalcrossingw.boardzero.com/">Dshacker's ACWW Forum</a></li>
</ul>
</div>
</div>
</div>
<div class="block">
<h2 class="block2"><span>Who's Online?</span></h2>
<div class="box">
<pun_online>
</div>
</div>
</div>
<div class="clearer"></div>
<pun_footer>
</div>
</div>
</body>
</html>
Something floating right must always come infront of the other content. So in this case it would be:
right menu (right) => main content (right) => left menu (left)
1,928 2006-07-04 15:28
Re: registered members can log in, but cannot post? (3 replies, posted in PunBB 1.2 troubleshooting)
Make sure forums permissions are set correctly.
1,929 2006-07-04 13:12
Topic: RSS Reader 1.0 (0 replies, posted in PunBB 1.2 modifications, plugins and integrations)
##
##
## Mod title: RSS Reader
##
## Mod version: 1.0
## Works on PunBB: 1.2.x
## Release date: 2006-07-04
## Author: El Bekko (elbekko@gmail.com)
##
## Description: Adds a small RSS parser in your forums.
##
## Difference with
## previous version: /
##
## Affected files: main.tpl
##
## Affects DB: Yes
##
## Notes: Needs cURL and PREG library
##
## DISCLAIMER: Please note that "mods" are not officially supported by
## PunBB. Installation of this modification is done at your
## own risk. Backup your forum database and any and all
## applicable files before proceeding.
##
##
##
1,930 2006-07-04 12:49
Re: Hide moderator list from Forum listing? (6 replies, posted in PunBB 1.2 discussion)
It's often faster to edit some code than to go look for a setting
1,931 2006-07-04 12:48
Re: Image Verification (5 replies, posted in Feature requests)
There is a mod for this
1,932 2006-07-03 21:45
Re: Hide moderator list from Forum listing? (6 replies, posted in PunBB 1.2 discussion)
In index.php, find:
if ($cur_forum['moderators'] != '')
{
$mods_array = unserialize($cur_forum['moderators']);
$moderators = array();
while (list($mod_username, $mod_id) = @each($mods_array))
$moderators[] = '<a href="profile.php?id='.$mod_id.'">'.pun_htmlspecialchars($mod_username).'</a>';
$moderators = "\t\t\t\t\t\t\t\t".'<p><em>('.$lang_common['Moderated by'].'</em> '.implode(', ', $moderators).')</p>'."\n";
}
Delete that, comment out, whatever suits you
Find
<?php echo $forum_field."\n".$moderators ?>
Replace with:
<?php echo $forum_field ?>
1,933 2006-07-03 20:44
Re: Log Forum Activity 1.2 (28 replies, posted in PunBB 1.2 modifications, plugins and integrations)
You could try something like this (for the timeout):
// Add user to log
$log_res = $db->query("SELECT id, time FROM ".$db->prefix."log WHERE name='".$pun_user['username']."'");
$log_row = $db->fetch_assoc($log_res);
if(($log_row['time'] > time()-10))
{
if($log_row['id']) // Timeout of 10 seconds
{
$log_time = $log_row['time'] . ", " . time();
$db->query("UPDATE ".$db->prefix."log SET `time` = '".$log_time."', `ip` = '".$_SERVER['REMOTE_ADDR']."' WHERE id=".$log_row['id']);
}
else
$db->query("INSERT INTO ".$db->prefix."log (`ip`, `name`, `time`) VALUES ('".$_SERVER['REMOTE_ADDR']."', '".$pun_user['username']."', '".time()."')");
}
1,934 2006-07-03 16:59
Re: had fun moding a skin (6 replies, posted in PunBB 1.2 show off)
The link changed
Just go to the root, and cliock the bottom link
1,935 2006-07-03 15:42
Re: [FAQ] How do I...? (33 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Change it in the CSS files.
1,936 2006-07-03 15:40
Re: ForumMatrix (16 replies, posted in PunBB 1.2 discussion)
I probably could do it... Yet another mod for PunBB I must have a record or something ^^
1,937 2006-07-03 14:44
Re: ForumMatrix (16 replies, posted in PunBB 1.2 discussion)
That sounds like a fun mod actually
1,938 2006-07-03 14:25
Re: ForumMatrix (16 replies, posted in PunBB 1.2 discussion)
I guess suspend is just delete
1,939 2006-07-03 12:16
Re: AJAX Shout Box Testing... (22 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Doesn't submit in Opera 9 =/
1,940 2006-07-03 12:14
Re: favicon.ico (6 replies, posted in PunBB 1.2 troubleshooting)
I would've put it into main.tpl actually =/
1,941 2006-07-03 11:04
Re: favicon.ico (6 replies, posted in PunBB 1.2 troubleshooting)
It's a small website icon, like the one PunBB has (just look in your adress bar).
Anyway, this should help: http://en.wikipedia.org/wiki/Favicon
1,942 2006-07-03 10:15
Re: Blank page when loading user profile (4 replies, posted in PunBB 1.2 troubleshooting)
Have you done any mods?
Also, check if the line before 557 has a ; after it.
1,943 2006-07-02 21:02
Re: Does pubBB allow this? (4 replies, posted in PunBB 1.2 discussion)
There is a mod for this
Look for Captha on PunRes.
1,944 2006-07-02 20:31
Re: create a new css menu. (3 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Well, you'd have to edit that function and edit main.tpl a bit.
This is what I'd do:
Make your standard menu, make a menu for your forum, and call generate_navlinks() with this modification:
// Replace
return '<ul>'."\n\t\t\t\t".implode($lang_common['Link separator'].'</li>'."\n\t\t\t\t", $links).'</li>'."\n\t\t\t".'</ul>';
// With
return "\n\t\t\t\t".implode($lang_common['Link separator'].'</li>'."\n\t\t\t\t", $links).'</li>'."\n\t\t\t";
I guess that should work...
1,945 2006-07-02 17:49
Re: Log Forum Activity 1.2 (28 replies, posted in PunBB 1.2 modifications, plugins and integrations)
I'd have to take a look at the code again, but I guess it can't be too hard.
1,946 2006-07-02 16:31
Re: Log Forum Activity 1.2 (28 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Hrmm... it would definately increase your DB load
1,947 2006-07-02 16:04
Re: Can the Colours of the Forum be changed? (3 replies, posted in PunBB 1.2 troubleshooting)
1,948 2006-07-02 15:52
Re: Another new forum application (Vanilla) (7 replies, posted in PunBB 1.2 discussion)
Well, I just installed it and it looks alot like PunBB =/
1,949 2006-07-02 15:49
Re: file attachments - would be great! (3 replies, posted in Feature requests)
There's a mod for this
Not likely to be implemented though.
1,950 2006-07-02 14:24
Re: Log Forum Activity 1.2 (28 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Could you establish the possibility of logger IP with the times of connection of the users?
I thought IP was logged together with a timestamp...
And maybe add the possibility to set the log interval from the admin CP.
Hrmm, would be quite hard with the way the mod is currently made, as it logs whenever a use makes a call to common.php (which is on every page view).
I'll look into it though, but I can't assure anything =/