201

(14 replies, posted in PunBB 1.2 troubleshooting)

I have had the same problem until i rememberd that I did not use the generate_navlinks() but another function named generate_menulinks() and I also had to change the logout link there.
Maby it helps you people?

I think the easiest way for you is not to click on the womans forum link so that you will never go there wink

with trail and error just like me, you put in the template files all the css, javascript and everyting that your normal site also has but leaving in the <pun_status> etc.

here is 1 of mine template files.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" dir="<pun_content_direction>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<pun_char_encoding>" />
<pun_head>
</head>
<body>
<pun_include "topmenu.inc.php">
 <div id="main-inner">
  <div id="punwrap">
    <div id="pun<pun_page>" class="pun">
    <div id="brdheader" class="block">
      <div class="box">
        <pun_status>
      </div>
    </div>
      <pun_announcement>
      <pun_main>
      <pun_footer>
    </div>
  </div>
  <pun_include "banner.php">
 <pun_include "footer.inc.php">
<pun_include "bbclone.inc.php">
</div>
</div>
</body>
</html>

204

(5 replies, posted in PunBB 1.3 extensions)

With this extension for Punbb 1.3 Beta you can re-generate your cache files.

Download at Punres.org.

I think you should use the templates that punbb uses, they are in include/templates. that way you can make your forum look like your website.

206

(37 replies, posted in PunBB 1.3 extensions)

I just uploaded the new V1.2 version at punres

This extension adds a gallery to your punbb forum.
Feature's:
Images using: Greybox, Highslide, Lightbox, Lightbox++, Lytebox, Thickbox or random any of those scripts.

Upload files, make new directory or delete directory with an ajax filemanager.

Option to show the bbcode so users can use the images on the forum.

when updating my signature I get this:

Notice: Undefined index: form in C:\AppServ\www\punbb_1.3\profile.php(1096) : eval()'d code on line 16

Warning: Invalid argument supplied for foreach() in C:\AppServ\www\punbb_1.3\profile.php(1096) : eval()'d code on line 16

I know it must be this extensions because I disabled the rest smile

208

(34 replies, posted in PunBB 1.3 extensions)

lie2815 wrote:

Just had an idea:
How about an option to sort the post by deleting date? Seems kinda more logical.
I wanted to add this option first, but I deleted it again, because I did the checking for the post being deleteable or not differently from now. But since I do it with a query now, it should be possible...

that would make sense.

209

(34 replies, posted in PunBB 1.3 extensions)

yes, now it works, thanks smile

210

(34 replies, posted in PunBB 1.3 extensions)

what query? It is just on the search.php page and then click the link Unanswered topics.

demo: http://www.pundemo.org/search-unanswered.html

That is smart Gizzmo, thanks for sharing smile

212

(34 replies, posted in PunBB 1.3 extensions)

if you go to search and then "Unanswered topics" you get an error.

An error was encountered

--------------------------------------------------------------------------------

The error occurred on line 698 in /home/default/pundemo.org/user/htdocs/search.php

Database reported: Unknown column 'p.deleted' in 'where clause' (Errno: 1054).

And if they do they have to put in something like this:

if ( file_exists ( 'extensions/gallery/lang/'.$pun_user['language'].'/gallery.php' ) ) {
  require PUN_ROOT.'extensions/gallery/lang/'.$pun_user['language'].'/gallery.php';
} else {
  require PUN_ROOT.'extensions/gallery/lang/English/gallery.php';
}

Otherwise the extension will not work hmm

When I update for instance Settings - Setup then i get the next message.

Notice: Undefined index: recaptcha_private_key in /home/kierowni/public_html/pundemo/admin/options.php(214) : eval()'d code on line 6

Notice: Undefined index: recaptcha_public_key in /home/kierowni/public_html/pundemo/admin/options.php(214) : eval()'d code on line 7

215

(37 replies, posted in PunBB 1.3 extensions)

