PDA

View Full Version : Quotes are broken. Email links are broken.


Chris M
Sat 14th Jun '03, 3:49pm
http://tvfantalk.darkblazes.com/showthread.php?postid=12

It says:

Originally Posted by 5
7

:(

Satan

Chris M
Sat 14th Jun '03, 3:50pm
If it helps, I have the "click any button to activate the Quick Reply Box" option turned off - Maybe that is causing it?

Satan

mfinc
Sat 14th Jun '03, 4:27pm
Here is more insight for the developers. The posted by 5, and message content 7 is hardcoded into the quoted bbcode.

For the replacements for quote, it is
<blockquote><span class="smallfont">Quote:</span><hr size="1" />Originally Posted by <b>5</b><br /><i>7</i><hr size="1" /></blockquote>

It should have some variables I believe.

Chris M
Sat 14th Jun '03, 4:29pm
Here is more insight for the developers. The posted by 5, and message content 7 is hardcoded into the quoted bbcode.

For the replacements for quote, it is


It should have some variables I believe.
Well Spotted Arunan;):)

Satan

mfinc
Sat 14th Jun '03, 4:30pm
I just noticed ALL BBCODES must be fixed, as its all fixed replacements.

Chris M
Sat 14th Jun '03, 4:38pm
Here is the fix:

Goto your BBCode Manager, and edit the "Simple Email Linking" option...

Replace the entire "Replacement" field with:<a href="mailto:{param}">{param}</a>Now edit the "Advanced Email Linking" option...

Replace the entire "Replacement" field with:<a href="mailto:{option}">{param}</a>Now edit the "Simple Quoting" option...

Replace the entire "Replacement" field with:<blockquote><span class="smallfont">Quote:</span><hr size="1" />{param}<hr size="1" /></blockquote>Now edit the "Quote with Username" option...

Replace the entire "Replacement" field with:<blockquote><span class="smallfont">Quote:</span><hr size="1" />Originally Posted by <b>{option}</b><br /><i>{param}</i><hr size="1" /></blockquote>:)

(for some reason, the a href tag keeps doubling up when I post it - be careful to make sure it is edited out)

Satan

TripleH
Sat 14th Jun '03, 4:57pm
how come some peoples works fine and others dont?

Chris M
Sat 14th Jun '03, 5:04pm
how come some peoples works fine and others dont?
Perhaps something was fixed after I downloaded it;)

Satan

TripleH
Sat 14th Jun '03, 5:08pm
i downloaded it a minute after it was released. lol

Chris M
Sat 14th Jun '03, 5:12pm
Then maybe they changed something for the worse then changed it back;)

Satan

Freddie Bingham
Sat 14th Jun '03, 5:16pm
It is broken on new installs.

Chris M
Sat 14th Jun '03, 5:30pm
Ah;)

Thanks for the explaination:D

Satan

Flack Jacket
Sun 15th Jun '03, 4:24am
I just downloaded the package today and am curious.....as I go through these threads about fixes and patches........

I thought this was beta tested before released to the public for further testing. My point is or my question is.....
why weren't these fixes which I am assuming were figured out in the private beta testing not added to the scripts before the public beta testing?

anyway....here is a bug related to this test.

I changed the stuff as instructed above but in the Simple Email Linking ...... if I chose yes in the "use {option}" I get this error when submitting the change: There seems to have been a slight problem with the The GlobalDungeon database.
Please try again by pressing the refresh (http://java script:window.location=window.location;) button in your browser.
An E-Mail has been dispatched to our Technical Staff (dberror@globaldungeon.net), who you can also contact if the problem persists.
We apologise for any inconvenience.

Database error in vBulletin 3.0.0 Beta 3:
Invalid SQL:
UPDATE bbcode SET
title = 'Simple Email Linking',
bbcodetag = 'email',
bbcodereplacement = '<a href=""\"mailto:\\7\">\\7</a>' (\7&quot;>\7</a>'),
bbcodeexample = 'johndoe@example.com',
bbcodeexplanation = 'The [email] tag allows you to include email addresses without an option.',
twoparams = '1'
WHERE bbcodeid = 1

mysql error: Duplicate entry 'email-1' for key 2
mysql error number: 1062
Date: Sunday 15th of June 2003 03:18:24 PM
Script: http://www.xxxxxxxxx.xxx/xxxxxx/admincp/bbcode.php (http://www.xxxxxxxxx.xxx/xxxxxx/admincp/bbcode.php)
Referer: http://www.xxxxxxxxx.xxx/xxxxxx/admincp/bbcode.php?do=edit&bbcodeid=1
Username: xxxxxxxx
IP Address: xxx.xx.xxx.xxx

I get a similar error if I do the same thing in the Simple Quoting ....both are default selected as "no"

now....both the Advanced Email Linking and the Quote with Username are default selected as "yes" but if you change them to "no" a similar error as above comes up.

anything that brings a database error has got to be a bug. what do you think?

Chris M
Sun 15th Jun '03, 9:09am
I was unable to replicate these errors:(

Satan

Icheb
Sun 15th Jun '03, 11:09am
I thought this was beta tested before released to the public for further testing. My point is or my question is.....
why weren't these fixes which I am assuming were figured out in the private beta testing not added to the scripts before the public beta testing?
Because the private beta testers only upgraded their boards. Although I don't know if they also installed fresh copies on their PCs.

Flack Jacket
Sun 15th Jun '03, 12:19pm
my apologies about the beta testing comments....I didn't pay attention to the dates of the postes fixes and patches

however....I did a clean/fresh install last night after downloading the package and then I read this thread and applied the suggestions above to fix the problems this thread was started about. Then I tried the things I mentioned above and received those errors.

Lazersam
Sun 29th Jun '03, 10:36am
Thanks that fixed it for me :D

RobFerrari
Wed 30th Jul '03, 12:04am
I'm still getting this bug, even after upgrade to Beta 4. Will it only work on new threads since my upgrade? I just added a message to an existing thread to test.

Mike Sullivan
Wed 30th Jul '03, 1:06am
You need to go into your control panel and manually apply the changes mentioned in hellsatan's post (post 6).

Kazaf009
Thu 8th Apr '04, 7:17pm
I do not have any of those bbcode in my bbcode manager.
There is only Marquee and Glow but the glow doesnt even work.

Icheb
Thu 8th Apr '04, 7:35pm
Glow isn't a standard vB code, it's a custom tag.

Kazaf009
Thu 8th Apr '04, 11:46pm
I know. but the quick quote and other stuff that he posts to edit are not in there either.

Steve Machol
Fri 9th Apr '04, 12:03am
This thread concerns patches to an beta older version of vB which is no longer supported. Please feel free to post in the Troubleshooting forum for help. You'll need to include more details though.