Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
User ID Location
Avatar
Emily Carlin
Member
Free Members
sp_UserOfflineSmall Offline
Mar 22, 2012 - 7:46 pm

Where would I find the User ID location?  User ID is required to reassign a post (which is a well loved function!).  I used to be able to hover on their username and it would show up in the lower left (URL)...now javascript:void(null) pops up, of course.  I don't find it in their profile.

 

Thank you!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 22, 2012 - 8:48 pm

you can get the user id from the wp users admin panel or from our forum - users - member information panel...  if in the front end, looking at a post, the forum tools - view properties will also give it to you...

its still there when you hover over a user too, just not in the link... you can inspect the element or view the source and see the user id in the js args...

Avatar
Emily Carlin
Member
Free Members
sp_UserOfflineSmall Offline
Mar 23, 2012 - 9:50 am

I would rather stay in the front end instead of having to go into the backend.

I was able to find it by Inspecting Element.

Should it show up in View Properties of the post?  This is my screen print.

viewproperties.jpgImage Enlarger

 

 

 

 

 

And this is the screen print of hovering over Username, where I don't see it either.

hoverprofilename.jpgImage Enlarger

Avatar
Emily Carlin
Member
Free Members
sp_UserOfflineSmall Offline
Mar 23, 2012 - 10:06 am

Can some code be added to spProfilePopupShow.php to show the UserId?

Maybe below sp_ProfileShowDisplayName('', __sp('Username'));

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 23, 2012 - 10:29 am

well, looks like I was wrong... it is not in the view properties... and that is where I would think the best place to put it is...  we dont really want to 'out' it in the display itself...

but nothing to stop you from doing that... just echo it out where you want it...

echo $spThisPost->user_id

assuming its in the post row of topic view...

but I will get it added to the properties...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626