You can set the default for new users in admin_options.php
Also, there is a "Languages and Styles" plugin on the downloads page that can change those values for all current users at once.
You are not logged in. Please login or register.
PunBB Forums → Posts by guardian34
You can set the default for new users in admin_options.php
Also, there is a "Languages and Styles" plugin on the downloads page that can change those values for all current users at once.
"Show all posts" is not what I'm asking for.
prit: guardian meant should as in will, not should as in it's a good idea
Not the best word choice on my part.
How about a way to find all posts started by a specific user? [That is, similiar to the "Show all posts" functionality, but excluding posts from threads that were not started by that user.]
In profile.php, find?
</div>
<?php endif; ?> </fieldset>
?replace with:
<?php endif; ?> </div>
</fieldset>
Meh, we all do it, infact I just seen a topic on some punbb code that is invalid xhtml when a user doesn't have an avatar (or something like that...).
That wasn't invalid code, just a "warning" from Tidy: http://punbb.org/forums/viewtopic.php?id=14862
there might be features which are in progress (not fully implemented) so one does get an approximation
Well, the switch to UTF-8 is under way:
http://dev.punbb.org/changeset/890
http://blog.punbb.org/2007/02/12/switching-to-utf-8/
Another thing that would be cool is something like having a graph of how much is completed for 1.3
Why not go see what's left: http://dev.punbb.org/report/3
In the admin options, is "allow new registrations" set to yes?
The next version of PunBB should avoid this problem.
teenagegluesniffer wrote:don't expect random members to make things xhtml compliant.
Why shouldn't we?
(Side) Note to self: Don't produce extensions that produce invalid XHTML!
I just realized I made a mod that produces invalid XHTML.
benjiman, why not this?
<img alt="" src="img/noimage.gif" />
While I'm nitpicking? soonotes, you might as well match the lines below that.
<?php if ($user_avatar != '') echo "\t\t\t\t\t".'<dd class="postavatar">'.$user_avatar.'</dd>'."\n" ?>
Try the Broadcast E-mail plugin on the downloads page.
Ok, I pulled the error from the FF HTML Validator screen and this is what I get:
line 179 column 6 - Warning: trimming empty <dd>
and it refers to this line:
<dd class="postavatar"></dd>
Warning are not the same as errors. Tidy is just stating that there isn't anything inside that element (because the user being displayed doesn't have an avatar, or the user viewing the page is not displaying them).
Don't feel bad, it's a very common question.
Unfortunately I am running it on my local site so I can't provide you with a link.
How are you validating your pages?
I don't have duplicates of
else $user_avatar = '';
Not duplicates, but it's already defined earlier:
while ($cur_post = $db->fetch_assoc($result))
{
$post_count++;
$user_avatar = '';
My profile page validates with w3.org?
Edit:
The problem was this: If I am logged in as admin it worked fine but if I logged in as a user I then saw the problem with the missing closing div.
Um, isn't the part you posted only visible to admins?
I have also noticed that in viewtopic.php this line:
<dd class="postavatar"><?php echo $user_avatar ?></dd>
None of the other lines there have IDs? Can you provide any links for this?
Edit: On a different note, isn't this piece from viewtopic.php redundant?
else
$user_avatar = '';
Profile 1:
<div class="inform">
<fieldset>
<legend><?php echo $lang_profile['User activity'] ?></legend>
<div class="infldset">
<dl>
<?php if ($posts_field != ''): ?> <dt><?php echo $lang_common['Posts'] ?>: </dt>
<dd><?php echo $posts_field ?></dd>
<?php endif; ?> <dt><?php echo $lang_common['Last post'] ?>: </dt>
<dd><?php echo $last_post ?></dd>
<dt><?php echo $lang_common['Registered'] ?>: </dt>
<dd><?php echo format_time($user['registered'], true) ?></dd>
</dl>
<div class="clearer"></div>
</div>
</fieldset>
</div>
Profile 2:
<div class="inform">
<fieldset>
<legend><?php echo $lang_profile['User activity'] ?></legend>
<div class="infldset">
<p><?php echo $lang_common['Registered'] ?>: <?php echo format_time($user['registered'], true); if ($pun_user['g_id'] < PUN_GUEST) echo ' (<a href="moderate.php?get_host='.pun_htmlspecialchars($user['registration_ip']).'">'.pun_htmlspecialchars($user['registration_ip']).'</a>)'; ?></p>
<p><?php echo $lang_common['Last post'] ?>: <?php echo $last_post ?></p>
<?php echo $posts_field ?>
<?php if ($pun_user['g_id'] < PUN_GUEST): ?> <label><?php echo $lang_profile['Admin note'] ?><br />
<input id="admin_note" type="text" name="admin_note" value="<?php echo pun_htmlspecialchars($user['admin_note']) ?>" size="30" maxlength="30" /><br /></label>
</div>
<?php endif; ?> </fieldset>
</div>
Looks fine to me.
Edit: That is, the closing </div> is right before the </fieldset> tag.
Because there are no standards for creating mods, which has led to some pretty haphazard creations
Fair enough. Will there be standards for extensions?
don't expect random members to make things xhtml compliant.
Why shouldn't we?
PunBB Forums → Posts by guardian34
Powered by PunBB, supported by Informer Technologies, Inc.