@x00 said:
If url schemes were all literal every search result, or discussion would need a corresponding physical file.
Yea I get that, stupid comment on my part.
I used the url that you specified but I still get the error message so presumably that means I'm either pointing to the wrong place or have put the files in the wrong place yes?
Would it help if I outlined my folder structure for my install or can you see that already?
Yup I did that already so I'm happy it can be found on that link, the challenge for me now is how to enter the link into the script tha hgtonight provided so it shows up. The issue I have is that I have tried the link you suggest and a number of variations to it and I always get the "Error retrieving post list: error"
@ahughes3 said:
Yup I did that already so I'm happy it can be found on that link, the challenge for me now is how to enter the link into the script tha hgtonight provided so it shows up. The issue I have is that I have tried the link you suggest and a number of variations to it and I always get the "Error retrieving post list: error"
Use http://www.virginatlanticvirtual.co.uk/forum/module/latestpostlistmodule.
That's what I am wondering. Although I think it is the same origin, maybe I am wrong. I will post a couple of images showing the location of the files, then maybe that will help identify what's wrong. Firstly I will try and explain how the files are set up.
// This will need to be changed to match your forum
$.get("//localhost/forum/module/latestpostlistmodule")
Do not simply copy and paste, but also read and understand - at least read and follow the instructions... // This will need to be changed to match your forum means that the next line must be http://www.virginatlanticvirtual.co.uk/forum/module/latestpostlistmodule in this case.
I think it would help to start simpler. Just start with a basic html page, with only the resources you need. hgtonight has provided an example follow that.
Comments
Yea I get that, stupid comment on my part.
I used the url that you specified but I still get the error message so presumably that means I'm either pointing to the wrong place or have put the files in the wrong place yes?
Would it help if I outlined my folder structure for my install or can you see that already?
@Jonathan W @hgtonight @x00
Just to say also, I really do appreciate the time and support you're giving to a noob like me. I suspect it must be a wee bit frustrating at times
if you click on this link you can see it exists
http://www.virginatlanticvirtual.co.uk/forum//module/latestpostlistmodule
grep is your friend.
Yup I did that already so I'm happy it can be found on that link, the challenge for me now is how to enter the link into the script tha hgtonight provided so it shows up. The issue I have is that I have tried the link you suggest and a number of variations to it and I always get the "Error retrieving post list: error"
Use
http://www.virginatlanticvirtual.co.uk/forum/module/latestpostlistmodule
.Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
Maybe it is not same origin.
grep is your friend.
That's what I am wondering. Although I think it is the same origin, maybe I am wrong. I will post a couple of images showing the location of the files, then maybe that will help identify what's wrong. Firstly I will try and explain how the files are set up.
This is the path to the ajax.js file
http://www.virginatlanticvirtual.co.uk/lib/skins/margo-full-width/js/ajax.js
This is the path to the LatestPostsList (as you already know)
http://www.virginatlanticvirtual.co.uk/forum/plugins/LatestPostList/modules
This is the path to the page where I have the html for the posts to be sent to
http://www.virginatlanticvirtual.co.uk/lib/skins/margo-full-width/layout.php
Below is the main folder structure on the server
Does that help at all? I know it's me doing something dumb, just too dumb to work out what it is
That should satisfy same origin policy.
What error are you receiving?
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
You have php errors hence the page is not loading fully.
Around
I suspect it is erroring out on whatever php determines the src.
grep is your friend.
I don't see that. If I view page source, I see all the scripts as they should. Where did you get that from?
@hgtonight - I always get the "Error retrieving post list: error"
Look at the script: http://www.virginatlanticvirtual.co.uk/lib/skins/margo-full-width/js/ajax.js
Do not simply copy and paste, but also read and understand - at least read and follow the instructions...
// This will need to be changed to match your forum
means that the next line must behttp://www.virginatlanticvirtual.co.uk/forum/module/latestpostlistmodule
in this case.http://www.virginatlanticvirtual.co.uk/lib/skins/margo-full-width/layout.php
It is a fragment, no body invalid links. You may have a cached page.
grep is your friend.
I think it would help to start simpler. Just start with a basic html page, with only the resources you need. hgtonight has provided an example follow that.
grep is your friend.