1 (edited by Rich Pedley 2009-03-06 13:47)

Topic: better bb_bar

Demo

What does the extension do? (currently written for PunBB only)

  • Adds a toolbar for inserting bbcode into posts.

  • Adds 2 new bbcode - spoiler and strikethrough

  • Adds the ability to resize the textarea

  • Smilies hidden by default, can be shown by using the relevant button/image link

  • Adds the ability to change smiley sets

  • Toolbar only shows if javascript is enabled

  • Spoiler tag adds a javascript toggle if javascript enabled, and 'masks' the text it isn't

  • Different styles/themes can change the default set of button images

tested and working in IE, Firefox, Chrome and Opera.

my mind is on a permanent tangent
byUsers forum

Re: better bb_bar

Looking for feedback before I release it.

I do have one small feature to add in, some dynamic javascript syling - to highlight open tags on the toolbar.

I created because the pun_bbcode bar appears on the page whether javascript is enabled or not, and it also needed to be amended for 2 of my current extensions. As such this extension also replicates the functionality of PunBB BBCode Extended and PunBB eSmiley so that they are not needed.

my mind is on a permanent tangent
byUsers forum

Re: better bb_bar

Maybe will be better to display smilies in popup window? Because, if there too much smilies, bb-bar looks bad.

4 (edited by Rich Pedley 2009-03-06 17:04)

Re: better bb_bar

Currently you can't add smileys to the list. But if the list grows long, it should just wrap.

But I'll be looking at a way of listing additional smilies at some point.

my mind is on a permanent tangent
byUsers forum

5 (edited by Sméagol 2009-03-07 19:57)

Re: better bb_bar

Something that would let you have a full list of smilies open in a new window, yet still display the most common ones as normal, would be great.  Especially if there were a way to include smilies of varying resolutions.  I guess I would rather have at least a short list of emoticons visible by default.  All the other stuff looks great.

Re: better bb_bar

I wouldn't be adding a 'new window' for anything, at least not in this extension.

my mind is on a permanent tangent
byUsers forum

Re: better bb_bar

Wow, Nice Extension, Cant beleave i missed it.

especially spoiler button.

offtopic question: i noticed in you test forum. http://quirm.net/subeshop/forum/index.php . have buttons every where, i mean post topic, menu, forums place, quote, post reply, every where.

is that an extension of urs.

MyFootballCafe.com  is Now Online!

Re: better bb_bar

I think you mean this one: Forum Fixes and Images Beta

