Jump to content

Pete

Administrators
  • Posts

    4,034
  • Joined

  • Last visited

  • Days Won

    66

Everything posted by Pete

  1. Stop the development please, I want to get off This reminds me that I really need to start thinking about translations when I do development myself, so I'm making a mental note and following these topics with interest.
  2. Gravatar support would be cool. I think I've seen it done somewhere else that it links to Gravatar based on the email address and defaults to a pre-set list of icons otherwise so you're not looking at the same boring silhouette or "no avatar" text. Something like that would be as simple as adding a default avatars folder and picking one at random and could make it a bit fun. To see what I mean, scroll to the comments here and you'll see a bunch of stand-in cartoon avatars for those without one: http://www.rockpapershotgun.com/2012/08/28/rome-sweet-rome-crusader-kings-ii-expands/ Maybe not a necessary feature, but certainly an easy thing to code to make it as easy as dropping some images into a "default-avatars" folder to have it select one. If I had to guess, I think it might select those from the site above based on the square root of the member ID rounded to the nearest whole number or something like that, since they are the same for each person every time you load the page. Anyway, I've babbled on about that point enough. Spam protection - stopforumspam.com would be a good option if it's not in already, but there are others as well. The obvious issue is the more that you check against the longer it takes to query. Maybe when PW is a lot more mainstream it could even go down the route of a PW-run central anti-spam database like these forums have (run by IPB and spammers marked as spammers by site owners). Of course that requires manpower that's not available at present and the database would be very empty to begin with To prevent double post even without a redirect could a unique ID just not be sent with the form submission? I guess like on the forums you might want to say something in addition to what you just posted so it would be good to check if the content of the new post is the same as the old post and if not then append it to the previous post. I don't mean post, I mean comment Textformatter plugins - are we talking about support for Markdown and the new BBCode one you've done? That would be fab. I think that's all my thoughts for now. Brain tired, sleep imminent. Oh wait, it's only 1.45pm
  3. Pete

    AOTR

    Love it - I always like those well-laid-out menus like when you hover over the services tab. They can obviously be messy, but when they're done well like this it really helps navigation.
  4. Don't think you can easily and that's why he's asking Ryan.
  5. I love it when a plan comes together.
  6. Hi ryan I'm using this to send a form to an email. I've got a couple of fields that are textareas, but I'd like the email to include the newlines I enter in the textareas - currently it seems to strip them out and put them all on one line. Is there a way to have it preserve newlines after submit?
  7. I think the drop-down menu would make sense, especially if it can be added to with further modules. Maybe it would make sense if the select box uses "optgroup" tags so that each module's actions stand out separately?
  8. Pete

    Minify

    Okay, I updated this to 1.0.1 to search recursively for files under the /site/templates/js and /styles folders - this is available from the modules directory as v1.0.1. I thought I'd work on v1.0.2 which lets you specify starting folders further up the tree whilst I'm at it but have hit a snag. It works fine, but when you change the path and hit save the drop-downs don't update their path unless you save the module a second time. Anyone have any ideas why you'd need to save the module twice for the config page to be able to use an updated value?
  9. Go to edit your field and under the input tab of the field change the "Input field type" from Select to "Page list select". Tada! You can now browse the page tree On the same tab you can also set the page parent to restrict the list of selectable pages. If you have an awful lot of pages and you're the only one maintaining the site, or other people know what's on the site, you could also change the input field type to Autocomplete (can't remember if you have to install that FieldType module first or if it's in by default nowadays). EDIT: I need to type shorter replies so Soma doesn't beat me to it
  10. Can you point us in the direction of their license page, or copy and paste it here?
  11. Hehe, well they're a bit old school for me as I'm 30 Here's what's coming in the next version in terms of the editor: http://community.invisionpower.com/blog/1174/entry-7940-ipboard-34-dev-update-editor-improvements/
  12. IE10 requires Windows 8, but I'm looking forward to that as well to be honest. I just wish the way to build tiles and stuff on the Metro interface was HTML5 and jQuery and not the uber-complicated system they've developed instead.
  13. Hehe, it's easy to set a group policy to update computers but a bit more hassle to get it to install FF or Chrome and set it up as default browser. Not impossible I know, but just not got around to it yet.
  14. I think they take time to build up a lot of bug fixes and release the next incremental version every month or so. Whilst I prefer PW's style of being able to download the latest version of the repo to get almost instant fixes I can see why they do it like that. I just hope the next version resolves some of these issues.
  15. How long was the text on the post?
  16. I might see if there's another editor option but I doubt there will be as it's not as easy as PW to change things like that. The editor can be turned off completely via your profile settings and you can use BBCode instead, but that's not an amazing option - might be better for people used to other types of editors though?
  17. Well tough Smileys/emoticons are an easy fix - we can manually add conversions so they will work, though it is not standard to have a hyphen in them and I've used a lot of forum software - more standard without. Like I say though this can easily be solved by adding more variations in the admin so that is neither here nor there. Indentation is an annoying bug. It's on their list of things to fix. Seriously though? Neither of these are showstoppers and no software is perfect (apart from PW). Various editor improvements are coming in in v3.4 so I suspect a lot of the little quirks will be fixed then. It's interesting to note that the editor that you guys don't like is ckEditor (I think - might be TinyMCE even) but there are indeed quirks with their custom implementation. Compared to the previous software though I think it's a lot more useful overall. In summary, it would be a huge pain to switch again and the alternatives all have their own issues, bugs and drawbacks so I don't think either issue is enough to even consider it.
  18. I've used closest() a few times rather than parent()->parent() repetitively, or if there was ever a chance the layout would change slightly on the page but I knew that somewhere back up the tree a particular element would always exist in relation to the current one. It probably wouldn't be used all that much in PW since another layer of pages would rarely be added between the current page and the parent page, but saying that I'm sure I've run into this before myself so it may as well go i and I'll try and find where I've seen that code where I needed to do something similar. A bit off topic, but ryan: have you at any point emailed anyone at jQuery about PW? I think they'd be interested in the concept
  19. Should be fixed now I keep forgetting what that was like - now I'm in control of IT at my current job so have IE auto-updating every time a new version comes out (fortunately we don't run any legacy web apps).
  20. That is odd - looks like IE8 is stacking the buttons over each other. Any chance you can upgrade to IE9 in the meantime? I realise that's not always possible in a corporate environment and doesn't fix the problem for other IE8 users. I might have a chance to look at it later if I can find a PC with IE8 or if my Virtual Windows machine still runs IE8. Cheers for the report though!
  21. There's another parameter for PW's redirect function if you're using that in module code or a template to make it redirect with a 302 instead. Is it in a module or template that you're redirecting or are you talking about PW in general?
  22. My thoughts are she's going to catch a cold not wearing any clothes. Site looks good though. If anyone's wondering before clicking on the link it falls under art and not the the other internet pastime.
  23. I'm sure I read that you can't nest repeaters - someone else may be able to confirm that though.
  24. Your timing is beginning to get spooky lately ryan as I may need this on a project as soon as tomorrow! Get out of my head!
  25. A single "=" will only work in PW's selectors like $page->find('something=something') and so on - you must have double == to compare values in normal PHP as per the link I posted. Strange that that's not working either though, but a single "=" is definitely wrong. Just a thought - what is the expected value of $page->project_url? If it's just a text field then you might want to check it's not empty with if (!empty($page->project_url as it would exist whether empty or not, so simply doing if ($page->project_url would always be true I think. If on the other hand it is a Page fieldtype, then try if ($page->project_url->id instead.
×
×
  • Create New...