Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Displaying Added Identities
Avatar
Matthew Selznick
Long Beach, California, USA
Member
Free Members
sp_UserOfflineSmall Offline
Oct 2, 2012 - 4:40 pm

I've installed the Add User Identities plugin and added "Amazon Author Page," but I can't find any documentation of how to actually have the new identity show up.  I assumed it would be under Profiles > Display Control in the Administration section of the Dashboard, but... no go.

This is a real stop-error for my site.  Can't go into live beta without it. Help!

Thanks!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 2, 2012 - 5:28 pm

Please see:

http://codex.simple-press.com/.....dentities/

Avatar
Matthew Selznick
Long Beach, California, USA
Member
Free Members
sp_UserOfflineSmall Offline
Oct 2, 2012 - 5:48 pm

Thanks, but the codex instructions seem incomplete. Adding this:

function sp_PostIndexIdentityDisplay($args=”, $toolTip=”, $identity);

Results in this error:

Parse error: syntax error, unexpected ';', expecting '{' in ********\wp-content\sp-resources\forum-themes\iami\templates\spTopicView.php on line 120

Ideas..?

Thanks!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 2, 2012 - 6:18 pm

Yes a placeholder as details in work since it's a brand new plugin.

The current details assume small amount of php knowledge. Obviously will expand when we can to not need that.

What you see if the function prototype. You want to call that function with your arguments. So:

IPostIndexIdentityDisplay($args, $tip, $identity);

And replace $args with any special args you want. Try ''

Replace $tip with the tooltip you want to see on hover over the icon. It's a string so 'my identity') for example.

Replace $identity with the name of the identity you created. It's a String, so for example' my identity'

What

Avatar
Matthew Selznick
Long Beach, California, USA
Member
Free Members
sp_UserOfflineSmall Offline
Oct 2, 2012 - 6:41 pm

Mr. Papa, I think your reply got cut off or is missing some formatting... 

I tried sussing through it, though -- changed the code to this:

function sp_PostIndexIdentityDisplay($args=”, $toolTip='Amazon Author Page', $identity='Amazon Author Page');

Still getting an error:

Parse error: syntax error, unexpected T_STRING, expecting '{' in ....\wp-content\sp-resources\forum-themes\iami\templates\spTopicView.php on line 121

Any additional guidance you can provide (or anyone else!) will be appreciated. Thanks!

Avatar
Brandon
U.S.
SP Wrangler
Free Members
sp_UserOfflineSmall Offline
Oct 2, 2012 - 6:52 pm

Matt,

Use something like this:

sp_PostIndexIdentityDisplay('','Amazon Author Page','Amazon Author Page');

Make sure "Amazon Author Page" is exactly what you have for the identity name setup on the admin page.

Avatar
Matthew Selznick
Long Beach, California, USA
Member
Free Members
sp_UserOfflineSmall Offline
Oct 2, 2012 - 7:07 pm

You got it, Brandon! That worked on spTopicView.php -- thanks!  It's probably enough to expose the feature to public beta-testers.

I'd still like to see the Identities plugin integrate with Simple:Press in all the other places one would expect. I guess I'm a little baffled that the plugin was released into the wild (seemingly) half-done.

I'm committed to using Simple:Press (just paid for a year of support) over bbPress or BuddyPress, but I confess I'm a little disappointed that plugins don't work "out of the box" without code-level manipulation.

Looks like I'll be getting money's work out of this support forum..! :-)

Thanks again!

Avatar
Brandon
U.S.
SP Wrangler
Free Members
sp_UserOfflineSmall Offline
Oct 2, 2012 - 7:35 pm

Matthew Selznick said
You got it, Brandon! That worked on spTopicView.php -- thanks!  It's probably enough to expose the feature to public beta-testers.

Good deal. Sorry there wasn't all the information in the codex you needed but now that I looked at it I will go ahead and complete the information. After that you will see it can be added just about anywhere in the forum pages and with some fancy CSS or wording can do a lot of different things.

I'd still like to see the Identities plugin integrate with Simple:Press in all the other places one would expect. I guess I'm a little baffled that the plugin was released into the wild (seemingly) half-done.

I wouldn't consider the plugin half done. Just the documentation. :)

I'm committed to using Simple:Press (just paid for a year of support) over bbPress or BuddyPress, but I confess I'm a little disappointed that plugins don't work "out of the box" without code-level manipulation.

Thanks again!

Several of these special type plugins do require you add something into your theme to display the information.  Not really that unusual in the WP world. IE, add a plugin, setup the features and then add something widget wise or in a page/post to display.

This makes it so that you can put them just about anywhere and you are not stuck with some kind of default icon or description. Which is what the request for this plugin was kinda in the first place. People wanted a identity plugin they could call anything they like, with a description, icon and layout of their choosing.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 2, 2012 - 7:38 pm

Replying via email as on road...

Remove the word function...

Remove stuff left of =3D sign including =3D... Only pass the strings...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 2, 2012 - 7:38 pm

Half done??? No clue what you mean...

If you mean the docs, fair enough, but the plugin is complete and offers most flexibility. We tend to err on the side of getting functionality into users hands rather than waiting for chance to get docs done.

You may want the display in one place but fixing the display to only that spot would be very limiting. Offering template tags to display in any conceivable location is power, not half done..... On Oct 2, 2012 5:07 PM, "Simple:Press Support" wrote:

> > >

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: 619
Members: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625