Eric Mann
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: JS Banner Rotate] Updategarethooper – I just submitted version 1.0.3 to the svn repository. It includes the option to disable the Title. Just place “titlevis=false” in the shortcode to turn it off.
Forum: Plugins
In reply to: Reglevel: awesome, but log-in page loopholeadammann33 – I’m always open to new feature suggestions, and I can try to include “disable default registration” as an option in the next version. But please keep in mind that this was not an intended feature of RegLevel – the plan was to keep all of the default behavior in place while allowing alternative registration links for special user groups.
I will keep your feedback in mind, though, as I’m already developing the next version of the system (fixing conflicts with a few other plug-ins and trying to add integration with bbpress). If you have any other suggestions, please let me know!
Forum: Fixing WordPress
In reply to: How to implement this handy PHP scriptThat line is correct, and you would put it in several places:
- To use it on your home page, place it in index.php
- To use it on individual posts, place it in single.php
- To use it on individual pages, place it in page.php
One thing you need to make sure of first, though, you absolutely must define the $image variable before passing it to the function. If you don’t it will cause an error (which is probably what is happening now). Without seeing your entire code, though, I can’t determine what the actual problem is.
Forum: Plugins
In reply to: [Plugin: JS Banner Rotate] UpdateAbsolutely.
Forum: Plugins
In reply to: [Plugin: JS Banner Rotate] Image SizingThe image size defaults to 900px wide by 300px tall. You need to set the image width and height in the shortcode. For example, if your images are 200px wide and 400px high, you would add:
[jsbrotate height=400 width=200 image1=... /]Let me know if this fixes the problem you’re seeing.
Forum: Fixing WordPress
In reply to: Want to becom a wordpress hostThe short answer is yes … but why would someone want to host WP with you if you add ads when they can do it through wordpress.com for free without ads?
Forum: Plugins
In reply to: Looking For a Plugin…I just added the plugin to the WordPress repository, so it should be available fairly soon. Just search for “JS Banner Rotate” to find it. Or just go to the WP page: http://wordpress.org/extend/plugins/js-banner-rotate/
Forum: Plugins
In reply to: Looking For a Plugin…So I think I’ve got this worked out. You can download the “beta” version of the plugin from http://www.jumping-duck.com/wordpress. It’s called “JS Banner Rotate.”
Install the plug-in as you would any other and activate it. It works entirely through shortcodes. The structure is like this:
[jsbrotate height=200 width=500 title=Images link=http://whateveryouwant.com image1=http://blog.com/image1.jpg image2=http://blog.com/image2.jpg … /]You can put up to 5 images in the rotation. At the moment, all of the colors and such are exactly like those on the site you originally referenced. Maybe I’ll give control over colors and such in a future version.
Just know that all of your images have to be the same size (the height and width you specify in the shortcode) or things will look funky. The default values are arbitrary (width=900, height=300), so make sure you set your own.
Drop me an email at eric@eamann.com after you get things set up. I’m curious to hear how it works in your system (I tested with a very basic theme on WP 2.8 …)
Forum: Plugins
In reply to: Will WordPress work for my project? (HS Football League Site)You’d need to add some custom functionality to store the scores in their own tables in the database, but this is doable. It’s also pretty simple to have PHP scripts programatically calculate statistics based on information in the database as well.
A site I built that does this on a very simple level is http://premierewinetours.com. The “Request a Quote” page uses information a user puts in a form to calculate their costs for a particular trip. You can do the same thing with your system, but pull values from a database table rather than a form.
Contact me at eric@eamann.com if you have specific questions.
Forum: Themes and Templates
In reply to: Problem with flash on first page!I don’t see a gap. Have you managed to fix the problem, or is it just displaying differently all of a sudden?
Forum: Plugins
In reply to: How to get WordPress plugin approved?The only other thing you can do other than poking and proding the WP team is to host the plugin on your own site and advertise the link in the forums. It’s good practice to have a download available from your own website anyway, actually.
Forum: Fixing WordPress
In reply to: How to implement this handy PHP scriptIn your loop you’d have:
<?php if(have_posts()) : while(have_posts()) : the_post(); ?> <div> ... <?php if(function_exists('imageRestrict')) imageRestrict($image); ?> ... <?php endwhile; ?> ... </div> ...I don’t know why you had a period before $image in your version above. But this *should* work just fine.
Forum: Fixing WordPress
In reply to: How to implement this handy PHP scriptAny php script you want to run on your blog needs to be placed in the functions.php file of your theme. Then you can call the function from anywhere else in the theme that you need.
Forum: Fixing WordPress
In reply to: how to disable admin error messages?t31os_ is right, that is the “please update” message that WordPress generates when a new version becomes available. After you upgrade to the most current version of WordPress (currently 2.8) it will disappear automatically.
Forum: Plugins
In reply to: How do you create a templateOK. Here it is step-by-step:
1) Back up your site!
2) Create your template file and upload it to the theme directory
3) Create a blank (or populated) page to use this template – write down the page ID
4) Log in to your database via phpMyAdmin
5) Go to the wp_postmeta table
6) Click “Insert” and put the following in the appropriate fields:meta_id -> leave this blank
post_id -> the ID of the page you want to have the template
meta_key -> “_wp_page_template”
meta_value -> the filename of your page template, i.e. “custom.php”7) Click “Go” at the bottom of the page
Now when you go to the page, it should pull up the custom page template just the way you want it. This isn’t the most elegant solution, but it works nonetheless.
Let me know if that gets you where you need to be.