Re: Easy BBCode 1.0.1

It is easy. Some smart guy called Bill Zeller of  Minimal Verbosity.com, created a php script for button maker, the same can be used for email also.

I modified the script a little to explain the point,

http://www.gotoguide.org/email.php?righ … @gmail.com

change the rightText value.

52 (edited by Aleksei 2005-04-12 23:31)

Re: Easy BBCode 1.0.1

druvans
let`s continue our discussion here

53 (edited by ryanknoll 2005-04-15 07:22)

Re: Easy BBCode 1.0.1

Please merge Easy BBCode into official PunBB and include it in the Options.  Cheers!

Re: Easy BBCode 1.0.1

This was just a little too easy.

Thanks for a great mod.

55 (edited by scottywz 2005-05-01 19:09)

Re: Easy BBCode 1.0.1

How can I get it to work on 1.2.5? When I installed the mod and try the post, it says:

An error was encountered

Unable to update user

or something like that.

I uploaded the original files from my PC to fix it until I can get the mod to work. Any suggestions?

EDIT: The post actually got entered 3 times (I tried 3 times), but it said "Unable to update user".

Re: Easy BBCode 1.0.1

Any suggestions?

Re: Easy BBCode 1.0.1

that doesn't make sense, you sure you did this mod correctly? it doesn't affect the sql at all

Re: Easy BBCode 1.0.1

Nevermind. I installed supermod and it works

Re: Easy BBCode 1.0.1

I'm actually thinking of adding a WYSIWYG (what you see is what you get) editor to my forums. Is it OK if I edit the code for Easy BBCode to do that?

Re: Easy BBCode 1.0.1

Of course. You should consider turning it into a mod as well smile

"Programming is like sex: one mistake and you have to support it for the rest of your life."

61 (edited by GregK 2005-06-27 20:40)

Re: Easy BBCode 1.0.1

Great Mod! wink

I've been tweaking it & have 1 thing I need help with still...
#1 How can I add a line break in the smileys, so I get 1 smiley row & 2 rows of 26 cards each?

Maybe, count back from the last card smiley 26<add break, count back another 26<add break?
This would allow adding more face smileys w/out sporking things then.
or should I just make a hardcoded version? sad
http://organiccss.com/stuff/puneditor.gif

Any help would be most appreciated, I'm scripting challenged big time lol

So far, I have...
added title tags to the smiley img tags
added a smiley_alt array to parser.php for custom alt/title tag text
added a few color div buttons, to color text with.
added a few styles to the input buttons.
got rid of the http:// & code buttons, Pun autoparses http:// & www already & its not a code related site.

really sweet mod! wink

Thanx

62 (edited by af3 2005-08-23 08:02)

Re: Easy BBCode 1.0.1

How do i make only 12 (standard) smileys appear in the quickpost and post area, and with a link that a user can click where a popup window of all other smileys can be called. A click on the smiley should send the corresponding text symbol to the post <textarea>. Am i making sense?

just that if i am using 50 smileys as part of the parse.php array, then i would end up with a post area that is full of icons :-)

63

Re: Easy BBCode 1.0.1

Done. Using EasyBBCode + Smiley plugin + some javascript.

Re: Easy BBCode 1.0.1

This is a pretty spiffy little mod. I fiddled with it and added some buttons to augment the LaTeX support I've built it:

http://www.ilovephysics.com/images/latex_easybb.gif

I'm going to attempt to write a WYSIWYG equation editor for the board. If I do, I'll put all of it together and release it as a mod. Been a while since I've been by here. Just upgraded from 1.1.5 to 1.2.6 this weekend!

Do you love physics? :) http://www.ilovephysics.com
Interested in Internet Marketing? http://www.keyliberty.com

Re: Easy BBCode 1.0.1

Will this mod work for 1.2.7?

Re: Easy BBCode 1.0.1

I tried. Works on 1.2.7

Re: Easy BBCode 1.0.1

This mod doesn't work with punbb 1.2.8 and Mozilla.

68

Re: Easy BBCode 1.0.1

Easy BBcode would be by default on PunBB, really.

69

Re: Easy BBCode 1.0.1

Nicolas wrote:

This mod doesn't work with punbb 1.2.8 and Mozilla.

It works with me : 1.2.8 and Firefox or IE.

70

Re: Easy BBCode 1.0.1

I agree (FF 1.0 for me).

Re: Easy BBCode 1.0.1

Apupv wrote:
Nicolas wrote:

This mod doesn't work with punbb 1.2.8 and Mozilla.

It works with me : 1.2.8 and Firefox or IE.

Quelle version de firefox ? Moi je suis en Moz 1.7.10

72

Re: Easy BBCode 1.0.1

Voilà / here it is :

Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7.10) Gecko/20050717 Firefox/1.0.6

Re: Easy BBCode 1.0.1

af3 wrote:

Done. Using EasyBBCode + Smiley plugin + some javascript.

How did you do that?

:Maxthon:FireFox:MirandaIM:ThunderBird:SmartFTP:FreePOPs:HTTrack:uTorrent:
:FlashGet:TCPOptimizer:SPECTralSMTPServer:UniExtract:PSPad:uStart:Everest:
:TotalCommander:ProcessExplorer:DriveMan:Regshot:Restoration:UPX:KolorGenerator:
:OpenOffice:AutoHotkey:IrfanView:Winamp:FSCapture:CDex:PNGOptimizer:spam:

Re: Easy BBCode 1.0.1

Hello,

I use Easy BBCode 1.0.1 on punbb 1.2.8 and i would like know how can i add the balise "url" like B U I IMG .....

Thank you wink

75 (edited by af3 2005-10-02 03:48)

Re: Easy BBCode 1.0.1

Replika -- simple really.

a) with easy bbcode+smiley plugin installed, i just add a script to call more smileys using javascript. in all quickpost/post/edit files (viewtopic.php, edit.php, post.php) at the areas where the original smileys are located, i just added this script:

<a href="javascrip:null()" onclick="qpe=window.open('smiley.php', 'smilies', 'width=300,height=500,resizeable=yes,location=no,scrollbars=yes,status=no');qpe.focus();return false">See more smilies</a>

b) i copied help.php to a new file called smiley.php, and deleted all the other non-smiley contents. insert this javascript in the header:

<script language="javascript">
function add_smiley(z){
    opener.document.forms[1].req_message.value+=z;
    window.opener.set_focus();
    self.close();    
    }
</script>

c) add this somewhere in smiley.php when the smiley data is being read from mthe database

echo ' '.$lang_help['produces'].' <a href="javascript:void(0)" onclick="add_smiley(\' '.$cur_text.'\'); return true;"><img src="img/smilies/'.$cur_img.'" alt="'.$cur_text.'" border="0" /></a><br />'."\n";

So when a user click on "See more smilies", a popup window of smiley.php will open up, and a click on each smiley will send the ascii code to the post textarea.

hope that helps.