UBB.Dev
Posted By: wwb95 [6.2x] Ubb code button animated - 03/06/2002 2:33 PM
This is a UBB code button interface with a load of button to use
To setup the program you have to
I. read advancedubbcode.text and replaces the codes
II. Ftp all the image to your ubb{non cgi} path


The code will look like this
[Linked Image]

.
.
.
.
.
A sample of the result code
[Linked Image]

Test the code in this site
.
.
.
.
.
To download it for 6.2.1 click me
.
.
.
To download it for 6.2.1.1 click me
.
.
Thanks to ClanKiller I have added his modification in a different file for those how wish to create a new wordlets than the one already excess and take his and LK advice

to download his modification click this
http://66.113.218.51/advancedubbcode_ClanKiller.zip
Posted By: CNA2 Re: [6.2x] Ubb code button animated - 03/06/2002 3:13 PM
Um, Looks great, but there doesn;t seem to be a link on there to download it???

Sorry, might just be me, my net is playing up....
Posted By: LK Re: [6.2x] Ubb code button animated - 03/06/2002 3:20 PM
I thought I saw the link before confused

wwb?
Posted By: wwb95 Re: [6.2x] Ubb code button animated - 03/06/2002 3:36 PM
I thought I have done this. I have added the link now thanks CNA2, LK
Posted By: Yamaha Raptor Re: [6.2x] Ubb code button animated - 03/06/2002 4:57 PM
you know i do like the look of this mod.
but i really would like to know is it really safe to use or not.
so if someone would look at the code really good like cc and let use know if it is safe to use.
Posted By: wwb95 Re: [6.2x] Ubb code button animated - 03/06/2002 5:07 PM
ClanKiller
In my point of view it is safe to use. Also I would like someone how has much experience in UBB programming such as CC to look at the code and than say if it is safe to use or not.
I hope the one how read the code would look at the if statement in ubb_lib.cgi that I have done

The code in my point of view is safe but it is a big load to the surfer since it has to search for more code and the chick statement has to search for each parenthesis in the html code.
My advise if you do not care for the load go on and install it
Posted By: Tune Re: [6.2x] Ubb code button animated - 03/06/2002 8:02 PM
find:
------
%vars_wordlets_img = (

#########################################
and replace with
#########################################

Sorry, but i can not find this in vars_wordlets.cgi
Posted By: Yamaha Raptor Re: [6.2x] Ubb code button animated - 03/06/2002 8:12 PM
(edit)fixed
Posted By: wwb95 Re: [6.2x] Ubb code button animated - 03/06/2002 9:13 PM
ClanKiller
Thanks
Tune
Fix now
Posted By: LK Re: [6.2x] Ubb code button animated - 03/06/2002 10:31 PM
I don't suggest you to edit the existing Wordlet lists, if the user won't download from the online to the offline dir, he might accidently upload the untranslated file.

Use Mod Wordlets.
Posted By: Yamaha Raptor Re: [6.2x] Ubb code button animated - 03/06/2002 11:50 PM
i think i am with LK on this one i got most of it to use it's own wordlets i just made two wordlets files for it.
i sent you a pm wwb95 with the chages i made if you want to use it to save you time.
i could have made mistakes doing it so you might want to look it over.
ClanKiller
Posted By: wwb95 Re: [6.2x] Ubb code button animated - 03/07/2002 1:58 PM
Lk
I do not know, but I think the users {the administrators} would like to find the word that they usually change in the same position.
Any way I have added a small script that when run it would install the wordlets automatically.

Thanks to ClanKiller I have added his modification in a different file for those how wish to create a new wordlets than the one already excess and take his and LK advice

to download his modification click this
http://66.113.218.51/advancedubbcode_ClanKiller.zip
Posted By: gohaku Re: [6.2x] Ubb code button animated - 03/08/2002 12:18 AM
when i use clankiller version,i can not update advanced ubbcode wordlet,got a error:Action not permitted.
and when i going to change advanced ubbcode img wordlet,only can see "All fields are required! "
confused any help?
sorry for my english. frown
Posted By: Yamaha Raptor Re: [6.2x] Ubb code button animated - 03/08/2002 12:30 AM
if no one gets to it befor me ill look at it later on tonight i do not have the time to right now cuz i am going out.
like i told him to look it over cuz i could have done something wrong i never tested it or anything but i will tonight.
laugh
Posted By: Yamaha Raptor Re: [6.2x] Ubb code button animated - 03/08/2002 12:31 AM
(edit) damn 2 post the same hehe. :rolleyes:
Posted By: Yamaha Raptor Re: [6.2x] Ubb code button animated - 03/08/2002 5:05 AM
ok gohaku i found what i did wrong.

Edit)oh yeah wwb95 check your pm i sent you a new file with it fixed
Posted By: Yamaha Raptor Re: [6.2x] Ubb code button animated - 03/08/2002 7:14 AM
gohaku

