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
Add Identities - Template function
Avatar
Mac
Rookie
Free Members
sp_UserOfflineSmall Offline
Aug 24, 2012 - 7:19 am

Hey,

I've installed the Add Identities plugin and created some new identities.

I'm not sure though how to add the function call to the template. It would be nice if you could give me an example, where and how to add it, maybe with the line where I have to add it and so on.

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

That doesn't seem to be correct, does it? In my case the new identity name would be "Raptr".

Thanks in advance!

 

Mac

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 24, 2012 - 8:55 am

well, without knowing what you added, or where you want it to display, kind of hard.. but will try...  a template function is something you call... so you cannot put a function in like you did... instead, where you want it to display, add

sp_PostIndexIdentityDisplay('', 'tooltip text', 'pinterst');

so the first argument, which is empty in my example, would be any args you want to set in the arg list...  second element is the text you want to see in the tooltip, in this case 'tooltip text'...  and third argument is the name you gave the identity you created...

Avatar
Mac
Rookie
Free Members
sp_UserOfflineSmall Offline
Aug 24, 2012 - 9:34 am

Got it, thanks!laugh

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 24, 2012 - 3:42 pm

Great. Just shout if you need more help with it.

andy-signature.png
YELLOW
SWORDFISH
Avatar
adedip
Member
Free Members
sp_UserOfflineSmall Offline
Sep 25, 2012 - 8:09 am

I apologies using this topic for a larger question... but since I can't make identities work as well I use this as a sample question too.

The question is: Where did "Mac" find the function to show identities, where is such plugins documentation? I really can't understand it just reading the function it self.

Sorry for the silly question, but it's being a real problem to me.

Thanks,

Andrea

Avatar
adedip
Member
Free Members
sp_UserOfflineSmall Offline
Sep 25, 2012 - 9:15 am

as I said, forgive me... I found it now. rolleys

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 25, 2012 - 12:03 pm

Good to hear and sorry I could not get back to you earlier.
Just shout of you need anything else or help with this.

andy-signature.png
YELLOW
SWORDFISH
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