Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #15756

    Hi,

    so i’ve added some flashgames as iframe item via de external video option and show them in my portfolio via an image. Next challenge is that i want the iframe in a particular height and width. Why? Because some flash games have different sizes. So how to get the iframe in different sizes?

    2nd question: could the title + tags/description also come beneath the whole game?

    3rd question: at the index(portfolio) page the addthis button isnt showing in the footer. however, the addthis button shows in the blog part as right sidebar and then also in the footer.

    Please advise

    kind regards and keep up the good work!

    #88878

    Hi,

    Can you give us a link on your site?

    Regards,

    Ismael

    #88879

    Hi,

    Link: [removed upon request]

    3rd question should be: instead of addthis button in the footer, thats working for now, the addthis button under iframe, is this possible?

    kind regards

    #88880

    Hi,

    All the things you say are possible. However right now you have 20 javascript errors and as many warnings:

    Resource interpreted as Document but transferred with MIME type application/x-shockwave-flash: "/c/g/onslaught-2_1/Onslaught2.1_ma.swf".

    Unsafe JavaScript attempt to access frame with URL ***/ from frame with URL /c/g/onslaught-2_1/Onslaught2.1_ma.swf. Domains, protocols and ports must match.

    Resource interpreted as Document but transferred with MIME type application/x-shockwave-flash: "/flashtowerdefence-cdn/swf/desktop-td-pro.swf".

    Unsafe JavaScript attempt to access frame with URL ***/ from frame with URL /flashtowerdefence-cdn/swf/desktop-td-pro.swf. Domains, protocols and ports must match.

    Resource interpreted as Document but transferred with MIME type application/x-shockwave-flash: "/files/games/bubble-tanks-tower-d-13734.swf".

    Unsafe JavaScript attempt to access frame with URL ***/ from frame with URL /files/games/bubble-tanks-tower-d-13734.swf. Domains, protocols and ports must match.

    Resource interpreted as Document but transferred with MIME type application/x-shockwave-flash: "sn/games/ptd/main.swf".

    Unsafe JavaScript attempt to access frame with URL ***/ from frame with URL sn/games/ptd/main.swf. Domains, protocols and ports must match.

    Resource interpreted as Document but transferred with MIME type application/x-shockwave-flash: "/gamez/0012/5689/live/embeddable_125689.swf".

    Unsafe JavaScript attempt to access frame with URL ***/ from frame with URL /gamez/0012/5689/live/embeddable_125689.swf. Domains, protocols and ports must match.

    Resource interpreted as Document but transferred with MIME type application/x-shockwave-flash: "/files/games/kingdom-rush-12141.swf".

    Unsafe JavaScript attempt to access frame with URL ***/ from frame with URL /files/games/kingdom-rush-12141.swf. Domains, protocols and ports must match.

    GET onslaught.playr.co.uk/crossdomain.onslaught.xml onslaught.playr.co.uk/crossdomain.onslaught.xml:1

    Resource interpreted as Document but transferred with MIME type application/x-shockwave-flash: "/c/g/onslaught-2_1/Onslaught2.1_ma.swf?wmode=opaque".

    Unsafe JavaScript attempt to access frame with URL ***/ from frame with URL /c/g/onslaught-2_1/Onslaught2.1_ma.swf?wmode=opaque. Domains, protocols and ports must match.

    Resource interpreted as Document but transferred with MIME type application/x-shockwave-flash: "/flashtowerdefence-cdn/swf/desktop-td-pro.swf?wmode=opaque".

    Resource interpreted as Document but transferred with MIME type application/x-shockwave-flash: "sn/games/ptd/main.swf?wmode=opaque".

    Unsafe JavaScript attempt to access frame with URL ***/ from frame with URL /flashtowerdefence-cdn/swf/desktop-td-pro.swf?wmode=opaque. Domains, protocols and ports must match.

    Unsafe JavaScript attempt to access frame with URL ***/ from frame with URL sn/games/ptd/main.swf?wmode=opaque. Domains, protocols and ports must match.

    Resource interpreted as Document but transferred with MIME type application/x-shockwave-flash: "/files/games/kingdom-rush-12141.swf?wmode=opaque".

    Unsafe JavaScript attempt to access frame with URL ***/ from frame with URL /files/games/kingdom-rush-12141.swf?wmode=opaque. Domains, protocols and ports must match.

    Resource interpreted as Document but transferred with MIME type application/x-shockwave-flash: "/gamez/0012/5689/live/embeddable_125689.swf?wmode=opaque".

    Unsafe JavaScript attempt to access frame with URL ***/ from frame with URL /gamez/0012/5689/live/embeddable_125689.swf?wmode=opaque. Domains, protocols and ports must match.

    Resource interpreted as Document but transferred with MIME type application/x-shockwave-flash: "/files/games/bubble-tanks-tower-d-13734.swf?wmode=opaque".

    Unsafe JavaScript attempt to access frame with URL ***/ from frame with URL /files/games/bubble-tanks-tower-d-13734.swf?wmode=opaque. Domains, protocols and ports must match.

    GET /crossdomain.onslaught.xml /crossdomain.onslaught.xml:1

    GET /games/play/onslaught-2_1 404 (Not Found) onslaught-2_1:1

    POST /session/start?r=198040 404 (File Not Found)
    /session/start?r=198040:1

    POST /session/levelStart?r=721798 404 (File Not Found)
    /session/levelStart?r=721798:1

    GET /flashtowerdefence-cdn/swf/ 404 (Not Found)
    /flashtowerdefence-cdn/swf/:1

    The site freezes me for the first half minute. You can look here webpagetest.org/result/120830_63_ea23add2a76f00849cb85bdc1b1736a0/1/details/ for a clearer idea about issues with the files.

    To change the sizes of the portfolio thumbnails as well as the main games please open functions.php and around line 24

    $avia_config['imgSize']['portfolio'] 		 	= array('width'=>465, 'height'=>346);						// images for portfolio entries (2,3,4 column)

    Also make sure under Settings > Media of WordPress (not the theme) you have click the check-mark with a label about keeping image sizes proportional.

    2) Do you mean the title in the portfolio should go under the image of the game, or on the individual product page (though they on the same page),

    3) You mean so that every game has its own set of solution buttons? It is possible though extremely time consuming. You would be better off looking on wordpress.org/extend/plugins/search.php?q=social&sort=

    Thanks,

    Nick

    #88881

    Hi Nick,

    1. currently Chrome doesn’t show me these errors, thanks for pointing that out. –> will work on this friday

    2. to be clear: when you click on the portfolio image, the new screen appears and than under the game the title + description + other stuff. (On the overall portfolio page above the image is already good)

    3. Don’t know if you already seen the add-this button in the footer, but hopefully this can be added/changed to place it below every game so that people can like individual games/pages and not the whole website. (this is already build in at the top (nice!))

    Kind regards,

    Ro

    #88882

    Hi Ro,

    1) http://i.imgur.com/bQ0BA.png <– directly from Chrome. 18 errors.

    2) The easiest thing to do would be for you to edit helper-templates.php, which is located in the includes folder of the theme and change the following two lines (first please make sure to make a backup copy of that file in case you need to revert to it)

    line 1232 which looks like :

    echo "<div class='flex_column two_third first'>";

    should be changed to look like:

    echo "<div class='flex_column'>";

    and line 1241 which looks like:

    echo "<div class='portfolio-entry one_third'>";

    should change to look like:

    echo "<div class='portfolio-entry'>";

    3) Add this + Social Networks is a Widget attached to a sidebar on your blog page. To create a sidebar where to add the same widget,

    In the backend please click Angular > Theme Options > Sidebar . Click the little + symbol graphic and selec the page where you want the Widget to be displayed from the dropdown box, and click Save.

    Then please click on Appearance > Widgets and now on the list of pages on the right you should see the page you’ve added a sidebar in the previous step.

    Drag the widget you used to add Social Networks to your Blog, and drag it over and ‘drop it’ into the page where you want it to appear.

    Thanks,

    Nick

    #88883

    Hi Nick,

    changed the lines and its looks the way i wanted.

    do you think i need to put the swf files on my own website so i don’t get the slow load time / errors?

    kind regards,

    Ro

    #88884

    Hi Nick,

    could you change my post with the explicit link to the site, it shows up in the search results.

    thanks,

    Ro

    #88885

    Hi Ro,

    I removed all references and links to the site and its name.

    I don’t think its a good idea to have the games on the same server as the website, but you can subdomain – use a CDN. cdn1.your-name.com to cdn4.your-name.com , this way the browser will be able to make more parallel downloads. Also you may find a way to not pre-load every game. .. and perhaps a button somewhere to turn off the song in a loop, hehe.

    There are a number of things you can do (and are currently not) to make your website significantly faster.

    Go here http://gtmetrix.com/ and then go http://www.webpagetest.org/ , and you will see the many things you can do to speed things up without having to pay for it.

    Thanks,

    Nick

Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘game site questions part 2’ is closed to new replies.