Author Topic: Button Link  (Read 10846 times)

0 Members and 1 Guest are viewing this topic.

Offline bigwillhere

  • Newbie
  • *
  • Posts: 22
    • View Profile
Button Link
« on: February 29, 2008, 02:00:33 AM »
I found this nifty little mod and  code in the forum to display all images for a member

{user_images_link}

By using it in the details.html it puts a text link  to display all images of the member.

Instead of a text link, I wanted to use a button or image link.

I tried this, but all it did was display  the image with the text link below it.

<a href="{user_images_link}"><img src="{template_url}/images/but01.gif" border="0" alt="" /></a>

How can I use or create a button or image link v.s. a text link for the above.


Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Button Link
« Reply #1 on: February 29, 2008, 02:04:11 AM »
Quote
I found this nifty little mod and  code in the forum to display all images for a member

If so, please post in right topic.
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Button Link
« Reply #2 on: February 29, 2008, 02:17:47 AM »
... 18 posts ... so you must know how to use this forum ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline bigwillhere

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: Button Link
« Reply #3 on: February 29, 2008, 03:16:38 AM »
thunderstrike, thanks for being a gentleman. I'll try to find the post again. I copied and pasted it about a week ago in word pad and saved it. I'm just now getting around to using it. The jest of my question is how to make a button link and I was  using the mod I found in the forum as a reference. It didn't talk about button links. If I find it I will post my question there but I think it will be off topic in that thread.

Thanks


mawenzi, I'm glad you are perfect and don't make any mistakes. I did search before posting for how to make button link but unless you know what keywords to search on, it can be tough to find what you are looking for.  Thanks for making me feel welcome.

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Button Link
« Reply #4 on: February 29, 2008, 03:23:39 AM »
Quote
It didn't talk about button links. If I find it I will post my question there but I think it will be off topic in that thread.

Very good. Post topic for see if right topic headline. ;)
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline bigwillhere

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: Button Link
« Reply #5 on: February 29, 2008, 03:43:06 AM »
Hey Thuderstrike...I found the topic and went to post and got this warning:

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Man, I don't want to violate any rules or mawenzi may give may give me another warm and fuzzy reply.

The link to the topic is here http://www.4homepages.de/forum/index.php?topic=12914.15

After reading it again I thought my question on how to create a button link may not fit, but I will post my question  in the old post if you say that is what I should do.

Even though I got this code {user_images_link} from the post, the rest of my attempt at the link below was me trying to figure out how to create a button link from {user_images_link}.

<a href="{user_images_link}"><img src="{template_url}/images/but01.gif" border="0" alt="" /></a>

Oh well, if I violate some rule by taking something from one post and trying to improvise by creating something I want to use, I apologize. My search for the answer netted no results so that is why I posted.




Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Button Link
« Reply #6 on: February 29, 2008, 04:46:59 AM »
Ok ... this is good reply for compare topic ... ;)

Quote
{user_images_link}

What is source tag say in PHP file for this ? Please post code.
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Button Link
« Reply #7 on: February 29, 2008, 05:53:38 AM »
... for button link "My Images" use in functions.php this ...
Code: [Select]
$user_images_link = "<a href=\"search.php?search_user=".$user_name."\"><img src=\"".get_gallery_image("but01.gif")."\" border=\"0\" alt=\"\" /></a>";

... instead of ...
Code: [Select]
$user_images_link = "<a href=\"search.php?search_user=".$user_name."\">".$lang['pictures']."</a>";
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline bigwillhere

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: Button Link
« Reply #8 on: February 29, 2008, 01:12:19 PM »
Thanks guys........that worked. :!: :!: :!: :!:

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Button Link
« Reply #9 on: February 29, 2008, 01:38:39 PM »
... guys ...  :roll:
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline bigwillhere

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: Button Link
« Reply #10 on: February 29, 2008, 02:19:44 PM »
OOPS.... :oops: thanks mawenzi for the code. I do appreciate everyones effort so that is why I say thanks to all who tried to help.