Welcome, Guest. Please Login or Register.
May 03, 2025, 11:56:29 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  LINK button instead of URL button « previous next »
Pages: [1] Reply Ignore Print
Author Topic: LINK button instead of URL button  (Read 479 times)
Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
LINK button instead of URL button
« on: May 12, 2002, 12:22:15 PM »
Reply with quote

A lot of my members have troubles with the URL button :

they don't know how to use it, and will enter the whole URL in a message, or a phrase will look like :

Click here to enter the site.

Where ?  Just click on the WORD "here".....

So, if it would be possible to add something like :

[link=http://  ]TEXT[/link]

and make that BOLD, UNDERLINED, and (maybe) SIZE=3 ?

Do you know what I mean ?

I tried adding it to ubbc.js, and that was no problem, but what do I have to change / where to let it be displayed BOLD, UNDERLINED, etc. ??

(I dont want it to be displayed as [b ][u ][link=http://  ]TEXT[/link][/u ][/b ] !! )
« Last Edit: May 12, 2002, 12:23:28 PM by Webby » Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
Hypocrite
YaBB God
*****
Posts: 692


For To End Yet Again

dimmuh@gmx.net WWW
Re:LINK button instead of URL button
« Reply #1 on: May 12, 2002, 12:27:26 PM »
Reply with quote

I haven't tried this myself but I think you could find the parts you need to make bold from the language file and add the html tags around the word you want to make bold. For example find $txt[662] = "here"; and make it $txt[662] = "<B>here</B>";
Logged
Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:LINK button instead of URL button
« Reply #2 on: May 12, 2002, 12:30:22 PM »
Reply with quote

But that will not be added when you click the URL button.

It will only show :

[url ][/url ]

And nothing more.....
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
Hypocrite
YaBB God
*****
Posts: 692


For To End Yet Again

dimmuh@gmx.net WWW
Re:LINK button instead of URL button
« Reply #3 on: May 12, 2002, 12:32:43 PM »
Reply with quote

Sorry, read your message wrong :)
Logged
Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:LINK button instead of URL button
« Reply #4 on: May 12, 2002, 12:34:41 PM »
Reply with quote

So the question would be : where exactly do I have to change what.....in which files, so the code is parsed the right way.
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
vorapoap (vory)
Sr. Member
****
Posts: 424


Not considered either a living or death

WWW
Re:LINK button instead of URL button
« Reply #5 on: May 13, 2002, 07:57:08 AM »
Reply with quote

it is in Subs.php... u will see a long list ... :)
Logged

On the route to hell...
Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:LINK button instead of URL button
« Reply #6 on: May 13, 2002, 08:11:30 AM »
Reply with quote

So, that would be the only place to change it ?!

Ehm.....any help with this one, because it looks like I have to add a lot of code of which I'm not sure how to do that.....
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:LINK button instead of URL button
« Reply #7 on: May 16, 2002, 06:20:40 AM »
Reply with quote

Anybody out there who can help me (and my members) out ?!
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
vorapoap (vory)
Sr. Member
****
Posts: 424


Not considered either a living or death

WWW
Re:LINK button instead of URL button
« Reply #8 on: May 16, 2002, 11:14:20 AM »
Reply with quote

yes.. you should change the $codetocache array I guess.. add those html image tag inside.. (not look to it yet) one thing is you have to use backslack for some character.. see the example on the neighborhood lines.
Logged

On the route to hell...
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  LINK button instead of URL button « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.179 seconds with 20 queries.