php forum
php mysql forum
php mysql smarty
 
Page 4 of 5 < 1 2 3 4 5 >
Topic Options
#150782 - 11/16/02 12:29 PM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
Felix 10 Offline
Enthusiast

Registered: 10/10/02
Posts: 391
Loc: Toronto

   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
All done, the mod works perfectly thanks to LK.
He went the extra mile going into my bins and fixing the bugs right down to the root.

This community should be happy having such a man around.

Thank you very much.

Top
#150783 - 11/19/02 01:34 PM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
Painfool Offline
Member

Registered: 08/14/00
Posts: 182
I have a wierd problem after adding this hack.

If you try to edit a post that has a quote in it you end up with this in the edit window

</font><blockquote><font size="1" face="Verdana, Arial,Helvetica, sans-serif"><span class="small">quote:</span></font><hr /><font size="2" face="Verdana, Arial,Helvetica, sans-serif">Originally posted by Mike:
Testing Quote Editing</font><hr /></blockquote>
<font size="2" face="Verdana, Arial,Helvetica, sans-serif">Testing Quote Editing

The only change I made to the original was adding
after the </blockcode> to add alittle separation.

My line in ubb_lib.cgi looks like this
$match++ if $_[0] =~ s/(
Quote:
)(.+?)(
)(s|n|r)*/ </font><blockquote><font size="1" face="$vars_style{FontFace}"><span class="small">$vars_wordlets{ubbcode_quote}:</span></font><hr /><font size="$vars_style{TextSize}" face="$vars_style{FontFace}">$2</font><hr /></blockquote>
<font size="$vars_style{TextSize}" face="$vars_style{FontFace}">/isg;

Any ideas?

Top
#150784 - 11/19/02 01:43 PM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
Painfool Offline
Member

Registered: 08/14/00
Posts: 182
Quote:
quote:
Originally posted by Painfool:
I have a wierd problem after adding this hack.

Any ideas?
Testing it here...

Nope did not do it here... hmmm

Top
#150785 - 11/19/02 10:54 PM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25429
Loc: Texas
yes, you need to take that
out, the code that converts ubbcode to html has to match the code that converts the html back to ubb code smile

Adjusting the css will give you the space you are wanting smile
_________________________
- Allen wavey
- What Drives You?

Top
#150786 - 11/19/02 10:56 PM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Painfool, you should also add <span class="small"> and </span> to ubb_lib_posting.cgi, sub reverse_ubb_code, the line with $vars_wordlets{ubbcode_quote} smile
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#150787 - 11/20/02 04:11 PM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
Painfool Offline
Member

Registered: 08/14/00
Posts: 182
Thanks that fixed it right up! I had originally removed the
to see if that was the problem... and although it was, removing it does not fix the posts that were made while it was "broken" smile Thanks!

Top
#150788 - 11/23/02 11:49 AM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
messagedj Offline
Member

Registered: 01/23/02
Posts: 84
Loc: Amsterdam
thnx man!
_________________________
FOUNDER & WEBMASTER OF DJWEBPAGES


Dj Webpages
UBB addicted

Top
#150789 - 12/07/02 12:38 PM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25429
Loc: Texas
you're welcome smile
_________________________
- Allen wavey
- What Drives You?

Top
#150790 - 12/09/02 11:24 AM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
Felix 10 Offline
Enthusiast

Registered: 10/10/02
Posts: 391
Loc: Toronto
I am not sure would I post this question, please move if this is not the right location.

A weird thing happened.
After installing Advanced UBB I lost the small blue background of "quote" box.

Can see the example HERE , a comparison between Quote and Code.

Any idea what should I do?
Thank you

Top
#150791 - 01/08/03 12:11 PM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
Felix 10 Offline
Enthusiast

Registered: 10/10/02
Posts: 391
Loc: Toronto
Just disregard the request. Problem solved.

Top
#150792 - 02/03/03 12:15 PM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
tgreene Offline
Member

Registered: 11/28/02
Posts: 187
Loc: Jonesboro, Arkansas
Okay, now for an entirely NEW question... How in the heck can I partially disable the [QB], so that it is inserted into to top of each quote, where it says, "Originally posted by ???:"..?

It's really annoying to have the complete quote in bold print! wink

Top
#150793 - 02/04/03 12:26 AM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
tgreene Offline
Member

