Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Location in viewtopic

Asked Modified Viewed 2,567 times
R
razin
R
razin 10
  • Junior Member, joined since
  • Contributed 41 posts on the community forums.
  • Started 19 threads in the forums
  • Started this discussions
asked
Junior Member

Hello,

How add "Location" in viewtopic after register date.
0 replies

5 posts

R
razin
R
razin 10
  • Junior Member, joined since
  • Contributed 41 posts on the community forums.
  • Started 19 threads in the forums
  • Started this discussions
answered
Junior Member

How to change it on location.

echo "<span class='small'><strong>".$locale['504']."</strong> ".showdate("shortdate", $data['user_joined'])."</span><br />\n";
0 replies
F
Falk
F
Falk 148
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 12 questions
answered
Super Admin

Try,
echo "<span class='small'><strong>".$locale['504']."</strong> ".$data['user_location']."</span><br />\n";
0 replies
R
razin
R
razin 10
  • Junior Member, joined since
  • Contributed 41 posts on the community forums.
  • Started 19 threads in the forums
  • Started this discussions
answered
Junior Member

Hi

I add this code

echo "<span class='small'><strong>".$locale['uf_location']."</strong> ".$data['user_location']."</span><br />\n";


Nothing is displayed.
0 replies
— 1 month later —
F
Falk
F
Falk 148
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 12 questions
answered
Super Admin

There have been some busy months lot´s of topics slip.

The .$data['user_location'] need 3 things to work,
1 That the user field exists
2 That user field is also populated with data, under Edit Profile
3 That the $result for $data include user_location in the query.

I am guessing you lack that line on 3.
Open forum/viewthread.php
Find
u.user_id, u.user_name, u.user_status, u.user_avatar, u.user_level, u.user_posts, u.user_groups, u.user_joined,

Change to
u.user_id, u.user_name, u.user_status, u.user_avatar, u.user_level, u.user_posts, u.user_groups, u.user_joined, u.user_location,
0 replies
R
razin
R
razin 10
  • Junior Member, joined since
  • Contributed 41 posts on the community forums.
  • Started 19 threads in the forums
  • Started this discussions
answered
Junior Member

Thanks.

Happy New Year.
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 5 posts
  • Votes 0 votes
  • Topic users 2 members

2 participants

F
F
Falk 148
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 12 questions
R
R
razin 10
  • Junior Member, joined since
  • Contributed 41 posts on the community forums.
  • Started 19 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet