126

(119 replies, posted in PunBB 1.3 extensions)

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 tongue

Next release (1.4)

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)

131

(119 replies, posted in PunBB 1.3 extensions)

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)

132

(119 replies, posted in PunBB 1.3 extensions)

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.

133

(119 replies, posted in PunBB 1.3 extensions)

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

134

(119 replies, posted in PunBB 1.3 extensions)

New release - 1.8

Changes:
- you can set preferences for some panels
- you can manage panels for center side
- some small fixes

Download

135

(119 replies, posted in PunBB 1.3 extensions)

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?

136

(2 replies, posted in PunBB 1.3 troubleshooting)

http://punbb.org/forums/viewtopic.php?id=18180

And I have NEVER heard of a host removing fopen like that.

I never heard too wink

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...

http://img231.imageshack.us/img231/8331/stylechangergl6.th.png

Allows users/guests select style. When user is logged style is stored in database, else style is stored in cookie

Download

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?

140

(34 replies, posted in PunBB 1.3 troubleshooting)

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/'
);

141

(34 replies, posted in PunBB 1.3 troubleshooting)

I replaced:

'/^gallery[\/_-]album[\/_-]?(.*?)(\.html?|\/)?$/i'  => 'index.php?gallery&gallery=$1'

with:

'/^gallery[\/_-]album[\/_-]?(.*?)(\.html?|\/)?$/i'  => 'index.php?gallery=&album=$1'

and it works big_smile

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 wink

It explode url by "&":

$query_string = explode('&', $url_parts[1]);

(60 line of rewrite_rules.php)

142

(34 replies, posted in PunBB 1.3 troubleshooting)

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'

143

(34 replies, posted in PunBB 1.3 troubleshooting)

Maybe this?

'/^gallery_album[\/_-]?(.*?)(\.html?|\/)?$/i'  => 'gallery.php?album=$1'

144

(34 replies, posted in PunBB 1.3 troubleshooting)

Try this:

'/^gallery_album[\/_-]?(.*)(\.html?|\/)?$/i'  => 'index.php?gallery=&album=$1'

145

(34 replies, posted in PunBB 1.3 troubleshooting)

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'

146

(34 replies, posted in PunBB 1.3 troubleshooting)

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 wink

148

(34 replies, posted in PunBB 1.3 troubleshooting)

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 wink

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.

Download