Hmm.. Not a function I will use so I don't know if I got time to spend on it.
877 2003-08-21 18:29
Re: Customizing PunBB & Helping (16 replies, posted in PunBB 1.2 discussion)
I don't really get it but.. alright.. I will not bother me with it
Frank H is doing a great job with his upload script. The administartion part seems to be great I can't wait to test it
878 2003-08-21 18:04
Re: Customizing PunBB & Helping (16 replies, posted in PunBB 1.2 discussion)
I can't say that I'm happy with the idea of making PunBB some kind of commersial. Neither the things that you think could be purchased.
Change of member name / Delete a post
Why make something vital and good function not avaible? I mean. who will pay money to delete a post? That would only kill the forum i think.
Mod for a day
This sounds really crazy to me. Moderators should only be trusted people that visits the forum regularly. Not a crazy guy with much money.
Why makeing a avatar gallery in HTML? When its so much easier by makeing it with PHP. And that would not cause any problems when moving a page.
My opinion is that why destroy something as beautiful as PunBB by makeing it commersial?
Sure, mod this into your own forum, but me and many others will not visit it for sure.
Right me if I'm wrong.
Btw, who's this Talisman guy? I don't know. He says he wants to help but ain't even registered. Seems to me he's much out for some money. But what do I know, I've almost got paranoia.
Sorry if my english is bad but I'm really tired.
879 2003-08-19 14:36
Re: Anti Guest Profiles (10 replies, posted in PunBB 1.2 modifications, plugins and integrations)
The disclaimer and the bug is hopefully fixed now. But I have no energy to test it
880 2003-08-18 13:58
Re: Constants vs Variables (7 replies, posted in Programming)
unset() can undefine $GLOBALS['variable'] so it should undefine constants too, but i haven't tested it.
881 2003-08-16 14:16
Re: Anti Guest Profiles (10 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Now submit that at PunBB Resource
Byt why use $lang_common['No Guests Reading'] when there already is a no_permission?
882 2003-08-12 20:00
Re: Admin/Mod (4 replies, posted in Feature requests)
Locked forums with EFAM is not avaible for moderators.
883 2003-08-12 19:58
Re: Topic Hover Mod 1.1 by Cactuz (4 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Hey.. just gimme some time
884 2003-08-08 19:55
Re: Massradering, som massquote fast ja.. radering. (10 replies, posted in Archive)
äsch..det såg ju inte jag
Men jag har ett annat projekt som är klart ikväll förhoppningsvis.. Sen kan jag koda den där modden
885 2003-08-08 19:15
Re: Massradering, som massquote fast ja.. radering. (10 replies, posted in Archive)
Har jag skrivit det? :>
Ne men.. 1.0 är ju inte släppt än.. bara preview
886 2003-08-05 15:35
Re: Gnagare med Pun =P (10 replies, posted in PunBB 1.2 show off)
pun_con3 skär sönder min näthinna :>
887 2003-08-03 19:13
Re: TeH PuNbB B0xx0R (7 replies, posted in General discussion)
Well, thenw I have to publish my computers too
Workstation:
[url]http://cactuz.nu/bilder/workstation 001.jpg[/url]
[url]http://cactuz.nu/bilder/workstation 002.jpg[/url]
[url]http://cactuz.nu/bilder/workstation 003.jpg[/url]
Server (cactuz.nu):
http://cactuz.nu/bilder/server.jpg
888 2003-08-03 13:52
Re: Kolla om man är inloggad (9 replies, posted in Archive)
include '../forum/config.php';
innan du inkluderar common.php
889 2003-08-02 16:30
Re: The PunBB website (37 replies, posted in General discussion)
As I said before, nice
Now it's time for me to get finnished :]
EDIT: Now avaible in english :>
890 2003-08-02 13:25
Topic: Extended Forum Access Mod 1.0 by Cactuz (22 replies, posted in PunBB 1.2 modifications, plugins and integrations)
##
##
## Mod title: Extended Forum Access Mod (EFAM)
##
## Mod version: 1.0
## Works on PunBB: 1.0
## Release date: 2003-08-02
## Author: Kristoffer "Cactuz" Jansson (jansson@cactuz.nu)
##
## Description: This mod extends the forum access down to every user.
## This is how it works: First, "lock" a forum with the
## forum admin. Then you just have to add access to all
## users you want to give access to the forum in their
## profile.php.
##
## Affected files: admin_forums.php
## post.php
## viewforum.php
## viewtopic.php
##
## Affects DB: Yes
##
## Author notes: Many people seems to want this mod so.. I wrote one ;)
##
##
Screenshot: http://cactuz.nu/bilder/efam.png
891 2003-08-01 00:36
Topic: forum.cactuz.nu using 1.0 (1 replies, posted in PunBB 1.2 show off)
Thats right
892 2003-07-31 21:46
Re: Användargrupper (12 replies, posted in Archive)
Jag ska skriva en mod så man kan låsa vissa forum till imorgon eller nåt så det blir tyst på er
893 2003-07-28 19:05
Topic: Category when make user moderator i Forums (1 replies, posted in Feature requests)
When you adding a user to the moderator list for a forum there should be something that shows which category the forum is in. If you have many forums called General in different categories you have no clue which one you should add.
Maybe if you put it out like this:
Category/Forum
or
Category
- Forum
- Forum
- Forum
Category
- Forum
- Forum
- Forum
Heres code which make the second solution (profile.php line: 1143):
$result = $db->query('SELECT c.id AS cid, c.cat_name, f.id AS fid, f.forum_name, f.moderators FROM '.$db->prefix.'categories AS c INNER JOIN '.$db->prefix.'forums AS f ON c.id=f.cat_id'.$extra.' ORDER BY c.position, cid, f.position') or error('Unable to fetch category/forum list', __FILE__, __LINE__, $db->error());
while ($cur_forum = $db->fetch_assoc($result))
{
if ($cur_forum['cid'] != $cur_category) // A new category since last iteration?
{
echo $cur_forum['cat_name'].'<br>';
$cur_category = $cur_forum['cid'];
}
$moderators = ($cur_forum['moderators'] != '') ? unserialize($cur_forum['moderators']) : array();
print "\t\t\t\t".'- <input type="checkbox" name="moderator_in['.$cur_forum['fid'].']" value="1"'.((in_array($id, $moderators)) ? ' checked' : '').'> '.htmlspecialchars($cur_forum['forum_name']).'<br>'."\n";
}
894 2003-07-28 16:21
Re: href till senaste användaren (2 replies, posted in Archive)
Frågan är om det behövs när det räcker att trycka på datumet och sedan användaren.
896 2003-07-26 19:15
Re: Tabindex (5 replies, posted in Feature requests)
Why make it complicated?
Replace
<td class="pun_right" style="width: 10%"><b>Position</b></td>
<td style="width: 32%"> <input type="text" name="position[<?php print $cur_forum['fid'] ?>]" size="3" maxlength="3" value="<?php print $cur_forum['position'] ?>"></td>
<td class="pun_right" style="width: 10%" rowspan="2"><b>Options</b></td>
<td style="width: 32%; white-space: nowrap"> <input type="checkbox" name="admmod_only[<?php print $cur_forum['fid'] ?>]" value="1"<?php if ($cur_forum['admmod_only'] == '1') print ' checked'; ?>> Admins/moderators only</td>
<td class="pun_cent" style="width: 16%" rowspan="3"><input type="submit" name="update[<?php print $cur_forum['fid'] ?>]" value="Update"></td>
</tr>
<tr>
<td class="pun_right"><b>Name</b></td>
<td> <input type="text" name="forum_name[<?php print $cur_forum['fid'] ?>]" size="35" maxlength="80" value="<?php print htmlspecialchars($cur_forum['forum_name']) ?>"></td>
<td style="white-space: nowrap"> <input type="checkbox" name="closed[<?php print $cur_forum['fid'] ?>]" value="1"<?php if ($cur_forum['closed'] == '1') print ' checked'; ?>> Closed</td>
</tr>
<tr>
<td class="pun_right">Description<br>(HTML)</td>
<td> <textarea name="forum_desc[<?php print $cur_forum['fid'] ?>]" rows="3" cols="50"><?php print htmlspecialchars($cur_forum['forum_desc']) ?></textarea></td>
<td class="pun_right"><b>Category</b></td>
<td>
<select name="cat_id[<?php print $cur_forum['fid'] ?>]">
<?php
$cur_category2 = 0;
@reset($forum_list);
while (list(, $cur_forum2) = @each($forum_list))
{
if ($cur_forum2['cid'] != $cur_category2) // A new category since last iteration?
{
$selected = ($cur_forum['cid'] == $cur_forum2['cid']) ? ' selected' : '';
print "\t\t\t\t\t\t\t\t".'<option value="'.$cur_forum2['cid'].'"'.$selected.'>'.htmlspecialchars($cur_forum2['cat_name']).'</option>'."\n";
$cur_category2 = $cur_forum2['cid'];
}
}
?>
</select>
with:
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="3">
<tr>
<td class="pun_right">
<b>Position</b>
</td>
<td>
<input type="text" name="position[<?php print $cur_forum['fid'] ?>]" size="3" maxlength="3" value="<?php print $cur_forum['position'] ?>">
</td>
</tr>
<tr>
<td class="pun_right">
<b>Name</b>
</td>
<td>
<input type="text" name="forum_name[<?php print $cur_forum['fid'] ?>]" size="35" maxlength="80" value="<?php print htmlspecialchars($cur_forum['forum_name']) ?>">
</td>
</tr>
<tr>
<td class="pun_right">
Description<br>(HTML)
</td>
<td>
<textarea name="forum_desc[<?php print $cur_forum['fid'] ?>]" rows="3" cols="50"><?php print htmlspecialchars($cur_forum['forum_desc']) ?></textarea>
</td>
</tr>
</table>
</td>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="3">
<tr>
<td class="pun_right">
<b>Options</b>
</td>
<td>
<input type="checkbox" name="admmod_only[<?php print $cur_forum['fid'] ?>]" value="1"<?php if ($cur_forum['admmod_only'] == '1') print ' checked'; ?>> Admins/moderators only
<br>
<input type="checkbox" name="closed[<?php print $cur_forum['fid'] ?>]" value="1"<?php if ($cur_forum['closed'] == '1') print ' checked'; ?>> Closed
</td>
</tr>
<tr>
<td class="pun_right">
<b>Category</b>
</td>
<td>
<select name="cat_id[<?php print $cur_forum['fid'] ?>]">
<?php
$cur_category2 = 0;
@reset($forum_list);
while (list(, $cur_forum2) = @each($forum_list))
{
if ($cur_forum2['cid'] != $cur_category2) // A new category since last iteration?
{
$selected = ($cur_forum['cid'] == $cur_forum2['cid']) ? ' selected' : '';
print "\t\t\t\t\t\t\t\t".'<option value="'.$cur_forum2['cid'].'"'.$selected.'>'.htmlspecialchars($cur_forum2['cat_name']).'</option>'."\n";
$cur_category2 = $cur_forum2['cid'];
}
}
?></select>
</td>
</tr>
</table>
</td>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="3">
<tr rowspan="3">
<td>
<input type="submit" name="update[<?php print $cur_forum['fid'] ?>]" value="Update">
</td>
</tr>
</table>
</td>
</tr>
</table>
Could be made with a smaller piece of code but that didn't look that good
898 2003-07-15 18:19
Re: Problem med blocks/boxar (10 replies, posted in Archive)
Men det är fult att fuska
899 2003-07-06 23:42
Re: Nån moddare pigg? (3 replies, posted in Archive)
Nja.. efterfrågan verkar inte vara så stor så jag vill inte slänga bort min dyrbara tid
900 2003-07-04 10:28
Re: Innan du släpper 1.0... (25 replies, posted in Archive)
KOJV: Du kan ju skriva en mod