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: 25411
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: 25411
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: 25411
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 >


Top Posters Last 30 Days
AllenAyres 12
Gizmo 10
S7ARBVCK 2
blaaskaak 2
Cambridge 1
Murphdog 1
MattUK 1
Who's Online
0 Registered (), 30 Guests and 8 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
[7.3.1] add search to showmembers page
by blaaskaak
Today at 04:50 AM
BeyondCompare v3.00
by blaaskaak
09/05/08 02:46 PM
Noob - need help, or a reality check!
by Gizmo
09/04/08 03:21 AM
Here I am! Rock me like a Hurricane!
by AllenAyres
09/02/08 03:05 PM
[7.x] Generic Page Outside of forum directory
by Gizmo
08/30/08 05:43 PM
Team UBBDev Rides Again!
by Gizmo
08/28/08 11:45 PM
Multiple Identity Detector
by MattUK
08/28/08 04:10 PM
New Mods
[7.3.1] add search to showmembers page
by blaaskaak
Today at 04:50 AM
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
[7.x] Generic Page Outside of forum directory
by
01/14/07 10:58 PM
Newest Members
veedubb8, twentyseven, Claus1, welcomeback1, Paug
13327 Registered Users

 

 

 
fusionbb message board php hacks