Links first before the context:
https://github.com/thedoggybrad/thedoggybrad/tree/main/experiments/speedtest (Folder View)
https://github.com/thedoggybrad/thedoggybrad/raw/main/experiments/speedtest.zip (ZIP)
I have gained a copy of https://www.opensource-socialnetwork.org/component/view/5254/google then I modified it and attempted to make a speedtest thing based on the same code. Now, I have some problems or rather big problems. It does not work, just a gray screen. I just need some help. I am willing to give credits for those who can help me make this component work. I mean everything matches, I have reviewed the code but still was not able to fix it. Also, the icon does not work.
History before I go to the gray screen:
1.) Before I edited the code it says HTTP Error 404.
2.) After matching the values of each declarations and folders it just show a gray screen.
Hope that anyone can help me.
Lastly, I am using the OSSN v 7.0.
I was able to fix it and it is now working, the issue is not this:
$guid = $pages;
but simply because something does not match, so I have just inserted the word and exactly "speeedtest" in every field that uses spte and etc. and it works. After a few more tests I shall publish it here on OSSN components projects.
Just got it from the component I modified which is the Google component.
Here's the link to that:
https://www.opensource-socialnetwork.org/component/view/5254/google
You were asking for help.
So simply answer my question.
Why did you code that line?
$guid = $pages;
Language: com:ossn:smt
ossnextendview('css/ossn.default', 'css/speedtest');
css file is speedtest.php
define('OSSNSpeedtest', ossn_route()->com . 'speedtest/');
'url' => ossn_site_url('speedtest/spte'),
(spte is the spte.php file)
$title = ossn_print('com:ossn:smt');
$contents['content'] = ossn_plugin_view('pages/spte', array( 'speedtest' => $guid
ID: speedtest
I think there is something wrong here. But does know what is that.
Got a blank page, too. ;)
And actually your code is difficult to understand. To start in the com file with:
$guid = $pages;
What is that good for? Please explain.
Sorry @Arsalan Shah for that.
Please don't post your code here you already posted on above URL so wait for someone to look.
By the way:
root = speedtest
And there are all the codes of my component that I was trying to develop. Hope that someone can help me.
I do believe that there is something wrong on my ossn_com.php file but was not able to solve it yet or find it.
Why I have said that?
I redownloaded a new copy of the Google component and then I pasted my code from pages/spte.php to the pages/search.php of the Google component and surely it works on the modified Google component. But my fork (developing component) is not working entirely. I don't know why. I think I shall post the codes here.
Due to the many requests in the past for additonal features and components we have decided to develope a premium version. Features like Hashtags, Videos, Polls, Events, Stories, Link Preview, etc included in it.
$199 (Life Time)