Check "include/template/main.tpl"
Unfortunately no one can be told what PunBB is - you have to see it for yourself.
You are not logged in. Please login or register.
PunBB Forums » Posts by kierownik
Check "include/template/main.tpl"
use $pun_user['is_guest']
if ($pun_user['is_guest'])
{
here what a guest may do
}
else
{
here what a member may do
}maby you can rename it to htaccess.txt and after the upload you can change its name?
just add:
define('FORUM_DEBUG', 1);to config.php and re-upload it again.
After that ty to login and it may tell you what is wrong.
If you do not understand it then, post it here.
Go te his or hers profile
try editing the *.tpl files. "include/template"
I thought you could do that in the admin panel!
Use FORUM_ROOT/include/template/TEMPLATE_NAME.php to modify
Does PUN_ROOT/include/functions.php still exists? if not re-upload it.
And if it exists does the function pun_htmlspecialchars exists?
do not use an iframe please, just post your code of your file here.
I think that you include the file common.php twice in that file that is why you get that error.
search for forum_navlinks
Look here http://wiki.punres.org/Miniportal
That is because oxygen_cs.css is also almost empty.
the oxygen.css that you refer to in the source is almost empty
it has the following content:
/**
* CSS-Styles for pun_attachment extension
*
* @copyright Copyright (C) 2008 PunBB
* @license http://www.gnu.org/licenses/gpl.html GPL version 2 or higher
* @package pun_attachment
*/
div.attachments
{
border-style:solid;
border-width:1px;
padding:2px 6px 3px 6px;
}
.attachments div
{
padding:3px;
}
.attachments strong
{
visibility: hidden;
display:none;
}There sould be more code in that file.
You can also change the manifest.xml to hold that script and then generate new cache files. then you would not have to worry about that.
If something ends up in the cache file then is has to come from the manifest.xml.
Secondly, I modified the cache_hooks.php file to do the "if statement" and perform the swap.
if(pun_pm_unread_messages_integer() > 0) { $visit_elements['<!-- forum_visit -->'] = preg_replace('#(<p id="visit-links" class="options">.*?)(</p>)#', '$1 <span><a href="'.forum_link($forum_url['pun_pm_inbox']).'"><img src="myimage.gif"></a></span>$2', $visit_elements['<!-- forum_visit -->']); } else { $visit_elements['<!-- forum_visit -->'] = preg_replace('#(<p id="visit-links" class="options">.*?)(</p>)#', '$1 <span><a href="'.forum_link($forum_url['pun_pm_inbox']).'">'.pun_pm_unread_messages().'</a></span>$2', $visit_elements['<!-- forum_visit -->']); }I realize there are always many ways to solve a problem and this is just one. I also realize that it's another database query that needs to happen, but performance isn't an issue. This is for a small forum with maybe 15-20 active posters and only 3-4 online at a time. It may not be the best or what you think is the best, but I understand it and like it. Mission accomplished!
Thanks for the input again Garcia/Sirena.
If you do this then when you then install a new extension or regenerate new cache files the cache_hooks.php gets overwritten with a new one and you will lose the code I think.
Best is to do is some other way.
What way I do not know.
Just a hint so you know.
Not Found
Sorry, you are looking for something that isn't here.If you use the folder based fancy you got almost the same but without the .html
Not working!
that helps ![]()
Did you use the fancy scheme re-write?
And clearing you cache files?
thanks, but it is still not ready to use in a production forum.
I think that you should use hook "ft_about_pre_copyright" or hook "ft_about_pre_quickjump".
to get the line higher.
PunBB Forums » Posts by kierownik
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 5 official extensions. Copyright © 2003–2009 PunBB.