2014-04-03, 07:48 PM
Mayday, Mayday, Mayday!
Come one anybody help me to nail this one. I know a magic word "please"
Come one anybody help me to nail this one. I know a magic word "please"
PHP expert please help
|
2014-04-03, 07:48 PM
Mayday, Mayday, Mayday!
Come one anybody help me to nail this one. I know a magic word "please"
2014-04-04, 05:50 AM
This user has been denied support.
if(preg_match('#https?\://(?:www\.)?facebook\.com/(\d+|[A-Za-z0-9\.]+)/?#', $userfields['fid6'])){ /* Facebook URL matched. */ } else { /* Ah, some wrong input, notify user & ask him to die. */ }
Thanks baddy very much listen is this the correct hook?
I am using this code but it doesn't allow me to open edit page how to make it run during update when user clicks on safe? }
2014-04-06, 08:21 AM
This user has been denied support.
You need to specify some hidden input in your "Save it" form. For example: <input type="hidden" name="do_save_facebook" value="1" /> Then check it as: <?php if(isset($mybb->input['do_save_facebook'])) { /* Update database, or do save something, lol */ } ?>
2014-04-06, 12:54 PM
Guys please could you tell me step by step how to do it it just too complex for me! I though it was a matter of simple plugin but it turned out to be super complicated!
2014-04-07, 10:26 AM
This user has been denied support.
Well, okay.So basically say I visit your plugin page in UserCP. Say its URL is: usercp.php?action=MyPlugin Then you gotta check if USER visited your page by:
Can you get it?
2014-04-07, 02:18 PM
@Cedric baby thanks very much for your help. I used my superior intelligence to nail this mother lol
|
« Next Oldest | Next Newest »
|