Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 161
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 151
Total: 151

Author Topic: Gallery user link  (Read 4574 times)

0 Members and 1 Guest are viewing this topic.

Offline GKDantas

  • Member
  • *
  • Posts: 43
    • View Profile
    • Carrara Lounge
Gallery user link
« on: March 11, 2009, 11:29:09 am »
Hi people, I am using the User Control Painel that alow a more simple interface for Members control.
I added a "My Orders" button very easy for SMF Store, and now I want to add a button so people can go to your gallery from there, but I dont know what code to use since the link will need to redirect to logged user id:


http://carraralounge.com/index.php?action=gallery;su=user;u= "what code use here??"

Thanks

Marcelo Teixeira

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Gallery user link
« Reply #1 on: March 11, 2009, 12:06:22 pm »
For SMF 1.1.x
You can use $ID_MEMBER

For SMF 2.0.x
You would use $user_info['id']
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline GKDantas

  • Member
  • *
  • Posts: 43
    • View Profile
    • Carrara Lounge
Re: Gallery user link
« Reply #2 on: March 11, 2009, 12:20:13 pm »
Hi, thanks for the faster answer, but I am getting this error now: No user exists.

This is the line that I am using:

http://carraralounge.com/index.php?action=gallery;su=user;u=$ID_MEMBER

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Gallery user link
« Reply #3 on: March 11, 2009, 12:36:05 pm »
I need to see the php code for that line.
The whole line area if you could

$ID_MEMBER needs to be a global
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline GKDantas

  • Member
  • *
  • Posts: 43
    • View Profile
    • Carrara Lounge
Re: Gallery user link
« Reply #4 on: March 11, 2009, 12:47:37 pm »
Thats the problem, the User CP only give a field to add the link

http://custom.simplemachines.org/mods/index.php?mod=698

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Gallery user link
« Reply #5 on: March 11, 2009, 01:08:49 pm »
I would check with the mod author if they have support for a custom url that supports the ID_MEMBER of the user. That is the only way to get it to work without modified the USER CP mod itself
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline GKDantas

  • Member
  • *
  • Posts: 43
    • View Profile
    • Carrara Lounge
Re: Gallery user link
« Reply #6 on: March 11, 2009, 01:28:24 pm »
mant thanks, hope that he can help, this is a good simple mod to get a better User Control view.

 

Related Topics

  Subject / Started by Replies Last post
9 Replies
12426 Views
Last post October 26, 2006, 05:01:23 pm
by TeamVTEC
6 Replies
5496 Views
Last post January 06, 2007, 10:51:56 pm
by hailtothisvictor
5 Replies
9109 Views
Last post April 30, 2008, 07:20:47 pm
by SMFHacks
2 Replies
4526 Views
Last post December 30, 2008, 08:09:37 pm
by GKDantas
5 Replies
4590 Views
Last post February 07, 2016, 08:38:58 am
by Dragon41673

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

Powered by EzPortal