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
Shortcodes
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 15, 2014 - 11:37 am

something like

global $current_user;
sp_ShowForumRankTag($current_user->ID);

Avatar
Dre Erwin
Member
Free Members
sp_UserOfflineSmall Offline
Nov 15, 2014 - 11:41 am

no must be missing something lol

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 15, 2014 - 11:58 am

a simple 'No' is not helpful... please tell us exactly what and where you did... and then what the results were... ie what was shown.... any errors, wrong info, etc.. need info to better help you...

Avatar
Dre Erwin
Member
Free Members
sp_UserOfflineSmall Offline
Nov 15, 2014 - 12:01 pm

well when I put global $current_user;
sp_ShowForumRankTag($current_user->ID);

 

in the html box in the widget area,

this comes up on the website side bar:

global $current_user;
sp_ShowForumRankTag($current_user->ID);

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 15, 2014 - 12:03 pm

your widget for the sidebar area must be able to handle php... so try this

ID); ?>

if it doesnt work, you need widgets with php support... I could give you a shortcode, but you still need php ability to get the current user...

Avatar
Dre Erwin
Member
Free Members
sp_UserOfflineSmall Offline
Nov 15, 2014 - 12:08 pm

global $current_user;
sp_ShowForumRankTag($current_user->ID); ?>

 

gives me this

 

global $current_user; sp_ShowForumRankTag($current_user->ID); ?>

 

sorry

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 15, 2014 - 12:10 pm

lets try without posting by email

<?php
global $current_user;
sp_ShowForumRankTag($current_user->ID);
?>

and as I said, your widgets MUST support php... the default wp widget does not...

Avatar
Dre Erwin
Member
Free Members
sp_UserOfflineSmall Offline
Nov 15, 2014 - 12:24 pm

i was wanting the picture but i dont think its possible..thanks anyways

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 15, 2014 - 12:30 pm

Its definitely possible... if you have a badge assigned to that rank, it will, by default, output the rank title and the badge for the specified user...

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