[!WebLoginPE? &type=`profile`!]
[!WebLoginPE? &type=`user`!]
<a href="[~123~]?service=viewuser&username=[+user.username+]">View your profile</a>
Can you give me a list of the DEFAULT column names that were created for the PPP table?
IIRC, the main change between PPP and WLPE was how WLPE didn’t use the Internal Key/etc. stuff in the same was as PPP, right?
So, in theory, doing some MySQL commands to convert PPP’s tables to WLPE format would be all that is required, right (for the custom tables)? If so, I could probably be able to help you in finding exactally what needs to be changed over for current PPP users, if it would help you.
Quote from: Soshite at Sep 11, 2007, 09:04 PMCan you give me a list of the DEFAULT column names that were created for the PPP table?
IIRC, the main change between PPP and WLPE was how WLPE didn’t use the Internal Key/etc. stuff in the same was as PPP, right?
So, in theory, doing some MySQL commands to convert PPP’s tables to WLPE format would be all that is required, right (for the custom tables)? If so, I could probably be able to help you in finding exactally what needs to be changed over for current PPP users, if it would help you.
-sD-
Dr. Scotty Delicious, Scientist DFPA.
I tried this... >:(
I have not had the chance to use WebLoginPE, but maybe it would be useful to add an "id" parameter, similar to ditto (http://ditto.modxcms.com/files/snippet-ditto-php.html#id) so that multiple instances of WLPE can be called on the same page, i.e., one call in the template for the sidebar, and another call in the content for the profile.
<?php... $id = isset($id) ? $id : mt_rand(); ... $wlpe = 'wlpe'.$id; $$wlpe = new WebLoginPE($wlpe_lang, $dateFormat, $userImageSettings); ... ?>
Maybe hit Mark up? (Ditto) I am pretty sure you can define a ditto ID for use with multiple ditto calls on a page where you need one of them to handle associated pagination links...
The two sound relatively the same to me...?
9:01:21 PM Scotty Delicious: Jason, Why cant I have WebLoginPE successfully called twice on the same page? Why? Why? WHY?!?!?! :’(
10:11:18 PM Scotty Delicious: Jason. Let me know if you have any Q & A time tonight.
10:12:05 PM OpenGeek: Give me about 20 or 30; setting up for open mic’ at the club
10:12:13 PM Scotty Delicious: np
10:35:08 PM Scotty Delicious: Just an update Jason... I could not figure out why in the world WebLoginPE would display the profile page fine, but later in the page... nothing! I searched high and low for issues with instantiating a class multiple times on a page. twiddley doo.... long story short, Check the simple stuff first Scotty D! In the snippet code I had "include_once" on the default templates php file. Taking away the _once fixed it. I feel like an R-Tard.
10:35:16 PM Scotty Delicious: so... for now, case closed
10:37:34 PM Scotty Delicious: Your psychic powers are amazing. It’s like, I just ask you a question, and regardless if you are available to answer it or not, you telepathically put the answer in my head. I don’t know how you do it, and I don’t want to know. Keep that secret safe. That’s a precious nugget :-x
’saveprofile’ is now ’saveprofilesimple’
’deleteprofile’ is now ’deleteprofilesimple’
’confirmdeleteprofile’ is now ’confirmdeleteprofilesimple’
With the next release, can ANY service be disabled via a snippet param?
# login,
# logout,
# profile,
# viewprofile,
# messageuser,
# saveprofile,
# deleteprofile,
# confirmdeleteprofile,
# registernew,
# register,
# forgot,
# resetpassword,
# activate,
# activated,
# cancel
&disableServices=`register,registernew,viewprofile`
&disableServices=`deleteprofile`
These are the services available for 1.3.0 and they type they are associated with.
I am curious, how many "services" does WLPE offer? With the next release, can ANY service be disabled via a snippet param?
I haven’t set a parameter to disable anything except your suggestion for delete profile yet, but I like the way you propose this idea and I think I should try to figure out how to implement conditional disabling of services. it is on the todo list now!
Example: Let’s say you want a locked down registration process (Added By Admins Only) AND you don’t want users to be able to see their Profiles (thinking more along the lines of a user based application opposed to a traditional user based community website...)
Will something like this be an option?
&disableServices=`register,profile`
...where the above example would prevent anyone from modifying the URL as we discussed earlier in this thread?
In other words, have you implemented the ability to disable any service, or just registration? And, how did you accomplish this?