×
Blue Eagle 5 v1.5.3 has been Released (31 Mar 2020)

The Kunena team has announce the arrival of Kunena template Blue Eagle 5 v1.5.3 which is now available for download. This version addresses most of the issues that were discovered in development.

× This category contains miscellaneous, uncategorised user contributions, (templates, modules, plugins and hacks) relating to older versions of Kunena that are no longer supported.

This category may also contain a few topics relating to K 1.6 that may have been moved here possibly by mistake.

The topics in this category are for historical interest only. Owing to the structural differences between K 1.6 and K 1.7, these ideas in these topics will not work with later versions and, for that reason, the topics are locked.

Question adding a neww bbcode tag

More
10 years 11 months ago #1 by ente1
hello,
i want to have a new bbcode to the another

it should be display a download button where the user can put their links

like this

File Attachment:

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #2 by Spock
Replied by Spock on topic Re:adding a neww bbcode tag
Hi ente1,
It is possible to add a new bbcode but it'll require a hack of the Kunena core code. I'm sorry but i'm not entirely sure what you mean by "the user can put their links" or "download button". Could you explain what exatly you are trying to achieve? Please be as detailed as possible

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #3 by ente1
Replied by ente1 on topic Re:adding a neww bbcode tag
i want a button to display this code
[url=https:// your downloadlink] [img]https://plattenspiel.de/images/dowanload.gif[/img] [/url]

in my forum can you download recordings from events etc.
not illegal warez
all user can put links in the forum
so i don´t want to see the download links
i like it to show a button

sorry for my bad english

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #4 by Spock
Replied by Spock on topic Re:adding a neww bbcode tag
Ok i just wanted to get the detail of what the button was supposed to do. I don't know exactly how to achieve this properly. It'll have to be very similar to the URL BB code but just display an image instead of URL text. I'm just clarifying this here for other users because somebody with more PHP skills might know a work-around.

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago - 10 years 11 months ago #5 by sozzled
Replied by sozzled on topic Re:adding a neww bbcode tag
I think I see what you want. You want a way of simplifying the URL insertion function so that your users can sumbit their own links that will appear in their messages as an image that others can click. Yeah? :unsure:

Another way of saying this is that you want to force your users to use a standard format
[url=https://user-supplied-URL][img]https://plattenspiel.de/images/ dowanload.gif[/img] [/url]
Why not just tell them (nicely) that's what you want them to do? B)
Last edit: 10 years 11 months ago by sozzled.

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago - 10 years 11 months ago #6 by Spock
Replied by Spock on topic Re:adding a neww bbcode tag
sozzled wrote:

I think I see what you want. You want a way of simplifying the URL insertion function

so that your users can sumbit their own links that will appear in their messages as an image that others can click. Yeah? :unsure:


No that's not what he wants if you read ente1 request properly

so i don´t want to see the download links
i like it to show a button


To clarify for other users he is trying to achieve the following:
  • When a user submits a specific URL point to a download of recordings from events etc. the link Url or text will be replaced by a Download button to reduce unnecessary text on his forum
  • This will be done exactly the same as a URL field is added by the bbcode but a new hack to replace these download links with an image
Last edit: 10 years 11 months ago by Spock. Reason: added a bit more info

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #7 by sozzled
Replied by sozzled on topic Re:adding a neww bbcode tag
Spock wrote:

sozzled wrote:

I think I see what you want. You want a way of simplifying the URL insertion function

so that your users can sumbit their own links that will appear in their messages as an image that others can click. Yeah? :unsure:


No that's not what he wants if you read ente1 request properly

so i don´t want to see the download links
i like it to show a button


To clarify for other users he is trying to achieve the following:
  • When a user submits a specific URL point to a download of recordings from events etc. the link Url or text will be replaced by a Download button to reduce unnecessary text on his forum
  • This will be done exactly the same as a URL field is added by the bbcode but a new hack to replace these download links with an image

Actually, what I wrote and what you wrote (about our understanding of the question) are essentially the same thing ... but I'm not going to argue about it, particularly as there's a really, really simple non-technical solution to the problem.

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #8 by ente1
Replied by ente1 on topic Re:adding a neww bbcode tag
@ sozzled and spock

yes that what i meaned,but the [url] Tag should be original not hacked.so i want add a extra bbcod for this.

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago - 10 years 11 months ago #9 by Spock
Replied by Spock on topic Re:adding a neww bbcode tag
sozzled wrote:

Actually, what I wrote and what you wrote (about our understanding of the question) are essentially the same thing ... but I'm not going to argue about it, particularly as there's a really, really simple non-technical solution to the problem.


Agreed, sozzled (it was late last night when i read your reply) i misinterpreted what you meant. The simple workaround will work perfectly well by asking your members(or moderators if it isn't a large board) to display the image within the URL bbcode tag.

as sozzles said:
[url=https://user-supplied-URL][img]https://plattenspiel.de/images/dowanload.gif[/img] [/url]

Will display exactly like this:
[url=https://user-supplied-URL]

File Attachment:
[/url]

Last edit: 10 years 11 months ago by Spock.

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #10 by ente1
Replied by ente1 on topic Re:adding a neww bbcode tag
yes i know but i want a button,do you know where is the code for bbcodes
i didn´t wan´t to tell this every user = over 3000 user

Please Log in or Create an account to join the conversation.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.111 seconds