7,351

(21 replies, posted in PunBB 1.2 discussion)

Yeah, that's what I suggested: just put the COPPA in the forum rules if you feel you need it tongue

7,352

(8 replies, posted in PunBB 1.2 troubleshooting)

Because the URL you get that actually does the changing is a profile.php link
And if you're using forgot pass, you're not logged in

7,353

(22 replies, posted in PunBB 1.2 discussion)

Everywhere, or just a certain place?
And next to the name, or could it be in the tag?

7,354

(8 replies, posted in PunBB 1.2 troubleshooting)

Paul wrote:

For the sake of completeness you are probably going to have to add the same line to profile.php otherwise your guests will be able to look up the profiles by linking from usernames on other pages.

Which will mess up forums with email verification of new passes enabled smile

7,355

(6 replies, posted in PunBB 1.2 bug reports)

If .htaccess works on your server, you don't need to worry about it. Otherwise, you can just add my code to the top of the cache file (I haven't made a full mod if it yet)

7,356

(8 replies, posted in Programming)

Erm, you'd want to do
if (!$pun_user['is_guest'])

7,357

(2 replies, posted in Feature requests)

There are no German and UK versions, just language packs tongue
However, you can mod the board to make it open in a new window: http://punbb.org/forums/viewtopic.php?id=6379

In the most recent version it has.

7,359

(8 replies, posted in Programming)

I have an old version of the Treeview one and a script that works with it: the tree is always expanded in Firefox.
But when I upgraded to the new one, I was unable to figure out how to get my script to work with it tongue

7,360

(8 replies, posted in Programming)

I think that's what it's called wink
Anyways, I want a script that will display the contents of a given folder (including all subfolders) with the ability to click on something to expand/contract the folders. The problem is, I have a rather specific need that I can't find a script to satisfy. So, I wanted to see if anyone here had any suggestions. smile
I need a majority of it to be able to be auto-generated by a PHP script, (not a DB, which it seems is a popular thing to offer: I want it to read the dir, and generate the files/subfolders/files and folders in subfolders/etc). I've had no luck in modifying several, so I'm hoping you guys know of one that I wouldn't have to heavily mod (ideally, I have to do next to nothing) to do this with tongue

7,361

(7 replies, posted in PunBB 1.2 troubleshooting)

Oh yes, it's a hash table, I forgot wink

7,362

(7 replies, posted in PunBB 1.2 troubleshooting)

Mmm, odd, try repairing the table?

7,363

(7 replies, posted in PunBB 1.2 troubleshooting)

?> isn't needed.

Enable debug mode (uncomment the line in include/common.php) and paste the full error.

If you manually change the files, yes

Mmm, let me take a look...

that shouldn't be happening:(or maybe it should)

This was a test to see if sad was affected in the same way: it isn't

odd though:)

It seems to work fine on mine (although I'm not really checking and testing) tongue
But nothing seems to break with it on...

1 can be replaced with PUN_ADMIN
2 with PUN_MOD

I happened to do it in Firefox with the Web Developer toolbar wink

You can't give moderator access to a group other then the moderators without modding the code

7,371

(9 replies, posted in PunBB 1.2 troubleshooting)

BELOW the footer

7,372

(6 replies, posted in PunBB 1.2 bug reports)

Can't you add a

if (!defined('PUN'))
    exit;

bit to the top?

7,373

(9 replies, posted in PunBB 1.2 troubleshooting)

Rickard wrote:

I've gotten two e-mails asking me how I "integrated" the ads into the forums, so here's how:

1. I added the following to main.tpl below the footer:

<pun_include _google.php>

2. I then created a new PHP script called _google.php (the underscore is just there so I don't include it in a release by mistake or something stupid like that). The script contains this code:

<?php

switch ($pun_user['style'])
{
    case 'Cobalt':
        $bg_color = '2A2A2A';
        $link_color = '60A0DC';
        $text_color = 'D4D4D4';
        break;

    case 'Mercury':
        $bg_color = '2A2A2A';
        $link_color = 'F6B620';
        $text_color = 'D4D4D4';
        break;

    case 'Radium':
        $bg_color = '2A2A2A';
        $link_color = '60C860';
        $text_color = 'D4D4D4';
        break;

    case 'Sulfur':
        $bg_color = 'FFFFFF';
        $link_color = '822100';
        $text_color = '333333';
        break;

    case 'Lithium':
        $bg_color = 'FFFFFF';
        $link_color = '638137';
        $text_color = '333333';
        break;

    default:
        $bg_color = 'FFFFFF';
        $link_color = '005CB1';
        $text_color = '333333';
        break;
}

?>
<div style="TEXT-ALIGN: center">
    <script type="text/javascript">
    <!--
        google_ad_client = "pub-5038618221283072";
        google_ad_width = 728;
        google_ad_height = 90;
        google_ad_format = "728x90_as";
        google_ad_channel ="";
        google_ad_type = "text";
        google_color_border = "<?php echo $bg_color ?>";
        google_color_bg = "<?php echo $bg_color ?>";
        google_color_link = "<?php echo $link_color ?>";
        google_color_url = "<?php echo $link_color ?>";
        google_color_text = "<?php echo $text_color ?>";
        google_alternate_color = "<?php echo $bg_color ?>";
    //-->
    </script>
    <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</div>

Not very pretty, but it works smile

7,374

(1 replies, posted in PunBB 1.2 troubleshooting)

http://punbb.org/forums/viewtopic.php?id=6379

7,375

(6 replies, posted in PunBB 1.2 bug reports)

Mmm, I think this might be just me having it on localhost, let me check

Edit: it was actually me having Apache set up so as not to allow .htaccess to do anything, whoops tongue