Though it is probably time to take that one out of beta (well after I've tweaked it a bit for my other extensions).

my mind is on a permanent tangent
byUsers forum

9

Re: better bb_bar

It looks really good but I agree with the comments above, some smilies should be visible by default and not hidden away. Additional ones could of course be hidden. You are getting into the realms of having smilies categorised as popular and not though.

Is it custom javascript or something like jQuery?

Re: better bb_bar

Custom javascript utilising various scripts - and based on an infamous one by Alex King - which is used in WordPress - but mines better smile

What I might do is make the default set of smilies available, and then if there any extra ones the show more button could then show them. But I have to add in some major things - like checking that bbcode is in use, images, smileys etc from the settings. This could take a while as I'll have to mix and match javascript with php more than I would have wanted.

Plus of course another project is currently taking up my time.

my mind is on a permanent tangent
byUsers forum

Re: better bb_bar

hey Rich, could you please release the [ Forum Fixes and Images Beta] extension please. Sorry i am not a very patient person. tongue

MyFootballCafe.com  is Now Online!

Re: better bb_bar

its already released and can be downloaded from quirm.net

my mind is on a permanent tangent
byUsers forum

Re: better bb_bar

ok i get this error at the top of my forum page after i installed the Forum Fixes and Images Beta Extension.

Notice: Undefined index: Mark all as read in /home/supermag/domains/sports2all.com/public_html/forum/index.php(56) : eval()'d code on line 11
MyFootballCafe.com  is Now Online!

Re: better bb_bar

check your lang file. In the English one in lang/English/index.php it is the last entry.

my mind is on a permanent tangent
byUsers forum

Re: better bb_bar

donno what you talking about: here is my lang file:

<?php

// Language definitions used in index.php
$lang_index = array(

'Moderated by'                =>  'Moderated by %s',
'Link to'                    =>    'Link to %s',    // As in "Link to http://punbb.informer.com/"
'Category subtitle'            =>    '%1$s in this category with details of %2$s',
'Forums'                    =>    'Forums',
'Topics'                    =>    'Topics',
'Posts'                        =>    'Posts',
'Last post'                    =>    'Last post:',
'last post'                    =>    'last post',
'topics'                    =>    'topics',
'topic'                        =>    'topic',
'post'                        =>    'post',
'posts'                        =>    'posts',
'No topic info'                =>    'No topic information',
'No post info'                =>    'No post information',
'No lastpost info'            =>    'No last post information',
'Forum is empty'            =>    'This forum is empty',
'First post nag'            =>    'Be the first to post',
'Last poster'                =>    'by %s',
'Empty board'                =>    'Board is empty',
'Newest user'                =>    'Newest registered user: %s',
'No of users'                =>    'Total number of registered users: %s',
'No of topics'                =>    'Total number of topics: %s',
'No of posts'                =>    'Total number of posts: %s',
'Guests plural'                =>    '<strong>%s</strong> guests',
'Guests single'                =>    '<strong>1</strong> guest',
'Guests none'                =>    '<strong>0</strong> guests',
'Users plural'                =>    '<strong>%s</strong> registered users',
'Users single'                =>    '<strong>1</strong> registered user',
'Users none'                =>    '<strong>0</strong> registered users',
'Currently online'            =>    'Currently online ( %s )',
'Online stats separator'    =>    ', ',
'Online list separator'        =>    ', ',
'Statistics'                =>    'Forum statistics',
'External forum'            =>    '(This forum is located on an external site)',
'Forum has new'                =>    '( %s )',
'Forum new posts'            =>    'New posts',
'New posts title'            =>    'This forum contain posts made since your last visit.',
'Board options'                =>    'Board options',
'RSS active feed'            =>    'RSS active topics feed',
'Guests online'                =>    'Guests online',
'Users online'                =>    'Users online'

);
MyFootballCafe.com  is Now Online!

Re: better bb_bar

well according to the official SVN repositry the file looks different to what you have:
lang/English/index.php

So I don't know how come yours got out of sync.

my mind is on a permanent tangent
byUsers forum

Re: better bb_bar

what in the world, this is realy confusing, i am sure i am using 1.3.2

MyFootballCafe.com  is Now Online!

Re: better bb_bar

anyway, thanks, the error is fixed.

MyFootballCafe.com  is Now Online!

Re: better bb_bar

ok one more thing, does any one have good icons sets for the new posts, readed post, closed post, sticky topic etc, want something professional and bit bigger.

thanks in advance.

MyFootballCafe.com  is Now Online!

Re: better bb_bar

tongue

my mind is on a permanent tangent
byUsers forum

Re: better bb_bar

hey Rich Pedley, is there any way i can add my own icons in menu. like i added a link to my Facebook Group in menu. its shows now home icon, is there any way i can change that.

Thanks

MyFootballCafe.com  is Now Online!

Re: better bb_bar

well i assume you know how to add a link to the menu.

so you can add a css class in there, and then copy what I've used elsewhere to create the CSS, then you just need to create an icon...

my mind is on a permanent tangent
byUsers forum

Re: better bb_bar

well after i created a link from the admin place.

well i already have an icon, placed it with others.
http://sports2all.com/forum/extensions/ … cebook.gif

And i edited the http://sports2all.com/forum/extensions/ … s/imgs.css

and added this line in it.

}
#navfacebook {
    background:transparent url(images/facebook.gif) no-repeat center left;
}

but it ditdnt work, well i am not a coder either.
so just need a tip to copy what.

MyFootballCafe.com  is Now Online!

24 (edited by Rich Pedley 2009-04-02 13:30)

Re: better bb_bar

what you've got now is the css id in the li:

<li id="navextra1">

and that is already styled correctly in the CSS with :

#navextra1 {
    background:transparent url(images/navextra1-home.png) no-repeat center left;
}

so just change the image, or the url to a new image

my mind is on a permanent tangent
byUsers forum

Re: better bb_bar

worked, just changed name, thanks alot mate.

MyFootballCafe.com  is Now Online!