This forum fails because only because of the logging img added at the end.

377

(6 replies, posted in PunBB 1.3 additions)

It's not like everyone here knows Bosnian language... if you know it, you can do it yourself.

Just go to the lang folder, make a copy of the English folder, rename it to Bosnian, and start translating every file inside.

Example:

'Ban advanced'                    =>    '--> Translation here <--',

Also, if you use any apostrophes ( ' ), put a backslash ( \ ) behind it.

378

(8 replies, posted in PunBB 1.3 extensions)

What's that?

Get the latest include/parser.php from the SVN, I added some hooks.

Ok, then smile Good luck with the rating stuff!

I don't know how your extension works, but I got an idea of how I think it would be a really good extension:

You know how the style folder works, right? Each style has its own unique ID (i.e. 'style/Oxygen/') and a ID.php (i.e. 'style/Oxygen/Oxygen.php'). You could use the same idea for the smilies folder (which will have to be placed inside the cache folder because of write restrictions).

So, when the user installs your extension, it automatically gets the contents of 'img/smilies/' and copies them to 'cache/smilies/default/' and then creates 'cache/smilies/default/default.php' which will contain something like:

$smilies = array(':)' => $base_url.'cache/smilies/'.$forum_config['o_smilies_set'].'smile.png', ... (and so on)

Then, on 'parser.php' you will have to use some hooks to change how some functions parse the smilies, so it works with the schema.

Also, you can have a drop-down set with all the sets inside 'cache/smilies/' in the Settings so the admin can select the default set for the forum. You could also allow users to select their own set, which will only apply to the posts they make.

If you get all of the above working, it will be really easy for users to create their own sets.

Another cool thing to do would be to allow admins to create sets through the forum, like this:
http://i247.photobucket.com/albums/gg135/garcia-t/idea.png

I'm giving you this idea because you started the whole smilies set stuff, but if you don't plan doing this, let me know, because I'd love to make it myself.

382

(9 replies, posted in PunBB 1.3 extensions)

You can... but you'd have to disable HTML encoding, which prevents XSS attacks.

383

(1 replies, posted in General discussion)

Enjoy your holidays big_smile

384

(9 replies, posted in PunBB 1.3 extensions)

It does show...
http://i247.photobucket.com/albums/gg135/garcia-t/it-shows.png

and I chose to use a text area for the genders because it lets you do something cool like Digg does:
http://i247.photobucket.com/albums/gg135/garcia-t/digg-cool.png

385

(21 replies, posted in PunBB 1.3 extensions)

Nope, it won't... sorry sad

386

(9 replies, posted in PunBB 1.3 extensions)

Allows users to choose their gender from a custom list.

You can change the genders list on Administration » Settings » Features » User genders

Users can change their gender on Profile » Identity

Download Link: http://punbb.informer.com/unofficial/pu … enders.zip

If you find any bugs or have any tips, please post them here.

Updates

  • 1.0: First release

387

(17 replies, posted in PunBB 1.3 extensions)

Updated to 1.1.1: Fixed small bug. (Recommended to upgrade)

388

(22 replies, posted in PunBB 1.3 extensions)

I'll make the gender extension.

Replace Lines 390 - 397 on 'include/functions.php' with this.

390

(22 replies, posted in PunBB 1.3 extensions)

I need some ideas for extensions... or if you use any of my extensions, some tips to improve them smile

Thanks!

391

(3 replies, posted in PunBB 1.2 discussion)

Like... stickies? I think PunBB has that?

I think that means it could be done as an extension smile

This never happens to me... I think I've been logged in to this forum for weeks already (same thing with my local PunBB).

394

(8 replies, posted in General discussion)

I didn't just say that because it looked bad... I actually tried it on my local server.

395

(15 replies, posted in PunBB 1.3 discussion)

big_smile Ok, cool!

396

(31 replies, posted in PunBB 1.3 discussion)

Yes, that should work, but with

var base_url = '<?php echo urldecode($_GET['base_url']) ?>';

You already have the variable inside Javascript, so you could insted use:

base_url."extensions/rating_script/stars/star.gif";

, but the way you're doing it should work, I guess.

397

(76 replies, posted in PunBB 1.3 extensions)

Updated to 1.3: Changed the way the sitemap is created. This should work with all PHP versions.

You're right, I'll edit my post saying it's decreasing their security in bold letters so users know.

399

(21 replies, posted in PunBB 1.3 extensions)

Updated to 1.2.1.

Please test it and post your results smile

Thanks!

400

(21 replies, posted in PunBB 1.3 extensions)

MySQLi and standard characters.