hugoac7
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: a way to download file after purchase?ok. i think i understand what you’re saying so I will give it a shot.
thanks for your help!
Forum: Fixing WordPress
In reply to: a way to download file after purchase?so after i implement the api i should set up a private page where they can gain access to download the files? Would that work?
Forum: Fixing WordPress
In reply to: a way to download file after purchase?Thanks for the quick reply and yes they will be paying with PayPal.
Can you explain to me a little more what it is you mean exactly please?
Forum: Fixing WordPress
In reply to: help with registration email on my site???It looks like the theme already has it built in. I just wasnt sure if i could add some html in there but now i know. Thanks for the quick response!
Forum: Fixing WordPress
In reply to: "/> at the top of my pagethere are no subfolders but here is the index.php code.
<?php
/*
Template Name: Home Page
*/
?>
<?php
if($_REQUEST[‘ptype’] == ‘favorite’)
{
if($_REQUEST[‘action’]==’add’)
{
add_to_favorite($_REQUEST[‘pid’]);
}else{
remove_from_favorite($_REQUEST[‘pid’]);
}
}else
if($_REQUEST[‘ptype’]==’profile’)
{
global $current_user;
if(!$current_user->data->ID)
{
wp_redirect(get_option(‘siteurl’).’/?ptype=login’);
exit;
}
include_once(TEMPLATEPATH.’/library/includes/profile.php’);exit;
}elseif($_REQUEST[‘ptype’] == ‘phpinfo’)
{
echo phpinfo();exit;
}elseif($_REQUEST[‘ptype’] == ‘csvdl’)
{
include (TEMPLATEPATH . “/library/includes/csvdl.php”);
}
elseif($_REQUEST[‘ptype’] == ‘register’ || $_REQUEST[‘ptype’] == ‘login’)
{
include (TEMPLATEPATH . “/library/includes/registration.php”);
}elseif($_REQUEST[‘ptype’]==’post_listing’)
{
if($_REQUEST[‘ptype’]==’post_listing’ && get_option(‘is_user_addevent’)==’0′){wp_redirect(get_option(‘siteurl’));exit;}
include_once(TEMPLATEPATH.’/submit_place.php’);exit;
}elseif($_REQUEST[‘ptype’]==’post_event’)
{
if($_REQUEST[‘ptype’]==’post_event’ && get_option(‘is_user_eventlist’)==’0′ && $_REQUEST[‘pid’]==”){wp_redirect(get_option(‘siteurl’));exit;}
include_once(TEMPLATEPATH.’/submit_event.php’);exit;
}
elseif($_REQUEST[‘ptype’] == ‘preview’)
{
include (TEMPLATEPATH . “/library/includes/preview.php”);
}
elseif($_REQUEST[‘ptype’] == ‘preview_event’)
{
include (TEMPLATEPATH . “/library/includes/preview_event.php”);
}
elseif($_REQUEST[‘ptype’] == ‘paynow’)
{
include (TEMPLATEPATH . “/library/includes/paynow.php”);
}elseif($_REQUEST[‘ptype’] == ‘paynow_event’)
{
include (TEMPLATEPATH . “/library/includes/paynow_event.php”);
}
elseif($_REQUEST[‘ptype’] == ‘cancel_return’)
{
include_once(TEMPLATEPATH . ‘/library/includes/cancel.php’);
set_property_status($_REQUEST[‘pid’],’draft’);
exit;
}
elseif($_GET[‘ptype’] == ‘return’ || $_GET[‘ptype’] == ‘payment_success’) // PAYMENT GATEWAY RETURN
{
set_property_status($_REQUEST[‘pid’],’publish’);
include_once(TEMPLATEPATH . ‘/library/includes/return.php’);
exit;
}
elseif($_GET[‘ptype’] == ‘success’) // PAYMENT GATEWAY RETURN
{
include_once(TEMPLATEPATH . ‘/library/includes/success.php’);
exit;
}
elseif($_GET[‘ptype’] == ‘notifyurl’) // PAYMENT GATEWAY NOTIFY URL
{
if($_GET[‘pmethod’] == ‘paypal’)
{
include_once(TEMPLATEPATH . ‘/library/includes/ipn_process.php’);
}elseif($_GET[‘pmethod’] == ‘2co’)
{
include_once(TEMPLATEPATH . ‘/library/includes/ipn_process_2co.php’);
}
exit;
}
elseif($_REQUEST[‘ptype’] == ‘sort_image’)
{
global $wpdb;
//echo $_REQUEST[‘pid’];
$arr_pid = explode(‘,’,$_REQUEST[‘pid’]);
for($j=0;$j<count($arr_pid);$j++)
{
$media_id = $arr_pid[$j];
if(strstr($media_id,’div_’))
{
$media_id = str_replace(‘div_’,”,$arr_pid[$j]);
}
$wpdb->query(‘update ‘.$wpdb->posts.’ set menu_order = “‘.$j.'” where ID = “‘.$media_id.'” ‘);
}
echo ‘Image order saved successfully’;
}
elseif($_REQUEST[‘ptype’] == ‘delete’)
{
global $current_user;
if($_REQUEST[‘pid’])
{
wp_delete_post($_REQUEST[‘pid’]);
wp_redirect(get_author_link($echo = false, $current_user->data->ID));
}
}
elseif($_REQUEST[‘ptype’] == ‘att_delete’)
{
if($_REQUEST[‘remove’] == ‘temp’)
{if($_SESSION[“file_info”])
{
$tmp_file_info = array();
foreach($_SESSION[“file_info”] as $image_id=>$val)
{
if($image_id == $_REQUEST[‘pid’])
{
@unlink(ABSPATH.”/”.$upload_folder_path.”tmp/”.$_REQUEST[‘pid’].”.jpg”);
}else{
$tmp_file_info[$image_id] = $val;
}}
$_SESSION[“file_info”] = $tmp_file_info;
}}else{
wp_delete_attachment($_REQUEST[‘pid’]);
}
}
else
{ get_header();?>
<?php dynamic_sidebar(1);?>
<div id=”wrapper” class=”clearfix”>
<div id=”content” class=”clearfix”>
<?php dynamic_sidebar(2); ?>
</div> <!– content #end –>
<div id=”sidebar”>
<?php dynamic_sidebar(3); ?>
</div> <!– sidebar #end –>
<?php get_footer(); ?>
<?php }?>Forum: Fixing WordPress
In reply to: "/> at the top of my pageHome Page <meta> tags
Meta DescriptionYou should use meta descriptions to provide search engines with additional information about topics that appear on your site. This only applies to your home page.
Thats what the theme says in the part where it gives me the option of adding a meta tag.
Forum: Fixing WordPress
In reply to: "/> at the top of my pagei havent deleted it yet but i dont have have a home.php file or a homepage.php i do see the index.php and a page.php
Forum: Fixing WordPress
In reply to: "/> at the top of my pageok this is from the header.php file. is this what i was supposed to show you? and i couldnt find anything in the index.php file about this
</title>
<meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />
<?php if (is_home()) { ?>
<?php if ( get_option(‘ptthemes_meta_description’) <> “” ) { ?>
<meta name=”description” content=”<?php echo stripslashes(get_option(‘ptthemes_meta_description’)); ?>” />
<?php } ?>
<?php if ( get_option(‘ptthemes_meta_keywords’) <> “” ) { ?>
<meta name=”keywords” content=”<?php echo stripslashes(get_option(‘ptthemes_meta_keywords’)); ?>” />
<?php } ?>
<?php if ( get_option(‘ptthemes_meta_author’) <> “” ) { ?>
<meta name=”author” content=”<?php echo stripslashes(get_option(‘ptthemes_meta_author’)); ?>” />Forum: Fixing WordPress
In reply to: "/> at the top of my pageit is not duplicating itself either. any other ideas? im thinking about just deleting that meta tag..
Forum: Fixing WordPress
In reply to: "/> at the top of my pagemy theme gives me the option to add <meta name=”description” content=”The place to find all your favorite local businesses” /> to “seo options meta tags” and thats where i placed it. am i placing it in the wrong place?
Forum: Fixing WordPress
In reply to: "/> at the top of my pageok i replaced it but it still showing up on my site..
Forum: Fixing WordPress
In reply to: "/> at the top of my pagecatchmybiz.com
Forum: Fixing WordPress
In reply to: "/> at the top of my pageForum: Themes and Templates
In reply to: changed host now cant upload themei didnt need to back anything up or bring anything over from yahoo to bluehost because i wanted to start everything all over again. i just bought a new template and would just like to work with that one.
i installed wordpress using easy scripts on bluehost and then just simply tried to upload the theme but then i get the message “are you sure you want to do this? and below that it says “please try again”
Forum: Fixing WordPress
In reply to: question about site url/directoryyea i spoke to yahoo and they told me that they could not give me access to the .htaccess file. i really dont understand why they cant because now i wont have a website that functions how i would want it to. do u have any idea what i could do to make this work?