caemusic
Forum Replies Created
-
Forum: Plugins
In reply to: Block all foreign characters?I’ve actually tried two of those and while they reduced other spam I still get tons of spam comments with foreign characters. There’s not really any reason why someone should be posting comments with foreign characters on my blog so it seems like the best solution would be to disallow such content, if possible.
Thanks for the links though, I might just try out a different plugin.
Forum: Themes and Templates
In reply to: Hiding Sub-Pages in MenuThat does the trick perfectly. Thanks!
Forum: Plugins
In reply to: Get Children of Current Page (within page content)Thanks Michael, it just produced syntax errors when I tried to use the example “The following example will generate a list only if there are child (Pages that designate the current page as a Parent) for the current Page”:
Parse error: syntax error, unexpected $end in /home/fizzbath/public_html/store/wp-content/plugins/runPHP/runphp.php(410) : eval()’d code on line 3
Parse error: syntax error, unexpected ‘}’ in /home/fizzbath/public_html/store/wp-content/plugins/runPHP/runphp.php(410) : eval()’d code on line 1
The code works fine in the template though.
The problem is I’m trying to do this in actual page content with RunPHP plugin. I only want to use this on a few pages, not all pages with children. If I use the exclude pages example then I will have to change the template every time I add a page which is frequent. If I use the include pages example then I will have to change the template whenever I add a page to list children, which is also frequent (but slightly less frequent).
Since it works fine in the template I may just resort to that. It will just be a little more maintenance in the long run.
Forum: Plugins
In reply to: PHP/SQL for posting to WordPressthanks otto, you’re always on top of things 🙂
couldn’t find it because i was searching for create instead of insert.
Forum: Themes and Templates
In reply to: [threattocreativity] How to choose the colors?actually, the square background colors are defined in the index.php file in the div class=”post bg thickbox”
pretty much all the other colors are in the colors.php file.
Forum: Themes and Templates
In reply to: [threattocreativity] How to choose the colors?check out the colors.php…
it’s gonna take some math skills and basic knowledge of hex colors to do what you want.
basically rand() php function works like this:
rand(mininum value, maximum value) so rand(0, 9) like the colors.php file has now will pick a value from 0 to 9 to pick for the hex color.the result is echoed inside the “background: #xxxxxx” in the stylesheet. hex colors uses letters and numbers but it looks like the functions will only pick numbers.
here’s a hex color chart to give you an idea of the limits you will want to put in the rand() function.
http://www.2createawebsite.com/build/hex-color-chart-grid.html
Forum: Fixing WordPress
In reply to: Change Help Menu ContentYou can change wp-admin/includes/template.php to modify/add links 🙂
Forum: Plugins
In reply to: Dashboard Help Tab – Changing LinksI was finally able to locate this:
It’s in wp-admin/includes/template.php
Forum: Plugins
In reply to: Adding Help Page to DashboardI finally found it, not sure why it didn’t show up in my search..
It’s located in wp-admin/includes/template.php
Forum: Plugins
In reply to: Adding Help Page to DashboardAnyone have an idea? I’ve looked through every file and have searched the whole WP directory for “Support Documents” and it doesn’t appear anywhere.
The only thing I’ve found is some js for the help tab, but it only seems to be generating css:
// help tab $('#contextual-help-link').click(function () { if ( ! $('#contextual-help-wrap').hasClass('contextual-help-open') ) { $('#screen-options-link-wrap').addClass('invisible'); } $('#contextual-help-wrap').slideToggle('fast', function(){ if ( $(this).hasClass('contextual-help-open') ) { $('#contextual-help-link').css({'backgroundImage':'url("images/screen-options-right.gif")'}); $('#screen-options-link-wrap').removeClass('invisible'); $(this).removeClass('contextual-help-open'); } else { $('#contextual-help-link').css({'backgroundImage':'url("images/screen-options-right-up.gif")'}); $(this).addClass('contextual-help-open'); } }); return false; });Forum: Plugins
In reply to: Manipulating wp_head functionyep, there is a plugin to remove the generator meta tag:
http://www.christianschenk.org/blog/removing-wordpress-generator-meta-tag-completely/
Forum: Plugins
In reply to: wp.com blog to self-host wp blog, will i lose PR with this plugin?The redirect plugin I use can go to non-wp pages but it only happens once you login. There’s other ones that only take off the www so users link to the same place thus increasing your search engine rank. I haven’t found one that fits your needs.
You can check out this document, but not sure how much it will help:
http://blog-well.com/wp-content/uploads/2008/01/how-to-redirect-a-wordpresscom-blog.pdfForum: Plugins
In reply to: Members Only Stats?Not exactly what you are looking for, but there’s a great plugin for google analytics. It will tell you how long visitors spend on your site, where they are located, how they found you site, how often they come back, number of page views, and much more. It just doesn’t associate these stats with a username.
http://wordpress.org/extend/plugins/google-analytics-for-wordpress/
Making the plugin you need would probably require some data model changes and I haven’t seen many plugins that do that. You would need a new field in the user table just to keep a running tally of how much time they have spent logged in, or a entire new table to record all of the times each user has logged in and the length of each session. Then change login.php accordingly.
I wasn’t able to find anything like that, but maybe someone else can be of more help.
Forum: Plugins
In reply to: Think my blog has been hacked.Did you upgrade to 2.7.0 or 2.7.1? The later is supposed to have some fixes to help prevent XSS attacks.
Forum: Your WordPress
In reply to: Pulled in twitter feed, what do you think?i’m not a big fan of serif fonts in a digital medium; they’re actually harder to read on screen.
check out the wikipedia entry on sans-serif for some more info:
http://en.wikipedia.org/wiki/Sans-serif