Hi,
I’m a new user, and I have the plugins installed for Private Message System and Template Tags and Widgets, but not sure what the next steps are to get the tag in a widget on WP.
Is this something I can do myself?
Thanks!
Hi,
I’m a new user, and I have the plugins installed for Private Message System and Template Tags and Widgets, but not sure what the next steps are to get the tag in a widget on WP.
Is this something I can do myself?
Thanks!
Sorry, can you explain what you want?
Using the pm system doesn’t need any template tags…
Notification? Are you just wanting to display the inbox count with link on the sidebar?
Thank you Mr. Papa,
I have the forum posts widget set up on my sidebar, but I’m not sure how to set it up for individual inbox PM.
Simply put, if someone logs into the site, but not the forum, I want them to see they have a message in their inbox.
Does that make sense?
If you already have the pm plugin, then you just need to add the template function call to your sidebar…
sp_pm_inbox($display, $usersonly)
replace $display and $useronly with true or false (or omit to get defaults of true and false respectively)…
$display is flag to echo the html display code (true) or just return the html code for you to do something with (false)…
$useronly is a flag to display a permission message for users who cannot pm (true) or output nothing if the user cannot pm (false)…
this template function, ie sp_pm_inbox();, would go in your sidebar or where you want it to show up… it is php code so has to go in a php segment…
there is no widget or shortcode for this…
Thanks, but I’m not sure what you mean by “ add the template function call to your sidebar…”
just like adding a widget but instead use a text widget (one that supports php) and instead enter the template function, such as
<?php sp_pm_inbox(); ?>
this is standard wp template tag stuff so nothing sp specific… understand if you havent dont that in wp before, but hopefully that helps… if not, come on back…