i got everything fixed now as soon as wwb95 gets to repost.
everything works like it should.

(Edit) All fixed now

wink laugh
Posted By: wwb95 Re: [6.2x] Ubb code button animated - 03/08/2002 3:58 PM
I have Ubdate every thing thanks ClanKiller
Posted By: gohaku Re: [6.2x] Ubb code button animated - 03/08/2002 5:51 PM
it works now,thanks! laugh
Posted By: Caldazar Re: [6.2x] Ubb code button animated - 03/13/2002 1:21 PM
Just wondering if someone could tell me how to place this hack so that appears just above the text box instead of below it and how to move the instant Graemlins so that they are beside the text box on the left. Basically how this hack used to look before ubb6.
Posted By: wwb95 Re: [6.2x] Ubb code button animated - 03/13/2002 9:48 PM
Caldazar
If you would like it to look like this
[Linked Image]

Download this modification
http://66.113.218.51/adva2.zip
Click the right mouse button and chose save as
Posted By: ADWOFF Re: [6.2x] Ubb code button animated - 03/14/2002 4:13 AM
Did this hack get Charles's blessing as far as security goes? Thanks!
Posted By: Caldazar Re: [6.2x] Ubb code button animated - 03/14/2002 6:40 AM
wwb95, That link just takes me to a page thats all funny. It's not a file. Perhaps change the .txt.
Posted By: wwb95 Re: [6.2x] Ubb code button animated - 03/14/2002 1:34 PM
Caldazar
Fixed now

ADWOFF
Refer to my second replay in this post

For all

The second beta is out now re down load the hack
Modify:
#from beta 1:
# The table when added a number of empty line appear in the top of table fix now in beta 2
Posted By: Variables Re: [6.2x] Ubb code button animated - 03/14/2002 1:49 PM
I haven't download the newest beta but it seems there is a problem with the edit function. When i want to edit a topic, there is no text. How is this possible?
Posted By: wwb95 Re: [6.2x] Ubb code button animated - 03/14/2002 6:12 PM
Variables
It seams that you have not fallow the hack probably

I can think of two things to solve this problem
1- It may be that you have upload ubb_lib_posting.cgi in binary. Tray to download the file again in ASCII
2- in ubb_lib_posting.cgi find
Sub reverse_ubb_code {
In the end of this sub before”}” this code should be there
return ($_[0]);
Posted By: MrStormyNights Re: [6.2x] Ubb code button animated - 03/14/2002 6:53 PM
I just went to your test site to test this and the font dropdown and the color dropdown do not work.
Posted By: Variables Re: [6.2x] Ubb code button animated - 03/14/2002 7:08 PM
Nope wwb, uploaded in ascci and hacked twice from the txtfile. No results. confused
Posted By: wwb95 Re: [6.2x] Ubb code button animated - 03/14/2002 7:28 PM
Caldazar
The hack is there from 6.1.
I have solve it before if you download the hack and tray it in 6.2 it will work

Variables
Sorry
I have visited your site and I found out you have used the move thing that I have done for Caldazar. There was an error in this thing. To solve it do the following
In public_edit_post.pl:
Find
Code
[/code]replace it by 

[code]
I will tray to upload it today
Posted By: RussellK Re: [6.2x] Ubb code button animated - 03/14/2002 9:18 PM
I have had the same problems with the 'edit' problem shown above. I ended up removing the hack. I was told by a user that the buttons didnt load very fast, but I couldn't tell because I was on a cable connection. So after testing it out I also saw that there was a load problem. A possible solution would be if there is a way to remove some of the options? Like through CP or what not, so that buttons that are not really needed don't need to be loaded?
Posted By: wwb95 Re: [6.2x] Ubb code button animated - 03/14/2002 9:47 PM
RussellK
Just Variables has this problem and that is because he did not use the original hack he used my modification which make the ubb button above the text area
Will I could remove some of the button but I need some body to tell me what to remove.
It is very difficult to make the choice made through the cp since the button has to be arranged
Posted By: RussellK Re: [6.2x] Ubb code button animated - 03/15/2002 8:07 AM
Yes I liked the idea of it being at the top and so I used the same one that Variables used which appherantly doesn't work.

