tag:blogger.com,1999:blog-76446675443109396802024-03-14T05:42:52.371+00:00Game Site Script ModsMy place on the world wide web to list all the mods I have found for the excellent arcade gamesitescript which you can get from www.gamesitescript.com.Unknownnoreply@blogger.comBlogger8125tag:blogger.com,1999:blog-7644667544310939680.post-75276799647063160312007-12-01T18:42:00.000+00:002007-12-03T23:32:24.675+00:00Ads within your category columnsFrom This:<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_EHv0EOJjLwA/R1SPE1ADKfI/AAAAAAAAACI/dHMCaNf8PME/s1600-R/homecatadsbefore.gif"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp0.blogger.com/_EHv0EOJjLwA/R1SPE1ADKfI/AAAAAAAAACI/LIakQOuG4U4/s400/homecatadsbefore.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5139890387846113778" /></a><br />To This:<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_EHv0EOJjLwA/R1SPQFADKgI/AAAAAAAAACQ/G7GuMBmqmLA/s1600-R/homecatadsafter.gif"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp1.blogger.com/_EHv0EOJjLwA/R1SPQFADKgI/AAAAAAAAACQ/dsfi6vh3o1E/s400/homecatadsafter.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5139890581119642114" /></a><br /><br />Notice how the ad is in placed in the middle column of the category display. How I did this was to edit the homecatbox.php file which you will find in your theme 21 folder.<br /><br />Open up homecatbox.php and locate the line $a = 0; immediately after add the line $ads = 0;<br /><br />Now find:<br /><br /> echo "<div align='right'><a href='".get_category_link("name=".$category['name'])."'>More ".$category['name']." ".$category['type']." »</a></div>";<br /> <br /> echo "<br /> </div><br /> </div><br /> </td>";<br /><br />Immediately after add:<br /><br />if ($ads == 1) { // Set to the number of the position prior to the one you wish the ad to be placed e.g. for position 2 as in my pics I entered the number 1.<br /> echo "<td width='".$width."%' valign='middle'>";<br /> echo "<br /> <div><br /> <br /> <center>";<br />echo 'YOUR AD CODE HERE';<br /> echo "<br /> </center><br /> <br /> </div><br /> <br /> </td>";<br /> $a++;<br /> $ads++;<br /> }<br /><br />Now this should work however I have done other modifications to this file and have had to take this out but I am confident it should still do the trick. As usual though, any problems just get in touch with me.<br /><br />Also where you ad the code you could use a showad tag so that you are able to change the ad from the admin panel but I have started to remove this feature and hardwire the ads therefore I haven't done that.Unknownnoreply@blogger.com10tag:blogger.com,1999:blog-7644667544310939680.post-37653310795943787032007-11-02T19:31:00.000+00:002007-11-02T19:37:52.667+00:00Game Thumbs Mod<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.ltcolor.com/ltcolor/blogs/wp-content/uploads/2007/10/showcentergames.gif"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px;" src="http://www.ltcolor.com/ltcolor/blogs/wp-content/uploads/2007/10/showcentergames.gif" border="0" alt="" /></a><br /><br />This excellent mod was created by Tim of <a href="http://www.twilightgamer.com/">Twilight Gamer</a>. I will be using this mod in one form or another on my site soon. I'll let Tim tell you in his own words what it does.<br /><br />"Well I have been working on this mod and now the first version is completed. You can read the full mod at my new blog <a href="http://www.ltcolor.com/ltcolor/blogs/archives/10">here</a>.<br /><br />It shows just a number of icons on the homepage or where ever you like. Makes it save space ans shows a lot of games at onces. Remember that people browsing sites to play games most likely will not take time to read. Images are everything on websites. Take alook at it. But please report any bugs, I have had tons of bugs with the system but should be worked out. Hope you like it.<br /><br />If you have any ideas to add to this, please let me know thanks"Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-7644667544310939680.post-17339655189414122992007-11-02T14:24:00.000+00:002007-11-02T14:35:27.733+00:00Additions to CategoryBoxes Mod - Game Text LinksI added Devons <a href="http://devonzara.com/2007/10/17/hello-world/">CategoryBoxes Mod - Game Text Links mod</a>, excellent and works perfectly. I made a few small amendments. I made it adjustable from themeconfig. It might make it something that could be added to the next update of GSS.<br /><br />What I did was add a new variable in themeconfig.php:<br /><br />Code:<br /><br />$themecfg['newestgameboximagenumber'] = 2;<br /><br />This is the number of game thumbnail images and description you want listed before the text link list is started. In the above example (as on my site) you will have 2 games listed with thumbnail and descriptions.<br /><br />Code:<br /><br />$themecfg['newestgameboxnumber'] = 7;<br /><br />newestgameboxnumber has to now be set at the number of games you want in total in each category box. As I have set my thumbnail list to 2, to have 5 games listed below in the text list. I have to set newestgameboxnumber to 7. 5+2 = 7.<br /><br />Save themeconfig.php.<br /><br />I made no changes to the code that Devon provided for categoryboxes.php (or in my case homecat.php as I was using theme 21).<br /><br />Open up themefunctions.php find:<br /><br />Code:<br /><br />function dispgametd<br /><br />Now find the following in Devon's code:<br /><br />Code:<br /><br /> } else {<br /> if($amount <= '1'){ <br /> echo "<table class='gltable' cellpadding='0' cellspacing='0'><tr><td><a href='".$link."' class='gamelink'><img src='[imgdir]".$game['nameid'].".png' alt='".$game['name']."' width='[twidth]' height='[theight]' class='gamethumb' align='left' /></a><br /> <a href='".$link."' class='gamelink'>".$game['name']."</a>"; <br /> echo "<br />";<br /><br />Replace with:<br /><br />Code:<br /><br /> } else {<br /> global $themecfg;<br /> <br /> if($amount <= $themecfg['newestgameboximagenumber']){ <br /> echo "<table class='gltable' cellpadding='0' cellspacing='0'><tr><td><a href='".$link."' class='gamelink'><img src='[imgdir]".$game['nameid'].".png' alt='".$game['name']."' width='[twidth]' height='[theight]' class='gamethumb' align='left' /></a><br /> <a href='".$link."' class='gamelink'>".$game['name']."</a>"; <br /> echo "<br />";<br /><br />Now find (again in Devon's code):<br /><br />Code:<br /><br />} elseif($amount > '1') {<br /><br />Replace with:<br /><br />Code:<br /><br />} elseif($amount > $themecfg['newestgameboximagenumber']) {<br /><br />Save themefunctions.php<br /><br />Upload the amended files to your server and away you go.<br /><br />Hope that helps someone somewhere.<br /><br />All the best.<br />Michael.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7644667544310939680.post-11991093079269880232007-11-02T12:25:00.000+00:002007-11-02T14:46:29.435+00:00LiveTV Mod<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_EHv0EOJjLwA/Rys4PP8Yl4I/AAAAAAAAABU/2VyYl0PlaRU/s1600-h/freetv.gif"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp1.blogger.com/_EHv0EOJjLwA/Rys4PP8Yl4I/AAAAAAAAABU/2VyYl0PlaRU/s400/freetv.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5128254435320436610" /></a><br />Thank you to thesheep of <a href="http://www.i3arcade.com/">i3arcade.com</a>. This mod puts streamed TV onto your site.<br /><br />Download the script from <a href="http://www.always24-7.co.uk/blogfiles/livetv.txt">here</a>. You need to add a new page to your site and add this code into the page. I added my page manually but as you can see at <a href="http://247mgf.co.uk/index.php/freetv/">http://247mgf.co.uk/index.php/freetv/</a>.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7644667544310939680.post-54397585785291147402007-11-01T19:51:00.000+00:002007-11-01T20:02:23.781+00:00Random Games in Home Categories<div style="text-align: left;">This was posted by <a href="http://www.mygamespot.net/">Netpants</a> on <a href="http://www.arcadewebmasters.com/forums/index.php?PHPSESSID=5ba9614dd65993a9a510b7b0a0dba7c5&topic=1659.msg12633#new">Arcade Webmasters</a>.<br /><br />I've tested it and it works well. I might add it to my main site but still wondering if its worth the extra queries.<br /><br />To make the games random on the front page of your GSS in the Home categories simply do the following.<br /><br />Open /plugins/site/themes/21/homecatbox.php and find this<br /><br />Code:<br /><br />$games = get_games("order=deforder&sort=defsort&shortdesc=".$themecfg['maxdesclength']."&limitstart=0&limitnum=".$themecfg['newestgameboxnumber']."&thecat="._sp($category['name'])."&htmlize=true");<br /><br />And replace with this<br /><br />Code:<br /><br /><br />$q = "SELECT * FROM games WHERE cat='"._sp($category['name'])."' AND id!='".$game['id']."' ORDER BY RAND() DESC LIMIT 0, ".$themecfg['newestgameboxnumber']."";<br />$games = get_games("shortdesc=".$themecfg['maxdesclength']."&limitstart=0&limitnum="."&htmlize=true&diffquery=".$q);<br /><br />Hit save, and your done. Then refresh the home page a few times, and a random set of games should appear each time.</div>Unknownnoreply@blogger.com3tag:blogger.com,1999:blog-7644667544310939680.post-18290718745378618352007-11-01T15:09:00.000+00:002007-11-02T14:42:48.311+00:00CategoryBoxes Mod - Game Text Links<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_EHv0EOJjLwA/Rys3Yv8Yl3I/AAAAAAAAABM/YXb0sFgoX-c/s1600-h/before.gif"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp3.blogger.com/_EHv0EOJjLwA/Rys3Yv8Yl3I/AAAAAAAAABM/YXb0sFgoX-c/s400/before.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5128253499017566066" /></a><br />This is the mod by Devon of <a href="http://arcadesurge.com/">Arcade Surge</a> for adding text game links in the category boxes (Awesome theme) or homecatbox (21 theme)<br /><br /><a href="http://devonzara.com/2007/10/17/hello-world/">Mod CategoryBoxes Like Fun4MySpace</a><br /><br />I've added a few mods to this to have the mod controlled from the themeconfig file and the a mod to add full game image / description on mouseover. All these mods will be added to this blog (if not already :)).<br /><br />For the additions to CategoryBoxes Mod - Game Text Links <a href="http://gamesitescript.blogspot.com/2007/11/additions-to-devons.html">click here</a>.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7644667544310939680.post-63465753242569369372007-11-01T15:01:00.000+00:002007-11-01T15:07:03.249+00:00Any errors please let me knowHi,<br /><br />Apologies if there are any errors in the mods on here. Unfortunately I can't work out how to insert code on blogger easily. If I get time I will try and find a better solution but for now this will have to do. Hopefully not to many errors will creep in.<br /><br />Also please remember that most of these mods are what I have tried and use on my <a href="http://mgf.co.uk/">site</a> which uses theme 21. I will try to make points when known to allow the code to work with your themes. Also the same problem goes with GSS versions, again I will try to make points when needed. Any problems though please contact me.<br /><br />The only thing I ask in return is that you put on your site a link to my site and to the other mod contributors. Your small of thanking us for our time. Thank you.<br /><br />All the best.<br />Michael.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7644667544310939680.post-31008696301534873252007-11-01T11:32:00.000+00:002007-11-01T15:26:20.680+00:00Balloon Text over game links...I'm writing up this post first because if I don't Twilight Gamer will burst a blood vessel and his offered me a lot of promises (don't forget Twilight Gamer! :)).<br /><br />Here goes then, if you have installed the mod that <a href="http://arcadesurge.com/">Devon</a> created that gives you a list of game links in your home category. See the pic below.<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_EHv0EOJjLwA/Rym9Rf8Yl1I/AAAAAAAAAA8/2iKdjy3OBmY/s1600-h/before.gif"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp0.blogger.com/_EHv0EOJjLwA/Rym9Rf8Yl1I/AAAAAAAAAA8/2iKdjy3OBmY/s400/before.gif" alt="" id="BLOGGER_PHOTO_ID_5127837759068215122" border="0" /></a><br />If you haven't done this mod I will add it up here later today including my small additions.<br /><br />What Twilight Gamer and others asked was, could you have the game image, description etc. pop up when you run your mouse over the game links. Like in the pic below.<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_EHv0EOJjLwA/Rym-PP8Yl2I/AAAAAAAAABE/gHuV7lnAz4A/s1600-h/after.gif"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp3.blogger.com/_EHv0EOJjLwA/Rym-PP8Yl2I/AAAAAAAAABE/gHuV7lnAz4A/s400/after.gif" alt="" id="BLOGGER_PHOTO_ID_5127838819925137250" border="0" /></a><br /><br />To do the same on your gamesitescript, you need to download <a href="http://www.dynamicdrive.com/dynamicindex5/balloontooltip.htm">balloontip</a> from Dynamic Drive.<br /><br /><span style="font-weight: bold;">Step 1:</span><br />Upload the 2 arrow images, balloon.css and balloon.js from the above pack to your theme folder, I may put these somewhere else later but it was easier when I first wrote this. If you put them somewhere else make sure you change the links to them.<br /><br /><span style="font-weight: bold;">Step 2:</span><br />Open up your index.php file in your theme folder and the following in the head section:<br /><br /><script type="text/javascript" src="balloontip.js"><br /><br />/***********************************************<br />* Rich HTML Balloon Tooltip- © Dynamic Drive DHTML code library (www.dynamicdrive.com)<br />* This notice MUST stay intact for legal use<br />* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code<br />***********************************************/<br /><br /></script><br /><br /><span style="font-weight: bold;">Step 3:</span><br />Open themefunctions.php from your theme folder. Find the line that reads:<br /><br />function dispgametd($table=false, $game2=false, $time=false, $amount='0') {<br /><br />and replace it with:<br /><br />function dispgametd($table=false, $game2=false, $time=false, $amount='0', $balloon='0') {<br /><br />Then find:<br /><br />} elseif($amount > '1') {<br /> echo "<table class='gltable' cellpadding='0' cellspacing='0'><tr><td> > <a href='".$link."' class='gamelink'>".$game['name']."</a>";<br /><br />and replace with:<br /><br />} elseif($amount > '1') {<br /> echo "<table class='gltable' cellpadding='0' cellspacing='0'><tr><td> > <a href='".$link."' class='gamelink' rel='balloon".$balloon."'>".$game['name']."</a>";<br /> echo "<div id='balloon".$balloon."' class='balloonstyle' style='float:left; width: 200px; background-color: lightblue; border-color: black; border:1px solid'><table class='gltable' cellpadding='0' cellspacing='0'><tr><td><img src='[imgdir]".$game['nameid'].".png' alt='".$game['name']."' width='[twidth]' height='[theight]' class='gamethumb' align='left' />";<br /> echo "<strong>".$game['name']."</strong><br />";<br /><br /> (HERE SHOULD BE THE CODE FOR COMMENTS / RATINGS - DIFFERENT ON DIFFERENT VERSIONS I BELIEVE - CONTACT ME IF NEED HELP)<br /><br />After the comments check / display add:<br /><br />echo $game['desc'];<br /><br />The following should read:<br /><br />echo "</td></tr></table></div>";<br /><br />Leave this in place. Save and close themefunctions.php<br /><span style="font-weight: bold;">Step 4:</span><br />Open homecatbox.php (or categoryboxes.php in Awesome theme) in your theme folder and find:<br /><br /> $a = 0;<br /><br />Add after this:<br /><br />$ii = 0;<br /><br />Then find:<br /><br />dispgametd(true,false,false,$i);<br /><br />and replace with:<br /><br />dispgametd(true,false,false,$i,$ii);<br /><br />then find:<br /><br />$i++;<br /><br />and add after it:<br />$ii++;<br /><br />Save and close.<br /><br />Upload everything to your server and it should all work. The only other thing I change was in the balloon.css file. I add a 1px solid black border, removed the lineheight tag and reduced the font to 11px. Oh and added a width of 200px.<br /><br />If I haven't explained it very well then please contact me and I will try again although some of the differences are due to theme differences. The original mod by Devon was done on the Awesome theme whereas I am working on theme 21. Also Devon has the cache control checks which means he is almost certainly working with GSS 3.1 which is a newer version to me. However what I have done will still work and I've tried to show where it should go regardless of which theme or version you are using.Unknownnoreply@blogger.com0