TSP

+Clients
  • Content count

    6,429
  • Joined

  • Last visited

  • Days Won

    6

TSP last won the day on February 21

TSP had the most liked content!

About TSP

  • Rank
    Frequent Contributor

Contact Methods

IPS Marketplace

  • Resources Contributor
    Total file submissions: 9

Profile Information

  • Gender
    Male
  • Location
    Norway

Recent Profile Visitors

105,408 profile views
  1. Version 1.0.0

    21 downloads

    This plugin will disable the updating of advertisement impressions within the Invision Power Suite. Most third-party advertisement integrations already handles impressions counting. This plugin will remove one database query from each page load where advertisement spots defined in the advertisement setup in Invision Power Suite are present. Features: No settings. One language string. One informative message in the Advertisement area. Plug and play. Install it by simply uploading the .xml in the Plugins-section of your admin panel. No bugs. (Faults in grammar or spelling does not count) Please note: This plugin does not disable form options related to impressions or the display of "Impressions" in the advertisement list or any other areas (for example in Commerce) where it may display. There is however a message reminding you about the presence of the plugin in the Advertisement setup area in the admin control panel.

    Free

  2. Yes, it would have been much easier if IPS simply improved the HTML/PHP logic behind this, but that seems unlikely. So I had to just make some slow javascript script, yey I updated the script a bit and hosted it github now: https://github.com/prebenlm/misc-code/blob/master/custom-js/invisionpower.com/theme_differences_improvements.js EDIT: I updated it once more. Color coded added/deleted templates EDIT: Updated it once more
  3. Fine. Since you're not doing anything. (See updated images below) Behold my magnificient and heavy Javascript: https://github.com/prebenlm/misc-code/blob/master/custom-js/invisionpower.com/theme_differences_improvements.js You'll have to wait a while for the javascript to finish executing. Custom javascript installed for this domain with the Chrome plugin: https://chrome.google.com/webstore/detail/custom-javascript-for-web/poakhlngfciodnhlhhgnaaelnpjljija EDIT: Updated script
  4. Unfortunately I see the same in terms of performance. IPS 4.1 requires a lot more resources than IPS 3.4, in my experience. As far as I've been able to investigate it seems the system spends a substantial amount of time with the language system. And because IPS made the forum names able to have language specific names, a lot of node items will likely contribute to slower loads as there are more language strings that needs to be parsed out. It's frustrating, because in my case I only need the forums etc. to be in one language. The community I'm seeing this on has 15 million+ posts and thousands of visitors visiting at the same time.
  5. Yes. I feel there is some other error messages as well that should just redirect. Not that I can immediately come up with anything. But for example on IPS 3 I've sometimes had reports of members saying they got an error saying "Something wrong happened with the login process", and then in the image they send me it shows them as being logged in. And when I confront them with it, they say "Yeah, I could actually browse the site fine after that". If a member is already logged in and that's why the login process screwed up, then don't mention it, and just redirect them. Likewise, as colonel_mortis suggests; when the account already has been validated and they click the validation link again; simply redirect them.
  6. You've done it again. Can you please group your queries against the same table? On a test database I set up your approach takes approximately 22 minutes. Reinstalling that database however, and then instead making two queries: one for the columns and one for the indexes, makes it take just 6 minutes. Here is the case where I follow your instructions blindly: mysql> ALTER TABLE `core_reputation_index` ADD COLUMN `rep_class` VARCHAR (100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL ; Query OK, 0 rows affected (4 min 41.84 sec) mysql> ALTER TABLE `core_reputation_index` ADD COLUMN `lookup_hash` VARCHAR (32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'MD5 hash of app,type,item_id'; Query OK, 0 rows affected (5 min 0.60 sec) mysql> ALTER TABLE `core_reputation_index` ADD COLUMN `lookup_type_id_hash` VARCHAR (32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'MD5 hash of app, type, type_id'; Query OK, 0 rows affected (4 min 58.45 sec) mysql> ALTER TABLE `core_reputation_index` ADD KEY `rep_class` (`rep_class`); Query OK, 0 rows affected (29.33 sec) mysql> ALTER TABLE `core_reputation_index` ADD COLUMN `item_id` INT (10) UNSIGNED NOT NULL DEFAULT 0 ; Query OK, 0 rows affected (5 min 33.85 sec) mysql> ALTER TABLE `core_reputation_index` ADD KEY `hash_lookup` (`lookup_type_id_hash`,`rep_date`); Query OK, 0 rows affected (38.99 sec) And here it is when I group them: mysql> ALTER TABLE core_reputation_index -> ADD COLUMN `rep_class` VARCHAR (100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL, -> ADD COLUMN `lookup_hash` VARCHAR (32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, -> ADD COLUMN `lookup_type_id_hash` VARCHAR (32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'MD5 hash of app, type, type_id', -> ADD COLUMN `item_id` INT (10) UNSIGNED NOT NULL DEFAULT 0; Query OK, 0 rows affected (4 min 44.09 sec) mysql> ALTER TABLE `core_reputation_index` -> ADD KEY `hash_lookup` (`lookup_type_id_hash`,`rep_date`), -> ADD KEY `rep_class` (`rep_class`); Query OK, 0 rows affected (1 min 6.29 sec)
  7. Please? Filter options would make this page immensely more helpful.
  8. If you could send me more details in a personal message with a link to a post like that on your forums, then that would be appreciated.
  9. Sorry for my delayed reply, I'm rarely on this community anymore. I missed the post from ResPecT My Authoritah. I'm not entirely sure what issue he is talking about, last time I checked everything worked as it should. EDIT: If there is any bugs, I will work to resolve them for you.
  10. You are not properly reading what he has written. He is missing the go to first unread link that was within topics. He is not asking for going to first unread link in lists of topics at all.
  11. How about letting us fill in an optional name of your choosing as one of the options? It would both change the name to make them "anonymous", but also make it easier to distinguish deleted members.
  12. Could the IP-address search also find error messages associcated with the IP address please? Otherwise, good changes, but I'm still of the opinion that you need to work on the report center. This piece of feedback for example is still relevant: «The report center shows all reports by default, even completed ones. Which is different from 3.X. Moderators want to only have the non-completed reports listed when they go to the report center. We can easily receive 30+ reports a day.» And let me say that on normal days it receives more than 50 reports, actually. (And that's not the same post reported twice, but all different posts) At the moment I've had to hack in (it's not hookable part of code without copying whole code sections) so it only displays active (under review and new reports) reports in the list, because it's absolutely unworkable for them otherwise when active reports are mingled with finished ones.
  13. «You can define the default view and how many members to show which is helpful to tailor it to your needs. Also notice the » Notice what, @Charles? I also find it a bit unclear why they are leaders from the leaders presentation. If it's based on the amount of likes during a given time period, then the amount of likes during that time period should be presented more clearly and given more space in my opinion.
  14. I've earlier shared some thoughts on this: Not something I would want IPS to spend time on.
  15. There isn't, but I would like this as well.