Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4229
Latest: Ghost
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 43080
Total Topics: 7493
Most Online Today: 57
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 51
Total: 52

Author Topic: Gallery user link  (Read 4408 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: 16356
    • 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: 16356
    • 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: 16356
    • 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
12159 Views
Last post October 26, 2006, 05:01:23 pm
by TeamVTEC
6 Replies
5340 Views
Last post January 06, 2007, 10:51:56 pm
by hailtothisvictor
5 Replies
8124 Views
Last post April 30, 2008, 07:20:47 pm
by SMFHacks
2 Replies
3380 Views
Last post December 30, 2008, 08:09:37 pm
by GKDantas
5 Replies
3762 Views
Last post February 07, 2016, 08:38:58 am
by Dragon41673

+- Recent Topics

Version 6.1.6 issues by SMFHacks
September 30, 2023, 07:54:52 am

Follow / Follower Mod? by SMFHacks
September 23, 2023, 08:44:44 am

Looking for a good video player by replayuk
September 23, 2023, 12:17:39 am

[Mod]Discord Web Hooks by SMFHacks
September 22, 2023, 03:57:28 pm

SMF 2.1.4 Search by Anmer
September 22, 2023, 01:55:15 pm

Error in thise mode by Ghost
September 15, 2023, 08:42:24 am

Gallery Selection List Order by mickjav
September 07, 2023, 12:46:31 pm

[Mod]Tidy Child Boards 2.0 by Norwinjose
September 02, 2023, 11:42:54 am

PrettyUrls SEO Pro: Unable to submit sitemap to google search conmsole by SMFHacks
August 31, 2023, 10:55:22 am

PrettyURL - SEO4SMF Rewrites? by SMFHacks
August 28, 2023, 06:35:33 pm

Powered by EzPortal