Everything posted by OwenONeill
-
SEO Advice with domains and page ranking
Hi Jason, thanks for the reply - I know page ranks are not necessarily a direct correlation on traffic but it just seems to be something to be pointing me in the direction. A lot can be done with our content approach and we are trying to focus our energy in ensuring the pages that we supply are great for content and have great landing pages, but it's difficult to work out how or where to get. So say we had 100 business courses, and then we had an internal page that all the business courses were pointing to: 'All Business Courses'. Would this work better in terms of SEO? Because currently they are stored inside each university? It's hard to work out where things should go or how they should be stored, but my linking structure is one of the things I've been meaning to change for a while now. We currently don't really have much duplicate content, it's actually all personalised content but the headings of each page would be the same for each of these, would that count as duplicate content?
-
SEO Advice with domains and page ranking
Hi All @ WDF Been a while since I jumped on here, but basically I'm looking to increase traffic to my site and I can't really work out how it's not doing better. The site is: http://universitycompare.com and has been running properly for 2 and half years. It's a UK based company targeting 16-24 year olds that are entering into Higher Education or going to university. There is a lot going on and we've received significant press such as National news, etc and have some valuable back-links but still we are faced with only a page rank of 2 - so I have a few questions to pick some of your SEO Brains about? - Would it matter if I changed the domain to a .co.uk? Would I get more hits that way? - How would Increase my page rank? I've tried conventional methods just to get the ball rolling. - Keywords, titles, etc are all within the right character limits and we have a strong social pull amongst all major networks. Any advice would be perfect and the basics I've covered when it comes to SEO, I know about valuable back linking, steady content (33,000 pages of good up-to-date content), and I'm aware that I should have more hits, (won't reveal) but they are low at times.
-
Moving PHP Content within AJAX Tabs causes WP to not respond
To anyone that is struggling, I have opted with the changes and fixes on StackOverflow as I have worked out how to make it work now, but cannot get the PHP working properly inside the $details PHP content. http://stackoverflow.com/questions/20107267/placing-php-with-html-inside-php
-
Moving PHP Content within AJAX Tabs causes WP to not respond
Firstly, Hi guys! (Lets get festive!) Been a while since I've posted so I'm hoping you guys can help. Basically, I run the website: http://universitycompare.com/ and I have co-developed an advertisement plugin for the Wordpress driven site that allows advertisers to login, pay and track targeted advertisements across the site, very similar to Google Ads and Facebook Ads. Firstly, Functionality is 100% complete and works, but what I am having trouble with is moving content around to make a better dashboard for the end user and I seem to be missing something that allows php to be taken from an ajax tab to another php file. I have attached the two files for people to have a look at it, but what I wish to do is to move the content details (see below, line 13-16 of the document secondtab.php) from secontab.php to helperfunction.php - All I want is the balance of each account to be visible through the helperfunction.php - but as Wordpress typically does when something goes wrong, it spits out a plain white page. Any help is appreciated, and I'm hoping that WDF can save the day! - not to mention I've spent 4 solid days thinking about this which is why I am now straight up asking people to have a look at whats there. <div class="TCP"><b>Total Credits Purchased</b>: <span>'.$myallcreadits.'</span></div> <div class="TCU"><b>Total Credits Used</b>: <span>'.$mycreaditsused.'</span></div> <div class="CB"><b>Current Balance</b>: <span>'.$mycreaditspending.'</span></div> EDIT: Please see last post by me, Files have been removed.
-
Javascript reference link correct but displays jibberish
heyyyy! have a look at this, I have the link absoloutely correct and the file is there, yet it displays like this: http://universitycompare.com/wp-content/themes/blue-and-grey/js/jquery.fancybox.js ^ How very weird!
- Worrying Internet Explorer Issues
-
Images not showing although URL Path is correct
I love you! Ha - Two days of staring at the screen and it's finally sorted.
-
Images not showing although URL Path is correct
*polite bump*
-
Images not showing although URL Path is correct
WDF Feel like I have a css problem here, but cannot seem to figure it out - on my site I have URL here: http://universitycompare.com/courses/?course_name=psychology&min_fee=0&max_fee=12000&course_type=1&order_by=fee+asc The image URL shown in the search results are fine, and work in a new tab/browser - but are not showing in the results, any clue why? Only thing I can think of is where the URL path is correct, meaning it must be a CSS issue? - but clueless now.. FYI - it is built on wordpress, yet don't think this is a problem.
-
FTP Permissions for wordpress
I would like to know how to make my wordpress site as safe as possible. So therefore it cannot be attacked, as that does happen from time to time, what FTP Permissions should I be setting to what? I want uber-safe! best you can get
-
Putting normal php into Wordpress - PHP Experts available?
Right well I have just put it all very local so it works - when the filepaths are correct it doesn't display anything after the PHP - when they are not correct, it loads everything.. Any help there?
-
Putting normal php into Wordpress - PHP Experts available?
What sort of path should I be using? Should it be a URL path: http://universitycompare.com/wp-content/themes/blue-and-grey/CourseFinder/config.php or this sort of path: /var/www/httpdocs/wp-content/themes/blue-and-grey/CourseFinder/config.php - just new to the whole thing..
-
Putting normal php into Wordpress - PHP Experts available?
*polite bump*
-
Putting normal php into Wordpress - PHP Experts available?
Right, getting somewhere! include_once actually sorts out the page. so it is the require_once that is generating the problem - do you know how to fix it by any chance?
-
Putting normal php into Wordpress - PHP Experts available?
there is no debug.log found in /wp-content after adding the information my live site. Any more ideas? - just want something to go on..
-
Putting normal php into Wordpress - PHP Experts available?
WDF'ers! Someone mind helping me with this problem, I basically have an external script that I want to use with WP and I wan't it to work well! Basically below is the code that I am using for WP and holds all the information that I need for my database search and display to work, it stops at <div> content. When the require_once is activated, and then nothing else get's displayed. Why's that? I have it working here: http://universitycom...nder/finder.php and I also have the code that this page: http://universitycompare.com/courses/ is suppose to display (see below).. <?php /* Template Name: Courses */ ?> <?php get_header(); ?> <div class="content" style="border-right:1px solid #afd1e2;"> <?php require_once('/var/www/vhosts/universitycompare.com/httpdocs/wp-content/themes/blue-and-grey/CourseFinder/config.php'); require_once('/var/www/vhosts/universitycompare.com/httpdocs/wp-content/themes/blue-and-grey/CourseFinder/functions.php'); ?> Find a course: <!-- The search form submitted via AJAX --> <div id="search-widget"> <h3>Course Search</h3> <form method="get" name="course-serach" action=""> <input type="hidden" name="page_number" value="1" id="page_number"/> <input type="hidden" name="min_fee" value="0" id="min_fee"/> <input type="hidden" name="max_fee" value="0" id="max_fee"/> <table> <tr> <td colspan="2"> <input type="text" name="course_name" id="course_name" placeholder="Please enter a course name"/> </td> <td> <select name="course_type" id="course_type"> <option value="1">Full time</option> <option value="2">Part time</option> </select> </td> </tr> <tr> <td>Tuition Fee </td> <td> <div id="course_fee" style="width:300px;"><br/> <div id="fee_range"></div> </div> </td> <td> <select name="university" id="university" disabled ="true"> <?php echo "<option>University of Londons</option>" ?> </select> </td> </tr> </table> </form> </div> <select name="order_by" id="order_by"> <option value="fee asc">Tuition ascending</option> <option value="fee desc">Tuition descending</option> <option value="course_name asc">Course Title ascending</option> <option value="course_name desc">Course Title descending</option> </select> <div id="results" style="margin-top: 15px;"> </div> <!-- Having some style issues, so placed it here --> <div id="row-header" style="margin-bottom: 15px;"> Search results <span id="result-count"></span> </div> <div id="pagination"> </div> <?php get_footer(); ?> Any help is good help!
- javascript help of ignoring nodes if they do not exist in XML
-
javascript help of ignoring nodes if they do not exist in XML
Right, Below is a simple javascript request to display the content that is in the XML document. I have lot's of different versions of XML's that are all from the same place but some are structured slightly different, so some elements inside the KISCOURSE tag do not have a TITLE - when this happens it throws out my coding structure and makes it appear wrong. Is there a way, if TITLE is not found inside a KISCOURSE, then do not display that KISCOURSE and just move onto the next one. Just incase, For an example on how the XML Data looks, see: http://universitycompare.com/wp-content/themes/blue-and-grey/XML/london_metropolitan_university.xml <script type="text/javascript"> if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.open("GET","http://universitycompare.com/wp-content/themes/blue-and-grey/XML/london_metropolitan_university.xml",false); xmlhttp.send(); xmlDoc=xmlhttp.responseXML; var x=xmlDoc.getElementsByTagName("INSTITUTION"); for (i=0;i<x.length;i++) var x=xmlDoc.getElementsByTagName("KISCOURSE"); for (i=0;i<x.length;i++) { document.write("<div class='CourseArea'><h3 id='CourseTitle'>"); // TITLE document.write(x[i].getElementsByTagName("TITLE")[0].childNodes[0].nodeValue); document.write("</h3>"); document.write("<p class='ForP'>- "); document.write(x[i].getElementsByTagName("MODE")[0].childNodes[0].nodeValue); document.write("</p><div class='clear'></div>"); // UCAS CODE document.write("<p id='ucascode'>"); document.write("<b>UCAS CODE</b> "); document.write(x[i].getElementsByTagName("UCASCOURSEID")[0].childNodes[0].nodeValue); document.write("</p>"); // READ MORE LIGHTBOX document.write("<img src='<?php echo home_url(); ?>/wp-content/themes/blue-and-grey/images/info-icon.png' width='15' style='margin:0px 2px 0px -4px;' />"); document.write("<a class='various' href='#ReadMore'>Read More</a> "); // VISIT COURSE LINK document.write("<a class='courselink' href='"); document.write(x[i].getElementsByTagName("CRSEURL")[0].childNodes[0].nodeValue); document.write("' target='_blank'>Visit course website</a>"); document.write("</div>"); } </script>
- is there a difference between these two XML sheets?
- is there a difference between these two XML sheets?
-
is there a difference between these two XML sheets?
Basically I have two XML Sheets, one loads in the web page, the other one only loads the first 6 and then breaks the layout of the site. I cannot work it out for the life of me and would really appreciate some help: http://universitycompare.com/university-guide/london-metropolitan-university/ http://universitycompare.com/university-guide/anglia-ruskin-university/ These are the two links, both linking to two separate XML sheets, which should both work, but they don't!!
-
Filtering and displaying search results using XML
Basically I would like to have a search functionality, a way in which you can search, display and filter through the XML data that I have - firstly is this possible to be able to use XML data as almost a database, in which it can return results based on your filters? The data below is just one of around 5,000 that I have, so transferring that to SQL could be very long. And what I would like to do is to just use the XML's and being able to filter the results based on sliders from a form, if it happened with ajax, and live that would be great! Is this possible? But basically links or being pushed into the correct direction would be great as I am kinda at a standstill with this one now! <KISCOURSE> <KISCOURSEID>007F</KISCOURSEID> <KISTYPE>3</KISTYPE> <CRSEURL>http://www.aber.ac.uk/courses/?NWC4GN</CRSEURL> <CRSEURLW>http://www.aber.ac.uk/courses/?L8YGUR</CRSEURLW> <SUPPORTURL>http://www.aber.ac.uk/en/undergrad/finance/</SUPPORTURL> <SUPPORTURLW>http://www.aber.ac.uk/cy/undergrad/finance/</SUPPORTURLW> <EMPLOYURL>http://www.aber.ac.uk/courses/?JDTLYW</EMPLOYURL> <EMPLOYURLW>http://www.aber.ac.uk/courses/?33QHUR</EMPLOYURLW> <LTURL>http://www.aber.ac.uk/courses/?Z6E36S</LTURL> <LTURLW>http://www.aber.ac.uk/courses/?R4EAQD</LTURLW> <ASSURL>http://www.aber.ac.uk/courses/?LEBR3L</ASSURL> <ASSURLW>http://www.aber.ac.uk/courses/?RT9BZ3</ASSURLW> <KISKEY>0</KISKEY> <FEETBC>0</FEETBC> <WELSH>9</WELSH> <MODE>1</MODE> <LEVEL>3</LEVEL> <SBJ>07</SBJ> <AVGWRITTEN>42</AVGWRITTEN> <AVGCOURSEWORK>51</AVGCOURSEWORK> <AVGSCHEDULED>11</AVGSCHEDULED> <COMMON> <POP>80</POP> <AGG>11</AGG> <SBJ>3</SBJ> <JOBLIST> <JOB>Sales assistants and retail cashiers</JOB> <PERC>18</PERC> <ORDER>1</ORDER> </JOBLIST> <JOBLIST> <JOB>Elementary occupations</JOB> <PERC>18</PERC> <ORDER>2</ORDER> </JOBLIST> <JOBLIST> <JOB>Caring personal service occupations</JOB> <PERC>15</PERC> <ORDER>3</ORDER> </JOBLIST> <JOBLIST> <JOB>Customer service occupations</JOB> <PERC>7</PERC> <ORDER>4</ORDER> </JOBLIST> <JOBLIST> <JOB>Sports and fitness occupations</JOB> <PERC>5</PERC> <ORDER>5</ORDER> </JOBLIST> <JOBLIST> <JOB>Administrative occupations: General</JOB> <PERC>5</PERC> <ORDER>6</ORDER> </JOBLIST> <JOBLIST> <JOB>Business and finance associate professionals</JOB> <PERC>4</PERC> <ORDER>7</ORDER> </JOBLIST> <JOBLIST> <JOB>Science and engineering technicians</JOB> <PERC>4</PERC> <ORDER>8</ORDER> </JOBLIST> <JOBLIST> <JOB>Administrative occupations: Records</JOB> <PERC>4</PERC> <ORDER>9</ORDER> </JOBLIST> <JOBLIST> <JOB>Leisure and other personal service occupations</JOB> <PERC>4</PERC> <ORDER>10</ORDER> </JOBLIST> </COMMON> <CONTINUATION> <POP>55</POP> <AGG>12</AGG> <SBJ>07</SBJ> <UCONT>83</UCONT> <UDORMANT>4</UDORMANT> <UGAINED>0</UGAINED> <ULEFT>12</ULEFT> <ULOWER>0</ULOWER> </CONTINUATION> <COURSESTAGE> <STAGE>3</STAGE> <ASSACT>A</ASSACT> <COURSEWORK>50</COURSEWORK> <WRITTEN>33</WRITTEN> <PRACTICAL>17</PRACTICAL> <LTACT>A</LTACT> <INDEPENDENT>91</INDEPENDENT> <PLACEMENT>0</PLACEMENT> <SCHEDULED>9</SCHEDULED> </COURSESTAGE> <COURSESTAGE> <STAGE>2</STAGE> <ASSACT>A</ASSACT> <COURSEWORK>52</COURSEWORK> <WRITTEN>43</WRITTEN> <PRACTICAL>5</PRACTICAL> <LTACT>A</LTACT> <INDEPENDENT>87</INDEPENDENT> <PLACEMENT>0</PLACEMENT> <SCHEDULED>13</SCHEDULED> </COURSESTAGE> <COURSESTAGE> <STAGE>1</STAGE> <ASSACT>A</ASSACT> <COURSEWORK>50</COURSEWORK> <WRITTEN>50</WRITTEN> <PRACTICAL>0</PRACTICAL> <LTACT>A</LTACT> <INDEPENDENT>89</INDEPENDENT> <PLACEMENT>0</PLACEMENT> <SCHEDULED>11</SCHEDULED> </COURSESTAGE> <DEGREECLASS> <POP>215</POP> <AGG>11</AGG> <SBJ>3</SBJ> <UFIRST>15</UFIRST> <UUPPER>40</UUPPER> <ULOWER>35</ULOWER> <UOTHER>10</UOTHER> <UORDINARY>0</UORDINARY> <UNA>0</UNA> </DEGREECLASS> <EMPLOYMENT> <POP>160</POP> <AGG>11</AGG> <SBJ>3</SBJ> <WORKSTUDY>85</WORKSTUDY> <ASSUNEMP>9</ASSUNEMP> <BOTH>6</BOTH> <NOAVAIL>6</NOAVAIL> <STUDY>32</STUDY> <WORK>47</WORK> </EMPLOYMENT> <ENTRY> <POP>80</POP> <AGG>12</AGG> <SBJ>07</SBJ> <ACCESS>3</ACCESS> <ALEVEL>88</ALEVEL> <BACC>3</BACC> <DEGREE>0</DEGREE> <DIPLOMA>0</DIPLOMA> <FOUNDATION>0</FOUNDATION> <NOQUALS>4</NOQUALS> <OTHER>0</OTHER> <OTHERHE>3</OTHERHE> </ENTRY> <JOBTYPE> <POP>80</POP> <AGG>11</AGG> <SBJ>3</SBJ> <PROFMAN>25</PROFMAN> <OTHERJOB>75</OTHERJOB> <UNKWN>0</UNKWN> </JOBTYPE> <NSS> <POP>45</POP> <AGG>12</AGG> <SBJ>07</SBJ> <Q1>96</Q1> <Q2>96</Q2> <Q3>93</Q3> <Q4>91</Q4> <Q5>84</Q5> <Q6>85</Q6> <Q7>84</Q7> <Q8>90</Q8> <Q9>75</Q9> <Q10>93</Q10> <Q11>97</Q11> <Q12>85</Q12> <Q13>87</Q13> <Q14>88</Q14> <Q15>81</Q15> <Q16>72</Q16> <Q17>73</Q17> <Q18>82</Q18> <Q19>94</Q19> <Q20>93</Q20> <Q21>91</Q21> <Q22>100</Q22> </NSS> <TARIFF> <POP>120</POP> <AGG>12</AGG> <SBJ>07</SBJ> <T1>2</T1> <T120>3</T120> <T160>2</T160> <T200>9</T200> <T240>23</T240> <T280>18</T280> <T320>15</T320> <T360>13</T360> <T400>8</T400> <T440>6</T440> <T480>0</T480> <T520>2</T520> <T560>0</T560> <T600>0</T600> </TARIFF> </KISCOURSE>
- 1 reply
-
- xml
- javascript
- search-results
- form
-
Tagged with:
- Fancybox not working on WP Site for HTML/Java Driven Content
-
Fancybox not working on WP Site for HTML/Java Driven Content
I have a problem that has been bugging me for around 2 days now and seem to be getting low responses elsewhere. I am running XML's that string along the data into AJAX tabs. then using Javascript, to break and only display the XML data where I want, then I want some of the data to appear through a Lightbox which and not on the AJAX tab through the 'read more' hyperlink. Some of the data appears normally however the Lightbox is not working at all, the scripts are loaded and linked correctly but I cannot seem to work out why it is not working. Each Lightbox has been generated through the script and yet, no Lightbox or linking is working correctly. Because some Lightbox's work using similar things as div anchors, it seems to be anchoring instead. For a live version see: http://universitycompare.com/university-guide/london-metropolitan-university alternatively, the script I have done is below: <script type="text/javascript"> if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.open("GET","http://universitycompare.com/wp-content/themes/blue-and-grey/XML/<?php echo the_field('university_xml_courses'); ?>",false); xmlhttp.send(); xmlDoc=xmlhttp.responseXML; document.write("<table border='0'>"); var x=xmlDoc.getElementsByTagName("KISCOURSE"); for (i=0;i<x.length;i++) { document.write("<tr id='CourseArea'><td><h3 id='CourseTitle'>"); // TITLE document.write(x[i].getElementsByTagName("TITLE")[0].childNodes[0].nodeValue); document.write("</h3>"); document.write("<p class='ForP'>- "); document.write(x[i].getElementsByTagName("MODE")[0].childNodes[0].nodeValue); document.write("</p><div class='clear'></div>"); // UCAS CODE document.write("<p id='ucascode'>"); document.write("<b>UCAS CODE</b> "); document.write(x[i].getElementsByTagName("UCASCOURSEID")[0].childNodes[0].nodeValue); document.write("</p>"); // READ MORE LIGHTBOX document.write("<img src='http://universitycompare.com/wp-content/themes/blue-and-grey/images/info-icon.png' width='15' style='margin:0px 2px 0px -4px;'>"); document.write("<a id='various' href='#inline'>Read More</a> "); // VISIT COURSE LINK document.write("<a class='courselink' href='"); document.write(x[i].getElementsByTagName("CRSEURL")[0].childNodes[0].nodeValue); document.write("' target='_blank'>Visit course website</a>"); document.write("</td></tr>"); // LIGHTBOX INFO document.write("<div class='inline' style='display:none; width:500px; height:500px;'>"); document.write(x[i].getElementsByTagName("CRSEURL")[0].childNodes[0].nodeValue); document.write("</div>"); } document.write("</table>"); </script> Please see link above to see live link for header and or script structure...
- XML to HTML