Im on the case.

227

(1 replies, posted in PunBB 1.2 discussion)

Assuming you mean HTML in posts then you can look at punres:

http://www.punres.org/browse.php?keywor … projects=1

I think your right, there isn't any documentation for that, and we will have some soon, in the mean time:

If your moving it to a new domain then you want to change the base url in the admin panel.

Copy all the files to your computer then to the new server's ftp. Then create a database and assign a user, you might have to change the values in config.php.

Now you go into your old database and export it as SQL (This is the easiest method)f you use phpmyadmin then you just click export and the options will be there. You need to copy the code.

Now go into your new database site, create the table, and just go SQL and paste the code.

Also getting your site valid might help

http://validator.w3.org/check?verbose=1 … p2p.net%2F < XHTML
http://jigsaw.w3.org/css-validator/vali … p2p.net%2F < CSS

230

(3 replies, posted in General discussion)

Try re-uploading arcade.php

Yes the are diffrent, and its not fine in IE.

Thats poor CSS coding which creates the issues... Look at punres wiki for centering the forum

EDIT: Made the "punres wiki" clickable  //Anatoly

You have the wrong details set in the config.php

have you looked at http://punbb.informer.com/docs/dev.html#syndication

234

(1 replies, posted in PunBB 1.2 troubleshooting)

Your other post was removed becuase:

  • Stupid title

  • Already been posted before

Does that table exist in the database? That error shows that the table bans dosnt come up becuase it dosnt exist.

235

(3 replies, posted in PunBB 1.2 troubleshooting)

Yes: http://wiki.punres.org/Add_a_logo_to_the_header_via_css

rapionet wrote:

if you just want to add a links page you can do it like this:

If your plugin is for administrators only, the filename must have the prefix "AP_". If it is for both administrators and moderators, use the prefix "AMP_".

create a test php page called AP_Hello_World.php Place this code into the page and put the page into the plugins folder and you are done:

<?php
// 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);

// Display the admin navigation menu
generate_admin_menu($plugin);

echo "Hello World";

This code is for adding a new link on the plugins section in the admin page.


If you only want links to show in the admin panel then you will need to make a new section in the admin.tpl <pun_customadminlinks>.

And in header.php add:

// START SUBST - <pun_customadminlinks>
$tpl_main = str_replace('<pun_customadminlinks>','<div id="brdmenu" class="inbox">'."\n\t\t\t". generate_adminnavlinks()."\n\t\t".'</div>', $tpl_main);
// END SUBST - <pun_customadminlinks>

And in functions add:

//
// Generate the "admin navigator" that appears at the top of the admin page
//
function generate_adminnavlinks()
{
    // Links
    $links[] = '<li id="adminlink ID"><a href="PAGE"> Message</a>';
    $links[] = '<li id="adminlink ID"><a href="PAGE"> Message</a>';
    
return '<ul>'."\n\t\t\t\t".implode($lang_common['Link separator'].'</li>'."\n\t\t\t\t", $links).'</li>'."\n\t\t\t".'</ul>';
}

http://www.punres.org/browse.php?keywor … projects=1

Any of them will do. You might need to change the version ofr the allowed install, which can be found http://punbb.informer.com/forums/topic/ … ty-for-12/

php does not run in the tpl files, you have to make a file in include/user and add that code there, Then use forum include

239

(3 replies, posted in PunBB 1.2 troubleshooting)

What have you edited? Paste the file.

240

(2 replies, posted in PunBB 1.2 troubleshooting)

what have you edited? can you paste your index.php file please

241

(24 replies, posted in PunBB 1.2 troubleshooting)

IBTB wrote:

Add "DROP" (?)
Complete inserts (?)
send (?)
CRLF (?)

None. (dont the question marks tell you?)

IBTB wrote:

And what do I export?
-Structure only
-Structure and data
-Data only

Structure and data

Well make a new post and explain what you dont understand. Download it and read the read me

enable debug mode and paste the full error message (search the forums if you dont know how to enable that)

Does that folder have the right premessions??

And if you download the file agen your see the .htaccess and the readme will tell you where it goes

You can use CSS on the table itself to remove the border. But it helps if we have a site of what you are trying to do. You need to give more detialed questions.

Show us what borders you want removing, and a live site?

You proberbly download the hdiff version or upgrade version.

You get both of them files from the download. Both are included in the attachment mod.

that is the file locations. So you should have forum/include/attach/attach_incl.php

audio.png to img/attach/
compressed.pnd to img/attach/
image.png to img/attach/
index.html to img/attach/
text.png to img/attach/
unknown.png to img/attach/
video.png to img/attach/

attach_incl.php to include/attach/
attach_func.php to include/attach/

attach.php to lang/English/

AP_Attachment_Mod.php to plugins/

attachment.php to /
install_mod.php to /
install_mod_updater.php to /

index.htm to attachment-directory  (read the preparations above!)
.htaccess to attachment-directory

you need to check that /include/attach/attach_incl.php is there. They need to be in that folder with the exact names, Case sensitive.

Enable debug mode and paste the full error message.