UBB.Dev
Posted By: t-c-i [6.1x] Advanced ubbcode for 6.x - 03/25/2001 8:11 PM
Many people ask me for the english version and description!
So i remake this mod in english!
Added the following features to the existing one:
underline, font, fontsize, center and color!
Download: http://www.ubb.f2s.com/ubbcode.txt
Demo: no need i think !
Posted By: Zedd Re: [6.1x] Advanced ubbcode for 6.x - 03/25/2001 8:18 PM
thnax I will be installing it in a few minutes
Posted By: Zedd Re: [6.1x] Advanced ubbcode for 6.x - 03/25/2001 9:18 PM
worked perfectly!
Posted By: t-c-i Re: [6.1x] Advanced ubbcode for 6.x - 03/26/2001 4:43 PM
yes, as i write above, don't know why i called it beta! Works on my board since beta#7.x without any problem!
Posted By: t-c-i Re: [6.1x] Advanced ubbcode for 6.x - 03/31/2001 5:33 PM
Update: Works now only with v6.02 !!
Posted By: CNCR Re: [6.1x] Advanced ubbcode for 6.x - 03/31/2001 7:26 PM
dammit, i wanted to install it for 6.0 gold
Posted By: bryan868 Re: [6.1x] Advanced ubbcode for 6.x - 03/31/2001 11:18 PM
What if I only want the underline UBB code?
Posted By: t-c-i Re: [6.1x] Advanced ubbcode for 6.x - 04/01/2001 1:35 PM
Thats not to many code, so update the complete one and use only the underlined!
Posted By: Dark s.s. Trunks Re: [6.1x] Advanced ubbcode for 6.x - 09/09/2001 6:54 PM
how can i add a marquee code
Posted By: BlackRaven Re: [6.1x] Advanced ubbcode for 6.x - 09/22/2001 4:35 PM
$_[0] =~ s/( (.+?)( /[MOVE]$2[/MOVE]/isg;

it should work...
Posted By: t-c-i Re: [6.1x] Advanced ubbcode for 6.x - 11/01/2001 1:54 AM
Updated for UBB6.1.0.2 !

To the Admins, please move this Hack into Beta6.1 Forum, please!
Posted By: LK Re: [6.1x] Advanced ubbcode for 6.x - 11/02/2001 12:58 PM
Very nice hack! smile

A demo can be found in my board.
Posted By: manuonlymac Re: [6.1x] Advanced ubbcode for 6.x - 11/02/2001 8:25 PM
Demo here !

Great hack wink
Posted By: 1QuickSI Re: [6.1x] Advanced ubbcode for 6.x - 11/03/2001 12:23 AM
Modified public_ubb_code_page.pl to show examples of UBB code to users. Just waiting for t-c-i's ok since this is his hack.
Posted By: diettalk Re: [6.1x] Advanced ubbcode for 6.x - 11/03/2001 1:32 AM
I'm having a problem. I can't get the buttons to show up. Don't you have to edit public_common.pl to get the buttons to show up? (its not listed in the instructions).
Posted By: 1QuickSI Re: [6.1x] Advanced ubbcode for 6.x - 11/03/2001 1:37 AM
If someone can tell me the font style used on those buttons (default UBB) I am will to make some up as well as make the coding modifications to the proper file. All with T-C-I's approval of course smile

[ 11-02-2001: Message edited by: 1QuickSI ]
Posted By: Splitfyre Re: [6.1x] Advanced ubbcode for 6.x - 11/03/2001 4:58 AM
is this 6.1.0.2 compliant?
Posted By: 1QuickSI Re: [6.1x] Advanced ubbcode for 6.x - 11/03/2001 7:33 AM
Quote
quote:
Yes I installed it on my test system and it works as it should. Needs to have UBB description page updated (working on it and will send to Mike as soon as it is done) Needs to have buttons added and as noted I'll do those and modify the other file but I need to know the font type InfoPop used on their buttons so I can make them look the same.
Posted By: MrStormyNights Re: [6.1x] Advanced ubbcode for 6.x - 11/03/2001 9:10 AM
I installed it and did not see any buttons?? What is needed to complete this mod?

Never Mind, I figured it out. You have to edit public_common.pl, vars_wordlets.cgi and vars_wordlets_img.cgi

I also added marquee, and embed src for videos, if anybody wants the code, let me know and i'll send it to you. One word of caution, I am a great hacker, but I don't know perl or cgi, so there may be some bugs, but basically I took what was there and copied and changed it for the additions, so I don't think so. I tested everything and it works fine on my board.

Files updated to include heading1, 2 & 3, flip horizontal, flip verticle, invert, xray, and glowing text. .psd file updated with all the buttons.

WEWFHF EFED Roleplay Board

Here is a link to my instructions, T-C-I, Hope you dont mind, and if someone with some perl/cgi codeing experience could look at it and verify it, I would appreciate it. Like I said, I am no programmer, so use at your own risk!!! These instructions include the updated code for marquee's and videos.

instructions and images for UBB Code Buttons

[ 12-04-2001 09:58 PM: Message edited by: MrStormyNights ]
Posted By: Splitfyre Re: [6.1x] Advanced ubbcode for 6.x - 11/05/2001 12:36 AM
Can you add in those instructions to get the buttons to appear anyways?
Posted By: omegatron Re: [6.1x] Advanced ubbcode for 6.x - 11/06/2001 6:56 PM
Gene,

I did you modifications and now everything shows up. However the buttons are dead. I mean you can click them and they show up you go through the process type in whatever text etc but it never puts anything in the message window?

and it you try and manually input the codes example [marquee][/marquee] or any of them [center][/center] the UBB does not recognize them. So we are one step closer to this hack working but no bullseye yet.
Posted By: Ramirez Re: [6.1x] Advanced ubbcode for 6.x - 11/06/2001 11:19 PM
I took this, added a few more UBB codes and XHTML-ized it. I added H1, H2, H3, invert, fliph, flipv, and xray, as well as MrStormyNights marquee and embed. This does not include the stuff for UBB buttons, I think that should be in a seperate file smile This is just to add the codes to the board.

http://news.markeedragon.net/Ramirez/ubbcode.txt
Posted By: omegatron Re: [6.1x] Advanced ubbcode for 6.x - 11/07/2001 6:12 AM
Thanks Ramirez but I think I will wait and see if we can ever get this one to work ever. Pretty frustrating when you have the code installed and someone else did the button part and it looks nice and displays but when you go to post they dont work like they are suppose too frown I get nothing but dead window. I can enter text whatever into the java window but it never posts it in the message for the new buttons.
Posted By: Ramirez Re: [6.1x] Advanced ubbcode for 6.x - 11/07/2001 8:46 AM
That's why I think the code buttons should be seperated out. It's easy to get the ubb codes working, but it's a whole 'nother hack to get buttons displayed and working properly.
Posted By: omegatron Re: [6.1x] Advanced ubbcode for 6.x - 11/07/2001 12:36 PM
Well basically I think it should be one hack. what good is a hack that doesn't work?

They look nice. smile

But they sure dont work. I tried the second part that makes them visible but it dont work. Even with the first part you cant even manually do them ex [] [/]


WHAT I MEAN TO SAY IS WHAT GOOD IS ANY OF THIS CODE IF IT DON'T WORK?

[ 11-07-2001: Message edited by: omegatron ]
Posted By: Ramirez Re: [6.1x] Advanced ubbcode for 6.x - 11/07/2001 6:05 PM
Manually typing them in should work fine. They all work on my boards, though I'll go check them again to make sure.
Posted By: AllenAyres Re: [6.1x] Advanced ubbcode for 6.x - 11/07/2001 8:20 PM
This one looks good, but does it screen for all the little ways some devious person can hack your site? That was the reason the last attempt at this was pulled from the site.
Posted By: LK Re: [6.1x] Advanced ubbcode for 6.x - 11/07/2001 8:28 PM
Allen is right... I'm no expert in hacking, but try to use:
Code
code:
With ([font=)(S+?)........, and also XHTMLed.
Posted By: Ramirez Re: [6.1x] Advanced ubbcode for 6.x - 11/07/2001 8:39 PM
LK, do you mean everyone that uses an '=' should be followed by 'S+'? I can make those changes later this afternoon when I get home. What happens if you don't use that, out of curiousity? Also, my version should be xhtml-ized, but I'll look over it again.
Posted By: LK Re: [6.1x] Advanced ubbcode for 6.x - 11/07/2001 8:47 PM
It disables spaces, see the differences in http://www.lkubb.dns2go.com/cgi-bin/ultimatebb.cgi?ubb=get_topic&f=1&t=000030 .
Posted By: Ramirez Re: [6.1x] Advanced ubbcode for 6.x - 11/07/2001 9:00 PM
Cool, thanks for the info. I updated embed, font, and size to use S?

Does it look like it's XHTML-transitional compliant?

Are there any other possible security concerns?
Posted By: LK Re: [6.1x] Advanced ubbcode for 6.x - 11/07/2001 9:28 PM
Oops, [font] shouldn't have it, it won't accept 'Comic Sans MS'/'Times New Roman'/etc...
Posted By: omegatron Re: [6.1x] Advanced ubbcode for 6.x - 11/08/2001 12:47 AM
LK,

I appreciate the help. Your fix does not even work. I hope people are understanding what I say. The buttons work and you can type text in there etc. But when you click ok nothing goes into the message window so the additions are basically dead. I dont know what else to do. I can send you a copy of the hack as it is also posted here with images etc.
Posted By: Ramirez Re: [6.1x] Advanced ubbcode for 6.x - 11/08/2001 1:20 AM
Ok, fixed FONT. Thanks again, LK.
Posted By: Ramirez Re: [6.1x] Advanced ubbcode for 6.x - 11/08/2001 1:37 AM
Fixed an odd typo from the original file. Tested all new ubb codes and they all worked fine. They did, however, do something screwy and made the post into a poll, but I'll be looking at that later smile
Posted By: omegatron Re: [6.1x] Advanced ubbcode for 6.x - 11/08/2001 2:30 AM
The buttons work but only when you manually type them in? So how can I get the buttons to show work. The problem is they dont post back into the window.
Posted By: Ramirez Re: [6.1x] Advanced ubbcode for 6.x - 11/08/2001 8:15 AM
The ubbcodes work if you type them in manually. I haven't touched anything with the buttons, so I have no idea how or if they work. You should try typing the ubb codes directly into your text box to see if they work.
Posted By: omegatron Re: [6.1x] Advanced ubbcode for 6.x - 11/08/2001 3:07 PM
Quote
quote:
It is not easy to get the buttons to work as one can see. I can manually type these codes in but the buttons do not work. Here is the text stormy posted to get them to be visible which they are and they do actually click. Yet they do not link back to the message window?

go down to the additions to public_common.pl and vars_wordlets_img.cgi and vars_wordlets.cgi

AdvancedUBB Code
Posted By: LK Re: [6.1x] Advanced ubbcode for 6.x - 11/08/2001 4:25 PM
Replace 'REPLIER' with 'replier' if you use Allen's XHTML hack.
Posted By: omegatron Re: [6.1x] Advanced ubbcode for 6.x - 11/08/2001 6:13 PM
you think that will make them work.


Thanks LK ya da man. That was exactly the problem. They work now. One thing I noticed about your fix to ramirez. I tried that but when you edit a message the codes change to %and all that weird stuff. If you use the base code your fine with the codes staying if you edit a message. That also could be a problem with me using xtml files of allens.

[ 11-08-2001: Message edited by: omegatron ]
Posted By: Ramirez Re: [6.1x] Advanced ubbcode for 6.x - 11/09/2001 12:06 AM
Fixed a typo in ubb_lib_posting where I had left out > on the table tags for xray, invert, fliph, and flipv.
Posted By: t-c-i Re: [6.1x] Advanced ubbcode for 6.x - 11/10/2001 1:01 AM
@all of you

feel free to finished the AdvancedUBBCode ...
my work make me mad at the moment, so i have no time in the future.

Thanks to all

~mike
Posted By: diettalk Re: [6.1x] Advanced ubbcode for 6.x - 11/10/2001 2:20 AM
who has the graphics for the added buttons? confused
Posted By: Ramirez Re: [6.1x] Advanced ubbcode for 6.x - 11/10/2001 2:29 AM
MrStormyNights had a link that had extra buttons and a .psd file so you can make your own and tweak the colors.
Posted By: MrStormyNights Re: [6.1x] Advanced ubbcode for 6.x - 11/14/2001 9:32 AM
I updated my files to include the h1, h2 h3 fliph, flipv, invert, xray. I also added code for glowing text. It includes the code to get the buttons to work. One note, I do not have the XHTML templates installed on my site. You will have to modify the code in public_common.pl to replace REPLIER with replier. The file includes a .psd for the buttons as well as my modified files for comparison.

instructions and images for UBB Code Buttons

[ 11-14-2001: Message edited by: MrStormyNights ]

[ 11-14-2001: Message edited by: MrStormyNights ]
Posted By: Ramirez Re: [6.1x] Advanced ubbcode for 6.x - 11/14/2001 10:07 AM
I tried to add the glow effect when I was doing my stuff last time and it told me that parentheses weren't allowed. I see you got around that by not declaring any options for the glow. What's the default color and strength on glow?
Posted By: MrStormyNights Re: [6.1x] Advanced ubbcode for 6.x - 11/15/2001 5:30 AM
The default color is red, Strength ?????

Quote
quote:
I wish I knew enough to get the options to work, but without the parentheses this is the best I can do. If somebody that knows how to code it so you can use a varible for strength and color and put it in parentheses I would love it.

This is whats used:



This is whats needed, but it will not allow parentheses, anybody know how to get around that?



[ 11-14-2001: Message edited by: MrStormyNights ]
Posted By: diettalk Re: [6.1x] Advanced ubbcode for 6.x - 11/17/2001 1:57 PM
Note.. There will be a need to update the hack for 6.1.0.3.

Don't delete the code for the IE bug in ubb_lib.cgi under "sub UBBCode"

# workaround for IE bug - make sure that there's no about: in the URL
Posted By: wwb95 Re: [6.1x] Advanced ubbcode for 6.x - 11/28/2001 4:30 AM
Quote
quote:
I have added the glow effect and I have change the list button to be only one button if the other permit me to show my code I will be more then happy
Posted By: MrStormyNights Re: [6.1x] Advanced ubbcode for 6.x - 11/28/2001 4:42 AM
wwb95
t-c-i, already said it was ok for people to finish this, so can you post your changes, I would love to be able to change the glow color from red to a user inputed color. Thanks
Posted By: t-c-i Re: [6.1x] Advanced ubbcode for 6.x - 11/28/2001 10:09 PM
Nice work, keep on ....
Posted By: wwb95 Re: [6.1x] Advanced ubbcode for 6.x - 11/28/2001 10:45 PM
Code
code:

I am using it in my form an it works fine there
I have added button that place the code of a flash move if any body want the code I am happy to show my code
Posted By: wwb95 Re: [6.1x] Advanced ubbcode for 6.x - 12/05/2001 10:32 PM
my form add topic locks like this
i am runing v6.1.0.3
if any one likes the code i am glad to post it
only if t-c-i allow me to do so becuase the code is his i mean the original one
[Linked Image]
Posted By: Morpheus Re: [6.1x] Advanced ubbcode for 6.x - 12/11/2001 10:52 PM
Can someone change t-c-i's version of the hack to work for a ubb 6.1.0.3..? I'm only wanting the basic added ubb codes that he included and not all the new 'flip' and stuff people have created.

The coding has changed slightly in the versions, but I don't want to mess up my ubb in trying to work this one out for myself.. .
Posted By: AllenAyres Re: [6.1x] Advanced ubbcode for 6.x - 12/12/2001 12:14 AM
Here is the original, should work in any 6.x+ UBB:

https://www.ubbdev.com/hacks/6.1/cb_install.txt
Posted By: Morpheus Re: [6.1x] Advanced ubbcode for 6.x - 12/12/2001 1:30 AM
Thanks alot Allen .
Posted By: Eel Re: [6.1x] Advanced ubbcode for 6.x - 12/16/2001 8:53 PM
If ayone wants to display this code on the UBB Code Display Page, I made a quick little thing...

http://twistedcross.com/UBBCodePageDisplay.txt
Posted By: AllenAyres Re: [6.1x] Advanced ubbcode for 6.x - 12/17/2001 8:36 AM
Demo: http://www.stand318.com/ubbcgi/ultimatebb.cgi?ubb=ubb_code_page

laugh
Posted By: Eel Re: [6.1x] Advanced ubbcode for 6.x - 12/17/2001 11:22 PM
Thanks Allen
Posted By: thangdien2000 Re: [6.1x] Advanced ubbcode for 6.x - 12/27/2001 1:28 PM
Can u made a hack that the UBB ADVANCE CODE can insert Flash, Invert, FLipt, Marquee or etc.. like the version for UBB 6???
and can anybody here give me a link to the Topic that contain the UBB hack that make the UBB ADVANCE code under the "MESSAGE ICON"
email me: [email protected]
Bye bye
© UBB.Developers