php forum
php mysql forum
php mysql smarty
 
Topic Options
#283173 - 01/20/05 03:13 AM Finished-[6.5] Enhanced Instant UBB Code 1.01
Anno Offline
Code Monkey

Registered: 05/23/01
Posts: 562
Loc: Austria

   Finished-[6.5] Enhanced Instant UBB Code 1.01 to Del.icio.us Add to del.icio.us
  Digg Finished-[6.5] Enhanced Instant UBB Code 1.01 Digg it
Mod Name / Version: Enhanced Instant UBB Code 1.01 <br /> <br />Description: The way how Instant UBB Code functions behave has been reworked. <br /> <br />The buttons for Center, Superscript and Subscript were added and the behavior of some of the tags was changed. <br /> <br />Now you are able to highlight a word first, and then press one of the following tags: Bold, Italics, Underline, Quote, Code, Center, Superscript and Subscript. <br /> <br />These enhancements work in Internet Explorer, Firefox and Mozilla. They don't work in Konqueror, not sure about other browsers, they should work in all IE based and Gecko engine based browsers. <br /> <br />Test drive it: <br />http://www.shroomery.org/forums/post.html <br /> <br />Working Under: UBB.Threads 6.5 , probably also 6.4 <br /> <br />Mod Status: Finished <br /> <br />Any pre-requisites: none <br /> <br />Author(s): Anno <br /> <br />Date: 01/20/05 <br /> <br />Credits: <br /> <br />Files Altered: <br />\templates\default\addpost_preview.tmpl <br />\templates\default\editpost.tmpl <br />\templates\default\newpost.tmpl <br />\templates\default\newreply.tmpl <br />\templates\default\ubbt_instant_ubbcode.tmpl <br />ubbt.inc.php <br /> <br />New Files: none <br /> <br />Database Altered: no <br /> <br />Info/Instructions: in the attachemnt <br /> <br />Disclaimer: Please backup every file that you intend to modify. <br />If the modification modifies the database, it's a good idea to backup your database before doing so. <br /> <br />Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.


Attachments
124699-enhanced_UBB_code_1.01.txt (91 downloads)



Edited by Anno (01/22/05 02:52 AM)

Top
#283174 - 01/22/05 12:35 AM Re: Finished-[6.5] Enhanced Instant UBB Code 1.0 [Re: domain123]
drkknght Offline
Kahuna

Registered: 11/09/00
Posts: 1249
Loc: rob's pad -- where it takes sk...
very very awesome <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /><br /><br />1 little typo in the instructions:<br /><br />[]######## in \templates\default\ubbt_instant_ubbcode.tmpl<br /><br />#### Search for:<br /> } else {<br /> textEl.value = textEl.value + text; // for non MSIE browsers just append it[/]<br /><br /><br /><br />should read:<br />[]######## in \templates\default\ubbt_instant_ubbcode.tmpl<br /><br />#### Search for:<br /> } else {<br /> textEl.value = textEl.value + text; // for non MSIE browsers just append it<br />}[/]<br /><br />added the "}"<br /><br />otherwise, its excellent! - and a painless install!<br /><br />great mod <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
professional discussion killer
due to intelligence limitations, i do not offer support.
my site ~ my boards

Top
#283175 - 01/22/05 02:51 AM Re: Finished-[6.5] Enhanced Instant UBB Code 1.0 [Re: ]
Anno Offline
Code Monkey

Registered: 05/23/01
Posts: 562
Loc: Austria
Thank you, fixed.

Top
#283176 - 01/22/05 01:30 PM Re: Finished-[6.5] Enhanced Instant UBB Code 1.0 [Re: domain123]
smoknz28 Offline
Enthusiast

Registered: 04/10/03
Posts: 393
Loc: Washington, D.C.
Anno, awesome hack! <img src="http://www.ubbdev.com/forum/images/graemlins/laugh.gif" alt="" /><br /><br />Thank you for sharing...

