I got the registration email, it went to my gmail spam folder
1,726 2007-12-06 11:04
Re: Registration Email Not Received (7 replies, posted in PunBB 1.2 troubleshooting)
1,727 2007-12-06 03:08
Re: my Antispam Solution - through reCAPTCHA + Alltime Censoring SPAM (13 replies, posted in PunBB 1.2 discussion)
Nope, it isn't possible to set the URL anymore
To remove the display from viewtopic.php:
DELETE
if ($cur_post['url'] != '')
$user_contacts[] = '<a href="'.pun_htmlspecialchars($cur_post['url']).'">'.$lang_topic['Website'].'</a>';
And thank you
1,728 2007-12-06 02:39
Re: my Antispam Solution - through reCAPTCHA + Alltime Censoring SPAM (13 replies, posted in PunBB 1.2 discussion)
REMOVE
<dt><?php echo $lang_profile['Website'] ?>: </dt>
<dd><?php echo $url ?> </dd>
<label><?php echo $lang_profile['Website'] ?><br /><input type="text" name="form[url]" value="<?php echo pun_htmlspecialchars($user['url']) ?>" size="50" maxlength="80" /><br /></label>
// Add http:// if the URL doesn't contain it already
if ($form['url'] != '' && strpos(strtolower($form['url']), 'http://') !== 0)
$form['url'] = 'http://'.$form['url'];
FIND
$form = extract_elements(array('realname', 'url', 'location'));
REPLACE WITH
$form = extract_elements(array('realname', 'location'));
1,729 2007-12-06 02:30
Re: Make forum postable, yet not readable (9 replies, posted in PunBB 1.2 troubleshooting)
Mmm, I would add fp.read_forum to the list of columns gotten from those queries and then
FIND
redirect('viewtopic.php?pid='.$new_pid.'#p'.$new_pid, $lang_post['Post redirect']);
REPLACE WITH
if ($cur_posting['read_forum'] == '0')
message('Thank you for contributing');
else
redirect('viewtopic.php?pid='.$new_pid.'#p'.$new_pid, $lang_post['Post redirect']);
1,730 2007-12-06 02:02
Re: my Antispam Solution - through reCAPTCHA + Alltime Censoring SPAM (13 replies, posted in PunBB 1.2 discussion)
Mmm, I think you're more likely to get confused users than anything else with that setup.
But if you insist:
profile.php
FIND
// Add http:// if the URL doesn't contain it already
if ($form['url'] != '' && strpos(strtolower($form['url']), 'http://') !== 0)
$form['url'] = 'http://'.$form['url'];
ADD AFTER
if ($pun_config['o_censoring'] == '1' && censor_words($form['url']) != $form['url'])
message('Put stuff to say here');
1,731 2007-12-06 01:58
Re: Off-Center Posts (15 replies, posted in PunBB 1.2 troubleshooting)
I just found this:
http://archivist.incutio.com/viewlist/css-discuss/66585
1,732 2007-12-06 01:48
Re: my Antispam Solution - through reCAPTCHA + Alltime Censoring SPAM (13 replies, posted in PunBB 1.2 discussion)
I do, but are you suggesting not allowing a TLD in a website field? Why allow the website field at all then?
1,733 2007-12-06 01:47
Re: Make forum postable, yet not readable (9 replies, posted in PunBB 1.2 troubleshooting)
Yup, I was wrong
In post.php
// Fetch some info about the topic and/or the forum
if ($tid)
$result = $db->query('SELECT f.id, f.forum_name, f.moderators, f.redirect_url, fp.post_replies, fp.post_topics, t.subject, t.closed FROM '.$db->prefix.'topics AS t INNER JOIN '.$db->prefix.'forums AS f ON f.id=t.forum_id LEFT JOIN '.$db->prefix.'forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id='.$pun_user['g_id'].') WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id='.$tid) or error('Unable to fetch forum info', __FILE__, __LINE__, $db->error());
else
$result = $db->query('SELECT f.id, f.forum_name, f.moderators, f.redirect_url, fp.post_replies, fp.post_topics FROM '.$db->prefix.'forums AS f LEFT JOIN '.$db->prefix.'forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id='.$pun_user['g_id'].') WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND f.id='.$fid) or error('Unable to fetch forum info', __FILE__, __LINE__, $db->error());
becomes
// Fetch some info about the topic and/or the forum
if ($tid)
$result = $db->query('SELECT f.id, f.forum_name, f.moderators, f.redirect_url, fp.post_replies, fp.post_topics, t.subject, t.closed FROM '.$db->prefix.'topics AS t INNER JOIN '.$db->prefix.'forums AS f ON f.id=t.forum_id LEFT JOIN '.$db->prefix.'forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id='.$pun_user['g_id'].') WHERE t.id='.$tid) or error('Unable to fetch forum info', __FILE__, __LINE__, $db->error());
else
$result = $db->query('SELECT f.id, f.forum_name, f.moderators, f.redirect_url, fp.post_replies, fp.post_topics FROM '.$db->prefix.'forums AS f LEFT JOIN '.$db->prefix.'forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id='.$pun_user['g_id'].') WHERE f.id='.$fid) or error('Unable to fetch forum info', __FILE__, __LINE__, $db->error());
Basically, I removed the part of the where statement that filtered out forums the user can't read. So, that query should always return a row assuming the tid/fid is valid. However, posting then relies on the post replies/post topics permission.
1,734 2007-12-06 01:44
Re: Off-Center Posts (15 replies, posted in PunBB 1.2 troubleshooting)
Works for me, make sure you clear your cache
1,735 2007-12-06 01:37
Re: Registration Email Not Received (7 replies, posted in PunBB 1.2 troubleshooting)
Link?
1,736 2007-12-06 01:35
Re: my Antispam Solution - through reCAPTCHA + Alltime Censoring SPAM (13 replies, posted in PunBB 1.2 discussion)
Now then:
http://blog.36invisible.com/2007/08/05/ … for-punbb/ | Instructions for integrating PunBB with recaptcha, I won't vouch for their accuracy since I found them through 5 seconds of Googling
And where is the censor not being applied properly? Or do you mean that the censor is being passive (doing a replace before displaying) rather than being active (denying a change that would violate the censor)?
1,737 2007-12-06 01:33
Re: Off-Center Posts (15 replies, posted in PunBB 1.2 troubleshooting)
It worked for me in Firefox
Why don't you add it back in, leave it there, and let me know when you've done it so I can check it out?
1,738 2007-12-06 01:32
Re: Thread Count off... (27 replies, posted in PunBB 1.2 troubleshooting)
No, luckily for you
http://punbb.org/download/plugins/AP_Forum_cleanup.zip
Download that, upload it to your plugins folder, use it to synchronize the topic reply counts.
1,739 2007-12-06 01:31
Re: Full width banner (7 replies, posted in PunBB 1.2 troubleshooting)
1,740 2007-12-06 01:30
Re: Make forum postable, yet not readable (9 replies, posted in PunBB 1.2 troubleshooting)
You want people to be able to post new topics but not reply? That's 100% possible with the standard settings. However, it might be a little different than you expect because of what not reading the forum means.
Not reading the forum means the user doesn't know that the forum exists. Thus, there's no link to viewforum for that forum and there can be no new topic link there. However, the link to post a new topic will still work assuming the group has permission to post a topic.
1,741 2007-12-06 01:27
Re: my Antispam Solution - through reCAPTCHA + Alltime Censoring SPAM (13 replies, posted in PunBB 1.2 discussion)
Moved to PunBB Discussion
Welcome to the forums!
1,742 2007-12-05 23:27
Re: Off-Center Posts (15 replies, posted in PunBB 1.2 troubleshooting)
Try putting it at the end of Oxygen.css
1,743 2007-12-05 23:03
Re: Searches with a large number of results fail (8 replies, posted in PunBB 1.2 bug reports)
Yay! I've seen this bug pointed out before (or a similar one), but I've never had a testcase that I could replicate locally until now
I'll take a look at it this weekend or so.
1,744 2007-12-05 23:01
Re: Thread Count off... (27 replies, posted in PunBB 1.2 troubleshooting)
No, you shouldn't have
You should have set the poster ID to 1 so that they're visible. Now your replies count is REALLY out of sync (for all topics involved).
In the future, you CAN wait for a response, not "nuking" the posts wasn't going to kill anybody
1,745 2007-12-05 21:41
Re: Thread Count off... (27 replies, posted in PunBB 1.2 troubleshooting)
Aha!
OK, lets fix this:
Run this query, replacing "prefix" with your database prefix
select poster_id from prefixposts AS p left join prefixusers AS u ON (u.id=p.poster_id) where u.id IS NULL
and paste the output here
1,746 2007-12-05 20:11
Re: Thread Count off... (27 replies, posted in PunBB 1.2 troubleshooting)
Did you modify post.php or delete.php or the database directly? Your Replies count is equal to the number of posts in the topic, when it should be one less.
I registered already, user "test"
1,747 2007-12-05 20:05
Re: Problem with links of topics (20 replies, posted in PunBB 1.2 troubleshooting)
As I said, ask the Digg people
1,748 2007-12-05 19:50
Re: Problem with links of topics (20 replies, posted in PunBB 1.2 troubleshooting)
Find occurrences of $cur_topic['id'] in that little bit of code, replace them with $id. Yes.
1,749 2007-12-05 19:49
Re: PunBB 1.2.16 (71 replies, posted in News)
Dax701: I didn't go through all the changes in your post, but those look like exactly the lines you're supposed to modify
gil: Yes. But the version number being slightly off doesn't matter all that much.
1,750 2007-12-05 19:46
Re: Thread Count off... (27 replies, posted in PunBB 1.2 troubleshooting)
Link to your forum (with an example of the problem readily available for examination)? copy of functions.php?