Author Topic: Adding Profile, Send PM, and other buttons  (Read 4464 times)

0 Members and 1 Guest are viewing this topic.

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Adding Profile, Send PM, and other buttons
« on: January 18, 2003, 09:07:49 »
It's possible in album.pl to add a link to the profile of the user who uploaded a specific pic, or who owns an specific album (in per_member_upload=1). Just add the following lines to your templates. (Where you add them will determine when and where they show up - experimentation is good!)

YaBB:

Code: [Select]
<a href="http://perl.bobbitt.ca/yabb/YaBB.pl?action=viewprofile;username=CONFIG=owner####">See ####CONFIG=owner####'s Profile</a>
YaBB  SE:

Code: [Select]
<a href="http://perl.bobbitt.ca/yabbse/index.php?board=4;action=viewprofile;user=####CONFIG=owner####">See ####CONFIG=owner####'s Profile</a>
UBB:

Code: [Select]
<a href="http://cdnarmy.ca/cgi-bin/ultimatebb.cgi?ubb=get_profile;u=####CONFIG=owner####">See this user's Profile</a>
This, of course, also opens the door to other things, such as adding a link to send the user a PM... Here's a UBB example for that:

Code: [Select]
<a href="http://cdnarmy.ca/cgi-bin/ultimatebb.cgi?ubb=private_message;u==####CONFIG=owner####">Send this user a PM</a>
There's more that can be done, just tinker! :)

Cheers

Offline matt_rogers

  • album.pl Hacker
  • ****
  • Posts: 117
  • Karma: +2/-0
  • Currently sitting in front of a computer.
    • Three Steps To A Reef Aquarium
Re:Adding Profile, Send PM, and other buttons
« Reply #1 on: January 22, 2003, 15:11:02 »
COOL!!!

Offline Slammer

  • album.pl User
  • *
  • Posts: 14
  • Karma: +0/-0
  • I'm a llama!
    • WorldWideRetro.Com
Re:Adding Profile, Send PM, and other buttons
« Reply #2 on: January 29, 2003, 21:37:02 »
WOW! I like this idea, I added the two you mentioned into my album.pl plus a "See this member's recent board posts" link

Code: [Select]
<a href="http://www.worldwideretro.net/cgi-bin/yabb/YaBB.cgi?board=;action=usersrecentposts;username=####CONFIG=owner####"><img src="http://www.worldwideretro.net/yabbimages/guest.gif" border=0><font size="-1"> See ####CONFIG=owner####'s R.A.N.T.s!</font></a>

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re:Adding Profile, Send PM, and other buttons
« Reply #3 on: January 30, 2003, 09:03:34 »
Nice! Love to see new examples popping up! :)

Offline PSS-Mag

  • album.pl User
  • *
  • Posts: 13
  • Karma: +0/-0
Re: Adding Profile, Send PM, and other buttons
« Reply #4 on: January 06, 2008, 02:48:54 »
It's possible in album.pl to add a link to the profile of the user who uploaded a specific pic, or who owns an specific album (in per_member_upload=1). Just add the following lines to your templates. (Where you add them will determine when and where they show up - experimentation is good!)

YaBB:

Code: [Select]
<a href="http://perl.bobbitt.ca/yabb/YaBB.pl?action=viewprofile;username=CONFIG=owner####">See ####CONFIG=owner####'s Profile</a>

I used this one with Yabb2.2
Click on it and it says

Quote
Error: Sorry, this service is for registered members only!

I'm in no way a programmer, or web designer. I just attempt to follow the directions..... I don't know a thing... so any ideas?