-
Posts
1,373 -
Joined
-
Days Won
1
Content Type
Downloads
Release Notes
IPS4 Guides
IPS4 Developer Documentation
Invision Community Blog
Development Blog
Deprecation Tracker
Providers Directory
Forums
Events
Store
Gallery
Posts posted by AlexWright
-
-
1 hour ago, Andy (FTF) said:
Can anyone advise on how to set the thing up based on the new interface with Amazon?
I have created a bucket but I am stuck on being able to assign a user to the bucket and also creating a policy. This has all changed slightly from the video tutorial where it looked much simpler!
I can try to get a video up later, but here's the general steps:
1. On the user menu drop down, select "My Security Credentials".
2. I selected "continue to security credentials".
3. Select Policies. Create new policy and name it what you like. Under the permissions, select ALL of the s3 permissions (s3 Full Access).
4. Go to groups, create a new one, attach the policy you created to a group.
5. Create a new user, place user into the group you created.
6. Once that user is created, select it and then select Security Credentials. Generate an access key.
Done iirc.
-
2 hours ago, Joel R said:
Watch your billing. As I mentioned, S3 storage is super cheap but the bandwidth costs to your CDN will be expensive.
Will do. Over the last 2 weeks since we switched to s3 and CloudFront, AWS is reporting a $0.10 charge. Heh.
-
13 minutes ago, Joel R said:
As much as you're comfortable with. I try to push as much as I can to S3.
Yeah, we moved everything but the Downloads files over to the s3. It's been fantastic so far.
-
-
38 minutes ago, forumdev99 said:
I haven't been able to figure out where to even begin w/ APA and Rules to make this work..
Maybe I can help or maybe the mod authors can. Essentially I just have Rules which say "When member posts in X app, add new canonical URL of Y". Thats then forwarded on to the APA. But seriously if IPS fixes this, it wouldn't be needed.
-
Here's hoping this is fixed in 4.3...
-
8 hours ago, Joel R said:
Amazon has a calculator to computer storage costs. Make sure you use a CDN because even though S3 is cheap for storage, it's expensive for bandwidth.
iPS has guides on setting up S3.
I'm guessing CloudFlare is the recommended choice? Or are people starting to use Amazon's? Thanks Joel.
-
Hi all,
We are a large image-sharing community and are looking into cheaper options for Storage. I've started to float the idea with the other administrators of storing images off-server and onto Amazon S3. Is this a good idea? And if so, what storage settings should be on the S3, and which should be server-side?
Thanks,
Nowe
-
12 hours ago, Optic14 said:
Hi @Lord Nowe thanks for advising the furl.json workaround
Does this workaround also update the URLs that are generated in the IPS sitemap?
That would be my only concern.
It should update all associated furls, though you may want to check them.
-
1 hour ago, forumdev99 said:
I am able to change a couple of them, actually, so let's focus on one in particular that won't change:
I need this URL /forums/topic/{#id}-{?}
..to look like this: /topic/{#id}-{?}
But when I change it and save, it reverts back to: /forums/topic/{#id}-{?}
In /applications/forums/data/furl.json it looks like this:
"forums_topic": { "friendly": "topic/{#id}-{?}", "real": "app=forums&module=forums&controller=topic", "verify": "\\IPS\\forums\\Topic" },
..are you able to change this specific URL in your board?
BTW I am running IPSv4.2.5
The issue here is the top-level portion of this, the "topLevel": "forums", bit will always be included in any URL while inside of the Forums app. I do not believe this part can be changed while this current bug persists.
Edit: On 2nd thought, this might be able to be done by using the "Rules" and "URL Paths" addons:
You would probably be able to do this with these two applications. There is an APA-Lite, but that only supports up to 25 URLs IIRC.
-
On 10/11/2017 at 7:32 PM, forumdev99 said:
I tried editing /applications/forums/data/furl.json as suggested, and cleared cache via support system, and unfortunately, the URLs still can't be changed.
They revert back to the default when I change them in the 'friendly URLs' section of ACP, and they reflect what is in the ACP on the live site.
This is a tough issue as we want to upgrade to 4.x without breaking all of our existing URLs - we already went through that once when migrating from another Forum software and it killed our traffic for a long time. Still not at the level it was before moving to IPS.
Thanks again for taking a stab at this - I'm willing to try anything, and willing to pay someone who can find a hack that works.
Really? I was able to change all of my URLs using this trick.
-
Ok so I've found a way around this, but it's more for advanced users. @forumdev99, this should work for you:
For FORUMS: Find the folder public_html/applications/forums/
Open up the furl.json in your chosen editor (I use Brackets). Inside this file, you should find the following code:
/** * Friendly URL Structure * * For each value in the $furl array: * The key should be the "SEO Template" - an identifier which you'll use when displaying a URL. * The value should be an associative array with two or three elements: 'friendly' and 'real', and optionally 'verify': * 'friendly' * The friendly URL to use - encase variables in {curly braces} containing a symbol, followed by the name of the parameter that matches in the "real" URL * The symbol should be # for numbers or @ for strings * For example, if the "real" URL contains id=XXX, where XXX is a number, you should include {#id} somewhere in the friendly URL. * You can also use the tag {?} for the "SEO Title" (that is, any variables that shouldn't be part of the real URL, such as the name of the topipc being viewed). * If you want to support more than one SEO Title, you can give them zero-indexed keys like so: {?0} {?1} {?2} * 'real' * This should be the base of the real URL. You should not include parameters which will be parsed out from the friendly URL. * 'verify' * This should be the name of a class that contains a loadFromUrl() and an url() method. The dynamic URL (i.e. app=core&...) will be passed to loadFromUrl(), and the url() * method will subsequently be called to retrieve the correct URL, ideal with ActiveRecord pattern classes. * * IMPORTANT: Ensure values are listed with the most specific ones first. This is to ensure that non-FURL redirects are done correctly. For example, if you have these FURLs: * /index.php?app=myapp&module=mymodule&controller=mycontroller&do=myaction -> /myfolder/myaction * /index.php?app=myapp&module=mymodule&controller=mycontroller -> /myfolder * They must be provided in that order, otherwise the former will redirec to /myfolder/?do=myaction rather than /myfolder/myaction */ { "topLevel": "forums", "pages": { "forums_rss": { "friendly": "forum/{#id}-{?}.xml", "real": "app=forums&module=forums&controller=forums&rss=1" }, "forums_forum": { "friendly": "forum/{#id}-{?}", "real": "app=forums&module=forums&controller=forums", "verify": "\\IPS\\forums\\Forum" }, "topic_copy": { "friendly": "topic/{#id}-{?}/copy", "real": "app=cms&module=database&controller=topic" }, "forums_topic": { "friendly": "topic/{#id}-{?}", "real": "app=forums&module=forums&controller=topic", "verify": "\\IPS\\forums\\Topic" }, "forums": { "friendly": "", "real": "app=forums&module=forums&controller=index" }, "topic_create": { "friendly": "submit", "real": "app=forums&module=forums&controller=forums&do=createMenu" }, "topic_non_forum_add_button": { "friendly": "startTopic", "real": "app=forums&module=forums&controller=forums&do=add" } } }
The things to change here would be the "friendly" parts. For instance, to change it from yoursite.com/forums/ to yoursite.com/forum/, replace "topLevel": "forum".
This is in the same location for -all- installed applications. After reuploading the file to the same place, you will need to run "Something isn't working" in your "System -> Support" page. After that, you can edit or install language files to deal with the rest of it.
Regards
-
Bumping, as this still isn't fixed.
-
3 hours ago, Adriano Faria said:
This is NOT fixed in 4.2.
Concurred. Any ideas on when this'll be fixed?
-
3 hours ago, Adriano Faria said:
This is NOT fixed in 4.2 yet. I suggest you to create a bug report and bump that topic.
Shame. Will do.
-
Just now, Adriano Faria said:
That's an okd bug in the core and happens with any app. See:
Hope it's fixed in 4.2. I'll teste it tomorrow.
Ah, cheers. I figured as much, as I had found that topic earlier. Here's hoping!
-
Sorry, another (probably not quick) question. Is there a way to rename the app from "Classifieds" to "Commissions" in the URL? We've managed everything else in the language file changes, I think. Editing the FURLs to /commissions/ just changes them to /classifieds/commissions. Thanks again Adriano!
-
2 hours ago, Adriano Faria said:
That's it. Remove both files from applications/classifieds/hooks and then go to ACP -> System -> Support -> Something isn't working correctly and run the tool.
Menus will not appear anymore.
Perfect, thanks!
-
Hi there, we just purchased this application for our suite. Is there a way to disable the member dropdowns?
I think it's these two hooks:
clUserBar.php \IPS\Theme\class_core_front_global clMobileNavigation.php \IPS\Theme\class_core_front_global Thanks!
-
49 minutes ago, Ryan H. said:
No, it does not have such a feature, and I don't have any plans to add it at this time. Unless we were just hiding rows (so pages could have less than 20 records, or whatever the case), the performance penalty would be tremendous.
Thanks.
That would be the general plan. I don't mind displaying less than 20 records per page in the forums. Though my thought was more for the Gallery.
-
Greetings @Ryan H., I am wondering if this system can allow users to White List or Black List certain tags from appearing as content for them? If so, that is amazing and I will be looking into getting this system for our site. If not, would it be possible to add?
Many thanks.
-
I'd also support this. Would certainly be useful for repeat offenders.
After more thinking actually, perhaps something such as this:
Report From: User1
Report Against: User2/Post #
This user has been reported X number of times.
[Links here to the other reports]
Issues/Report Here -
Ah, that seems to have done it...Why I don't read the blogs is beyond me.
Thanks all,
Edward -
Wondering why I'm set back to a member? I've got an active license for IP.Board, and was looking for support before I was going to send a ticket in, but now it appears (for the moment at least) that I will have to submit a ticket instead.
Recommend Usage of Amazon S3?
in Classic self-hosted technical help
Posted
Yeah, but I find the Full Access covers everything (IE: Full read/write access, which is useful if users replace images/reupload images etc).