Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
v7 Beta 1

Using your example in the Active Text Description.
UBB.threads|<a href='https://www.ubbcentral.com'>UBB.threads</a>

When typing UBB.thread in a post.

The link when hovering over links to

http://www.mysite.com/'https://www.ubbcentral.com/'

---
When adding another one to the list,

google|<a href=\'http://www.google.com\'>Google.com</a>

and Update Feature Settings they both change
in the input area to

UBB.threads|<a href=\\\'https://www.ubbcentral.com\\\'>UBB.threads</a>
google|<a href=\\\'http://www.google.com\\\'>Google.com</a>

see all the extra \\\\\\\\\\\\\

and the links go worse in a post go even worse.

And if you dont change a thing in the active text
box area and just click update feature settings,

look what happens....

UBB.threads|<a href=\\\\\\\'https://www.ubbcentral.com\\\\\\\'>UBB.threads</a>
google|<a href=\\\\\\\'http://www.google.com\\\\\\\'>Google.com</a>

even more /////////////////////////

Good luck smile

Its also prefixed with file :
in the status bar before http://
so the link is dead before it starts.

I'm wondering if there is a setting elsewhere
that's knocking this out of sorts?

Last edited by Rick; 07/21/2006 1:13 PM.

BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Well, the \\\/// are because you're trying to escape the quote, there isn't any need to escape quotes in the activetext.

As for the non working links, thats odd in itself; lemme see if i can replicate it on my test forums.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Odd, i am unable to replicate this on my test site...
At UGN (Beta 1 rv306) I tried:
Quote
Bush|<a href='http://www.dolt.com'>Bush</a>

At StoryLiners (Beta 1 rv321) I tried:
Quote
Business|<a href='http://www.business.com'>Business</a>


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
Business|<a href='http://www.business.com'>Business</a>
Bush|<a href='http://www.dolt.com'>Bush</a>

Ive just added the above.
exactlly as you see it.

Clicked the "Update feature Settings"

And now it looks like this.

Bush|<a href=\'http://www.dolt.com\'>Bush</a>
Business|<a href=\'http://www.business.com\'>Business</a>

Its adding the escape \\\\\\\\\ on its own.

--------
i downladed this from the members area about a week ago now.
I'm going to re-install it again.
as i'm getting errors, and not sure if ive
bolloxed up the upload, when my ftp was set
to file names = lowercase.


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
humm, how odd.. do you have magicquotes on in your php.ini?


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
Local Value / Master Value

PHPv 4.4.2

magic_quotes_gpc On On
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off

I'm on a shared server so i cant change any of those frown


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
I'll need to do some stripslashes it looks like to counter this.

Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
(Version 7.0.0b1)

Just a quick update.

I re-installed everything again,
and it still does the above.

(Making sure my ftp didnt force lower case on upload)


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Here's the fix. Line 55 of admin/dofeatures.php looks like this:

$ACTIVE_TEXT_LIST = $_POST['ACTIVE_TEXT_LIST'];

Right after that, add this:

PHP Code
if (get_magic_quotes_gpc) {
	$ACTIVE_TEXT_LIST = stripslashes($ACTIVE_TEXT_LIST);
} 


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
2 members (Nightcrawler, Ruben), 694 guests, and 214 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)