uCoz Community uCoz Modules File Catalog, Site Catalog, Publisher, Ad Board, Online Games Online Games Module |
Online Games Module |
ONLINE GAMES MODULE
To start working with this module you need to install it. The module can be installed in the Control Panel of your website -> "Inactive" tab. When installing the module you will see two options: Without content and Online games set
If you select without content you will have a full-featured module that you will be able to use as you like. Module name by default will be "Online Games" but it can be changed in Control Panel in module settings; there you can also customize fields for adding of new entries. Default phrases for the module can be changed in the "Substitution of default phrases" section on the main page of Control Panel. If you select Online games set you will not only get a full-featured ready-to-work module, but also content with the possibility of its regular updating (the option "Update game database automatically" during installation). The default set includes games of various genres and categories – online games, downloadable games, mobile games.
The new module "Online Games" is one of the most general-purpose modules. It has such possibilities as adding of sections, categories, filters; a lot of additional fiends; new features added by default. Module templates have the new rating system by default (in the form of stars).
It has the following code in Page with entry full text and its comments template: Code <?$RSTARS$('30','/.s/img/stars/3/30.png','1','float')?> There are 12 different image sets, each of them is available in 4 sizes.
$IMGS_ARRAY_JS$ is realized in the module – in the form of screenshots on the page with entry full text and its comments.
When adding an entry, you fill the field "Images" by means of uploading your images which are then displayed as thumbnails on an entry page. After you click on such thumbnail, an Ajax window with all images of this entry will open. I'm not active on the forum anymore. Please contact other forum staff.
|
XO-Ferg, try to add the following code to "Page with full entry text and associated comments" for Online Games:
<script type="text/javascript"> function openchat(){new _uWnd('GAMES','GAMES',$PLAYZONE_W$,$PLAYZONE_H$,{align:0,shadow:0,close:1,autosize:1,maxh:500,minh:100,resize:0}, $("#GAMES").html() )} </script> <div style="display:none;" id="GAMES">[<object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="520" height="390" data="$SWF_LINK$"> <param name="allowFullScreen" value="false" /> <param name="movie" value="$SWF_LINK$" /><param name="quality" value="high" /><param name="base" value="." /> <embed src="$SWF_LINK$" quality="high" width="$PLAYZONE_W$" height="$PLAYZONE_H$" name="data" base="." align="middle" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object></div> <a title="$ENTRY_TITLE$" href="javascript:;" onclick="opeGAMES();">Play online</a> I'm not active on the forum anymore. Please contact other forum staff.
|
Sunny, I tried that code and it didn't fix anything, thanks anyway.
Added (2013-01-12, 3:52 PM) Added (2013-01-14, 5:22 PM) |
XO-Ferg, you don't want it to work for all entries, and don't want it for one entry If you need this script for several specific entries, just add more URI_IDs, e.g.
Code <?if($URI_ID$="sfEnt5043" or $URI_ID$="sfEnt5044" or $URI_ID$="sfEnt5045")?> and so on. To find URI_ID of a certain entry, open this entry and go to Admin Bar -> Builder -> List of page variables. I'm not active on the forum anymore. Please contact other forum staff.
|
XO-Ferg, yes, there is a problem with xml on your website. Maybe due to some modifications you've made. When I add the game to my test website, even with the same design selected, it works how it should: the game opens in an ajax window.
I'm not active on the forum anymore. Please contact other forum staff.
|
You think If I uninstall/reinstall the Online Game module it would revert back to normal, because it started doing that after I added about 20 games....
Added (2013-01-18, 6:37 PM) Added (2013-02-11, 3:18 PM) |
| |||