1

(37 replies, posted in PunBB 1.3 extensions)

Now it works.
Thanks a lot!

There is a link on 1.3 beta, too, this is the one I meant...

2

(37 replies, posted in PunBB 1.3 extensions)

aah, thanks!

I thought the version linked on the main page of punBB.org would be the latest revision...

3

(37 replies, posted in PunBB 1.3 extensions)

Thanks,

Hmm, when I try to install the new version I get the folowing error:

Notice: Undefined variable: pun_db in /home/www/web4/html/punBB1.3/admin/extensions.php(137) : eval()'d code on line 4

Fatal error: Call to a member function query() on a non-object in /home/www/web4/html/punBB1.3/admin/extensions.php(137) : eval()'d code on line 4

I already got it when I was trying to install several other extensions, but I always thought the Extensions would be to old... :-(

What can I do now?

I would be happy if you could help me.

Therminator007

4

(37 replies, posted in PunBB 1.3 extensions)

OK, there I can manage it - but how can users watch the pictures?

5

(37 replies, posted in PunBB 1.3 extensions)

hmm, I managed to install the mod - but how do I reach the gallery?
There isn't any link, is there?

6

(99 replies, posted in PunBB 1.3 additions)

I can help you with the german language pack if needed.
Contact me under this address and I will tell you my real one:

qecerydovaciwovi@tempomail.fr

7

(2 replies, posted in PunBB 1.3 troubleshooting)

Thx, I finally managed to do it with your help!

8

(2 replies, posted in PunBB 1.3 troubleshooting)

Hi,
It might  sound like a stupid question, but I just don't get it working:
How do I install an extension?

I know that I have to use Administration->Extensions->Install extensions.
But where do I have to upload the files?
I already tried uploading them to ./ and to ./extensions, but I always still see "There are no extensions available for install or upgrade.".

Did I understand something totally wrong?

Hope You can help me.

Therminator007

Hi,
I'm trying to make a plugin that shows me the last login of every user.
But it doesn't work very goot, it just shows me an empty table... sad

<?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

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


/***********************************************************************
                     DO NOT EDIT BELOW THIS LINE
/***********************************************************************/

// Make sure no one attempts to run this script "directly"
if (!defined('PUN'))
    exit;

// Tell admin_loader.php that this is indeed a plugin and that it is loaded
define('PUN_PLUGIN_LOADED', 1);


if (isset($_POST['last_login']))
{
 //datenbank abrufen und nachschauen
 mysql_connect("localhost", "hmmm", "gfdhgf") or die ("Could not connect");       //db571.1und1.de
  mysql_select_db("yszgh") or die ("database doesn't exist");
  $benutzer[]=mysql_query("SELECT username FROM forum_users" or die(mysql_error()));
  $visit[]=mysql_query("SELECT last_visit FROM forum_users" or die(mysql_error()));
  $userzahl=count($visit, COUNT_RECURSIVE);
  
  echo $benutzer;

  echo "<table border=1>
  <tr><td>Benutzername</td><td>Letzter Login</td></tr>";
  echo count($visit);
  print_r ($benutzer);
  print_r ($visit);

  for ($i=0;$i<$userzahl;$i++){
     echo "<tr><td>$benutzer[$i]</td><td>$visit[$i]</td></tr>";
     }
  echo "</table>";
  generate_admin_menu($plugin);
 
}
else
{
    generate_admin_menu($plugin);

?>
    <div class="blockform">
        <h2><span>Last Login</span></h2>
        <div class="box">
            <form id="example" method="post" action="<?php echo $_SERVER['REQUEST_URI'] ?>&foo=bar">
                <div class="inform">
                    <fieldset>
                        <legend>Letzter Login</legend>
                        <div class="infldset">
                            <p>Dieses Plugin zeigt den letzten Login aller Forenmitglieder an</p>

                            <div class="fsetsubmit"><input type="submit" name="last_login" value="Last Login" tabindex="1" /></div>
                        </div>
                    </fieldset>
                </div>
            </form>
        </div>
    </div>
<?php

}

I hope anybody can help me the mistake(s) and to fix them.

hmm, it seems that I'm too silly to find it... sad
can anybody of you post a link please?

But this mod only logs if I change something in the admin menu, but I want to log it if s.o. edits or deletes posts.

Hi,
Is it possible to log mod activities?
But the mods shouldn't be able to modifie the log files... wink
Hope anybody here can help me

Yes, but I didn't find it there...

Hi,
Is there any posibillity to open a new window with all my smilies in it and when I klick at one of it it will be added to the post i'm writing?
I'm almost sure I saw something like this here, but I coldn't find it...

thanks, I always tried to change it in the viewtopic.php, i didn't think of the parser.php...

Hi,
is there any posibillity to open external links in a new window???
(<a href="forums.punbb.org" target="_blank">click here</a> instead of <a href="forums.punbb.org">click here</a> in the sourcetext of posts)
I tried to edit viewtopic.php but I had no luck... wink
I hope anybody of you can help me.

When I go on

How do I add a basic portal page to my board? http://punres.org/doku.php?id=tutorials:miniportal

I get this message:

No input file specified.

sad
can anybody help me/fix it etc...???

Very nice!
It would be nice if admins and mods could delete messages!
I like this script!

Where do i have to change the rows above?
I coldn't find them in the index.php or the footer.php

hi,
I'd like to run the News_generator - plugin as a cronejob.
How do I have to change it?

I've got lots of mods run on my forum (version 1.2.12) and now I've got a problem you can see on that image:

http://10000kb.de/user_web/joni171090/Bug.JPG

Every post of the persons that re shown several times is shown as often as the person is shown in the footer.
what can I do to get this nasty mistake away?

It worked very well, thanks a lot!

Every Time i want to run the install_mod.php of private message mod v.1.2.2 i get this error:

An error was encountered
File: ********************************************/install_mod.php
Line: 62

PunBB reported: Unable to create table forum_messages.

Database reported: Invalid default value for 'owner' (Errno: 1067)

Does anybody of you knof a mod for private messages that can be run on punbb version 1.2.12?
I've allready tried Private Message System and Private Message mod v1.2.2 but both didn't work.
Can anybody help me?

I run punbb1.2.12 an djust tried to use this smiley menu but i can only see the standard smileys in the menu...
can anybody of you help me?