maby update to the latest svn, I never got that error?

216

(1 replies, posted in PunBB 1.2 show off)

Looks very pink big_smile but then again love is pink smile

but i cannot read anything there roll

217

(37 replies, posted in PunBB 1.3 extensions)

because the script i want to use can be included in an iframe on the page itself or I would put up a link that opens a new window with that script in it.

218

(15 replies, posted in PunBB 1.3 troubleshooting)

Aha thanks, then I will change my extension so gallery.php is in the extension/simple_gallery directory.

219

(15 replies, posted in PunBB 1.3 troubleshooting)

So that is than also the case with my simple gallery where i put gallery.php straight in the root of punbb, or is that not what you mean?

220

(15 replies, posted in PunBB 1.3 troubleshooting)

so then the page is in the database and then, how would you call it so everybody could see it?

221

(37 replies, posted in PunBB 1.3 extensions)

If i use something like this: http://www.phpletter.com/DOWNLOAD/ to upload and delete folders in an iframe how would you all feel about it.
I know the iframe element is not valid in the strict doctype but it is the easiest way to upload and delete files?

Let me know.

222

(15 replies, posted in PunBB 1.3 troubleshooting)

yes i did, but in the subject of the topic i put in [ extenstion release ] big_smile
because i did not know how to call it smile

223

(15 replies, posted in PunBB 1.3 troubleshooting)

I know but i did not know how to call it, do you have a name for it wink big_smile

This page will show all your extensions and who made them etc.

just copy and paste:

list_extensions.php

<?php 
if ( !defined ( 'PUN_ROOT' ) )
  define ( 'PUN_ROOT', './' );
define ( 'PUN_PAGE', 1 );
require PUN_ROOT.'include/common.php';

// Load the language file
require PUN_ROOT.'lang/'.$pun_user['language'].'/index.php';
/*if ( file_exists ( 'extensions/simple_gallery/lang/'.$pun_user['language'].'/gallery.php' ) ) {
  require PUN_ROOT.'extensions/simple_gallery/lang/'.$pun_user['language'].'/gallery.php';
} else {
  require PUN_ROOT.'extensions/simple_gallery/lang/English/gallery.php';
}*/
  

//Set the page title here
$pun_page['crumbs'] = array(
    array( $pun_config['o_board_title'], pun_link ( $pun_url['index'] ) ),
    'List Extensions'
    );
define ( 'PUN_ALLOW_INDEX', 1 );
require PUN_ROOT.'header.php';

$query = array(
    'SELECT'  => 'title, version, description, author, disabled',
    'FROM'    => 'extensions',
    'ORDER BY' => 'title ASC'
  );

  $result = $db->query_build($query, true) or error(__FILE__, __LINE__);
  
?>
<div id="pun-main" class="main sectioned">
  <div class="main-head">
    List Extensions
  </div>

  <div class="main-content frm">
    <table summary="list mods">
      <tr>
        <th>Name extension</th>
        <th>Author</th>
        <th>Version</th>
        <th>Description</th>
        <th>Enables/Disabled</th>
      </tr>
      <tbody>
        <?php
          while ( $data = $db->fetch_assoc( $result ) ) {
            if ( $data['disabled'] == '0' ) {
              $data['disabled'] = 'Enabled';
            } else {
              $data['disabled'] = 'Disabled';
            }
            echo '<tr><td>'.$data['title'].'</td><td>'.$data['author'].'</td><td>'.$data['version'].'</td><td>'.$data['description'].'</td><td>'.$data['disabled'].'</td></tr>';
          }
        ?>
      </tbody>
    </table>
  </div>
</div>
<?php
require PUN_ROOT.'footer.php';

225

(37 replies, posted in PunBB 1.3 extensions)

I think it is.

I just use functions that are avalible on php.net.

If you are using php4 then I would update to php5 if I where you.

just uploaded the new version, I left the version number at V1.1.0.