Code: Select all
bbcode as hyperlinks?
I disabled the [URL] bbcode because a lot of users and spammers love to advertise and it just looks like spam.
I just love how a link is isolated in a white box; it looks nice and simple. :D
Code: Select all
bbcode as hyperlinks?
I disabled the [URL] bbcode because a lot of users and spammers love to advertise and it just looks like spam.
I just love how a link is isolated in a white box; it looks nice and simple. :D
I know, but i want to make it easier for mobile users to click links inside the CODE, so could you guys please help me.Oyabun1 wrote:Not on a standard board. Would sort of defeat one of the purposes of the BBCode.
I'm not sure why you guys are being, so belligerent. Can you guys be nice enough to help me phrase the urls inside CODED links?Lumpy Burgertushie wrote:that doesn't make sense. the whole point of the "code" bbcode is to NOT parse links or code etc.
if someone posts a link like this: http://whatever.com look, it automatically becomes a link.
even if you disable the "url" bbcode, that does not affect this process.
not sure what you are hoping to achieve with all this.
If spammers is your problem just stop them from registering in the first place and if it is valid members then warn them about it and ban them if needed.
I think you are making this way more difficult than it needs to be.
luck,
robert
You would need an extension. Have a look in the Extensions Database. If you can't find one that is suitable you could look in [3.1.x] Extensions in Development, but note that extensions in development are not intended for a live board. If there is nothing there that suits your purpose you could post in [3.1.x] Extension Requests.Oyabun1 wrote:Not on a standard board
Code: Select all
tags exist for the SOLE purpose of allowing code and links to be posted without being parsed.
Perhaps if you told us what you were trying to achieve - the result, not the method - we can help you more.
Not what i wanted, the problem is that all the links on my board are CODED, so I would have to change all the topics and posts.Lumpy Burgertushie wrote:ah, see, now we know what you are trying to do it is simple to help you.
as was mentioned above, you really should request an extension to do this.
one way to do it would be to edit the bbcode.html file for your style(s).
find this:and change it to this:Code: Select all
<!-- BEGIN url --><a href="{URL}" class="postlink">{DESCRIPTION}</a><!-- END url -->
that is not the code box but it gives you what you wanted I believe.Code: Select all
<!-- BEGIN url --><div style="padding:5px; border:1px solid #000000; background-color: #ffffff; margin: 0 auto;"><a href="{URL}" class="postlink">{DESCRIPTION}</a></div><!-- END url -->
you can edit the css to make the box look like whatever you wish.
robert
It's not just one post, it's all of them; I enacted a rule that forced users to CODE all their links.Lumpy Burgertushie wrote:can you give us a link to a post on your board that shows what you are talking about?
robert
Then do that edit in your current files.John45 wrote:Edit: Here's what i want: viewtopic.php?f=72&t=1536535#p12936258
Sorry, but the code that needs to be replaced is different.david63 wrote:Then do that edit in your current files.John45 wrote:Edit: Here's what i want: viewtopic.php?f=72&t=1536535#p12936258