there is still some thing wrong with the page look the difference
http://supermag.exofire.net/page1-Free-Hosting.html
http://supermag.wsnw.net/page.php?id=4
It looks correctly with Incandescent style
You are not logged in. Please login or register.
PunBB Forums → Posts by daris
there is still some thing wrong with the page look the difference
http://supermag.exofire.net/page1-Free-Hosting.html
http://supermag.wsnw.net/page.php?id=4
It looks correctly with Incandescent style
Changes:
- one edit link with popup menu (i don't know how hide it when user clicks out menu)
Demo
login: test, password: test
It works in Opera and Firefox, i didn't check how about other browsers.
MyBB has implemented own popup menu system, i tried include it to punbb but it requires some mybb variables
when you click on edid .. a small menu shows up and tells you what to choose
I don't know how i create popup menu
New release (1.3)
Changes:
- silent edit for admin/mod
- checking bbcode syntax (for example unclosed code tag)
In style/{style}/{style}.php you should add at end of file:
<?php $style_author = '<a href="http://daris.hostsnake.com">daris</a>' ?>
and in footer.php after:
<p id="copyright">Powered by <strong><a href="http://punbb.org/">PunBB</a><?php if ($pun_config['o_show_version'] == '1') echo ' '.$pun_config['o_cur_version']; ?></strong></p>
you should add this:
<?php if (isset($style_author)) { ?><p id="copyright">Theme created by <strong><?php echo $style_author ?></strong></p><? } ?>
This will display style author in footer. Is it possible to add this to punbb? (i know, i can do it via extension, but better when it's in core)
which forum ... it must punbb error ...
http://supermag.exofire.net/
and the link is:
http://supermag.exofire.net/change-pass … ***Jk.html (i censured some chars)
It's something wrong with fancy url's because i can go to this page:
http://supermag.exofire.net/profile.php … y=Sv****Jk (i typed new password and it redirects to fancy url and then shows premissions error again)
my site still have 7 vaildations but it may be caused by other extensions which i dont know which one ...
I know. It's mine style changer extension (double quotes "")
same page ... when the page name is change the url of the page should be change and old url should not work
It isn't a bug, you have to edit menu panel. Page name is constant, because else it will be additional query to database.
I can't change password on your forum, when i clicked on link in mail i get "You do not have permission to access this page." (it could be a punbb error). Try register new user.
1- it has 21 vaildations problems
http://validator.w3.org/check?uri=http% … mp;group=0
Sorry, i didn't see this, i were always logged ;P
2- custom pages and not accepting HTML at all
One htmlspecialchars too a lot
and also can you please make this linkible to the created page:
Delete | Edit (((HTML Encrypt)))
Admin/edit page or preview page?
4- in the article page the comments is linked to topic except of article
Comments are on the forum (they're posts)
Download newest version (1.9)
It's in the 1.8 release section
Changes:
- some bugfixes
New release - 1.8
Changes:
- you can set preferences for some panels
- you can manage panels for center side
- some small fixes
when i put a adsense banner in my banner pannel ... look what happen
Parse error: syntax error, unexpected '<' in /home/iman/public_html/footer.php(218) : eval()'d code(19) : eval()'d code on line 1
Try adding
?>
at start. Can you post your code?
And I have NEVER heard of a host removing fopen like that.
I never heard too
I found this topic on hostsnake forums.
But in ealier version of punbb i saw in functions.php code like this:
if (!function_exists('file_get_contents'))
function file_get_contents...
fopen...
Allows users/guests select style. When user is logged style is stored in database, else style is stored in cookie
My hosting (hostsnake.com) disabled function fopen and when i tried run punbb it shows me an error:
Unable to write configuration cache file to cache directory. Please make sure PHP has write access to the directory 'cache'
but this directory exists and has chmod 777. After removing @ from fopen it says:
Warning: fopen() has been disabled for security reasons in /www/hostsnake.com/d/a/r/daris/htdocs/include/cache.php on line 91
I replaced fwrite with file_put_contents and now it works.
Why cache.php not use file_put_contents instead of fwrite?
rewrite_rules.php:
$pun_rewrite_rules_gallery = array(
'/^gallery(\.html?|\/)?$/i' => 'index.php?gallery=',
'/^gallery[\/_-]album[\/_-]?(.*?)(\.html?|\/)?$/i' => 'index.php?gallery=&album=$1'
);
Folder_based.php:
$pun_url_gallery = array(
'gallery' => 'gallery/',
'gallery_album' => 'gallery/album/$1/'
);
I replaced:
'/^gallery[\/_-]album[\/_-]?(.*?)(\.html?|\/)?$/i' => 'index.php?gallery&gallery=$1'
with:
'/^gallery[\/_-]album[\/_-]?(.*?)(\.html?|\/)?$/i' => 'index.php?gallery=&album=$1'
and it works
Simple method for check what is wrong:
echo '<pre>';
print_r($_GET);
echo '</pre>';
and it prints:
Array
(
[gallery] =>
[amp;album] => Lytebox
)
album is not set, amp;album is set
It explode url by "&":
$query_string = explode('&', $url_parts[1]);
(60 line of rewrite_rules.php)
I installed your extension, changed some code and it works. Here is changed gallery.php file (between /***) and rewrite rule which i used:
/^gallery[\/_-]album[\/_-]?(.*?)(\.html?|\/)?$/i' => 'extensions/gallery/gallery.php?gallery=$1'
Maybe this?
'/^gallery_album[\/_-]?(.*?)(\.html?|\/)?$/i' => 'gallery.php?album=$1'
Try this:
'/^gallery_album[\/_-]?(.*)(\.html?|\/)?$/i' => 'index.php?gallery=&album=$1'
Also same as above replace:
'/^gallery_album[\/_-]?([0-9]+).*(\.html?|\/)?$/i' => 'index.php?gallery&album=$1'
with
'/^gallery_album[\/_-]?([0-9]+).*(\.html?|\/)?$/i' => 'index.php?gallery=&album=$1'
PunBB rewrite_rules.php srcipt searches "=" in url so replace:
'/^gallery(\.html)?$/i' => 'index.php?gallery',
with
'/^gallery(\.html)?$/i' => 'index.php?gallery=',
in rewrite_rules.php
Your method is better
What do you get when you type on address bar:
{path to your forum}/gallery.html
I coppied some part of admin/extensions.php code
After installing this extension on manage extensions page you should see refresh hooks link
If you change something in manifest.xml you have to uninstall extension and install again to see results (or you can change version and upgrade it). This extension allows you refresh all hooks without reinstalling/upgrading it.
PunBB Forums → Posts by daris
Powered by PunBB, supported by Informer Technologies, Inc.