Anyhoo, it was just a suggestion smile I didn't do the hard code so I don't know how difficult it would be for it to be an on/off option from the CP. laugh
Posted By: bulbi Re: [6.2x] Ubb code button animated - 03/16/2002 8:38 PM
hi guys,

I found a little annoying bug

if you place a code like

text blabla

in your signature and you update your profile

the next time you view your profile and want to edit something

the signature appears to be like this

text blabla

i think something went wrong there?
Posted By: LK Re: [6.2x] Ubb code button animated - 03/16/2002 8:41 PM
Rehack ubb_lib_posting.
Posted By: bulbi Re: [6.2x] Ubb code button animated - 03/16/2002 9:24 PM
rehacking every file didn't affect anything frown

in the cp it all looks right

only if you edit your profile not...
Posted By: nutmo Re: [6.2x] Ubb code button animated - 03/17/2002 8:36 PM
first of all, thx for your modification
i got a problem when posting double byte characters like chinese and japanese...
for example, i click the italics one and input the double byte character... it will just missing the right hand side code: [/i]

just like this:
[i]the_double_byte_character

how can i solve this? thank you
Posted By: Yamaha Raptor Re: [6.2x] Ubb code button animated - 03/19/2002 10:35 AM
i think i found a small prob.
whenever try to post reply with Quote on a post that all ready was replyed with it it comes out looking like this.
http://www.starbraker.com/cgi-bin/cgi-bin/ultimatebb.cgi?ubb=get_topic;f=1;t=000010#000006

but if i use it on a post that has no reply with Quote being used all ready it works just fine.
Posted By: wwb95 Re: [6.2x] Ubb code button animated - 03/19/2002 6:17 PM
RussellK
Will it is fixed now for plasing the top button above the text area.
Thank for your suggestion and I will look at it
Lk
Thanks man for your help
bulbi
Tray to register in the test board and see if this problem there. I did not see it
nutmo
if you give me your board address I could give you an unsure. I have the similar problem with the Arabic character it dos not like to mix the character with the English one. The problem was wit the direction of the word. I had to translate the code to Arabic.
ClanKiller
Pleas tray it in the test board. I tried it in your board and it seams that you did not hack ubb_lib_posting tray it and you will see my point
Posted By: Yamaha Raptor Re: [6.2x] Ubb code button animated - 03/19/2002 6:40 PM
well i just tried it works well on your test site but i am not sure why it will not work on my test site.
i did hack ubb_lib_posting i just checked it to make sure i did.
i am not really sure what is going on with it.
Posted By: Yamaha Raptor Re: [6.2x] Ubb code button animated - 03/19/2002 6:47 PM
umm never mind i just found out what is going on it has something to do with just that post cuz it won't do it anyplace but ther.
Posted By: bulbi Re: [6.2x] Ubb code button animated - 03/19/2002 8:30 PM
hmn

your boards version

Ultimate Bulletin BoardTM 6.2.1

my version

Ultimate Bulletin BoardTM 6.2.1.1

i think thats the point

infopop changed sth with javascript code
and thats why it won't work i think

but i'm not an ubb haxxor I don't know how to modify the code

so if you may have some time i hope you can take a look at it

would be nice smile
Posted By: nutmo Re: [6.2x] Ubb code button animated - 03/22/2002 5:56 AM
quote:
Originally posted by wwb95:
nutmo
if you give me your board address I could give you an unsure. I have the similar problem with the Arabic character it dos not like to mix the character with the English one. The problem was wit the direction of the word. I had to translate the code to Arabic.

Thanks wwwb95, I think it maybe os problem. It works after I've upgrade to XP while I've done nothing to the code.
Posted By: DragonSoul Re: [6.2x] Ubb code button animated - 03/23/2002 6:43 PM
ok, i have a big problem with this one. My test has dissapeared. Here is a screen shot.

http://www.csouls.com/imgs/buttonerror.gif

any ideas?
Posted By: wwb95 Re: [6.2x] Ubb code button animated - 03/23/2002 7:04 PM
ClanKiller
Thank god at work finally with you
bulbi
Ok I will look at it and tell you later
Nutmo
Happy to hear that
DragonSoul
It appears rely awful
Your problem is in the word lets
Which one did you install, main or ClanKiller
If it is main copy the content of vars_wordlets.cgi and vars_wordlets_img.cgi and place it here and I will hopefully tell you the problem
Posted By: DragonSoul Re: [6.2x] Ubb code button animated - 03/23/2002 7:29 PM
Okk, i found the problem and fixed it. The only problem that i am having now is the text color chooser. The java prompt pops up and everything and appears to work properly but the test will not change color.
Posted By: wwb95 Re: [6.2x] Ubb code button animated - 03/23/2002 9:59 PM
I can see that you have install ClanKiller version

