Nothing like a 2 sec Addon =) thanks AA, works GREAT!!
_________________________
My lame BUTT only have <img src="http://www.ubbdev.com/ud/?u=Raichu Babai&s=1" alt=" - " /> points, because my POS computer ONLY grinded out <img src="http://www.ubbdev.com/ud/?s=2&u=Raichu Babai" alt=" - " /> results
Registered: 12/02/00
Posts: 152
Loc: Las Vegas, NV
I guess nothing is ever as simple as it appears.
This "mod" appeared to be simple, yet as published it does not do what is displayed here.
It takes further modifications and unfortunately what you have said LK does not affect anything - assuming (big word) I have place the div tags in the right place which considering wordlets I have.
I did not put it the sections that undoes the code for editing - only in the section where it converts the ubb code to what is displayed.
i have a problem, when i enter the text so long, it keep on going and going and expand the forum width and it look nasty, is there a way to fix it so when we enter a text this long it will automatic cut and to next line according to the forum width
AllenAyres
I type Like navaho
Registered: 03/10/00
Posts: 25366
Loc: Texas
before I edit your post , that's the designed behaviour of the code tags, not this modification. It is set to keep your line breaks the same, because if you are posting actual code, that's a very important feature. use the quote tag if you need line breaks, that's what it is for
CaCoffin, if you haven't edited the quote tags in ubb_lib_posting.cgi, then yours should work the same as those here. Please give me a link to a post at your site that isn't looking right using the code as specified here
Registered: 12/02/00
Posts: 152
Loc: Las Vegas, NV
I have absolutely ZERO mods to the board - I have erased my previous attempt to enter this mod - I have rentered the MOD EXACTLY has shown - (copy / paste to be exact)
It does not left align the word "code" or "quote" and it does not have the extra coloring around the word.
Registered: 12/02/00
Posts: 152
Loc: Las Vegas, NV
#1 I am truly a doofus! #2 I failed to read Header INSERT #3 I had other code in there too that was not working well with the rest #4 I erased that other coding #5 Put just the style coding for the quote in there #6 Still does not work #7 I know why but I don't know why
blockquote .small
on your pages you have this code:
Quote:
code:</font><hr />
Code:
<blockquote><font class="small">code:</font>
<hr /></blockquote>but on mine (again no mods) it is:
ubb_lib.cgi and ubb_lib_posting.cgi, where you see the code/quote things, you can just put class="small" after <font size="1" face="$vars_style{FontFace}" and before >.
_________________________ My Hacks Page (will be back with UBB 7!) UBBDev - We put the class into UBB.classic!
AllenAyres
I type Like navaho
Registered: 03/10/00
Posts: 25366
Loc: Texas
Quote:
quote: Originally posted by CaCoffin: Does no one know why I using the latest version of UBB has different code than you guys do here?
We have completely different templates based on our css work we did a few months back, so yeah, they're different.
Do as LK said and it should work for you. You'll most likely need to experiment to make sure editing/quoting those posts with quotes/codes work out right - you'll probably need to put it in where it changes ubb code to html, and also where it changes html back to ubbcode.
Registered: 12/02/00
Posts: 152
Loc: Las Vegas, NV
Thank you
It now works for the average schmendrick (me) that has no MODS installed (other than this one now).
I have been trying to make zero MODS to the coding. I can get them installed just fine but then when a new version of the UBB comes out I managed to mess everything up and have lost everything several times over the last two years.
Which of course has caused us to lose many members.
So I don't do any hacking of the actual files anymore.
If a "mod" is going to be done by me it has to be something that can be done in such a way that it does not alter the member files (main cause of problems for me) and can easily be redone with an upgrade (thus does not mess with the posts either).
One of these days I'll get into the templates thing and figure some stuff out but for now, so as not to chase members away I have to leave things alone.
quote: Originally posted by CaCoffin: I guess nothing is ever as simple as it appears.
This "mod" appeared to be simple, yet as published it does not do what is displayed here.
It takes further modifications and unfortunately what you have said LK does not affect anything - assuming (big word) I have place the div tags in the right place which considering wordlets I have.
I did not put it the sections that undoes the code for editing - only in the section where it converts the ubb code to what is displayed.
AllenAyres
I type Like navaho
Registered: 03/10/00
Posts: 25366
Loc: Texas
Hey CaCoffin, set up a test forum to practice on... until you get the hang of it you really don't wanna modify your live site without making sure it works ahead of time. What works for me may not work for you based on what other things we both have installed.