pilch73 wrote:

http://www.mypunbb.com/viewtopic.php?id=6707

trying to move my modded mypunbb to my own server

i know how to upload the punbb forum to my server

I v'e  got  a back up the database from mypunbb


will the database work on a normal punbb installation or will i have to recreate the modded forum state?

only asking because i can't get an answer on mypunbb ,sorry !

The database should work, minus any of the mod features in it. If you want those, you have to reinstall the mods

6,177

(15 replies, posted in Feature requests)

Nibbler(cpg) wrote:

It's not an apache setting, it's a php setting and it is on by default. Code meant for redistribution should of be written to work without it.

I'm not sure about anyplace else, but php.ini-recommended for Windows has it off by default smile

; Allow the <? tag.  Otherwise, only <?php and <script> tags are recognized.
; NOTE: Using short tags should be avoided when developing applications or
; libraries that are meant for redistribution, or deployment on PHP
; servers which are not under your control, because short tags may not
; be supported on the target server. For portable, redistributable code,
; be sure not to use short tags.
short_open_tag = Off

Works fine for me

6,179

(5 replies, posted in PunBB 1.2 show off)

I was bored, so I wrote something that should work tongue

<?php
/***********************************************************************

  Copyright (C) 2002-2005  Rickard Andersson (rickard@punbb.org)

  This file is part of PunBB.

  PunBB is free software; you can redistribute it and/or modify it
  under the terms of the GNU General Public License as published
  by the Free Software Foundation; either version 2 of the License,
  or (at your option) any later version.

  PunBB is distributed in the hope that it will be useful, but
  WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  MA  02111-1307  USA

************************************************************************/

define('PUN_ROOT', './');
require PUN_ROOT.'include/common.php';

// Put the category ID in here
$category = '3';

// Add a "default" forum
if (isset($_POST['add_forum']))
{
        $forum_name = $db->escape(trim($_POST['forum_name']));
        $forum_desc = $db->escape(pun_linebreaks(trim($_POST['forum_desc'])));

        if ($forum_name == '')
        message('You must enter a forum name.');

        $db->query('INSERT INTO '.$db->prefix.'forums (forum_name, forum_desc, cat_id) VALUES("'.$forum_name.'", "'.$forum_desc.'", '.$category.')') or error('Unable to create forum', __FILE__, __LINE__, $db->error());

        // Regenerate the quickjump cache
        require_once PUN_ROOT.'include/cache.php';
        generate_quickjump_cache();

        redirect($_SERVER['PHP_SELF'], 'Babe added. Redirecting …');
}

$page_title = pun_htmlspecialchars($pun_config['o_board_title']).' / Forums';
require PUN_ROOT.'header.php';

?>
        <div class="blockform">
                <h2><span>Add babe</span></h2>
                <div class="box">
                        <form id="addforum" method="post" action="<?php echo $_SERVER['PHP_SELF'] ?>">
                <table>
                    <tr>
                        <td>Babe name:</td>
                        <td><input type="text" name="forum_name" value="" size="50" /></td>
                    </tr>
                    <tr>
                        <td>Babe description:</td>
                        <td><textarea name="forum_desc" cols="50" rows="10"></textarea></td>
                    </tr>
                </table>
                                <p class="submitend"><input type="submit" name="add_forum" value="Add babe" tabindex="<?php echo $tabindex_count ?>" /></p>
                        </form>
                </div>
        </div>
        <div class="clearer"></div>
<?php

require PUN_ROOT.'footer.php';

Change the catgeory variable to the correct category, name it whatever you like, put a link to it.
If you want to force people to use specific fields (like date of birth and nationality) just replace the description with some regular input fields and have the submit bit put all the bits together

bluedigitalmedia wrote:

Ok - I FINALLY figured out what was throwing the errors when trying to import into MySQL5 - it appears that any reference to "DEFAULT CHARSET=latin1" needs to be removed from the MySQL 4.1.x data dump if bringing the dump into MySQL 5

HTH anyone who runs into similar issues.

Odd, I run MySQL 5 and it imported just fine :-/

Works fine for me

The error isn't in that code (assuming you haven't taken out any lines): that's the 24th line

6,183

(11 replies, posted in PunBB 1.2 troubleshooting)

Looks like he switched to phpBB wink

6,184

(11 replies, posted in PunBB 1.2 troubleshooting)

http://www.bda.clanservers.com/punBB/
Login here
There will be a link on top in the nav bar called "Administration": click on it

6,185

(5 replies, posted in PunBB 1.2 bug reports)

<= 2 would mean that, to trigger the error, the name would need to be less than or equal to 2 characters in length. Which would mean the error would trigger for 2 letter usernames, which it shouldn't tongue

Im using Firefox 1.5 beta.

Why? 1.5.0.1 is out tongue

Cookies set fine for me...

6,188

(5 replies, posted in PunBB 1.2 troubleshooting)

http://punbb.org/forums/viewtopic.php?id=9676
That help?

6,189

(5 replies, posted in PunBB 1.2 troubleshooting)

Do what it says wink

The newer mod was written by a different author wink
They're not the same mod, one is for 1.1.x and the other is for 1.2.x tongue

No, there's a newer version

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

6,192

(4 replies, posted in PunBB 1.2 troubleshooting)

You edited it as I was posting my thing tongue
Anyways, the style is due to the fact that everything was uploaded lower case, when it should have capital letters

I'd assume same with plugins (AP and AMP versus ap and amp)
And if the folder is chmodded 777, then delete the cache files when you get that error and you should be fine

Check out the Download Mod?

Open install_mod.php, edit the array with the different versions to have 1.2.10 in it

What error do you get?

Eventually

Then just wait, this happens with a bit of frequency, Connor will fix it

Are you using MyPunBB?

6,199

(68 replies, posted in PunBB 1.2 discussion)

And your avatar tongue
I'd assume it was him wink

6,200

(4 replies, posted in PunBB 1.2 troubleshooting)

URL?