Top
#283177 - 01/23/05 09:51 PM Re: Finished-[6.5] Enhanced Instant UBB Code 1.0 [Re: General_Failure]
CMathis Offline
User

Registered: 12/21/04
Posts: 40
I'm using a Macintosh and it works for me with Navigator and FoxFire, but not with Safari or Explorer.<br /><br />Does anyone know how to modify it for Safari and Explorer?

Top
#283178 - 01/25/05 10:30 AM Re: Finished-[6.5] Enhanced Instant UBB Code 1.01 [Re: domain123]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25408
Loc: Texas
Nice work <img src="http://www.ubbdev.com/forum/images/graemlins/waytogo.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#283179 - 02/16/05 12:01 PM Re: Finished-[6.5] Enhanced Instant UBB Code 1.01 [Re: SurfMinister]
ZealotOnAStick_dup1 Offline
Member

Registered: 06/14/02
Posts: 166
Loc: Indiana
Great mod - one of the things that has bugged me for a long time was that ubb.threads just shoved everything at the bottom of the post's text entry box when I use Firefox. This fixes it and adds the ability to highlight and stick tags around things that I've also kinda missed after seeing it on competing software.<br /><br />Any chance you could do something similar for the color box?

Top
#283180 - 02/17/05 02:32 AM Re: Finished-[6.5] Enhanced Instant UBB Code 1.01 [Re: astre]
Anno Offline
Code Monkey

Registered: 05/23/01
Posts: 562
Loc: Austria
The color box? The Font color box has the same functionality as the bold or italic tags.<br /><br />Try it out<br />www.shroomery.org/post.html

Top
#283181 - 02/17/05 11:02 AM Re: Finished-[6.5] Enhanced Instant UBB Code 1.01 [Re: domain123]
ZealotOnAStick_dup1 Offline
Member

Registered: 06/14/02
Posts: 166
Loc: Indiana
Hrm. You're right. I could have sworn it wasn't doing that before . . . Yeah, my 6.4 site just shoves the color tags on the end of the page. I guess your code added for the script to surround text makes that happen?

Top
#283182 - 02/17/05 03:47 PM Re: Finished-[6.5] Enhanced Instant UBB Code 1.01 [Re: astre]
Pasqualist Offline
Member

Registered: 01/30/03
Posts: 285
Loc: Amsterdam, The Netherlands
Nice rework Anno!<br /><br />I only added three more language items for center,subscript and superscript <img src="http://www.ubbdev.com/forum/images/graemlins/laugh.gif" alt="" />

Top
#283183 - 02/17/05 05:57 PM Re: Finished-[6.5] Enhanced Instant UBB Code 1.01 [Re: astre]
Anno Offline
Code Monkey

Registered: 05/23/01
Posts: 562
Loc: Austria
> I guess your code added for the script to surround text makes that happen? <br /><br />Yes.

Top


Moderator:  Ian_W 
Top Posters Last 30 Days
AllenAyres 18
Gizmo 12
sirdude 6
GEN 3
tackaberry 2
Philipp 2
willing 2
Who's Online
0 Registered (), 35 Guests and 11 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Team UBBDev Rides Again!
by Gizmo
08/28/08 11:45 PM
Multiple Identity Detector
by MattUK
08/28/08 04:10 PM
[7.3.x] ubb.links
by AllenAyres
08/26/08 09:57 AM
Installing FlashChat with 7.3
by Gizmo
08/23/08 05:36 AM
[7.2.1] - Naked shoutbox
by Iann128
08/22/08 07:27 PM
Nice Ajax Chat
by M4D
08/21/08 10:02 PM
51-card NVIDIA folding rig cranks out 265,200 ppd
by AllenAyres
08/13/08 10:10 PM
New Mods
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.x] AddThis - Social Networking
by Gizmo
08/01/08 01:30 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.3] Dissallow quotes more then 3 levels deep
by blaaskaak
06/09/08 09:01 AM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
Newest Members
welcomeback1, Paug, Tim Keating, anscers, Murphdog
13324 Registered Users

 

 

 
fusionbb message board php hacks