Masoud
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: how to put in php code?ok then. i’ll ask them for this. thanks for your help.
Forum: Fixing WordPress
In reply to: how to put in php code?i put the code. and it’s not showing correctly.
i have 6 social buttons. ok?
i put the height in .css in 100px. and i used it for comments.
you can simply see it here. buttttt when i put it in my login page.
it’s still 100px
and it only shows 4 buttons…
i want to add 50px more to it just for login page. so i can see those 2 other buttons.an example of comment erea:
http://poofy.ir/%D8%A2%D9%85%D9%88%D8%B2%D8%B4/%D9%86%D9%88%D8%B4%DB%8C%D8%AF%D9%86%DB%8C-%D8%B3%D8%B1%D8%AF-%D9%85%D9%88%D9%87%DB%8C%D8%AA%D9%88/and the login form:
poofy.ir/ูุฑูุฏForum: Fixing WordPress
In reply to: how to put in php code?oh. i’m truley sorry about the 500 error!
yea! i was editing my custom login template, to somehow manage it.
and for some minutes the login gets 500 eror.
sry abt that.
now it’s ok if you want to look. with no eror.
thanks.
i’ll try the code now, and tell you what happend.
thanks again.Forum: Fixing WordPress
In reply to: how to put in php code?i’ve done comment section with default css, but now i get error(not showing) in the login erea. used the same code for login, but this section is not showing anymore(social login) (under the login button) ๐
and i still dont know why. where am i doing it wrong?
http://www.poofy.ir/ูุฑูุฏ
here is the link. you can see.Forum: Fixing WordPress
In reply to: how to put in php code?@sterndata
hi, and many thanks for your notice and help.
i used a css file (style.css)
and put a general css for it.
but now in the comment erea i want to change that css, only for this section (comment section i mean)
so i just to need put a height adjustment for it, inline.i’ve also tried this:
<?php echo "<div style ='height:150px !important'> <?php do_action('brilliant_social_login'); ?> </div>" ; ?>no eror now, but nothing is showing.
Forum: Fixing WordPress
In reply to: how to create a "save button" to save custom-meta@cedcommece
http://www.cedcommerce.com team
solved my problem in a jiffy.
wow. they are so polite, and so patient.
they asked me in detail for my problem, and helped me a lot.
you guys are greattt. tnx a lotForum: Fixing WordPress
In reply to: how to create a "save button" to save custom-meta@cedcommerce
i went to your website, from “Contact Us” i sent you a message. plz check it, my email address is there. contact me plz so i can give a login username for u to see that field i’m talking abt . tnx.Forum: Fixing WordPress
In reply to: how to create a "save button" to save custom-meta@nisha
i tried it out. but it’s for adding a “Meta Box”
and it seems that i want a “Custom User Meta”
and again thanks for your help and notice.Forum: Fixing WordPress
In reply to: how to create a "save button" to save custom-meta@nisha
hi. and thanks. great tutorial it was. i read it all.
but this meta, that i’m trying to save is within “buddypress profile”
so it think it might need something more than usual hooks and actions.
but again, thank you for your help. i’ll try the tutorial to see if it works or not.Forum: Fixing WordPress
In reply to: how to create a "save button" to save custom-meta@cedcommerce
hi.
yes i can give you the url, but you cannot enter, because that area is just for logged in users.
if you dont mind, can u give me an email so i can send you a login?
thank you so much for your helpppp…Forum: Fixing WordPress
In reply to: how to create a "save button" to save custom-meta@cedcommerce
hi, and thank you for your notice.
no, not in the dashboard…
let me show you a picture.
this is the field, which i have created in buddypress profile page.
1) user, write the needed info
2) should click on “Save Name”
3) then the name should be saved in my custom_meta
4) i should see it in user admin area like this picture (note: this data is from register form, not profile)but i dont know how should i create a button to save my data in buddypress profile, so my button is not working.
Forum: Fixing WordPress
In reply to: how to create a "save button" to save custom-metano help?
Forum: Fixing WordPress
In reply to: registration page help@clarionwpdeveloper
sorry. but forgot to mention this.
this field maybe in RTL language (i mean not only english)
i’ve found something like these:
(1)if(preg_match('/^[a-zA-Z0-9]{5,}$/', $username)) { // for english chars + numbers only // valid username, alphanumeric & longer than or equals 5 chars }(2)
if ( !preg_match('/^[A-Za-z][A-Za-z0-9]{5,31}$/', $joinUser) ) {... }but i have no idea
1) how to use it?
2) how can i refer my custom user meta to be checked with these?tnx for helping me.
Forum: Fixing WordPress
In reply to: registration page helphi. the code worked like a charmmm. tnx a lottttttt. u made my day ๐
i placed the code and add necessary changes to it like:add_action( 'user_register', 'my_user_meta_save', 10, 1 ); function my_user_meta_save( $user_id ) { if ( isset( $_POST['person_relation'] ) ) update_user_meta($user_id, 'person_relation', $_POST['person_relation']); }just one more question, if you dont mind.
how can i make this, a must fill information field??
i mean just like email (you have to provide an email to register), right?
i want to make my custom field just like email (a must fill info field)
so if a user leave that field empty, an error apears (please fill it)
and if not empty[spaces, commas or… not accepted](at least 3 or 4 words length), then continue the registeration process.i’d be grateful if you help me with this one too.
tnx.Forum: Fixing WordPress
In reply to: how to hide "insert/edit link" button?@tara
– haha! thanks for mention that i am not using a free theme!!!! :-\
the theme info i gave, was just for extra information!
– unfortunately, this forum is for wordpress how to and etc!! not for Theme!! and if you look more carefully there is another tab available for free themes (which i didnt asked my question there)!! :-\
– and by the way, insert/edit link button is a wordpress default property!
– and for the last thing to mention, pleaseeee next time you go to a topic to say something, first of all READ THE QUESTION!
i didnt said that something is not working!!!
i asked how to hide! ๐