*

Recent

Recent Posts

Pages: [1] 2 3 ... 10
1
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.
2
V3.x / Re: Pages
« Last post by am-fs on October 30, 2016, 04:22:59 PM »
I think you answered your own question .... ?
3
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
4
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
5
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
6
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
7
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)
8
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
9
V3.x / Re: [Add On] Monster Template CSS Switcher
« Last post by kizinew on June 21, 2016, 06:08:14 PM »
Thank you. this see nice.
10
Bug Report / What are there some files .txt
« Last post by kizinew on June 18, 2016, 04:46:35 AM »
Hello. at my root document have some file : mainpagecats , mainpagecats1, mainpagecats10 etc..., gamecomments, gamecomments-1, etc.... browse-cat2page 1, etc... i think they are history of visitor. but some file too large. i tried to delete them but they are showing again. how to unshow them? thank all mem.
Pages: [1] 2 3 ... 10