476

(9 replies, posted in PunBB 1.3 extensions)

ignore that. I didn't click "install"
smile

477

(9 replies, posted in PunBB 1.3 extensions)

I uploaded this extension to my extensions directory but I cannot see any options at:
Administration » Settings » Features » User Avatars

Do you think I did something wrong?
Any idea?
Cheers smile

Is  it relevent that google members are reporting that their anti-virus software is reporting that there is trojan on my site? Could that be causing the CSS problem?

But it does only happen on the active topics and new posts links. Everything else seems fine.
See people's complains here:
http://www.eroyton.co.uk/forum/viewtopic.php?id=3754

Which file do I edit to make structural changes using CSS which will affect all styles?
Cheers smile

480

(5 replies, posted in PunBB 1.3 additions)

Nice work, I'll be keeping an eye on this topic in case you release your style smile

This problem happens worst for me when using the "show active topics" link:
http://www.eroyton.co.uk/forum/search.p … how_recent

482

(32 replies, posted in Feature requests)

If someone can make this mod work in 1.3 I will be happy to donate a small amount (£20?) to a charity of your choice.

I'm a bit desperate for this mod smile

This was happening on 1.2 and driving my members crazy. Many times each day the formatting is stripped out meaning we just got a White background, lists of links and no physical formatting, just line breaks.

So I upgraded to 1.3 thinking it would fix it but the same thing is happening. What do you think I should try? This has only been happening for about a month and I've been running punbb for about a year now.

I have a separate site with punbb 1.2 which never suffered this problem. I've just upgraded to 1.3 and it does not have the CSS problem.

Tips and suggestions very much appreciated.

My users are very upset.
So I really REALLY do need to downgrade my 1.3 back to 1.2 just until I can create a new style based on the old style using a test installation of 1.3.

Any tips or advice please?
cheers
ESG

485

(32 replies, posted in Feature requests)

I tested and it doesn't work sad
Does anyone think they can get this working for me?
I ideally want a block of code that I can place wherever in the template > main.tpl file that I like so that a list of avatars showing who is online appears. It worked really really really well for my community. We all miss it very much

There might be a small bit of money if someone thinks they can code this for me smile

486

(32 replies, posted in Feature requests)

I had this working using the below code in version 1.2
Does anyone know what I can do to make it work in 1.3?
I don't want to just paste it in in case I mess everything up smile

What do you think, will the below code work?

<!-- LIST OF ONLINE AVATARS -->

<?php

if ($pun_config['o_users_online'] == '1')
{
    // Fetch users online info and generate strings for output
    $num_guests = 0;
    $users = array();
    $result = $db->query('SELECT user_id, ident FROM '.$db->prefix.'online WHERE idle=0 ORDER BY ident', true) or error('Unable to fetch online list', __FILE__, __LINE__, $db->error());

    while ($pun_user_online = $db->fetch_assoc($result))
    {
        if ($pun_user_online['user_id'] > 1)
        {
            if ($img_size = @getimagesize($pun_config['o_avatars_dir'].'/'.$pun_user_online['user_id'].'.gif'))
                $users[] = "\n\t\t\t\t".'<dd><a title="'.pun_htmlspecialchars($pun_user_online['ident']).'" href="profile.php?id='.$pun_user_online['user_id'].'"><img src="'.$pun_config['o_avatars_dir'].'/'.$pun_user_online['user_id'].'.gif" '.$img_size[3].' alt="" /></a>';
            else if ($img_size = @getimagesize($pun_config['o_avatars_dir'].'/'.$pun_user_online['user_id'].'.jpg'))
                $users[] = "\n\t\t\t\t".'<dd><a title="'.pun_htmlspecialchars($pun_user_online['ident']).'" href="profile.php?id='.$pun_user_online['user_id'].'"><img src="'.$pun_config['o_avatars_dir'].'/'.$pun_user_online['user_id'].'.jpg" '.$img_size[3].' alt="" /></a>';
            else if ($img_size = @getimagesize($pun_config['o_avatars_dir'].'/'.$pun_user_online['user_id'].'.png'))
                $users[] = "\n\t\t\t\t".'<dd><a title="'.pun_htmlspecialchars($pun_user_online['ident']).'" href="profile.php?id='.$pun_user_online['user_id'].'"><img src="'.$pun_config['o_avatars_dir'].'/'.$pun_user_online['user_id'].'.png" '.$img_size[3].' alt="" /></a>'; 
            else
                $users[] = "\n\t\t\t\t".'<dd><a href="profile.php?id='.$pun_user_online['user_id'].'">'.pun_htmlspecialchars($pun_user_online['ident']).'</a>';
        }
        else
            ++$num_guests;
    }

    $num_users = count($users);
    /*echo "\t\t\t\t".'<dd>'. $lang_index['Users online'].': <strong>'.$num_users.'</strong></dd>'."\n\t\t\t\t".'<dd>'.$lang_index['Guests online'].': <strong>'.$num_guests.'</strong></dd>'."\n\t\t\t".'</dl>'."\n";*/


    if ($num_users > 0)
        echo "\t\t\t".'<dl id="onlinelist" class= "clearb"><!--<a href="/"><img src="/img/avatar-logo.jpg" alt="royton"></a>-->'."\n\t\t\t\t".'<dt><strong>'.$lang_index['Online'].'</strong></dt>'."\t\t\t\t".implode('</dd> ', $users).' 
        
        </dd>'."\n\t\t\t".'</dl>'."\n";
    else
        echo "\t\t\t".'<div class="clearer"></div>'."\n";

}
else
echo "\t\t".'</dl>'."\n\t\t\t".'<div class="clearer"></div>'."\n";


