Jump to content

cfish

Members
  • Posts

    91
  • Joined

  • Last visited

 Content Type 

Profiles

Downloads

IPS4 Providers

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Forums

Store

Everything posted by cfish

  1. So I found the template file for the code block modal in Core>global>editor>code: <div class="ipsPad ipsForm ipsForm_vertical" data-controller='core.global.editor.code' data-editorid='{$editorId}' data-randomstring='{$randomString}'> <form method='get' action='#'> <div class="ipsPad ipsAreaBackground_light"> <div class="ipsFieldRow ipsFieldRow_fullWidth ipsFieldRow_primary ipsLoading" data-role="codeContainer"> <textarea id='elCodeInput{$randomString}'>{$val}</textarea> </div> <div class='ipsFieldRow'> <button type='submit' class="ipsButton ipsButton_primary cEditorURLButton cEditorURLButtonInsert" data-action="linkButton">{lang="editor_media_insert"}</button> <div class="ipsPos_right"> <select id='elCodeMode{$randomString}' data-role="codeModeSelect" data-codeLanguage="{$language}"> <option value="null">{lang="editor_code_null"}</option> <option value="htmlmixed" {{if $language == 'html' OR $language == 'htmlmixed'}}selected{{endif}}>{lang="editor_code_htmlmixed"}</option> <option value="css" {{if $language == 'css'}}selected{{endif}}>{lang="editor_code_css"}</option> <option value="javascript" {{if $language == 'javascript'}}selected{{endif}}>{lang="editor_code_javascript"}</option> <option value="php" {{if $language == 'php'}}selected{{endif}}>{lang="editor_code_php"}</option> <option value="sql" {{if $language == 'sql'}}selected{{endif}}>{lang="editor_code_sql"}</option> <option value="xml" {{if $language == 'xml'}}selected{{endif}}>{lang="editor_code_xml"}</option> </select> </div> </div> </div> </form> </div> Would the solution be as simple as changing the null option to be "selected"? UPDATE: Editing this template makes no difference to the drop-down and the options must be coming from elsewhere? This would make sense because the options on the actual drop-down don't match those shown in the template:
  2. By default, the syntax highlighting in code blocks is set to HTML. This may be OK for the majority of forums, but if a forum is a special interest group for a different code language, users must set the value every time they use a code block. Is there a way to change the default to something other than HTML, even if it's "No Syntax Highlighting"?
  3. Thanks for your observations on this. It's entirely possible that my perception of the hosting sector is incorrect - it seems to me that migration to LiteSpeed is accelerating. Wikipedia note that LiteSpeed was nowhere in July 2018 (less than 1%) but had 3.9% market share by February 2019. Will be interesting to see what the market share figures look like in 12 months time. https://en.wikipedia.org/wiki/Web_server#February_2019
  4. As a follow-up, I've been doing some research on LiteSpeed and it's support on other applications. Naturally, there is support and dedicated cache plugins for popular apps like WordPress, Joomla, Drupal etc. But what interested me is that those forward-thinking folks at Xenforo are also supporting LiteSpeed with a dedicated cache plugin and the results sound impressive. Hopefully, the Invision team will start to take LiteSpeed seriously in the near future 🙂
  5. It sounds as though I've just been lucky. Would be interesting to know what percentage of IPBs are now running on LiteSpeed. From my tests, the forum now runs much faster than it did on Apache, even with cacheing enabled. I hope this is something the dev team are looking at for the future.
  6. I've just moved my Invision Community (v4.4.6) to a new hosting platform, based on the LiteSpeed server. Everything appears to be running correctly without the need for any tweaks and I just checked this forum to see if anyone else has experience of running IPB under LiteSpeed. Mostly what I found is the support team saying that LiteSpeed is non-standard and therefore any problems experienced are to do with the hosting platform and not with IPB. That worried me a little and I wondered how seriously the Invision Community team are taking LiteSpeed, which in my experience is rapidly gaining critical mass in the hosting sector. There is absolutely no doubt that it is faster (significantly) than Apache and will continue to gain traction. My question is, how popular must a new technology like LiteSpeed become before it is no longer considered "non-standard"?
  7. Thanks for the response @steve00 Your method works just fine if I want a fresh install using the existing content. However, I want an exact duplicate, including the theme etc. What I'd like to do is copy the local files in order to achieve this but realise that there must be some config changes needed to make this work. The reason for this is that I will be installing some new applications to the suite (downloads and commerce) and I'd like to do a dry-run on a duplicate board so I can theme the new components in keeping with the main board.
  8. I need to build a development board that is a duplicate of my main board but on a different domain on the same server. I know I can create a duplicate database on the original domain and link to it from the dev domain and I can copy all the files from the original folder across to a password-protected folder on the dev domain. Having done that, what changes do I need to make to the database/config files to get everything working?
  9. It would have been really good to have had a heads-up on that change prior to the upgrade. It's really not a good experience to do a minor upgrade from 4.4.1 to 4.4.2 and see your forum layout completely broken. Also, there seems to be some inconsistency in the information provided for this in the Admin CP... Should we use the dollar prefix or not? And there's no mention of "$raw". Could you clarify?
  10. Emails work fine in all other contexts. There are no errors in the email log and the test email is sent and received promptly. I'm wondering if it has something to do with caching. I'm using Redis.
  11. I successfully migrated a vB forum to IPB about a month ago and after a few server tweaks, it is running really well. Members are happy and, in general, everything is pretty fast. However, one action remains painfully slow. When a moderator/admin approves a post in the approval queue, it can take up to 30 seconds for the action to complete and the page to refresh. Considering everything else is pretty quick, this seems very odd. Any idea why this is happening?
  12. The default for syntax highlighting when adding a code block with the editor is HTML. I would like to change the default to "No Syntax Highlighting" but there doesn't seem to be an editor setting for this. How can I make this change?
  13. The Online Users page is great but, having recently moved to IPB from vB, lots of our community members are confused that all they get to see is lots and lots of guests because the main reason for visiting this page is to see who else is online. Of course, there is a filter, which once pointed out, they can use but it would be much better and less confusing if the default filter was "Logged In" and not "All". How can I change the default filter for the Online Users page?
  14. I think you're right about it being a cache issue, it simply resolved itself and now looks fine. Didn't have to use the support tool.
  15. OK, so this is what I know so far, the CodeMirror files are installed with IPS and live at: Install_folder > applications > core > interface > codemirror CodeMirror supports the language I need (lisp) but this is not installed by default. So far, that's about it. If someone could at least confirm that it is CodeMirror that's being used for syntax highlighting I'd be most grateful and if anyone can just give me a hint as to how to proceed, I also be grateful.
  16. This is a strange one... Everything looks fine when the default language English (USA) is used but I wanted to give the option to have dates displayed in the international style (DD-MM-YYYY), so I created a new language and gave it the English (United Kingdom) localisation. Before I'd made any translations, I noticed that some words were missing from the interface when the new language was used. Specifically "and" and "or" but only in certain places. Here's an example: I haven't made any template edits that affect the pages involved, so what's going on? I'm stumped. Curiously, I can't even find the affected strings in the language file, so where are they? ?
  17. Brilliant! Thanks, that's exactly what I was looking for, I hadn't noticed that permissions could be given to each application module. I am liking Invision Community ?
  18. So, I just completed a successful migration from vB4 to IPB and I'm dealing with member expectations. Most love the new environment but a few have voiced concern about the fact that guests can view member profile pages. On our previous platform, that didn't happen. I can't see any setting in the ACP to control group access to member profile pages. Is this even a thing in Invision Community? If this level of control is not available out-of-the -box, I'd like to suggest that it is included as a standard feature in a future version. Having checked Marketplace, I see there is a Profile Privacy plugin that will do what my users are asking for but really, this ought to be a core function.
  19. OK, thanks. I was obviously over-thinking this, but it seems like IPS has it covered ?
  20. OK, is that the rewrite rule in .htaccess that redirects all requests for vB URLs to the new forum homepage? There's nothing smarter than that?
  21. I'm currently planning the migration of a large-ish forum from vB4 to IPS. Inevitably there is going to be a hit on SEO and a drop in organic traffic. Could anyone give me some advice on how to mitigate the hit as much as possible. For example, is there a redirect script/htaccess that will redirect requests from the old vB4 topic URLs to the new IPS URLs? Obviously, I'll be requesting that Google re-crawl the site via Webmaster Tools but, beyond that is there anything else I should be doing?
  22. Ah, hang on, it looks like IPS is now using CodeMirror for syntax highlighting, is that correct? If so, I need to know how to add Common Lisp mode. Any pointers?
  23. Syntax highlighting in IPS has really improved since I last looked at it a few years ago. However, the language I need is not included by default. I need syntax highlighting for LISP and I can see that this is supported in highlight.js, which I believe the Code Snippet plugin uses by default. So my question is, how do I include LISP on the list of available options in my editor?
  24. I've just spent the whole of this week doing a dry-run migration of a vB4 forum with over half a million posts to IPS Forums. I've created a new theme and I've added Adsense ads and all the other stuff that's needed for a successful migration. I've also had a few trusted members take a look at the new forum and received feedback. I thought it would be helpful if I related my initial impressions. First off, I'm really impressed. Moving from vB4, I can hardly believe how thoughtful the design of this software is. I love the ethos of taking the burden away from the admins and mods and, at the same time, providing a great user experience for everyone who uses it. So, five stars for that. Second, I'm also impressed how intuitive (mostly) everything is. I managed to do everything this week with only a few references to the support materials. When I did need that support, the documentation was excellent. So, five stars for that too. Third, I love that IPS Forums looks, feels and functions like a thoroughly modern web application. It's head and shoulders above any other forum out there and I've had some great feedback from my testers - they can't wait to start using the live board. OK, so is everything perfect? No. I'm going to complain about the two things that annoyed me this week. The first is relatively minor but really should be sorted out. The second is (IMO) significant and ought to be a priority for the next iteration of IPS Forums. 1. Theme Editing: There is some ambiguity when setting theme colours. There are two ways of doing this, the Theme Editor and the Easy Mode Editor but they each offer different options for the same elements. E.g. the theme editor allows the user to select a single colour for the header while the easy mode editor allows for the selection of a colour or the creation of a gradient. So which one takes precedent? It's not really clear and although I started using the theme editor, I soon gave up and used only the easy mode editor to avoid any ambiguity. I think this needs to be better thought through. That's not to say that the Easy Mode Editor isn't brilliant, it is, but theme editing is confusing. 2. Advertisements: This is a significant issue. I know this because even vBulletin 4 got this right back in 2009. Like many admins, I use Google Adsense to support my site but I was alarmed to see that the hooks for the default ads are placed in the global template, meaning that the header and footer ads appear on EVERY page, even those with no content and clearly violating Google's terms and conditions. I couldn't believe that an application, so thoughtful and user-centred in every other respect, would not have considered this. The only safe solution I found was to manually edit the template files to add my own custom hook. It's really out of order to expect all users to take such a deep dive into this application just to satisfy the T&Cs of their ad providers. Of course, there are a couple of plug-ins that will prevent ads appearing on some pages but they are not comprehensive and they appear to work by hiding the ad via CSS. This is not a good solution as the HTML ad code still appears on non-content pages. I did a quick search on this forum and found lot's of examples of admins who had received a warning from Google after adding ad code to IPS Forums. In October 2017, @Lindy said "Just to note, we're aware of this concern and are considering solutions such as an option to exclude ads on login, error, register and pages that guests cannot access." As far as I'm aware, there's been no update on this. C'mon IPS! This really needs sorting out. Other than those two, one minor and one major issues. it has been an overwhelmingly positive experience.
  25. Thanks for the heads-up on that. That's the very reason I'm phasing the move over to Invision Community, starting with the forum. I've never used Pages before and I know it's going to take a while to get it straight in my head. I have to say I'm pretty impressed with IPS forum, it's a big step up from vB4 that we've been using since it launched. Do let me know how you get on with your migration.
×
×
  • Create New...