rustindy
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How wide can you make a template?Technically, a template can be as wide as you want it to be. The reason many templates limit their widths is due to browser concerns – not everyone runs their browser in full-screen mode, and most people still browse at an 800×600 screen resolution. Horizontal scrolling is evil (generally speaking), so many templates that use a fixed width are no more than about 770 pixels wide.
On the other hand, if you use a fluid-width style, your content width will adjust automatically to browser window width.
In any case, as far as the Kubrick template goes (the default WP1.5 template), you can adjust the “widecolumn” class to be wider (up to about 600 pixels I think) without ill effects. The “narrowcolumn” class can maybe go to 470 or 480, but it is limited by the overall width of the template and the fact that there is a sidebar on pages that use the “narrowcolumn” class.
Forum: Requests and Feedback
In reply to: Question and FeedbackPersonally, I use the following 3 plugins to combat spam, and so far it’s 100% successfull:
– Bad Post ID
– URI Blocklist
– Spam StopgapI even deleted all the words from the built-in moderation/blacklist boxes (except for “online-poker” in the blacklist one). I haven’t had a spam post for 5 or 6 weeks now 🙂
Course, I haven’t noticed any trackback spam yet – I don’t think any of these plugins will help with that…
Forum: Fixing WordPress
In reply to: Change Right Col. WidthYou’ll need to do two things.
First, in “style.css” find the “.sidebar” definition and change the width to what you want (margins should be automatically adjusted, but you might need to tweak). Second, because the sidebar uses a background graphic to keep it coloured for the entire height of the page, you’ll need to change that graphic so it matches your new sidebar width.
Forum: Fixing WordPress
In reply to: What is with the feed: in the footer ?Don’t quote me, but it looks like “feed:” is being used as a protocol type (like “mailto:” and “aim:” etc.). Presumably, this means that it will eventually be recognized by feed readers and aggregators allowing you to subscribe to an RSS or ATOM feed simply by clicking the link. I’m not aware of any aggregators or feed readers that actually use it at this point though.
To get rid of it, just delete the “feed:” bits from the “footer.php” file in your template(s).
Forum: Plugins
In reply to: I hate blogspammers – this is how I kill themThis feature has been built into WP1.5 on the Discussion Option page 🙂
Forum: Fixing WordPress
In reply to: exceeding allocated memoryPHP’s default value of 8MB for maximum script memory is very often inadequate for large sites. Unless your server is extremely low on available memory, increasing this to 16, 24, or even 32 (which is one of the recommended values) will have no adverse effects and should get rid of that error message.
So if you adjust the “memory_limit” value in your PHP.ini file to 24M or 32M, it should be fine (you probably have to restart the web server after the change to make it take effect).
Forum: Requests and Feedback
In reply to: MS-Word Copy-PastersIf people want to use some other program to post into WordPress (or any blog, for that matter), all they need is Notepad (or VI for those *nix users).
Course if it’s spell-checking they need, that might require a plugin or hack. Or a text editor that has a spell-checker…
Forum: Everything else WordPress
In reply to: PDA ClientsAnyone know if there’s a similar program available for Palm or for Java-powered cell phones?
Forum: Fixing WordPress
In reply to: Moblog/Email Plugin for 1.5Doesn’t work on 1.5 as of yet. It seems good, otherwise, so I’m going to try to port it 🙂 Thanks!
Unless, of course, something that works shows up in the meantime…
Forum: Fixing WordPress
In reply to: V1.5 BETA SupportIt’s the one labelled “Beta Discussion” on the http://www.wordpress.org/support/ page 😉
Forum: Themes and Templates
In reply to: How to make this layout workAll the pages you’ll be using with 1.5 (unsure about 1.2) are connected – so if you do happen to need to refresh the
index.phppage for example, you can do it withindex.php?section=archive(also for example) and use a bit of PHP in theheader.phpfile to write the javascript so that the “archive” section is displayed and the other sections are hidden. Not too difficult in practice, but hard to explain clearly 😉That link seems like what someone wishing to write a page like yours would want to have bookmarked 🙂 And it can operate just how you want simply by manipulating the initial states of the sections instead of hiding them all at once.
To be honest, certain bits of your idea are in my soon-to-be-almost-completed theme (big fan of kink is me), though I wasn’t planning on going quite as “hardcore” as you want to be 😉
Forum: Themes and Templates
In reply to: How to make this layout workIn a word, avoid da flash where possible. Search engines won’t crawl it, and it pisses some of us off mightily 😉 Of course, it can be used sparingly for menus and other special applications – just not for entire websites. Unless the point of the website is to be a flash portfolio, of course. Even then….
Anyways, you really wouldn’t really need any more files than a normal 1.5 theme (for example) already has. It’s just a matter of creatively coding the site 😉
Assume, for example, that when someone goes to the site, they see the top menu, the sidebar contains category links and the search thingy, and the main content area has only the most recent post listed (and possibly the previous 3 in excerpt form for convenience). The user clicks the “Archive” link in the top menu.
In scenario #1 above (from my previous post here), a javascript would simply change the
srcparameter of the sidebariframeto readsidebar.php?section=archive(for example). Thesidebar.phpfile is simply a normal sidebar template file withswitchblocks around each of the sections – if nosectionquerystring is given, it defaults to “category”, otherwise it’ll display the named section. Benefit: less data to transfer to the client on any given page. Con: theiframerefreshes from the server.In scenario #2, the javascript would instead use the DOM to hide the “category”
divand unhide the “archive”div. Benefit: speed – there is no refresh lag. Con: the content of all the sections must be downloaded to the client.In practice, it would work best to combine the two methods – use the DOM method for changing the sidebar, but use the
iframemethod to update the main content area if someone clicks a story or archive link.Kinky 🙂
Forum: Themes and Templates
In reply to: How to make this layout workThere are 2 ways to do this I can think of offhand, but both require that the client have Javascript enabled in their browser (and quite a lot of people don’t, so be warned).
First way is to use
iframesections to hold the potentially changing content and use Javascript to change thesrcparameter of the frames as needed.Second way is to load all the content onto the page, use CSS to hide certain sections, and use Javascript to modify the
hiddenattributes as needed.Third way (OK, I lied) is to use Flash.
Forum: Fixing WordPress
In reply to: HTML source code questionpodz, browsers ignore extraneous whitespace completely (like tabs and multiple spaces), and IE and FireFox (and probably all other browsers) display the source file exactly as it’s sent from the server – they don’t add tabs or spaces to the View Source.
RSL, look for the PHP escaped tab command – it’s
/tand will always be enclosed by quotation marks. Removing that slash-t command fromechocommands and variables will remove the tabs. But I don’t recommend it.Forum: Fixing WordPress
In reply to: [REQ] Contact form plugin for V1.5I thought about this one last week, but the only way I felt it could be done right is to have the contact form tied into all the anti-spam functionality – including any plugins. That probably means that the WP source will need to be edited in order for that to be allowed, but I don’t know the source well enough yet to know for sure.
Basically, the text-box on the contact form would need to act exactly like the text-box on the comment form, except that it emails whatever’s typed in instead of posting it to the blog as a comment.
Course, now that I’ve written that down, it sounds a lot easier than it did before…