Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help on Frontend User plugin
#1
NOTE! it's not operating successfully yet!

Im working on a Front-end User system. I want to implement the confirm delete Javascript of Get Simple CMS inside of this plugin, does anyone know how to implement this? For now it deletes users by a $_GET[] in the same file as a function, i already made a deletefeu.php in the folder but don't get it to work (in corporation with the CONFIRM DELETE JS).

And does anybody have some kind of strategy to make this plugin be extended by other plugins as
-Open user registration (for frontenduser)
-Uploadify for users
Reply
#2
Didn’t have the time to check the file yet, but if you want to know how to make the plugin extendible I might be able to clear that up for you.

You can use exactly the same code as is used in the GetSimple core:
Code:
exec_action('identifier');
Just change the identifier to something unique, maybe you want something like this:
Code:
exec_action('feu-delete');
For the section where you delete a user. That way, anyone can write a plugin that runs code at the location you put the exec_action-call.
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply




Users browsing this thread: 1 Guest(s)