Looks like a CSS bug.
2,051 2006-06-04 18:40
Re: i was just browsing and i saw this (7 replies, posted in PunBB 1.2 discussion)
2,052 2006-06-04 15:17
Re: Links Page 1.2 (40 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Hrmm, I suppose your MySQL version doesn't support UTF8.
Change
$db->query("UPDATE `".$db->prefix."config` SET `conf_value` = '" . $indexing . "' WHERE CONVERT( `conf_name` USING utf8 ) = 'o_links_indexing' LIMIT 1") or error("Links Code error: ",__FILE__, __LINE__, $db->error());
to
$db->query("UPDATE `".$db->prefix."config` SET `conf_value` = '" . $indexing . "' WHERE `conf_name` = 'o_links_indexing' LIMIT 1") or error("Links Code error: ",__FILE__, __LINE__, $db->error());
2,053 2006-06-04 15:10
Re: Links Page 1.2 (40 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Well, just add target="_blank" if you want to use it =/ It actually is annoying for IE users, because those poor persons don't have tabs
2,054 2006-06-04 11:16
Re: Links Page 1.2 (40 replies, posted in PunBB 1.2 modifications, plugins and integrations)
minis: enable debug mode, so I can see the error
2,055 2006-06-03 20:12
Re: Newsletter 1.0.1 (46 replies, posted in PunBB 1.2 modifications, plugins and integrations)
WHy on earth would someone subscribe with a different email? =/
2,056 2006-06-03 19:33
Re: Newsletter 1.0.1 (46 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Guests still can't subscribe and the user's email isn't updated, no. First thing won't work with this setup, and the second thing is just plain stupid to do
2,057 2006-06-03 18:54
Re: Newsletter 1.0.1 (46 replies, posted in PunBB 1.2 modifications, plugins and integrations)
replace
if(isset($_POST['sub']))
{
$email = $db->escape($_POST['email']);
$db->query("UPDATE ".$db->prefix."users SET newsletter='true' WHERE email='$email' AND id='".$pun_user['id']."'") or die(mysql_error());
redirect($_SERVER['PHP_SELF'], "Subscribed");
}
if(isset($_POST['unsub']))
{
$email = $db->escape($_POST['email']);
$db->query("UPDATE ".$db->prefix."users SET newsletter='false' WHERE email='$email' AND id='".$pun_user['id']."'") or die(mysql_error());
redirect($_SERVER['PHP_SELF'], "Unsubscribed");
}
with
if(isset($_POST['sub']))
{
$email = $db->escape($_POST['email']);
$db->query("UPDATE ".$db->prefix."users SET newsletter='true' WHERE id='".$pun_user['id']."'") or die(mysql_error());
redirect($_SERVER['PHP_SELF'], "Subscribed");
}
if(isset($_POST['unsub']))
{
$email = $db->escape($_POST['email']);
$db->query("UPDATE ".$db->prefix."users SET newsletter='false' WHERE id='".$pun_user['id']."'") or die(mysql_error());
redirect($_SERVER['PHP_SELF'], "Unsubscribed");
}
2,058 2006-06-03 18:41
Re: Newsletter 1.0.1 (46 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Indeed not, I put that in as an extra check
The email entered must match the email stored in the DB, else nothing happens
2,059 2006-06-03 17:10
Re: Links Page 1.2 (40 replies, posted in PunBB 1.2 modifications, plugins and integrations)
I think the solution to that is somewhere on PunRes
2,060 2006-06-03 16:56
Re: Newsletter 1.0.1 (46 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Normally guests shouldn't be allowed to sign up =/
Newsletter.php
if($pun_user['is_guest'])
message($lang_common['No view']);
So no, they can't =/
2,061 2006-06-02 17:27
Re: Disabling guest posting: Hell! (13 replies, posted in PunBB 1.2 troubleshooting)
In the forum options, disallow it
2,062 2006-06-01 21:16
Re: avatars uploading (20 replies, posted in PunBB 1.2 troubleshooting)
phpBB uses links, not uploaded files
The image gallery mod might be good for you tho.
2,063 2006-06-01 20:55
Re: avatars uploading (20 replies, posted in PunBB 1.2 troubleshooting)
=/ I didn't say in here, I just said you shouldn't use an url in the upload box (people tend to do that)
2,064 2006-06-01 19:42
Re: avatars uploading (20 replies, posted in PunBB 1.2 troubleshooting)
A browser issue maybe?
Oh, and don't enter URLs
2,065 2006-06-01 18:28
Re: Forum Restrictions & Hack Attempts (12 replies, posted in PunBB 1.2 troubleshooting)
Check the language files
2,066 2006-06-01 17:27
Re: Forum Restrictions & Hack Attempts (12 replies, posted in PunBB 1.2 troubleshooting)
Ok, found it, sorry =P
Leave the part I told you in, and just remove this:
AND fp.read_forum IS NULL OR fp.read_forum=1
You could probably leave out the first thing too, as it's only used for this check.
2,068 2006-06-01 15:26
Re: Message Board Comparison Discussion - allowed on punBB ? (15 replies, posted in PunBB 1.2 discussion)
lol, 10 is a hell of a reason hcgtv!
2,069 2006-06-01 15:24
Re: Forum Restrictions & Hack Attempts (12 replies, posted in PunBB 1.2 troubleshooting)
For your first thing: you'd need to alter the big query on index.php. I think you'll need to leave out this piece:
LEFT JOIN '.$db->prefix.'forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id='.$pun_user['g_id'].')
Then, about the security. First thing ofcourse is to always use the latest version. Then to check your mods for possible security holes.
2,070 2006-05-31 20:34
Re: Forum Access Question (8 replies, posted in PunBB 1.2 discussion)
Hrmm... too bad
I'd actually see it as a bug, as it's a feature not working...
2,071 2006-05-31 20:17
Re: Forum Access Question (8 replies, posted in PunBB 1.2 discussion)
Can't you just put a link somewhere, that everyone can see, that goes to this page: post.php?fid=
And after fid= you just put the id of your application forum. Normally it should allow posting, so it should work...
2,072 2006-05-31 17:27
Re: How get in one query which forum(s)are moderated by which moderator(s) (19 replies, posted in PunBB 1.2 discussion)
Ah, like that
Gotta think extra on that to do it easily ^^
2,073 2006-05-31 15:12
Re: How get in one query which forum(s)are moderated by which moderator(s) (19 replies, posted in PunBB 1.2 discussion)
Well, I found it was quite easy =P
This is the code I used (boxed with a nice header):
<?php
$result = $db->query("SELECT id, forum_name, moderators FROM ".$db->prefix."forums WHERE moderators IS NOT NULL");
while($row = $db->fetch_assoc($result))
{
echo '<div class="box">', '<h2><a href="'.PUN_ROOT.'viewforum.php?id='.$row['id'].'">'.$row['forum_name'].'</a></h2>';
$mods = unserialize($row['moderators']);
foreach($mods as $key => $value)
echo '<a href="'.PUN_ROOT.'profile.php?id='.$value.'">'.$key.'</a>, ';
echo '</div>', '<br />';
}
?>
2,074 2006-05-30 15:39
Re: Hide : Posted by 'username' text in forum titles. (4 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Look in viewforum.php
2,075 2006-05-29 20:16
Re: No { and } in code after if statement (10 replies, posted in PunBB 1.2 discussion)
Yeah