Registered: 11/28/02
Posts: 187
Loc: Jonesboro, Arkansas
After a bit of beating my head against a wall, I finally figured it out! smash

My quotes now look like this, except I have the bold text underlined as well... Just add and inside the and references. The additional "n" adds the line spacing between the header and the text body.

Quote:
quote:
Orginally posted by ????:

This is the body of the text blah, blah, blah.
Note the blank line between the header and the text body!

If anyone (for any reason) is interested, the following is what I did.


ubb_new_reply.cgi

Find:
Code:
[/code] 
Replace with:
[code]

Top
#150794 - 02/06/03 01:05 PM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
Felix 10 Offline
Enthusiast

Registered: 10/10/02
Posts: 391
Loc: Toronto
Nice smile

Now try to make the name of the post originator a different color wink

Top
#150795 - 02/06/03 02:24 PM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
tgreene Offline
Member

Registered: 11/28/02
Posts: 187
Loc: Jonesboro, Arkansas
Oh, I see how you're gonna be now...

My board is currently DOA, as it is undergoing a server upgrade, so I can't actually test anything for you.

This will probably be wrong (but headed in one of the right directions[/i]), but since I'm claiming idiot status beforehand, I should get an exemption from public ridicule and floggings... wink

If it actually worked, this would require you to preset a specific hex code for your color tag.
[code][/code]I told you earlier, that I'm just an idiot that gets lucky every now and again, so before you start laughing and pointing fingers at me, I'm gonna run away and hide under my favorite rock!

Top
#150796 - 02/09/03 11:01 PM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
Felix 10 Offline
Enthusiast

Registered: 10/10/02
Posts: 391
Loc: Toronto
smile

Tim, it doesnt work. I only get this on the Quote post preview:
[QUOTE][COLOR=

Top
#150797 - 02/10/03 09:48 AM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
tgreene Offline
Member

Registered: 11/28/02
Posts: 187
Loc: Jonesboro, Arkansas
Re-read the disclaimer that I added before the code attempt! laugh

Top
#150798 - 02/25/03 01:24 AM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
ADWOFF Offline
Content Queen

Registered: 05/07/01
Posts: 709
Loc: Pennsylvania
I have a question for those who like to play. laugh

I'm thinking of installing this into my board, but I notice that the quote box is right up against the next piece of text.

Example:

Quote:
quote:
How can I get
spacing between the quote box & this?

I'd love to see at least one, if not two, line breaks.

Thanks. help

[edit to ask: how on earth did that little quote skew this page so badly?! eek ]
_________________________
Sue
adwoff.com

Top
#150799 - 02/25/03 02:00 AM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25429
Loc: Texas
tipsy

I believe if you remove this section it fixes that smile

blockquote br {
font-size:1px
}
_________________________
- Allen wavey
- What Drives You?

Top
#150800 - 02/25/03 02:06 AM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
ADWOFF Offline
Content Queen

Registered: 05/07/01
Posts: 709
Loc: Pennsylvania
Quote:
quote:
Originally posted by AllenAyres:
tipsy

I believe if you remove this section it fixes that smile

blockquote br {
font-size:1px
}
Okay, I'll give it a shot. Thanks, Allen. smile
_________________________
Sue
adwoff.com

Top
#150801 - 02/25/03 03:01 PM Re: [6.3x] Smarter Looking Quotes and Codes [Finished]
ADWOFF Offline
Content Queen

Registered: 05/07/01
Posts: 709
Loc: Pennsylvania
Okay, Allen, I think what you suggested worked w/in the box, but now I'm trying to address the spacing outside of the box.

Here's a snapshot:




Is this making any sense? tipsy laugh

Thank you for whatever help you can give.
_________________________
Sue
adwoff.com

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


Who's Online
0 Registered (), 41 Guests and 8 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Blogs, love em or hate em?
by AllenAyres
Today at 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
Looking for a simple upload script
by Murphdog
09/26/08 08:45 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3] Language file checker
by blaaskaak
09/09/08 12:56 AM
[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
pisa666, ghengis317, NitroX, Dogan, EliYah-
13345 Registered Users
Top Posters Last 30 Days
AllenAyres 18
blaaskaak 12
FREAK1 7
Mike L_dup1 4
Chris Bale 4
Ian_W 4
tackaberry 4

 

 

 
fusionbb message board php hacks