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?
201 2008-02-21 21:32
Re: Can't log in, can't log out (14 replies, posted in PunBB 1.2 troubleshooting)
202 2008-02-21 20:43
Re: Two forums in one? (8 replies, posted in PunBB 1.2 modifications, plugins and integrations)
I think the easiest way for you is not to click on the womans forum link so that you will never go there
203 2008-02-21 20:17
Re: Request for Integrated Theme (6 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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 2008-02-21 20:11
Topic: [extension release] Clear Cache (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.
205 2008-02-21 18:52
Re: Request for Integrated Theme (6 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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 2008-02-19 17:21
Re: [Extension release] Gallery (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.
207 2008-02-18 18:09
Re: [extension release] Easy Profile Fields v2.0 (35 replies, posted in PunBB 1.3 extensions)
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
208 2008-02-18 16:19
Re: [Extension Release] Two new releases (34 replies, posted in PunBB 1.3 extensions)
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 2008-02-18 16:13
Re: [Extension Release] Two new releases (34 replies, posted in PunBB 1.3 extensions)
yes, now it works, thanks
210 2008-02-18 15:50
Re: [Extension Release] Two new releases (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.
211 2008-02-17 20:21
Re: Will extensions be multilingual? (6 replies, posted in PunBB 1.3 troubleshooting)
That is smart Gizzmo, thanks for sharing
212 2008-02-17 13:58
Re: [Extension Release] Two new releases (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).
213 2008-02-17 11:22
Re: Will extensions be multilingual? (6 replies, posted in PunBB 1.3 troubleshooting)
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
214 2008-02-13 23:21
Re: [extension release] reCaptcha v0.1 (11 replies, posted in PunBB 1.3 troubleshooting)
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 2008-02-13 22:26
Re: [Extension release] Gallery (37 replies, posted in PunBB 1.3 extensions)
maby update to the latest svn, I never got that error?
216 2008-02-10 21:31
Re: My new pinky forum (1 replies, posted in PunBB 1.2 show off)
Looks very pink but then again love is pink
but i cannot read anything there
217 2008-02-10 21:30
Re: [Extension release] Gallery (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 2008-02-10 21:17
Re: [ AddOn ] list_Extensions.php (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 2008-02-10 21:13
Re: [ AddOn ] list_Extensions.php (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 2008-02-10 21:02
Re: [ AddOn ] list_Extensions.php (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 2008-02-10 21:00
Re: [Extension release] Gallery (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 2008-02-10 20:13
Re: [ AddOn ] list_Extensions.php (15 replies, posted in PunBB 1.3 troubleshooting)
yes i did, but in the subject of the topic i put in [ extenstion release ]
because i did not know how to call it
223 2008-02-10 12:37
Re: [ AddOn ] list_Extensions.php (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
224 2008-02-10 12:28
Topic: [ AddOn ] list_Extensions.php (15 replies, posted in PunBB 1.3 troubleshooting)
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 2008-02-10 11:51
Re: [Extension release] Gallery (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.