tsbalaban
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Email attachments using phpmailer classMy original email message is in Outlook Express, the Source tab (HTML). I email using wp_mail with clearAttachment commented out. I send to many addresses and it works! I receive test email containing formatted text. What I miss is imbedded images. I use phpmailer->AddEmbeddedImage and use a cid as a file name; but it doesn’t work. Also I wish to receive external files as attachments. I tried phpmailer->AddAttachment; but the file name is local and is_file in the function works for a remote server file.
Forum: Plugins
In reply to: Changing two variables listed in apply_filters hookWhen the apply_filters hook has 2 variables how do you change the second variable in a plugin?
Any suggestions?Forum: Fixing WordPress
In reply to: Posts by current authorI used the documentation mentioned for using add_filter and add_action. However, there is no specific documentation for apply_filters or do_action. I did a search of Codex. That’s why I’m on the forum. The above code sample does not work. I have to use filters because I’m modifying the core edit.php for posting list, show categories and show month (all by current author).
Thanks again for any help.
Forum: Fixing WordPress
In reply to: enable sending referers?I found a post on codex: you have to set your site as a trusted site in the browser and your firewall.
Forum: Fixing WordPress
In reply to: enable sending referers?I’m confused. HTTP_REFERER from my post.php is blank. How do I enable referers? Is it in WordPress, my browser or in my server PHP php.ini?
Do I change check_sdmin_referer() ?Forum: Fixing WordPress
In reply to: cannot logout of WPWhat I forgot to say is that once you make the change in vars.php, you can log on and out and have separate blog and wp directories.
Forum: Fixing WordPress
In reply to: cannot logout of WPAnonymous is right. It is a problem with the blog and wp directories. They have to be the same to log out and in. That creates another problem. How can I store my blog? The solution is old and unfixed in version 1.2.1. See Forum thread “https://www.ads-software.com/support/6/5560 (May 28, 2004 entry). In vars.php on line 176, change home to siteurl. Hope this works for others.
Forum: Fixing WordPress
In reply to: cannot logout of WPI have WordPress 1.2.1. I found a solution to enable one to logout. In file wp-login.php
comment out lines 218 to 223. This works for me. Do NOT delete your cookies. You
won’t be able to log in.Forum: Installing WordPress
In reply to: installation error (database problem)For Pro_shine error. I got the same error on version 1.2.1. I looked in the nightly builds.
Change file wp-admin/upgrade-functions.php to the following:
on line 704 change “get_results” to “get_row”
on line 705 change “$res[0][‘Type’]” to “$res->Type”
That should get you pass step 3 on the install or upgrade.