I can do this extension, but really don't have time now. I must first fix 2 my extensions first.
Maybe in next week.
51 2009-01-31 20:22
Re: [Request] Online Today (22 replies, posted in PunBB 1.3 extensions)
52 2009-01-31 11:03
Re: Extension DTD (2 replies, posted in PunBB 1.3 extensions)
there is no dependencies
53 2009-01-30 20:44
Topic: [discussion] extensions system upgrade (1 replies, posted in PunBB 1.3 extensions)
Hello
I'm developed many extensions, and will do many more, so I know something about it
Sometimes I have problems. Usually is missing hook, but there is different topic for it. I'm planning to write a extension(s) witch will let you to:
1. Use some hook more than one time in one extension (but with different priority)
It can be used, when you're using one hook to do same thing in multiple extensions and you want to prepare data first, then output all together. I think it could be added to core.
2. See extension notes always. Now when you are missing some dependencies, and there is info about it in notes - you will not see it.
It should be fixed in core! Or maybe I'm missing some way to do this?
3. Add new optional manifest tag parser, which will store extension upgrade url. It will let advanced extensions developers to "push" updates. They will be able to prepare update, put it into web, and since then other forums admins will see new version and will be able to update it by one click (just like repository is working).
4. Analyze installed extensions and tell you which extensions are sharing hooks (in case of conflicts)
5. Hide unused not installed extensions. Sometimes you have not installed (or uninstalled) extension, but don't want to remove files from server. It's sticking on top and annoying you. (of course hidden ext. will be displayed on bottom of ext. page - like repository)
What do you think about it?
54 2009-01-30 10:46
Re: [Release] FAQ and Privacy policy (15 replies, posted in PunBB 1.3 extensions)
@MattF
It's strange thing.
I'm loading my lang file in some common hook after loading common.php lang file (so it should be availablle everywhere).
Then message function is loading global $common_lang; So it should be there. But sometimes is not
so:
that lang file isn't global within the respective function
I will not dig for it, but just load my lang file inside those 2 hooks.
55 2009-01-30 00:00
Re: [Release] FAQ and Privacy policy (15 replies, posted in PunBB 1.3 extensions)
I'm doing some trick in this extension. Instead of adding new language array, I do this:
$lang_common['FAQ'] = 'FAQ';
$lang_common['Privacy'] = 'Privacy policy';
It's working fine on normal pages, but don't know why It causing errors on message windows (functions, calls to globals).
I will rebuild it this weekend
cheers
56 2009-01-28 15:01
Re: [release] Display posts images in Slimbox (23 replies, posted in PunBB 1.3 extensions)
BUG (I think)
I cannot see any way to close the image apart from presing ESC but many users will not think to press escape and so they'll be stuck. I guess there is a little cross in the top-right of the image (?) but my browser doesn't let me scroll across to see it. That's with google chrome AND firefox.
You can click anywhere outside the slimbox. I will do all slimbox clickable in next release.
57 2009-01-28 14:59
Re: [release] Display posts images in Slimbox (23 replies, posted in PunBB 1.3 extensions)
with a black border box around the resized image
this is quite easy I will do this in next version
@default image size
I think that there is no universal size which you can use everywhere on your forum (even set by you). There will be always some exception. I will try to add new bbcode tag "[slim]" and then let admins to set its start size. Then standard [img.] will be always big, and [slim] will be smaller. Of course I can add option to always display smaller image in [img.] tag (and then turn off [slim] one).
Generally it should look like:
Slimbox settings
post's images width [ 200 ]
post's images height [ 150 ]
use [slim] tag [x] - use those values only with new [slim] images tag, and leave [img.] image size untouched
@slimbox size
By default slimbox showing image in original size. I will dig for some "fit to screen" solution, or "drag and move" solution.
Maybe I'll even use different script. It's very easy now to switch.
58 2009-01-28 10:38
Re: [release] Display posts images in Slimbox (23 replies, posted in PunBB 1.3 extensions)
a very usefull feature would be to able change default slimbox size
something in admin section letting you set width & height for the images in your forum
what you mean? settings for images or slimbox?
and maybe also having image surrounded by black borders
image or slimbox background?
that way assuming I'm uploading 6 screenshots in a post they'd all neatly appear next to each other like a mini gallery... just a thought...
yeah that would be nice. the problem is, that sometimes img should be bigger (like party posters on my forum). maybe new tag in bbcode? like [slim]
59 2009-01-28 00:06
Re: [release] Display posts images in Slimbox (23 replies, posted in PunBB 1.3 extensions)
I'll do this in next version
60 2009-01-27 22:55
Topic: [release] Display posts images in Slimbox (23 replies, posted in PunBB 1.3 extensions)
Hello
I was fighting with this extension for few evenings All the time there was some issue with javascript's image processing. Finally I did it, and on my machine it's working perfectly.
Extension adds slimbox script to your forum. See how slimbox is working here.
What is it doing:
1. It resize all images to fit on your screen (always, even vertically!)
2. If resized image is smaller than original one for more than 10% - sets a slimbox.
3. Slimbox images have "move" cursor and showing original resolution in title (hover).
4. Extension is removing links to common image hosting sites too. Only default links (like "http://imageshack.us/")***. Links to larger files stays untouched and slimbox is not set up then.
***(currently there is only 2 of them: imageshack.us and fotosik.pl. You can edit this list yourself in slimbox2.js file; please report here other common links - I will add them in next version)
It requires jQuery library! Use this extension: jquery_y_1.3.zip
(I will use it in many of my extensions in future)
===========================================================
Version 1.0
postimg_slimbox_1.0.zip
edit:
omg! I wrote horizontally, instead of vertically fixed, sorry
61 2009-01-25 13:12
Re: Someone post illegally (9 replies, posted in PunBB 1.3 troubleshooting)
No guest post is not enabled.
www.imghype.com/viewer.php?imgdata=4b471124a0xxsad.jpg
Does my setting "Guest posting" is right?
Yes, but it is not permission settings. It's just for forcing (or not) guest to type email address.
Go to » Administration » Users » Groups » Edit Guest group
62 2009-01-25 13:09
Re: Blank page with 'Test Category' after successful install (8 replies, posted in PunBB 1.3 troubleshooting)
There must be some issue with your MAMP. Or maybe template file. I have no idea.
63 2009-01-23 23:00
Re: Blank page with 'Test Category' after successful install (8 replies, posted in PunBB 1.3 troubleshooting)
omg! nice
can you paste generated page source?
64 2009-01-23 20:44
Re: Blank page with 'Test Category' after successful install (8 replies, posted in PunBB 1.3 troubleshooting)
any print screen?
65 2009-01-22 14:38
Re: Show the real name in post (10 replies, posted in PunBB 1.3 extensions)
Maybe... but I think hiding the username completely would be a nice thing to do, because it would make account theft harder, right?
Yes, it will It's very good for security.
But in this case easier will be to use emial address to logging in, because it is currently required, usually hidden and unique, and it will not make any problems if you have any special national chars in your name, and you will need to log in on machine without your keyboard layout installed.
66 2009-01-22 14:30
Topic: New hotfix for 1.3.2 is not tested on 1.3.2 ;) (0 replies, posted in PunBB 1.3 bug reports)
Hi
Today new hotfix appear on my forum:
PunBB 1.3.2 hotfix for a potential XSS-attack via GET-parameter "p".
When I'm trying to install it, showing:
This extension has not been explicitly tested on your PunBB version and might therefore not be compatible with your current setup.
silly
67 2009-01-22 14:22
Re: Show the real name in post (10 replies, posted in PunBB 1.3 extensions)
I know, but that's what he asked for, right?
Generally yes But I think he mean more than just this
Cheers
68 2009-01-22 11:10
Re: Show the real name in post (10 replies, posted in PunBB 1.3 extensions)
@Garciat
but it is showing it only on post list (viewtopic)
even "Last edited by" will keep username
69 2009-01-22 01:08
Re: Show the real name in post (10 replies, posted in PunBB 1.3 extensions)
You mean instead of it? You want to use login/pass just for logging in, and then real name value?
If yes, it's almost impossible. Username value exist in hundreds of places in code (like viewtopic, viewforum, index, search, profile, extern, edit, post.... omg - it's just everywhere)
In theory it is possible, but I'll not do this
Simplest way will be force users to use real name as username
70 2009-01-22 00:59
Topic: [release] Subject edit lock (1 replies, posted in PunBB 1.3 extensions)
Hello
This extension locks all subjects for users. Only moderators can edit them later.
When standard user is editing first post in topic he will see ### Only moderator can edit this subject. Use reporting. ### message in subject place (field disabled).
You can change this message if you want. Just edit language file.
Version 1.0
subject_lock_1.0.zip
Version 1.0.1
-Fixes a bug with not defined variable warning
subject_lock_1.0.1.zip
71 2009-01-21 13:38
Re: [request] Rss feed creates new topics automatically (22 replies, posted in PunBB 1.3 extensions)
8k84 wrote:Another not fixed bug: if javascript is disabled (as some users do for security reasons), then quoting does not work at all.
Care to fix these too?
That's not a fault or bug. Quick quote is javascript based. Have you guessed where I'm leading yet?
He mean, that then you can't quote at all. There should be standard href redirection and some onclick event canceling href redirection (and then doing standard JS code). I was doing something like that before. Will try to fix it in few days. Now I don't have a time.
72 2009-01-19 14:11
Re: manifest.xml troubles (4 replies, posted in PunBB 1.3 extensions)
are you reinstalling extension after making changes in manifest.xml?
73 2009-01-18 14:01
Re: [release] Hide your online status (13 replies, posted in PunBB 1.3 extensions)
@sonofsinner
I know whats wrong. It'll work
I don't know why there is so strange database nickname assign?: "users AS o", "online AS e" ??
Anyway, before
$process = $forum_db->query_build($array) or error(__FILE__, __LINE__);
add
if ($forum_db->field_exists('online', 'hidden')) $array['WHERE'] .= ' AND e.hidden=0';
74 2009-01-18 01:52
Re: extension display order? (5 replies, posted in PunBB 1.3 extensions)
topic refresh
what is default priority for hooks?
what will be the display order of extensions installed in this order:
1. hook_x: <p>A</p>
2. hook_x priority 1: <p>B</p>
3. hook_x: <p>C</p>
4. hook_x priority 5: <p>D</p>
5. hook_x: <p>E</p>
6. hook_x priority 10: <p>F</p>
7. hook_x: <p>G</p>
75 2009-01-18 00:33
Re: [release] Post edit grace period (21 replies, posted in PunBB 1.3 extensions)
8k84 wrote:gokieks wrote:The best way to do it, IMO would be to let users silent edit until there's been a reply, or X minutes has passed, whichever comes first...
I second that.
thirded
that's good. I will do this