Link in Members module

astricia

Quote from: dbs on December 02, 2019, 09:57:37 AM
Hello, again a friendly answer from you.  :?
Maybe you do not really want help.

Aww, sorry, I wouldn't ask if I didn't need the help... sorry, if my short question came across unfriendly, this was not intended! (Solltest du aber inzwischen wissen.... Ich hab einfach zu viel um die Ohren und versuche nur, mich kurz zu fassen und möglichst schnell auf den Punkt zu kommen...).

Thank you - that solution worked perfectly. :-)

dbs

Hello, again a friendly answer from you.  :?
Maybe you do not really want help.

Try this in your loop:
<div class="mehrbutton">[LINK]</div>

in kram/functions.inc.php change line 25 toif ($linktext == '') {$linktext = 'Mehr...';}
[url="https://onkel-franky.de"]https://onkel-franky.de[/url]

astricia

Wow - ok, in that case it means I have to add 200+ member entries, all with the same text. There is no other way to automatically add the SAME text to all members?

dbs

In my members i go into a member.
There is a tile field, a wysiwyg, a link field and more (like set in options).
The link field: is empty.
Write:
https://yourlink-address.com Mehr...

Linkadress + Whitespace + Linktext
Result in:
<a href="https://yourlink-address.com">Mehr...</a>
[url="https://onkel-franky.de"]https://onkel-franky.de[/url]

astricia

Yes, but I want the link TEXT changed - I want the button to be called "Mehr..." instead of "Link" ... Where do I enter the "Mehr..." ?

If I just use [LINK] this resolves to <a href="..." target=_blank">Link</a>

dbs

gottomio..., i mean in member.  :)
The field for the link.

If you not add Mehr after the link, the link will display the address instead.
[url="https://onkel-franky.de"]https://onkel-franky.de[/url]

astricia


dbs

Hi, try in options:
<div class="mehrbutton">[LINK]</div>

and in item
https://google.de Mehr
[url="https://onkel-franky.de"]https://onkel-franky.de[/url]

astricia

Hi all,

I am using the Members module in a website (currently 2.12.1) - and updated the module from 0.8.3 to 0.8.9

In the options of the module, I am using [LINK] - before the update, this resolved to JUST the link, so
<div class="mehrbutton">[LINK]Mehr...</a></div>
would resolve to
<div class="mehrbutton"><a href="..." target="_blank">Mehr...</a></div>

Now, after the update, this line resolves to:
<div class="mehrbutton"><a href="..." target="_blank">Link</a>Mehr...</div>

In other words - the word "Link" is in the link - and "Mehr..." is outside of the link.

How can this be fixed?

Please help - thanks!

Astrid