*

Recent

Recent Posts

Pages: [1] 2 3 ... 10
1
Addons/Modifications / Cookie Consent
« Last post by am-fs on September 23, 2017, 09:12:43 AM »
Add a Cookie Consent bar to your arcade.

=> https://cookieconsent.insites.com/

Example for monster template:
Code: [Select]
echo'<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.css" />
<script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.js"></script>
<script>
window.addEventListener("load", function(){
window.cookieconsent.initialise({
  "palette": {
    "popup": {
      "background": "#000"
    },
    "button": {
      "background": "#f1d600"
    }
  },
  "content": {
    "dismiss": "Got It!",
    "href": "http://demo.freearcadescript.net/fineprint/"
  }
})});
</script>';

See it in action => http://demo.freearcadescript.net/
2
General Discussion / Arcade Webmasters Forum
« Last post by am-fs on September 15, 2017, 07:24:02 PM »
We offer Arcade Webmasters a place to talk about online arcade websites. We have many forums to talk about anything arcade related issues you many come across. So don't be shy ...... lets talk arcades. => http://www.thearcadenetwork.com/
3
V3.x / Re: Pages
« Last post by outlaw16151 on January 07, 2017, 07:38:18 PM »
lol no i didnt? when you paste the code in there, it just only shows the, and not what suppose to be.
4
V3.x / Re: Pages
« Last post by am-fs on October 30, 2016, 04:22:59 PM »
I think you answered your own question .... ?
5
V3.x / Pages
« Last post by outlaw16151 on September 18, 2016, 07:26:12 PM »
what kind of html will work in the pages area, (when you are in the admin, you click manage pages)

there is a demo page already there? text on the demo says you can use html or javascript
6
Bug Report / Re: What are there some files .txt
« Last post by am-fs on June 25, 2016, 09:09:29 PM »
that is because your have the incorrect path in your settings

create a file path.php

add info to path.php

<?php 
echo getcwd(); // Short for `Get Current Working Directory` 
?>


now go to yourdomain.com/path.php and add that to settings and config.php
7
V3.x / Re: [Add On] Mochi Game Feed
« Last post by am-fs on June 25, 2016, 09:06:28 PM »
thank you for this work but have this erro "Warning: Invalid argument supplied for foreach() in /home/host/public_html/domain.com/pages/admin/managemgf.php on line 326"
can fix it

pm me your domain, so i can take a look
8
V3.x / Re: [Add On] Featured Games
« Last post by am-fs on June 25, 2016, 09:05:28 PM »
I don't see the Tiles Template edit includes/blocks.php ( in Tiles Template no have "includes" folder)

the includes folder is in the root of your directory
9
V3.x / Re: [Add On] Featured Games
« Last post by kizinew on June 22, 2016, 08:31:00 PM »
This Add On will add Featured Games to your sidebar. Show your favorite or sponsored games!



Download zip and replace 2 files in pages/admin

log on to your cpanel, in phpmyadmin and run query
Code: [Select]
ALTER TABLE `fas_games` ADD `featured` tinyint(1) NOT NULL default '0' AFTER `belowgames`

Monster template edit template.php
Add:
Code: [Select]
include("templates/$template/blocks/featured.php");

Tiles Template edit includes/blocks.php
Add:
Code: [Select]
include("templates/$template/blocks/featured.php");

Copy and Paste featured code in a new file named ( featured.php ) for your template.
Monster:
Code: [Select]
<?php
echo'<div class="header">
Featured Games
</div>
<div class="content">'
;
$sqltitle='featuredgames' ;
$featured2 "SELECT * FROM fas_games WHERE active='1' AND featured='1' ORDER BY RAND () LIMIT 5";
$featured1 sqlcache($sqltitle$cachelife$featured2);
if(isset($featured1)){
       foreach($featured1 as $row1 ){
                
$gamename preg_replace('#\W#''-'$row1['name']);
if($row1['type'] == 1){
$img "<img src='".$domain."/".$thumbsfolder."/".$row1["thumb"]."' alt='".$gamename."' title='".$gamename."' class='minithumb' />";
}else{
$img "<img src='".$row1["thumburl"]."' alt='".$gamename."' title='".$gamename."' class='minithumb' />";
}

echo '<ul class=\'catmenu\'>
<li>'
;
                    if (
$seo_on == 1){
echo "<a href='".$domain."/play/".$row1["ID"]."-".$gamename.".html'>".$img.titlelimit($row1["name"])."</a>";
}else{
echo "<a href='".$domain."/index.php?action=play&amp;ID=" .$row1["ID"]. "'>".$img.titlelimit($row1["name"])."</a>";
}
echo '</li>
</ul>'
;
}
       }else{
echo'<div align="center">No games have been selected!</div>';
}
echo'</div>';
?>


Tiles:
Code: [Select]
<?php
echo'<div class="side_nav">Featured Games</div>
     <div id="side_holder">'
;
$sqltitle='featuredgames' ;
$featured2 "SELECT * FROM fas_games WHERE active='1' AND featured='1' ORDER BY RAND () LIMIT 5";
$featured1 sqlcache($sqltitle$cachelife$featured2);
if(isset($featured1)){
       foreach($featured1 as $row1 ){
                
$gamename preg_replace('#\W#''-'$row1['name']);
if($row1['type'] == 1){
$img "<img src='".$domain."/".$thumbsfolder."/".$row1["thumb"]."' alt='".$gamename."' title='".$gamename."' class='minithumb' />";
}else{
$img "<img src='".$row1["thumburl"]."' alt='".$gamename."' title='".$gamename."' class='minithumb' />";
}

echo '<ul class=\'catmenu\'>
<li>'
;
                    if (
$seo_on == 1){
echo "<a href='".$domain."/play/".$row1["ID"]."-".$gamename.".html'>".$img.titlelimit($row1["name"])."</a>";
}else{
echo "<a href='".$domain."/index.php?action=play&amp;ID=" .$row1["ID"]. "'>".$img.titlelimit($row1["name"])."</a>";
}
echo '</li>
</ul>'
;
}
       }else{
echo'<div align="center">No games have been selected!</div>';
}
echo
'</div>';
?>


Now login your arcade => admin => Manage Games => Selected games for your featured games.
I don't see the Tiles Template edit includes/blocks.php ( in Tiles Template no have "includes" folder)
10
V3.x / Re: [Add On] Mochi Game Feed
« Last post by kizinew on June 21, 2016, 06:27:00 PM »
thank you for this work but have this erro "Warning: Invalid argument supplied for foreach() in /home/host/public_html/domain.com/pages/admin/managemgf.php on line 326"
can fix it
Pages: [1] 2 3 ... 10