Can you tell me what I am doing wrong Smartys?
177 2008-03-01 23:07
Re: rewrite rules (34 replies, posted in PunBB 1.3 troubleshooting)
yes I saw that too Smartys and I changed that but that does not make any difference.
I am wondering what the Bad request means
178 2008-03-01 22:45
Re: rewrite rules (34 replies, posted in PunBB 1.3 troubleshooting)
Nope does not work either
I am getting frustrated
even http://www.ilovejackdaniels.com/mod_rew … _sheet.pdf does not help me
179 2008-03-01 22:00
Re: rewrite rules (34 replies, posted in PunBB 1.3 troubleshooting)
I did that to daris but I still get Bad request
The gallery.html is working great in every thing ( Default, filebased etc)
I do not get why the album is not working.
Thanks for helping me daris
180 2008-03-01 21:41
Re: rewrite rules (34 replies, posted in PunBB 1.3 troubleshooting)
I did that but it did not make any difference
181 2008-03-01 16:47
Re: rewrite rules (34 replies, posted in PunBB 1.3 troubleshooting)
that works thanks
but when going to an album I get the error Bad Request
182 2008-03-01 10:24
Re: rewrite rules (34 replies, posted in PunBB 1.3 troubleshooting)
then I get a bunch of error with underneath my gallery.
http://pundemo.kierownik.nl/gallery.html
Notice: Undefined offset: 1 in /home/kierowni/public_html/pundemo/rewrite.php on line 68
Notice: Undefined offset: 1 in /home/kierowni/public_html/pundemo/rewrite.php on line 70
Warning: Cannot modify header information - headers already sent by (output started at /home/kierowni/public_html/pundemo/rewrite.php:68) in /home/kierowni/public_html/pundemo/header.php on line 31
Warning: Cannot modify header information - headers already sent by (output started at /home/kierowni/public_html/pundemo/rewrite.php:68) in /home/kierowni/public_html/pundemo/header.php on line 32
Warning: Cannot modify header information - headers already sent by (output started at /home/kierowni/public_html/pundemo/rewrite.php:68) in /home/kierowni/public_html/pundemo/header.php on line 33
Warning: Cannot modify header information - headers already sent by (output started at /home/kierowni/public_html/pundemo/rewrite.php:68) in /home/kierowni/public_html/pundemo/header.php on line 34
Warning: Cannot modify header information - headers already sent by (output started at /home/kierowni/public_html/pundemo/rewrite.php:68) in /home/kierowni/public_html/pundemo/header.php on line 37
183 2008-03-01 08:35
Re: Avatar issues (6 replies, posted in PunBB 1.2 troubleshooting)
does the avatar dir have write permissions( chmod 777 )?
184 2008-03-01 08:23
Re: rewrite rules (34 replies, posted in PunBB 1.3 troubleshooting)
Can someone tell me what i did wrong
185 2008-02-29 16:20
Re: rewrite rules (34 replies, posted in PunBB 1.3 troubleshooting)
I got this:
<hook id="co_common">
<![CDATA[
// Setup the URL rewriting scheme
if ( file_exists ( PUN_ROOT.'extensions/gallery/include/url/'.$pun_config['o_sef'].'.php' ) ) {
require PUN_ROOT.'extensions/gallery/include/url/'.$pun_config['o_sef'].'.php';
} else {
require PUN_ROOT.'extensions/gallery/include/url/Default.php';
}
]]>
</hook>
<hook id="re_rewrite_rules">
<![CDATA[
require PUN_ROOT.'extensions/gallery/include/rewrite_rules.php';
]]>
</hook>
186 2008-02-29 15:31
Re: [extension release] Clear Cache (5 replies, posted in PunBB 1.3 extensions)
I updated it, thanks.
187 2008-02-29 15:24
Re: rewrite rules (34 replies, posted in PunBB 1.3 troubleshooting)
yes I did, I copied it from your extension
but can you tell me what I am doing wrong?
188 2008-02-29 12:02
Topic: rewrite rules (34 replies, posted in PunBB 1.3 troubleshooting)
I am trying to make for my extension gallery the sef urls but I am lost, can somebody help me a little?
I am trying this for the last 5 days but i still do not get it, what am I doin wrong!
rewrite_rules.php
<?
$pun_rewrite_rules_gallery = array(
'/^gallery(\.html)?$/i' => 'index.php?gallery',
'/^gallery_album[\/_-]?([0-9]+).*(\.html?|\/)?$/i' => 'index.php?gallery&album=$1'
);
$pun_rewrite_rules = array_merge($pun_rewrite_rules, $pun_rewrite_rules_gallery);
Default.php
<?php
// Make sure no one attempts to run this script "directly"
if (!defined('PUN'))
exit;
$pun_url_gallery = array(
'gallery' => 'index.php?gallery',
'gallery_album' => 'index.php?gallery&album=$1'
);
$pun_url = array_merge($pun_url, $pun_url_gallery);
File_based.php
<?php
// Make sure no one attempts to run this script "directly"
if (!defined('PUN'))
exit;
$pun_url_gallery = array(
'gallery' => 'gallery.html',
'gallery_album' => 'index.html?gallery&album=$1'
);
$pun_url = array_merge($pun_url, $pun_url_gallery);
File_based_(fancy).php
<?php
// Make sure no one attempts to run this script "directly"
if (!defined('PUN'))
exit;
$pun_url_gallery = array(
'gallery' => 'gallery.html',
'gallery/album/' => 'gallery/album_$1.html'
);
$pun_url = array_merge($pun_url, $pun_url_gallery);
Folder_based.php
<?php
// Make sure no one attempts to run this script "directly"
if (!defined('PUN'))
exit;
$pun_url_gallery = array(
'gallery' => 'gallery',
'gallery_album' => 'gallery/album/$1'
);
$pun_url = array_merge($pun_url, $pun_url_gallery);
and the code i use to print my url is:
pun_link ( $pun_url['gallery_album'], array($li_gallery_name, sef_friendly ( $li_gallery_name ) ) )
189 2008-02-28 16:12
Re: A Good Suggesion for Punbb Developers and Extension Developers (10 replies, posted in PunBB 1.3 troubleshooting)
Or we developers can define where the url settings goes to, then the admin just has to click on settings and he will be taken to the right page, is that an option?
190 2008-02-26 22:06
Re: [Extension release] Gallery (37 replies, posted in PunBB 1.3 extensions)
Will look into those points, thanks.
For the New Release make the following changes ...
1- the url of the gallery becomes index.php?gallery ( Learn how to do that from portal extension)
2- Also When SEF URLS Enebled (if not enebled then go to 1 suggestion and if file based then /gallery/ etc) ... make the main gallery.html and other urls too
3- make for users to upload images in gallery ... and wait for admins and mods for approval and if not approved delete the image automathecally ... (make this as an option)
4- correct the layout in the ajax file manager ... i mean left block etc
5- Thanks for a great extension
4. cannot do that because I did not make that script
191 2008-02-26 21:52
Re: MyBB vs Punbb both 1.2 and 1.3 (17 replies, posted in PunBB 1.2 discussion)
I also wanted to see that espesialy for the ones that use a seperate page by themselves.
192 2008-02-26 21:50
Re: Posting without login feature not working (5 replies, posted in PunBB 1.2 troubleshooting)
yep you have to, that way you can exclude guests and members out of the fora that you want for just the administrator and moderators.
193 2008-02-26 21:29
Re: Little icons to identify forums? (3 replies, posted in PunBB 1.3 troubleshooting)
that is also an option but if you have an extension so that you can decide with just a click of the button what image you want makes everything a bit easier
194 2008-02-26 21:26
Re: Posting without login feature not working (5 replies, posted in PunBB 1.2 troubleshooting)
do you mean that guests can post topics? if so just go to administration - forums and then edit the forum you want to change guest posting!
195 2008-02-26 21:19
Re: pm extension (7 replies, posted in PunBB 1.3 extensions)
Look at the post just above yours
196 2008-02-26 21:15
Re: MyBB vs Punbb both 1.2 and 1.3 (17 replies, posted in PunBB 1.2 discussion)
I just installed mybb on my localhost and I took a look at the admincp and I got lost in where I should look for things
Let me just stick with punbb where everything is cristal clear and you can decide yourself what extra's you want
197 2008-02-23 09:38
Re: Newb Questions (7 replies, posted in PunBB 1.2 troubleshooting)
did you search at http://wiki.punres.org/Wiki_index ?
198 2008-02-23 08:24
Re: include/common_admin.php(89) : eval()'d code on line 4 (9 replies, posted in PunBB 1.3 troubleshooting)
That can be but in my extension gallery I do not put commen_admin.php in a hook
199 2008-02-23 01:47
Re: include/common_admin.php(89) : eval()'d code on line 4 (9 replies, posted in PunBB 1.3 troubleshooting)
do you have the latest svn version because i do not get it with my gallery extension
200 2008-02-21 22:06
Re: Can't log in, can't log out (14 replies, posted in PunBB 1.2 troubleshooting)
does your logout link looks like login.php?action=out&id=2&csrf_token=b2593ce435b2038f1420f3723e108cec586abdf0
if not then you did not do the update wright.