Previous Thread
Next Thread
Print Thread
Rate Thread
#173390 01/31/2002 11:39 PM
Joined: Jan 2002
Posts: 27
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 27
This 'should' be an easy one. I am running 6.1.0.4 with XHTML templates installed. When I use UBB code LIST option, the font size of my list items is one size larger than the rest of the text.

Example:

http://www.netbattletech.com/forum/cgi-bin/ultimatebb.cgi?ubb=get_topic;f=2;t=000508

What do I need to edit to bring it to the correct size?

Thanks in advance!!!


The Dark Phoenix Has Risen
Sponsored Links
#173391 02/01/2002 1:05 AM
Joined: Sep 2000
Posts: 4,211
Master Hacker
Master Hacker
Joined: Sep 2000
Posts: 4,211
I can't see the example because I need to be logged in.

#173392 02/01/2002 7:09 AM
Joined: Jan 2002
Posts: 27
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 27
quote:
Originally posted by Matt Jacob:
I can't see the example because I need to be logged in.

Put a diff example up. Was late last night. Not too bright. smile

http://www.netbattletech.com/forum/cgi-bin/ultimatebb.cgi?ubb=get_topic;f=2;t=000508


The Dark Phoenix Has Risen
#173393 02/01/2002 8:02 AM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
It's a bug in one of XHTML templates' older versions, IIRC. (maybe it's also in the newest one) I suggest you to upgrade to 6.2.0.

#173394 02/01/2002 8:42 AM
Joined: Jan 2002
Posts: 27
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 27
quote:
Originally posted by LK:
It's a bug in one of XHTML templates' older versions, IIRC. (maybe it's also in the newest one) I suggest you to upgrade to 6.2.0.

Yuck. frown Just finished the upgrade to 6.1.0.4 I inherited this board when I joined this league. It was running an early 6.0.x version orginally.

Is there anyway to verify that the latest XHTML (in 6.2) fixes this problem. Not that I don't mind spending an entire weekend recoding my board, but I want to make sure it is worth it. smile


The Dark Phoenix Has Risen
Sponsored Links
#173395 02/01/2002 9:06 AM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
If it works here, it works in every 6.2 board:
  • Test
  • Test 2
  • Test 3
  • Test 4

#173396 02/01/2002 9:39 AM
Joined: Jan 2002
Posts: 27
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 27
OK, I found the extra in ubb_lib.cgi

It posts properly.

The second bug having to do with this is in the reverse_ubb_code script. When you go to edit a post that has bullits in it, it does not convert it back properly. It leaves all the HTML code in place. frown This ONLY applies to bullits, the rest of the UBB code converts.

All of this is located in ubb_lib_posting.cgi

But it is writtin in code that is above my head. I'm playing with it, but am having no luck. Any ideas?

I zipped up the .cgi file here:

www.netbattletech.com/ubb_prob.zip

Go ahead and post in that thread and edit your post.

http://www.netbattletech.com/forum/cgi-bin/ultimatebb.cgi?ubb=get_topic;f=2;t=00050 8#000002


The Dark Phoenix Has Risen
#173397 02/01/2002 10:06 AM
Joined: Jan 2002
Posts: 27
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 27
OK, I'm editing the following lines of code:

$_[0] =~ s/
  • /[*]/isg;
    $_[0] =~ s/
  • /[ ]/isg;

    The second line I added. Question: On the second line I want to replace the "[ ]" with nothing (it is causing [ ] to come up in the edited post). What code do I need to put in to either enter a space or enter nothing?


    The Dark Phoenix Has Risen
    #173398 02/01/2002 10:29 AM
    Joined: Jan 2002
    Posts: 27
    Junior Member
    Junior Member
    Offline
    Joined: Jan 2002
    Posts: 27
    OK, next question:

    What is the code for a line break to show up.

    Right now I have it edited to read:

    $_[0] =~ s///isg;

    That makes it so that everything shows up on one line. Not a big deal, but what is the code I need for a line break?
    is the HTML code, but if I type that in, then "
    " shows up in the page. Is there a $?? code that allows it?


    The Dark Phoenix Has Risen
    #173399 02/01/2002 10:45 AM
    Joined: Jan 2002
    Posts: 27
    Junior Member
    Junior Member
    Offline
    Joined: Jan 2002
    Posts: 27
    OK, this should be it:

    I need to tell it to convert:

    quote:


    to the BEGIN UBB QUOTE CODE

    And




    to the END UBB QUOTE CODE

    Any ideas? There are extra
    at the beginning of each one. That prevents the regular reverse_ubb_code from working with it. frown


    The Dark Phoenix Has Risen
    Sponsored Links
    #173400 02/01/2002 11:47 AM
    Joined: Mar 2001
    Posts: 7,394
    LK Offline
    Admin / Code Breaker
    Admin / Code Breaker
    Offline
    Joined: Mar 2001
    Posts: 7,394
    Delete this ZIP file!

    #173401 02/01/2002 12:20 PM
    Joined: Jan 2002
    Posts: 27
    Junior Member
    Junior Member
    Offline
    Joined: Jan 2002
    Posts: 27
    quote:
    Originally posted by LK:
    Delete this ZIP file!

    Deleted. What's the problem?


    The Dark Phoenix Has Risen
    #173402 02/01/2002 12:28 PM
    Joined: Mar 2001
    Posts: 7,394
    LK Offline
    Admin / Code Breaker
    Admin / Code Breaker
    Offline
    Joined: Mar 2001
    Posts: 7,394
    1. Get sub UBBCode and reverse_ubb_code from 6.2.0's zip.

    2. Uncomment the [code] line in sub UBBCode.

    I told you to remove the ZIP because it's not allowed to post UBB files/long code from them.

    #173403 02/01/2002 12:57 PM
    Joined: Jan 2002
    Posts: 27
    Junior Member
    Junior Member
    Offline
    Joined: Jan 2002
    Posts: 27
    LK you are my unconditional HERO!!!!!

    Where do I mail the 6-pack?!?!?!


    The Dark Phoenix Has Risen

    Link Copied to Clipboard
    Donate Today!
    Donate via PayPal

    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.
    Recommended Hosts
    We have personally worked with and recommend the following Web Hosts:
    Stable Host
    bluehost
    InterServer
    Visit us on Facebook
    Member Spotlight
    Zarzal
    Zarzal
    Berlin, Germany
    Posts: 808
    Joined: July 2001
    Forum Statistics
    Forums63
    Topics37,573
    Posts293,925
    Members13,849
    Most Online5,166
    Sep 15th, 2019
    Today's Statistics
    Currently Online
    Topics Created
    Posts Made
    Users Online
    Birthdays
    Top Posters
    AllenAyres 21,079
    JoshPet 10,369
    LK 7,394
    Lord Dexter 6,708
    Gizmo 5,833
    Greg Hard 4,625
    Top Posters(30 Days)
    Top Likes Received
    isaac 82
    Gizmo 20
    Brett 7
    WebGuy 2
    Morgan 2
    Top Likes Received (30 Days)
    None yet
    The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

     
    Powered by UBB.threads™ PHP Forum Software 8.0.0
    (Preview build 20240430)