Will in public_common.pl look for
Code
[/code]Replace it by 
[code]
ClanKiller I had to change this and I have uploaded it
Posted By: bulbi Re: [6.2x] Ubb code button animated - 03/23/2002 10:05 PM
thanks man

would be nice to hear something of you

I tried myself to look for the code but I found nothing frown
Posted By: wwb95 Re: [6.2x] Ubb code button animated - 03/23/2002 11:04 PM
ok bulbi
I have uploaded it for 6.2.1.1
To download it for 6.2.1.1 click me
Posted By: DragonSoul Re: [6.2x] Ubb code button animated - 03/24/2002 12:13 AM
Let me ask you this WWB, do you know the tag "lvlshot"? If so, is there a way i could incorporate it into this?

here is an example of lvlshot. Notice that the picture is smaller than it's original size like a thumb nail, you click on the picture and get the original size like a thumbnail.

http://www.warpstorm.com/forum/showthread.php?s=&threadid=3163
Posted By: bulbi Re: [6.2x] Ubb code button animated - 03/24/2002 1:41 AM
sorry wwb95

the same probleme appears it shows the signature in html

can you post what you fixed exactly?

which part of the hack?
Posted By: wwb95 Re: [6.2x] Ubb code button animated - 03/24/2002 5:31 PM
DragonSoul
Since the code looks nice the way it is I can't add any new code for it but if you want to add Lvlshot you have to delete one of the code buttons. Chose which that you don't like and I will tray to replace it by Lvlshot

bulbi
Will I really forget what I have done to upgrade it to 6.2.1.1
Any way I will tray to diagnoses your problem
First of all from what I can see:
1- the code will be converted in the massage
2- it works in the CP for signature
3- in the edit profile it will not work

From what I can see, you have done a hack before doing my hack and in the result you have deleted a line or so.