?>



<!--END OF ONLINE AVATARS -->

If one post doesn't close the quote tag, it wrecks the rest of the topic formatting.
Or rather it did on my forum. There was a post with 2 open quotes and no close quotes. The topic then went all crazy formatting

Thanks for that. But how about making PUNBB redirect http://domain.com/forum to http://www.domain.com/forum

That would solve it?
Or is that something punbb can't do and has to be done by website admin?
If so how is that achieved within CPANEL?

If I view the forum index page without the www. at the start whilst logged in, punbb says I'm logged out.

But If I add the www at the front, it shows me correctly as logged in.

What's worse is that even if I manually type www.domain.com/punbb the forum automatically redirects to the same url but it removes the www.  If I manually type the above url and include the trailing slash, it's fine. But without the slash it deletes the www and shows me as logged out.

Changing browser is sooo not the answer to my questions, lol
But thanks anyway smile

this is the part that is worrying:
http://farm4.static.flickr.com/3066/3049656011_cdb98a9537.jpg?v=0

Please view my forum here:
http://www.eroyton.co.uk/forum/

It's all screwey as if the CSS is not working properly.

Please read the story below (including screengrabs) of why I think a hacking may have caused this:
http://www.eroyton.co.uk/forum/viewtopic.php?id=3475

Thanks in advance for any tips
smile
Mark

492

(23 replies, posted in PunBB 1.3 extensions)

pom pi pom poo pee, also curious smile

so do I need to rename that file before changing the settings?
I don't want to guess and do it wrong smile
anyway, shouldn't you be relaxing on holiday?

If you select any scheme other than the default scheme you must copy/upload the file .htaccess from the extras directory into the forum root directory.

I cannot find any directory called EXTRAS.
Sorry if I'm being stupid but I just can't find it.

Sorry about that.
I hope someone can help

Thanks in advance
smile
SG

EDIT: Moved to 1.3 bugs forum, slightly altered subject //Anatoly

Thanks for the tips so far.
I'm using 1.3 smile and have my fingers crossed for an extension smile

hcgtv wrote:

I was planning on it but the loooonnnngggg wait for 1.3 changed my plans.

that's a shame. I saw your postings on this in the archives.
Textpattern and punbb have lots
in common

Garciat, textpattern is a nice, slim open-sourcs CMS platform. Its very nice smile but doesnt integrate with punbb yet sad

497

(23 replies, posted in PunBB 1.3 extensions)

I've subscribed (thanks) and wait with excitement for your future work smile

yes that's it smile
thanks for looking into this for me Garciat smile
enjoy your hols!!

I was viewing it using firefox on my asus eeepc. Now that I view it on my iPhone safari it looks fine smile

I'll post a screengrab later
thanks Garciat smile

500

(2 replies, posted in Archive)

ah yes
sorry mods sad