Jock3r
-
Posts
95 -
Joined
-
Last visited
Reputation Activity
-
Jock3r got a reaction from Nathan Explosion in Forum Upgrade from IPB3 to lates, reactions broken
That worked as expected, thank you. That was what I was looking for.
-
Jock3r reacted to Nathan Explosion in Forum Upgrade from IPB3 to lates, reactions broken
Have you tried clicking on the delete icon yet? Because it gives you an option to perform...
-
Jock3r got a reaction from Meddysong in Friendly URL issue on REST API endpoint
Hello there,
I am currently experiencing an issue setting up the REST API on a test forum. The issue is that when I got to AdminCP > REST & OAuth and do what it asks me for I keep getting "The API endpoint is not giving the expected response. Check you followed the instructions correctly. The URL being tested is: https://www.testforum.example/api/core/hello"
I have uploaded the .htaccess file it asked me to to the given directory(/api), I also have Friendly URLs enabled, I do not have index.php anywhere on the forum, however on the /api endpoint the index.php is needed inorder to access the urls. When I first visit www.testforum.example/api I get the error I should have regarding the api key not being there, however when I add /api/core/hello I get the 404 IPS error page, but when I do /api/index.php?/core/hello I get the noapi key invalid error again. Moreover, /api/?core/hello looks to be working fine but I still cannot get to pass that error page to generate a key.
I am currently using the default nginx config provided here
PHP Version: 7.4
Mysql Version: MariaDB 1.1.48
and I have also used the PHP-FPM config provided on the thread as well.
Does anyone have any idea what could the issue be?
EDIT: I have solved the issue, looks like I did not setup the nginx config properly for the api endpoint.
For anyone ever coming up with the same issue you may want to add this or anything similar to your nginx config:
# IPS API location /api/ { try_files $uri $uri/ @api; } # IPS API LOCATION location @api { rewrite ^ /api/index.php?$args last; }
-
Jock3r got a reaction from IP-Gamers in IPB3 to latest IPS version database related upgrade
Hello there,
I am planning on upgrading an already established community of over 4m users, 30m posts, 15gb DB from IPB3 to the latest version.
The current plan is move db to test environment, run upgrade to IPS4 and then start upgrading apps/plugins and everything. However the main site will still be running on IPB3 until that process is done. My current concern is about transferring over the database after the IPS4 is ready.
What do you think would be the best course of action to achieve? My idea would be to get everything done on the test environment and when the time is right, we will try to merge the IPB3 database with the "newly" made one that supports IPS4. However that may bring more issues and may be more of a pain in the ass to do.
Do you have any suggestions on what course of action would be better and more reliable to achieve that?
PS: The current IPB3 version is heavily edited with many custom plugins/apps.
-
Jock3r got a reaction from Linux-Is-Best in How do I know if a website is using 4.4 or 4.5?
That's something I actually did not know myself. I have restricted access to that file. Same thing goes for applications/forums/data/versions.json etc. (e.g calendars, commerce)
-
Jock3r got a reaction from sobrenome in Google Core Web Vitals / Google December 2020 Core Update
They said that there is a SEO audit coming soon. They will probably take everything into consideration.
-
Jock3r got a reaction from Gabriel Torres in Google Core Web Vitals / Google December 2020 Core Update
They said that there is a SEO audit coming soon. They will probably take everything into consideration.
-
Jock3r reacted to bfarber in Registers an unload listener
We will review this, thanks for bringing it up.
-
-
Jock3r reacted to Gabriel Torres in Lazy load profile pictures on IPS 4.5
After researching about this, browsers have now native lazy loader. We only need to edit the templates to add:
loading="lazy" To all img tags.
I edited the following templates:
core > front > global
reactionBlurb
reactionLog
reactionOverview
reactionTabs
reputation
userPhoto
userPhotoFromData
This enabled lazy loading for user photos and reactions, and the "Defer offscreen images" warning from Google Lighthouse is now gone! 🙂
(I also made the same edit in my cms custom templates)
-
Jock3r reacted to bfarber in Forbidden You don't have permission to access this resource.
Downloads uses the friendly URL path of "/files". Do you happen to have an actual folder on your server named "files"? If so, Apache would route the request to that folder and the request would never make it to our software - the solution would be to rename that folder to something else.
-
Jock3r got a reaction from pequeno in Move my forum folder to root site. How to do it?
This can be done with a Page Rule if you by any chance use CloudFlare for your DNS/CDN.
-
Jock3r got a reaction from sobrenome in Amazon SES API For Sending Mail
That's great news, been waiting for that for a while now. Time to move from SendGrid
-
Jock3r got a reaction from SC36DC in Forbidden You don't have permission to access this resource.
Uhm, is it a managed server or do you do everything on your own? Managed means that the VPS/Dedicated Server you have is managed by employees of your hosting.
-
Jock3r reacted to Jon Erickson in Amazon SES API For Sending Mail
Service refers to the software being used in this case. So in AWS, you will have a Wordpress user with their own credentials and a separate IPB user with their own credentials.
-
Jock3r got a reaction from Gauravk in Server side OS choice
I would say that this subject still remains a preference to the Server Administrator. Each one of them has their pros and cons, but at the end of the day, it depends on what the Server Administrator feels more comfortable with. Regarding stability I would say both Ubuntu and CentOS are pretty stable and wont be EOL anytime soon.
-
Jock3r got a reaction from Alexandr.P in Advanced Configuration
Ask your hosting provider if it's a managed server that you are using. However, if you are using an un-managed hosting then all you have to do is the following:
crontab -e Then you have to add the following row on the document that will open on the command line:
* * * * * (/usr/bin/php -d memory_limit=-1 -d max_execution_time=0 /path/to/your/forum/applications/core/interface/task/task.php therandomhashyougetwhenclickingoncronoption) Then close it and save it.
-
Jock3r got a reaction from pequeno in Move my forum folder to root site. How to do it?
I assume that you have done all of steps that Jim has suggested above. The process is the same, however if you have the knowledge for it, you would need to edit the nginx/apache configs and .htaccess accordingly.
First off,
Make sure to change any RewriteConditions on .htaccess from /foro/ to just /. There may be some of them on the main .htaccess file you can find on the Invision Community Marketplace. Regarding your apache/nginx configurations, I would suggest getting someone that knows how the software works and working with them as it can vary depending on your configuration. -
Jock3r got a reaction from Steve Bullman in Automatic backups
If it isn't a managed server then you can set it up with a cronjob.
#!/bin/bash BACKUPTIME=`date +%b-%d-%y` DESTINATION=/root/backup/backup-$BACKUPTIME.tar.gz echo "Creating backup of database to $SQLDUMP" mysqldump --single-transaction --quick --databases forum | gzip -9 > $DESTINATION echo "Dump Zipped up" echo "Uploading zipped dump to the Amazon S3 bucket…" nice -n 10 ionice -c2 -n 7 s3cmd put $DESTINATION s3://cdn.myforumDB-backups/ echo "Removing the backup file $SQLDUMP" rm $DESTINATION echo "WooHoo! All done" And for files I have this
#!/bin/bash BACKUPTIME=`date +%b-%d-%y` DESTINATION=/root/backups/backup-$BACKUPTIME.tar.gz SOURCEFOLDER=/srv/http/forum/root/html nice -n 10 ionice -c2 -n 7 tar -cpzf $DESTINATION $SOURCEFOLDER echo "Uploading zipped dump to the Amazon S3 bucket…" s3cmd put $DESTINATION s3://cdn.forum/Files-backups/ echo "Removing the backup file $SQLDUMP" rm $DESTINATION echo "WooHoo! All done"
-
Jock3r got a reaction from BomAle in Automatic backups
If it isn't a managed server then you can set it up with a cronjob.
#!/bin/bash BACKUPTIME=`date +%b-%d-%y` DESTINATION=/root/backup/backup-$BACKUPTIME.tar.gz echo "Creating backup of database to $SQLDUMP" mysqldump --single-transaction --quick --databases forum | gzip -9 > $DESTINATION echo "Dump Zipped up" echo "Uploading zipped dump to the Amazon S3 bucket…" nice -n 10 ionice -c2 -n 7 s3cmd put $DESTINATION s3://cdn.myforumDB-backups/ echo "Removing the backup file $SQLDUMP" rm $DESTINATION echo "WooHoo! All done" And for files I have this
#!/bin/bash BACKUPTIME=`date +%b-%d-%y` DESTINATION=/root/backups/backup-$BACKUPTIME.tar.gz SOURCEFOLDER=/srv/http/forum/root/html nice -n 10 ionice -c2 -n 7 tar -cpzf $DESTINATION $SOURCEFOLDER echo "Uploading zipped dump to the Amazon S3 bucket…" s3cmd put $DESTINATION s3://cdn.forum/Files-backups/ echo "Removing the backup file $SQLDUMP" rm $DESTINATION echo "WooHoo! All done"
-
Jock3r got a reaction from AlexWebsites in How to Shut Off Admin Upgrade Notice?
I have to say that this message is also annoying me. Do not get me wrong, I do plan to upgrade but not yet, since I mostly use custom applications and theme. They would all have to be updated for 4.5 and that's gonna take some time as devs are pilled up with stuff due to corona and due to other orders. I would also want to know if there is any way to hide that.
-
Jock3r got a reaction from SJ77 in Escrow System Custom Application
Hello,
Looking for someone with knowledge of how Bitcoin and Ethereum works to make me an in-site escrow system.
-
Jock3r reacted to Morrigan in Signature Font-Size
You can't disable the WYSIWYG editor BUT you can limit height of signatures by adding this to your custom.css:
[data-role="memberSignature"] { max-height: 430px; overflow: hidden; } It's what I do on my site because I have a max-signature height rule of 400px (because people go crazy with images too loves, even if they get just one). You have to add the extra 30px because it includes the hr and margin in the section so they get their true height.
-
Jock3r got a reaction from CoffeeCake in Signature Font-Size
Hello there,
I am currently facing an issue with signature's font-size not having a server-side check to prevent signatures like that
The font-size shown here is 2000px and someone can manage to do that by simply editing the request sent when you save the signature. Is there anything to do to limit this?