#38288
10/02/2000 4:19 PM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Or MM CODES, as i call em. Yup, here they are. Fixed font, marquee, super and sub. in ubb_library.pl find: under it add this: same file, find: under it add: I have just gotten the hang of ubbcode html conversion. Any requests? ~MM~ EDIT: added edit code! EDIT again: Added strikeout and Teletype. ------------------ UBBDEV Moderator OCCUPATION: Programmer, webmaster. Read my BIO in the team link! This message has been edited by MasterMind on October 02, 2000 at 06:49 PM
|
|
|
#38289
10/02/2000 4:40 PM
|
Joined: Sep 2000
Posts: 21
Member
|
Member
Joined: Sep 2000
Posts: 21 |
do you have an updated ubbcode.html to go with these new codes? ------------------ Kingpin Administrator to the Christian Bulletin Board
|
|
|
#38290
10/02/2000 4:47 PM
|
Joined: Mar 2000
Posts: 445
Member
|
Member
Joined: Mar 2000
Posts: 445 |
That's great MM, Kingpin I'm pretty sure updating the ubbcode.html won't be too much of a hassle, just show what it does really, and then show the coding of it. MM, is it possible to make a flash tag to a ubb code? ------------------ Quality Pages designing the world professional web pages for affordable prices.
|
|
|
#38291
10/02/2000 5:12 PM
|
Joined: Jan 2000
Posts: 395
Member
|
Member
Joined: Jan 2000
Posts: 395 |
Could you integrate those with the UBB Code Buttons? also.... That last bit of code doesn't exist in 5.39. Where do I need to put the new code in here? sub UBBCode { my $ThePost = shift; #auto URL--- $ThePost =~ s/(^|s)( http://S+)/ $2 /isg; $ThePost =~ s/(^|s)( www.S+)/ $2 /isg; $ThePost =~ s/()(http|https|ftp)(://S+?)()/ $2$3 /isg; $ThePost =~ s/()(S+?)()/ $2 /isg; $ThePost =~ s/()(http|https|ftp)(://S+?)()/ $5 /isg; $ThePost =~ s/()(S+?)()/ $4 /isg; $ThePost =~ s/([email])(S+@S+?)([/email])/ $2 /isg; $ThePost =~ s/([email:)(S+?)(])(.+?)([/email])/ $4 /isg; $ThePost =~ s,( ), code:
$2
,isg; if (($UBBImages eq "ON") && ($OverrideImages ne "yes")) { $ThePost =~ s/([img])(S+?)([/img])/  /isg; } $ThePost =~ s/( )/ quote: $2
/isg; $ThePost =~ s/( )(.+?)()/ $2/isg; $ThePost =~ s/( )(.+?)()/ $2/isg; $ThePost =~ s/( )/ /isg; $ThePost =~ s/([list=)(A|1)(])(.+?)( )/$4 /isg; $ThePost =~ s/()//isg; $ThePost =~ s/([color:)(S+?)(])(.+?)([/color])/$4/isg; $ThePost =~ s/([center])(.+?)([/center])/$2/isg; $ThePost =~ s/()(.+?)()/$2/isg; $ThePost =~ s/([font:)(.+?)(])(.+?)([/font])/$4/isg; $ThePost =~ s/( )(.+?)( )/$4/isg; return ($ThePost); }
BTW...do we need to move your fixed font code to be next to each other?
|
|
|
#38292
10/02/2000 5:54 PM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Just add my code under $ThePost =~ s/( )(.+?)( )/ $4/isg; No, the fixed font code should work with it in place. I dont have a ubbcode.html, just update it, it should be easy enough. ![[Linked Image]](https://ubbdev.com/ubb/smilies/smile.gif) ------------------ UBBDEV Moderator OCCUPATION: Programmer, webmaster. Read my BIO in the team link!
|
|
|
#38293
10/02/2000 6:20 PM
|
Joined: Jan 2000
Posts: 395
Member
|
Member
Joined: Jan 2000
Posts: 395 |
They work great.
Now they need to be put in the subEdit, because when you go to edit a post, they are all turned into html and have to be edited manually.
|
|
|
#38294
10/02/2000 6:32 PM
|
Joined: Jan 2000
Posts: 395
Member
|
Member
Joined: Jan 2000
Posts: 395 |
sup and sub look virtually the same.
What is the diff?
|
|
|
#38295
10/02/2000 6:43 PM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
I dont really know, i just added some new codes together.
------------------ UBBDEV Moderator OCCUPATION: Programmer, webmaster. Read my BIO in the team link!
|
|
|
#38296
10/02/2000 6:50 PM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Edit code added.
------------------ UBBDEV Moderator OCCUPATION: Programmer, webmaster. Read my BIO in the team link!
|
|
|
#38297
10/02/2000 7:52 PM
|
Joined: Jan 2000
Posts: 395
Member
|
Member
Joined: Jan 2000
Posts: 395 |
The edit code isn't working. Still stripping the ubb code and leaving html.
|
|
|
#38298
10/02/2000 8:44 PM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
The fixed code is probably the one not working. The others work for me.
------------------ UBBDEV Moderator OCCUPATION: Programmer, webmaster. Read my BIO in the team link!
|
|
|
#38299
10/02/2000 8:47 PM
|
Joined: Jan 2000
Posts: 395
Member
|
Member
Joined: Jan 2000
Posts: 395 |
I tried the marquee code, then tried to edit it. No go.
|
|
|
#38300
10/02/2000 9:37 PM
|
Joined: Jan 2000
Posts: 395
Member
|
Member
Joined: Jan 2000
Posts: 395 |
I'm getting reports from users that these new codes aren't working in Netscape.
|
|
|
#38301
10/03/2000 5:11 AM
|
Joined: Aug 2000
Posts: 10
Member
|
Member
Joined: Aug 2000
Posts: 10 |
Hi there I installed the code, but where should i have the result? I am kinda mixed up with UBB BUttons code! Isn't supposed to be somewhere in newposting or reply forms? Thanks -luv
|
|
|
#38302
10/03/2000 1:53 PM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Hi. The effect will be noticed after using the code. [marquee]Text to scroll...[/marquee] ![[Linked Image]](https://ubbdev.com/ubb/smilies/smile.gif) ------------------ UBBDEV Moderator OCCUPATION: Programmer, webmaster. Read my BIO in the team link!
|
|
|
#38303
10/03/2000 3:44 PM
|
Joined: Sep 2000
Posts: 22
Member
|
Member
Joined: Sep 2000
Posts: 22 |
MM, anyway you can make it so when we edit our profiles or messages, the ubb code isn't made into HTML? I have a problem with this all the time.
|
|
|
#38304
10/03/2000 11:50 PM
|
Joined: Mar 2000
Posts: 344
Member
|
Member
Joined: Mar 2000
Posts: 344 |
NBAustin: If using the marquee tag as a benchmark in Netscape, it won't show up because Netscape doesn't support the tag. ![[Linked Image]](https://ubbdev.com/ubb/smilies/smile.gif) ------------------ Visit Alien Soup Forums http://www.aliensoup.com/cgi-bin/forums/Ultimate.cgi
|
|
|
#38305
10/04/2000 12:37 PM
|
Joined: Aug 2000
Posts: 10
Member
|
Member
Joined: Aug 2000
Posts: 10 |
Hi ![[Linked Image]](https://ubbdev.com/ubb/smilies/smile.gif) Thanks. Do i need to remove the # symbols from the original code posted above?
|
|
|
#38306
10/04/2000 4:26 PM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Lovely, The # signs are notes for the code to find the routine. Do not remove them. You may, however, remove all non-code tags.
------------------ UBBDEV Moderator OCCUPATION: Programmer, webmaster. Read my BIO in the team link!
|
|
|
#38307
10/05/2000 5:48 AM
|
Joined: Aug 2000
Posts: 10
Member
|
Member
Joined: Aug 2000
Posts: 10 |
Thanks ![[Linked Image]](https://ubbdev.com/ubb/smilies/smile.gif)
|
|
|
#38308
10/05/2000 8:09 AM
|
Joined: Aug 2000
Posts: 5
Junior Member
|
Junior Member
Joined: Aug 2000
Posts: 5 |
i'd like for you to make a tags, and it does this: it displays a message, say: WARNING!!!! You Are About To View A Spoiler!!! If You Wish To View The Spoiler Click "View Spoiler"! and a button be displayed saying View Spoiler and if they click ok a javascript shows the spoiler.... ------------------ 
|
|
|
#38309
10/05/2000 1:35 PM
|
Joined: Oct 2000
Posts: 1
Junior Member
|
Junior Member
Joined: Oct 2000
Posts: 1 |
Does this hack add the size ubb code? I've been looking for that one in particular for a long time... ------------------
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|