Pagina 1 van 1

Laatste berichten.

Geplaatst: 15 jul 2004, 22:53
door phpbb fan
http://www.hulpverlening.net/forum/laatsteberichten.php

Ik zoek die mod, waar kun je die vinden als ik vragen mag?

Mvg,

Mario 8)

Geplaatst: 15 jul 2004, 22:57
door mosymuis

Geplaatst: 15 jul 2004, 23:02
door phpbb fan
Van harte bedankt voor de snelle reactie :thumb:

Mvg,

Mario 8)

Geplaatst: 15 jul 2004, 23:48
door phpbb fan
# This file will contain the information about your module
# for the statistics parser to use.
#
# You can make comments by using #
# Note that the text must be on a single line for the parser
# to read it! Excluding the extra install info area.

# Module Name
[name] Latest Topics

# your name
[author] Tommy Jensen

# your email
[email] tommy_jensen67@hotmail.com

# your webpage url
[url] http://www.sc-resources.net

# module version
[version] 1.0.2

# extra info for the user, everything below
# this block will be included, regardless if
# you use a # even.
[extra_info]
No extra information on this module.

Wat moet ik nu eigenlijk doen, ik heb de files in de juiste mappen geupload.

Mvg,

Mario 8)

Geplaatst: 16 jul 2004, 15:42
door phpbb fan
Iemand meer info?

Mvg,

Mario 8)

Geplaatst: 16 jul 2004, 16:42
door Leipo
Uhmz, voor die mod heb je de static page nodig.
http://www.phpbbhacks.com/download/3090 is beter bruikbaar denk ik.

Geplaatst: 16 jul 2004, 17:09
door phpbb fan
<?
/**
* Mod Title: Latest Topics
* Mod Version: phpBB 2.0.4
* Author: Charlie Page
* Description: Shows latest topics on any page
* Release: v1.0, 05.30.2004
***
* Demo: http://www.xboxassassin.com/e3
* Installation Level: Easy
* Installation Time: 1 minute
* Files To Edit: This one
* Included Files: php-latest.php
***
* Installation Notes:
* Upload this file and set $ppath and $url,
* Include this into a page and your done!
*/
$url = "/forumsfolder"; // If url is - http://www.yourforums.com/forums , then enter in "/forums"
$ppath = "/home/user/public_html/forumsfolder/config.php"; // Physical path to the config.php file
if(empty($count))
$count = "5"; // How many topics to link to

//-----------------[ DO NOT EDIT BELOW HERE ]-------------------------
include_once("$ppath");
$db = @mysql_connect("$dbhost", "$dbuser", "$dbpasswd") or die("here we die at connection");
@mysql_select_db("$dbname",$db) or die("here we die");

$prefix = "$table_prefix";

$query="SELECT * FROM $prefix_topics ORDER BY `topic_id` DESC LIMIT 0, $count";
$result=mysql_query($query);
while($row = mysql_fetch_array($result)) {
$topicid = "$row[topic_id]";
$title = "$row[topic_title]";
$forumid = "$row[forum_id]";
$replies = "$row[topic_replies]";

echo "- <a title=\"$title\" href=\"$url/viewtopic.php?t=$topicid&sid=$forumid\">$title</a> (<i>$replies</i>)<br>";

}
?>

1 file is er, en dat staat er in. Wat moet ik nu juist doen?

Mvg,

Mario 8)