Make sure that in ubb_profile.cgi after this code
Code
[/code]you have this code
Code
</pre></div></div>and in ubb_lib_posting.cgi after this code in the sub prep_for_edit {<br><div class="ubbcode-block"><div class="ubbcode-header">Code</div><div class="ubbcode-body ubbcode-pre" ><pre>
you have
[code]
if all of them are OK then the only way I can help you is by sending the following file to me:
ubb_lib_posting.cgi
ubb_profile.cgi
public_edit_profile.pl
vars_display.cgi

If I need more I will tell you

Oh, tray to change the signature with a new one to see if there is any change. It may be the “<” and “>” have been changed to an html code when you update a profile
Posted By: bulbi Re: [6.2x] Ubb code button animated - 03/24/2002 6:37 PM
hi

I checked everything you wrote seemed to be alright

I sent you the files via email to your address

thanks for the help smile
Posted By: Dave2 Re: [6.2x] Ubb code button animated - 03/24/2002 7:07 PM
Most of these are IE only, just to let you know... frown
Posted By: Dave2 Re: [6.2x] Ubb code button animated - 03/24/2002 7:11 PM
smirk
Not valid XHTML...
Posted By: wwb95 Re: [6.2x] Ubb code button animated - 03/24/2002 8:50 PM
bulbi

It dose not have to do with my code it is a ubb bug I think
To solve it
Replace
In ubb_profile.cgi
Code
[/code]by 
Code
</pre></div></div>in ubb_lib_posting.cgi search for<br><div class="ubbcode-block"><div class="ubbcode-header">Code</div><div class="ubbcode-body ubbcode-pre" ><pre>
replace it by
[code]
lk
I hope you will notice this

Dave2
I am trying to download Netscape and I will see if there is any problem. Any way have you tried it and found out that it is not working
Posted By: Dave2 Re: [6.2x] Ubb code button animated - 03/24/2002 8:59 PM
Yup -- I've tried it in:

Konqueror
Netscape 4
Netscape 6.1
Mozilla
IE
Lynx ( wink )

Put of those it only works in IE -- IE specific commands (except things like font laugh )
Posted By: bulbi Re: [6.2x] Ubb code button animated - 03/24/2002 9:39 PM
hm,

so seems to arange some new errors when doing your fix

is/htdocs/28730/ubb/cgi-bin/ubb_profile.cgi: syntax error at /is/htdocs/28730/ubb/cgi-bin/ubb_profile.cgi line 425, near "‘"
syntax error at /is/htdocs/28730/ubb/cgi-bin/ubb_profile.cgi line 428, near "if"
syntax error at /is/htdocs/28730/ubb/cgi-bin/ubb_profile.cgi line 446, near "}"
Posted By: DragonSoul Re: [6.2x] Ubb code button animated - 03/25/2002 5:13 AM
ok wwb, you wouldn't happen to know what i need to do to add the lvlshot to my board. I do not know the code.
Posted By: wwb95 Re: [6.2x] Ubb code button animated - 03/25/2002 12:58 PM
Dave2
I will try to see the problem and hope to fix it

Bulbi
I don't know what is happened with the code I past. One character has changed in the code.
This charcter is the one to right of the semicolon ='
The reason for this is because i have written the code in word

So the code again
Replace
In ubb_profile.cgi
Code
[/code]by 
Code
</pre></div></div>in ubb_lib_posting.cgi search for<br><div class="ubbcode-block"><div class="ubbcode-header">Code</div><div class="ubbcode-body ubbcode-pre" ><pre>
replace it by
[code]
.
.
.
.
.
dragonSoul
I have said I will do it for you but pleas tell me which button of the
code you do not want so that I will replace it with the lvlshot.
For example if the wave button is not necessary for your board
I will replace it with the lvlshot
I hope you understand me now. Sorry English is not my language
Posted By: bulbi Re: [6.2x] Ubb code button animated - 03/25/2002 4:34 PM
thanks man

now it works perfectly wink
Posted By: wwb95 Re: [6.2x] Ubb code button animated - 03/25/2002 4:45 PM
Dave2
I think what you meant is the result code will not been seen for some of the code. Correct me pleas if I am wrong.
From what I can see using Netscape 6.2 all java script will work fine the problem is in the result code
.
.
.
.
.
The code that will work are (will be seen when using Netscape):
  • url
  • Email
  • Code
  • Quota
  • Table
  • List
  • Strong ie qb
  • Italic
  • Bold
  • Underline
  • Right
  • Lift
  • CENTER
  • Justify
  • Heading 1
  • Heading 2
  • Heading 3
  • Font
  • Color
  • Size

.
.
.
.
.
The code that will not work with Netscape. The effect of the code will not be seen but no error will be given( that is in Netscape):
  • WAVE
  • glow
  • SHADOW
  • BLUR
  • marquee
  • fliph
  • flipv

.
.
.
.
code need plug-in
  • flash
  • sound

also the size of the font, size, and color select box is wrong to fix this error:
in public_common.pl find
Code
[/code]replace it by
Code
</pre></div></div>.<br>.<br>.<br>..<br>.<br>find<br><div class="ubbcode-block"><div class="ubbcode-header">Code</div><div class="ubbcode-body ubbcode-pre" ><pre>
replace it by
Code
</pre></div></div>.<br>.<br>.<br>..<br>.<br>find<br><div class="ubbcode-block"><div class="ubbcode-header">Code</div><div class="ubbcode-body ubbcode-pre" ><pre>
replace it by
[code]
Note that you do not need to change those if you are running IE because they will work without changing them.
Form what I can see it is a problem with Netscape it is not with code. If you
Any way to be in the safe side change it. I have uploaded the file with the change

Thanks Dave2 for your replay

bulbi
ohhhhhhhhh
I am rely happy now to hear this
Thanks for your replay
Posted By: Dave2 Re: [6.2x] Ubb code button animated - 03/25/2002 10:02 PM
quote:
Originally posted by wwb95:
The code that will not work with Netscape. The effect of the code will not be seen but no error will be given( that is in Netscape):
  • WAVE
  • glow
  • SHADOW
  • BLUR
  • marquee
  • fliph
  • flipv

.

Yeah, that's what I meant (that they are IE-only features)
Posted By: DragonSoul Re: [6.2x] Ubb code button animated - 03/26/2002 1:28 AM
quote:
Originally posted by wwb95:

dragonSoul
I have said I will do it for you but pleas tell me which button of the
code you do not want so that I will replace it with the lvlshot.
For example if the wave button is not necessary for your board
I will replace it with the lvlshot
I hope you understand me now. Sorry English is not my language

Ok, sorry dude, i did not see in your post that you would do it. I actually had too many bugs appear on my board with the code button script so i removed it. I was wondering if you know what i can do now to add lvlshot to the board. Maybe replace one of the existing buttons that are default for the board with it like "list-item".
Posted By: wwb95 Re: [6.2x] Ubb code button animated - 04/07/2002 3:58 PM
Lk OR Greg Hard
Pleas move it to the V6.2 Finished Modifications forum
Posted By: LK Re: [6.2x] Ubb code button animated - 04/07/2002 7:07 PM
URL: https://ubbdev.com/ubb/ultimatebb.php?ubb=get_topic;f=21;t=000021
© UBB.Developers