- Kategori: Joomla
The picture demonstrates the change after blocking the 4 worst bad bots 23 jan
Almost since start for 19 years ago viska.se has had capacity problems and that the site was often overloaded.
The site is pretty big 500 000 forum posts and almost 10 000 articles.
There has been a lack of CPU. memory and on the last two web hosts there has been a message about resource limit instead of the page you clicked on.
There have been thousands of visitors to the site as well.
I have looked at homepages with advice on how to speed up a Joomla site. Those solutions did not help me at all and almost no change.
In the end I found that there were some bots that were unnecessary that stole almost all the resources, even though a couple of them were banned in .htaccess.
The bots that stole resources were mainly AhrefsBot (10x more than GoogleBot), SemrushBot (as last). MJ12bot and BLEXBot.
- Kategori: Joomla
Note: With Framework7 v4 you can build web apps with Framework7 with webpack. Note that when you build a web app it's located in the www folder. It is better with such a web app as you can use HTML-code in the app.
The React system is developed by Facebook. Framework7 React is javascript based, but you can easy build it as a webb app so ios, PC and android can view the app like this at your homepage: https://www.viska.se/app
Framework7 React is in a way simpler to use than ordinary Framework7, but less powerful.
Here you can download the Framwork7 React template here:
- Kategori: Joomla
Updated: 24 February 2019
Viska-appen for android.
Framework7 v4 has recently arrived. It is different in installation and you can install Framework7 Cordova with webpack also. If you use webpack you can build web apps very easy and identical to apk-package. Note: The html code is no longer in index.html but in src/pages/home.f7.html. There are some other differences like V4 does only work for android 5+, but the webb app works for android 4.4. If you build a web app you find it in www folder this time.
Make an smartphone app for displaying Joomla articles.
I have no experience of making apps, but I have succeded to make two apps.
I choose Framework7, but you have two choices either: 1/ Framework7 with HTML-code that I found most powerful. You can build apk if you install Android Studio, but if you want to build ios you must have a Mac lso or 2/ Framework7 React that is javascript based but you can easy build it as a webb app so ios, PC and android can view the app like this: https://www.viska.se/app
Framework7 har several templates, so I choosed Singe View that seemed simple.
- Kategori: Joomla
Toad program with a script that you execute where the arrow is
As JFusion is no longer supported the alternative is to buy p8pBB bridge for 60 USD in worst case each year if your want to use phpBB 3. Many thinks this is too expensive, but it is possible to convert the phpBB3 database to a Kunena database in a rather short time and rather simple. With this procedure conversion not only from phpBB 3.0, but also 3.1 and 3.2 has been successful.
My forum:
phpBB 3.0.14
660 000 posts
50 000 topics
2800 members
phpbb_posts table 700 MB
- Kategori: Joomla
New! Added support for PHP 7 and above. Updated 28 nov 2018
For Joomla there is only one quiz extension that is free – Ari Quiz Lite.
If you need a point based quiz you need to buy a quiz extension or construct a quiz with the Fabrik component or using HTML with javascript and put in an article.
Fabrik is complex and difficult to use, but if you know exactly what to do, it will take only 20 minutes to make a quiz and like using buyed quiz component.
If you don't know how to make a quiz in Fabrik it can take weeks to figure out. I asked in the Joomla forum how to make a quiz with Fabrik and noone knew and I was recommended to buy a quiz extension instead as it was so difficult.
First download and install Fabrik and also the calculation element plugin. Remember to enable the calculation element plugin.
Make a form for your quiz. Remember to put introductory text for the quiz in Introduction space for the form and not in the list. Here is the tutorial to create list/form. I prefer in Form settings > Layout to Label and Label position to Above rather than Left if I use Bootstrap.
Now go to Elements in Fabrik. Click on internal id and date Show in List disable (red)
Click on New (element):
Choose plugin: radiobutton
Name: butt1
Label: The first question for the quiz
Group: the name of your form/list
List view setting: Show in List: Yes.
Suboptions:
Here are your radiobuttons value is the point for each answer and label is the text to the button.
Create the number of buttons you need for the quiz.
Options per row: 1 means all buttons horizontally and if you put the number of buttons you have they are vertically.
If you need more than one line of text for the question. Click on Options to the write and choose Forms > WYSIWYG editor for element labels to Yes. The Label then becomes an editor.
Then Save and Close
Now you have created the first question with radio buttons.
If your second question will use identical radiobuttons with identical points and labels.
Open butt1
Name: butt1 change to to butt2
Label: Change to second question.
Then Save as Copy. Proceed so for all questions for the quiz.
Each question must have a separate entry in database.like butt1, butt2, butt3 etc.
If each question have different values or labels for suboptions. You must create a separate entry for each question like described above.
When all questions are ready create a menu item for the form, so you can look if the questions and radiobuttons are OK at front page for your site.
Now if you need calculation of points for your answers.
Click in Elements for New.
Plugin: calc
Name: calc
Label: Sum points:
Group: Fill in group
Click on More:
Calculation:
return
{add___butt1_raw}+
{add___butt2_raw}+
{add___butt3_raw}+
{add___butt4_raw}+
{add___butt5_raw}+
{add___butt6_raw}+
{add___butt7_raw}+
{add___butt8_raw}+
{add___butt9_raw}+
{add___butt10_raw}+
{add___butt11_raw}+
{add___butt12_raw};
You have to change this for your number or questions.
For usage PHP 7 you have to change all {add___butt1_raw}+ to (int)'{add___butt1_raw}'+ (but don't for Ajax observe fields).
In addition Form with ID 1 will not work for ajax calculation. You can in List view Copy it to a slightly other name and then open the calcs to activate them an then it will work, because it gets another ID than 1.
Ajax calculation: Change to yes.
Ajax observe fields:
'{add___butt1},
{add___butt2},
{add___butt3},
{add___butt4},
{add___butt5},
{add___butt6},
{add___butt7},
{add___butt8},
{add___butt9},
{add___butt10},
{add___butt11},
{add___butt12}'
You have to change this to your number of questions.
List view settings: Show in List change to Yes.
Save and Close.
Now only one things remains an explaination of test results under the sum for points.
Create New element: display
In box Options default:
Put text like 1-10 point bad
11- 20 points not so bad etc
Then fill all thats needed for an element like described above.
Your quiz is now ready and when you click on all answer buttons the sum is thanks to ajax directly calculated and you dont need to click on Save. In forms you can create a Reset button and disable the Save button. These things is of course, when you use the quiz in frontend of your site. See the quiz made.
You can make the quiz differently and not using Ajax and instead use Save button, But then you must Reload the page (fixed in the form area) and then hiding question elements and then showing text answers, but you have to Google for that. Needs some javascript to work.
- Kategori: Joomla
PH2NewMob is a responsive template i.e also for smartphones, created by viska.se for Joomla 3.x based on the popular PH2-theme for PHP-Nuke.
Earlier this PHP-Nuke template has been converted to Joomla 1.5 , 2.5 and Joomla 3.x by viska.se.
This is a total remake with Bootstrap to make it more modern, responsive, menu to right and easy to work with for Joomla 3.x
The logo is available as yourlogo.jpg (templates /images folder) without text, so you can easy adapt it to your site. This logo is a single image, so it does not have the multiple image design as earlier Joomla PH2 templates. If you want clickable buttons use PH2New33 instead.
This template has 1 bug fix made by viska.se that also can be used for Protostar template. Read more below.
Updated with improved menu position. 8 september 2015
Updated with some css-fixes. Works with Joomla 3.9. 17 november 2018
Läs mer: Block bad bots simplest way to increase speed of my Joomla site