php forum
php mysql forum
php mysql smarty
 
Page 2 of 5 < 1 2 3 4 5 >
Topic Options
#150742 - 08/10/02 06:38 AM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
letimeric Offline
Junior Member

Registered: 05/02/02
Posts: 10

   Re: [6.3x] Smarter Looking Quotes and Codes [Finished] to Del.icio.us Add to del.icio.us
  Digg Re: [6.3x] Smarter Looking Quotes and Codes [Finished] Digg it
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

Top
#150743 - 08/10/02 12:33 PM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
AllenAyres Administrator Online   content
I type Like navaho

Registered: 03/10/00
Posts: 25434
Loc: Texas
before I edit your post wink , 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 smile

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 smile
_________________________
- Allen wavey
- What Drives You?

Top
#150744 - 08/10/02 09:22 PM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
CaCoffin Offline
Member

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.

Here is what code I do have in that same section:

X X X deleted by me X X X

Top
#150745 - 08/10/02 09:34 PM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
CaCoffin Offline
Member

Registered: 12/02/00
Posts: 152
Loc: Las Vegas, NV
oh and here is a page to see it

http://iambornagainru.org/bab/ultimatebb.php?ubb=get_topic;f=12;t=000071

Top
#150746 - 08/11/02 09:06 AM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
CaCoffin Offline
Member

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:

<blockquote><font class="small">code:
[qb]
Code:
<blockquote><font size="1" face="Verdana, Helvetica, sans-serif">code:</font>
[/qb]
I have no font class small!

So where is this being used instead of what I have???? (That is where in the control panel do I have something that can be changed to "small"?)

Top
#150747 - 08/14/02 08:24 PM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
CaCoffin Offline
Member

Registered: 12/02/00
Posts: 152
Loc: Las Vegas, NV
Does no one know why I using the latest version of UBB has different code than you guys do here?

Top
#150748 - 08/15/02 01:46 AM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
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!

Top
#150749 - 08/15/02 02:49 PM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
AllenAyres Administrator Online   content
I type Like navaho

Registered: 03/10/00
Posts: 25434
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?
smile We have completely different templates based on our css work we did a few months back, so yeah, they're different. wink

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.
_________________________
- Allen wavey
- What Drives You?

Top
#150750 - 08/17/02 07:50 AM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
CaCoffin Offline
Member

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.

Thanks for the help on this one!

Top
#150751 - 08/17/02 01:09 PM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
Chris Staber Offline
Junior Member

Registered: 08/17/02
Posts: 3
Quote:
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.

Suggestions???
Very Nice =)

Top
#150752 - 08/17/02 02:33 PM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
AllenAyres Administrator Online   content
I type Like navaho

Registered: 03/10/00
Posts: 25434
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.
_________________________
- Allen wavey
- What Drives You?

Top
#150753 - 08/18/02 09:36 AM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
Chrimera Offline
Member

Registered: 08/01/02
Posts: 93
Loc: Michigan
Worked great for me thanks smile
_________________________
New to this whole UBB thing
I have <img src="http://www.ubbdev.com/ud/?u=[IGRAINE] Chrimera&s=1" alt=" - " /> points, <img src="http://www.ubbdev.com/ud/?s=2&u=[IGRAINE] Chrimera" alt=" - " /> results and <img src="http://www.ubbdev.com/ud/?u=Chrimera, [IGRAINE] gitp4, [IGRAINE] Erondel &s=1" alt=" - " /> sub-team points.

Top
#150754 - 08/18/02 09:59 PM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
ericruhl Offline
Member

Registered: 02/16/01
Posts: 57
Quote:
quote:
Originally posted by AllenAyres:
Code: Place this in your headerinsert:
Mod looks great, sounds super easy to install, only one catch... where the heck do I find the "headerinsert"?? confused
UBB 6.3.1

Top
#150755 - 08/18/02 10:34 PM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
AllenAyres Administrator Online   content
I type Like navaho

Registered: 03/10/00
Posts: 25434
Loc: Texas
that's in your style templates, under the header and footer boxes. smile
_________________________
- Allen wavey
- What Drives You?

Top
#150756 - 10/04/02 04:15 AM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
bobbel Offline
Junior Member

Registered: 09/04/02
Posts: 16
I like it... smile
Thanks a lot for this nice hack

bobbel

Top
#150757 - 10/05/02 06:53 PM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
Dino Offline
Member

Registered: 03/23/01
Posts: 53
Loc: Troy, MI
It adds a nice box around the quote and code, but the .small reference is useless.
_________________________
Dino Filias
http://dinofilias.com

Top
#150758 - 10/06/02 08:29 AM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
Rutto Offline
Member

Registered: 02/10/01
Posts: 182
Things so simpe are also so sweeeeet !
Thank you, works perfectly !

Top
#150759 - 10/28/02 04:25 PM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
Not Great at this stuff Offline
Junior Member

Registered: 05/11/02
Posts: 27
Loc: London
Nice and easy, even I done that one wink

Top
#150760 - 10/29/02 10:21 PM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
Felix 10 Offline
Enthusiast

Registered: 10/10/02
Posts: 391
Loc: Toronto
anybody explain please where this header insert is?
is there a instruction for dummies? confused

Top
#150761 - 10/29/02 10:23 PM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
CaCoffin Offline
Member

Registered: 12/02/00
Posts: 152
Loc: Las Vegas, NV
Quote:
quote:
Originally posted by AllenAyres:
that's in your style templates, under the header and footer boxes. smile
Answered before you asked!

Top
Page 2 of 5 < 1 2 3 4 5 >


Who's Online
1 Registered (AllenAyres), 39 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Team UBBDev Rides Again!
by AllenAyres
10/13/08 01:36 PM
Blogs, love em or hate em?
by AllenAyres
10/07/08 02:05 PM
What do you use to edit the files
by Ian_W
10/05/08 03:33 PM
BeyondCompare v3.00
by Ian_W
10/05/08 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
10/05/08 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
Kevs, pisa666, ghengis317, NitroX, Dogan
13346 Registered Users
Top Posters Last 30 Days
AllenAyres 9
blaaskaak 7
Chris Bale 4
FREAK1 4
Ian_W 4
tackaberry 4
Mike L_dup1 4

 

 

 
fusionbb message board php hacks