Phunky
Forum Replies Created
-
Forum: Plugins
In reply to: User ProfilesI have done this many times one http://www.eurocss.net and other places.
I dont have this as a plugin yet, if you know PHP though i can walk you thru it with some of my userProfile mods.
http://www.wilcob.com/Wilco/Pastecode/2647/showpaste.aspx
^ above is the basics of my userProfile Plugin, as i say its done for one site only (not eurocss) its very easy to add extra details and such for when a user registers
http://www.wilcob.com/Wilco/Pastecode/2648/showpaste.aspx
^ that is my custom register page for users on one of my sites that is in development, but i also had to hack wp-login.php abit to stop it going to the wp-admin login
Forum: Plugins
In reply to: Rating Pluging like ajaxian.comarrr should have known redalt.com would have done it 🙂
thank you
Forum: Fixing WordPress
In reply to: How to: Extract a .tar // GZ file – Help needed.WinRar will open this for you…
Forum: Themes and Templates
In reply to: Implementing WordPress into a template….
Make you site a wordpress template, job done.
Forum: Fixing WordPress
In reply to: Problem with “Discussions” being allowedIt would seem that you have confused posts and pages.
http://www.amador-observer.com/?page_id=7 <– that is a page, by default users cannot comment on it.
You need to select “All comments” in the when editing the page, and you also need to add the commenting code to the template file page.php
Comments are working find on actual POSTs
Forum: Plugins
In reply to: update_user_option() Not quite working right.Ive bitten the bullet and just used $wpdb->query() and made it insert into the DB myself.
But i’ve come across a very strange issuse, below is the code im using to update the details of a user.
$wpdb->query("UPDATE wp_users SET user_url='$_GET[website]' WHERE ID='$_GET[id]'");
$wpdb->query("UPDATE wp_users SET user_email='$_GET[email]' WHERE ID='$_GET[id]'");
# update/create usermeta
$username = explode(' ',$_REQUEST[username]);
update_usermeta($_REQUEST[id],'first_name',$username[0]);
update_usermeta($_REQUEST[id],'last_name',$username[1]); update_usermeta($_REQUEST[id],'user_telephone',$_REQUEST[telephone]);
update_usermeta($_REQUEST[id],'user_company',$_REQUEST[company]); update_usermeta($_REQUEST[id],'user_addr1',$_REQUEST[address1]); update_usermeta($_REQUEST[id],'user_addr2',$_REQUEST[address2]); update_usermeta($_REQUEST[id],'user_city',$_REQUEST[city]); update_usermeta($_REQUEST[id],'user_postcode',$_REQUEST[postcode]); update_usermeta($_REQUEST[id],'user_country',$_REQUEST[country]);
Now the user_email and user_url at the top (one’s using $wpdb->query ) will only update if one of the usermeta feilds have been altered. If you just attempt to update the email or url on there own it just ignores it and refuses to update even tho it passes the query!
This really has got me confused!
Forum: Plugins
In reply to: update_user_option() Not quite working right.BigJohn, i know what is stored in each table within MySQL
My issuse is that the functions within WordPress dont seem to be updating the correct tables for my plugin.
update_user_option() is used in profile.php in the backend to update the users email and url and others use update_usermeta() but for some reason update_user_option() wants to place everything in wp_usermetadata
Im trying to stick to WP functions instead of using MySQL. Otherwise it would be simple!
Forum: Fixing WordPress
In reply to: WP No longer display user emailsSorted it, i would seem that my userProfile plugin i was writing was creating a user_email feild within wp_userMeta (via update_usermeta)instead of updating the user_email feild in wp_user.
It would seem that ive the same feild exists WP does not like it and instead pulls back nothing :S
Forum: Fixing WordPress
In reply to: WP No longer display user emails*bump*
It would seem some other users are having issuse with WP2 not sending out emails for multiple things, i wonder if this is due to the same cause?
Forum: Fixing WordPress
In reply to: WP 20 can write posts to my DB but can not read themIm having similar problems but only with a users email.
http://wordpress.org/support/topic/59930?replies=1
There in MySQL but not displaying in the front or backend of the site im working on
Forum: Fixing WordPress
In reply to: Page Templates not workingIgnore this is working, it just dont display the current templates as they was not in the theme even tho they was stated in mysql
Forum: Plugins
In reply to: Displaying Multiple links to postsHmmmm it would seem using the above code effects functions such as get_the_author();
This is bad :/ hmmm looks like ill just pull back the data with a custom $wpdb->query instead, will be a lot simpler as its only a list anyways!
Forum: Plugins
In reply to: Using variables in wpdb calls?Erm, are you trying to pass the same $var to each query? or are you trying to pass the result from the first query into the second query?
Forum: Fixing WordPress
In reply to: Discussion in page (allow comments)Yes, you need to add the comment include on page.php template
Forum: Plugins
In reply to: Vanilla forum integrationmy idea was to write a extension for Vanilla to make it use the user_login and user_pass instead of Vanilla’s
You would still need to set the cookie/session vars needed for both to know your logged in, but thats simple