Benjamin
Forum Replies Created
-
Forum: Plugins
In reply to: [Background Per Page] not workingLew, Do you have a demo I can look at?
Forum: Plugins
In reply to: [Background Per Page] not working@elin, There is a couple things going on here. First there is some bug with this plugin that I have not been able to track down however there is a work around for. When you set the background color in the plugin it will not apply unless you have an image in use. So the work around I have used is you can create a transparent 1px PNG file and set the plugin to not repeat the background image. This will tell the plugin to activate and set the background color (but using a single pixel transparent image).
Now as for your theme, I see that the background-4.png is not being applied to the BODY tag but is actually using a DIV (ID name “wrapper”) that is acting as the body. This plugin when selecting “body” uses the BODY tag and applies the background to that. This means that your DIV is on top of the BODY there for it will be hidden under the DIV. In order to correct this you will need to edit the plugin to use the “wrapper” DIV tag instead of the body. I see in your code that you have set the “wrapper” background to be !important.
I am sorry but I am not familiar with the wootheme Athena in how it is setup to let people customize, so I am not sure what/where/why this was set this way to make this happen. However if you must use the !important tag, you can edit the plugin to apply this as well. The only only think to make sure is that the plugin applies your new background settings underneath the custom “wrapper” settings you have so that it will be set !important.
Sorry for the long post. I hope I am clear on what I am pointing out. Also I can point out where in the plugin code you need to change if needed.
Forum: Plugins
In reply to: [Background Per Page] not workingForum: Plugins
In reply to: [Background Per Page] WP 3.6 this seems not to work at allLooks good. Glad to see you were able to get something to work.
Forum: Plugins
In reply to: [Background Per Page] New backround for page-content does not show upHello Moelangi, you will have to make an edit to the program (simple change) or create a new div in your content called .post_content
Forum: Plugins
In reply to: [Background Per Page] WP 3.6 this seems not to work at allI am using WP 3.7 and it works for the body. what theme are you using? You are correct about it not working for the content. You have to make an edit in the code for that to work. I am not sure I fully get why HTML is even an option. Are you wanting all areas to work?
Forum: Plugins
In reply to: [Background Per Page] not workingTo what element are you wanting to apply the background to? The whole body of the page or just the background of the post itself. Also which version of wordpress are you using?
Forum: Plugins
In reply to: [Electric Studio Auto Post Expire] Post Not ExpiringSorry about. Marking resolved now.
Forum: Plugins
In reply to: [Electric Studio Auto Post Expire] Post Not ExpiringThanks, I was able to find the information I needed. I am running a windows IIS server and needed to setup a windows task to run cron on a schedule. The information can be found at the following link:
Forum: Plugins
In reply to: [NextGEN Custom Fields] Image links- Not Working!I didn’t set mine to do that but you can easily modify this link to make it open one.
if($use_url) { $output .= "<a href=\"" . $image_alt . "\">"; }Forum: Plugins
In reply to: [NextGEN Custom Fields] Image links- Not Working!Ok, Sorry to update this post after its been marked resolved but I thought I would share how I got this fixed for others who want to use shauno’s great plugin with JJ NextGen JQuery Carousel for adding the links instead of using the built in Alt option. I got it figured out with the trial and error method.
Just change:$image = new nggImage($result); $image_alt = trim($image->alttext); $image_description = trim($image->description);with this:
$image = new nggImage($result); $image_alt = trim(nggcf_get_field($image->pid, 'Your custom field goes here')); $image_description = trim($image->description);Thanks for the help shauno.
Forum: Plugins
In reply to: [NextGEN Custom Fields] Image links- Not Working!Thanks for the update shauno. I have tried plugging in the API code that you gave. I am still unable to figure it out yet. You mention the $pid variable that they might be using? I am afraid I am still new when it comes to PHP programing as my back ground is priamrily web layout design. I was wondering if you could see anything in the following code that might point out what they are using to pull the alttext data to get the $pid. It is a copy of the code that deals with adding links to the images.
$image_alt = null; $image_description = null; foreach($results as $result) { $gallery = $wpdb->get_row("SELECT * FROM $wpdb->nggallery WHERE gid = '" . $result->galleryid . "'"); foreach($gallery as $key => $value) { $result->$key = $value; } $image = new nggImage($result); $image_alt = trim($image->alttext); $image_description = trim($image->description); $output .= "\n <li>"; // check that alt is url with a simple validation $use_url = false; if($image_alt != '' && (substr($image_alt, 0, 1) == '/' || substr($image_alt, 0, 4) == 'http' || substr($image_alt, 0, 3) == 'ftp')) { $use_url = true; } // if alt isn't a url make it the alt text to backwards support nextgen galleries elseif($image_alt != '') { $image_description = $image_alt; } if($use_url) { $output .= "<a href=\"" . $image_alt . "\">"; } if($image_description != '') { $image_description = "alt=\"" . esc_attr($image_description) . "\" "; } else { $image_description = ''; }Forum: Plugins
In reply to: [NextGEN Custom Fields] Image links- Not Working!I have been trying to get the custom fields to work with JJ NextGen JQuery Carousel as well. I am not sure if you are aware that if you put your link in the Alt&Title area of NGG with the http the image will use the link that you have posted in that field. Editing the Gallery.php only works for NGG itself. In the JJ NextGen JQuery Carousel you have to edit the includes/jj_ngg_jquery_carousel.php, unfortunately I have been unsuccessful myself in getting this to work. In jj_ngg_jquery_carousel there is code for
$image = new nggImage($result); $image_alt = trim($image->alttext); $image_description = trim($image->description);and I have tried to change it to
$image = new nggImage($result); $image_alt = trim($image->ngg_custom_fields["Your Field Name Here"];); $image_description = trim($image->description);and it doesn’t seem to want to pull the link from the custom field. I am not sure if I can use the $image->ngg_custom_fields[“Your Field Name Here”]; in the jj_ngg_jquery_carousel.php or not. I am not sure how to pull the code in else wise. Any help would be appreciated.
Forum: Plugins
In reply to: [Spreadsheet] [Plugin: Spreadsheet] Activation of the plugin was not possibleAfter I installed the plug in I had to add some code to my template to get it to run. This is the code I put in my websites header to make it run, otherwise it wouldn’t display even after following dhtmlx’s guide.
`<script src=’http://yourwebsite/wp-content/plugins/spreadsheet/codebase/spreadsheet.php?load=js’ type=’text/javascript’ charset=’utf-8′></script>
<link rel=’stylesheet’ href=’http://yourwebsite/wp-content/plugins/spreadsheet/codebase/dhtmlx_core.css’ type=’text/css’ charset=’utf-8′>
<link rel=’stylesheet’ href=’http://yourwebsite/wp-content/plugins/spreadsheet/codebase/dhtmlxspreadsheet.css’ type=’text/css’ charset=’utf-8′>
<link rel=’stylesheet’ href=’http://yourwebsite/intranet/wp-content/plugins/spreadsheet/codebase/dhtmlxgrid_reset.css’ type=’text/css’ charset=’utf-8′>`