2007-02-18, 02:59 PM
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
2007-02-18, 03:37 PM
WeAreWriters Wrote:WeAreWriters Wrote:Do the games work for anyone else in I.E?
Paretje Wrote:@WeAreWriters
Yes. Without any problem
http://www.wearewriters.co.uk/forums/games.php
So can you play the games?
Also, do you understand about the footer?
(If you don't, play a game and then see the screen after you submit the score) What template does that page use? Then I can add the code to the bottom of it. But I can't until I know which template to find.
The redirect templates, thats only a MyBB function
clocktower Wrote:added all the games now i get this
You do not have permission to access this page. This could be because of one of the following reasons:
1. Your account has either been suspended or you have been banned from accessing this resource.
2. You do not have permission to access this page. Are you trying to access administrative pages or a resource that you shouldn't be? Check in the forum rules that you are allowed to perform this action.
3. Your account may still be awaiting activation or moderation. (Resend Activation Code)
You are currently logged in with the username: 'clocktower'
Use the perms.php file
DragonLord Wrote:I have download games1.0.5_1.0.4.tar.gz and install it at my forum and i have activate it but i can't find it where is it located?
But thats only for who use already the Game Section 1.0.4 to upgrade to 1.0.5 and the current version is 1.0.6
2007-02-18, 06:18 PM
well i have version 1.6 installed still doesnt show up on nav bar in forums??
Use the perms.php file<<< done that even showed you it
my perms.php
to /httpdocs/community/inc/plugins
Use the perms.php file<<< done that even showed you it
my perms.php
to /httpdocs/community/inc/plugins
<?php
/**
* Game section for MyBB
* Copyright © 2006 Online - Urbanus
*
* Website: http://www.super-torrents.co.uk
*
* Dutch and English support: http://www.Online-Urbanus.be/Forum
* English support: http://community.mybboard.net/showthread.php?tid=12413
*/
define("IN_MYBB", 1);
require_once "./global.php";
$db->query("UPDATE ".TABLE_PREFIX."usergroups SET canviewgames='yes', canplaygames='yes' WHERE gid='1'");
$db->query("UPDATE ".TABLE_PREFIX."usergroups SET canviewgames='yes', canplaygames='yes' WHERE gid='2'");
$db->query("UPDATE ".TABLE_PREFIX."usergroups SET canviewgames='yes', canplaygames='yes' WHERE gid='3'");
$db->query("UPDATE ".TABLE_PREFIX."usergroups SET canviewgames='yes', canplaygames='yes' WHERE gid='4'");
$db->query("UPDATE ".TABLE_PREFIX."usergroups SET canviewgames='yes', canplaygames='yes' WHERE gid='5'");
$db->query("UPDATE ".TABLE_PREFIX."usergroups SET canviewgames='yes', canplaygames='yes' WHERE gid='6'");
$db->query("UPDATE ".TABLE_PREFIX."usergroups SET canviewgames='yes', canplaygames='yes' WHERE gid='7'");
$db->query("UPDATE ".TABLE_PREFIX."adminoptions SET canmanagegames='yes'");
echo "The permissions are saved.";
?>
2007-02-18, 07:35 PM
Quote:my perms.phpperms.php should NOT go into your plug in folder! You should put it in your ROOT folder. Like: www .mysite.com/mybb/perms.php and execute it from there.
to /httpdocs/community/inc/pluginsp
P.S. You really need to read the posts and guides more carefully
2007-02-18, 08:17 PM
ok added that in community folder set all permissions in admin cp so why doesnt it show up on navagation bar at top of forums god this is one mod that needs a brain surgeon or scientist
2007-02-18, 09:56 PM
Absolutly not, but in 1.0.x I didn't made that in the plugin (perms)
The navigation will be normaly corectly. It search to
The navigation will be normaly corectly. It search to
{$lang->toplinks_help}</a></li>
and it will be replaced with {$lang->toplinks_help}</a></li>
<li><a href="{$mybb->settings[\'bburl\']}/games.php">{$lang->gamesection}</a></li>
2007-02-18, 11:12 PM
and dumb question which template do i add this in please
2007-02-18, 11:38 PM
Normally, php/MyBB will do this. The name of the template is header
2007-02-19, 12:07 AM
<a name="top" id="top"></a>
<div id="container">
<div id="header">
<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" /></a></div>
<div class="menu">
<ul>
<li><a href="{$mybb->settings['bburl']}/link.php">New Nav-Bar</a></li> <li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$theme['imgdir']}/toplinks/search.gif" alt="" />{$lang->toplinks_search}</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$theme['imgdir']}/toplinks/memberlist.gif" alt="" />{$lang->toplinks_memberlist}</a></li>
<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$theme['imgdir']}/toplinks/calendar.gif" alt="" />{$lang->toplinks_calendar}</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$theme['imgdir']}/toplinks/help.gif" alt="" />{$lang->toplinks_help}</a></li>
<li><a href="{$mybb->settings['bburl']}/games.php">{$lang->gamesection}</a></li>
</ul>
</div>
<hr class="hidden" />
<div id="panel">
{$welcomeblock}
</div>
</div>
<hr class="hidden" />
<br class="clear" />
<div id="content">
{$bannedwarning}
{$bbclosedwarning}
{$unreadreports}
<navigation>
<br class="clear" />
hmmm well thats my default header template and still doesnt show
thing is with it being a torrent site our mybb forums are intregrated into
into the other part so how would i add a link so members can see and click on games to play
(yeah im a pain)
2007-02-19, 12:12 AM
<div class="content">
<div id="top">
<div class="padding">
<tr>
<span style="float:right;">{$lang->welcome_current_time}</span>
</tr>
</div>
</div>
<div id="header">
<div class="f_search">
<form method="post" action="search.php">
<input type="hidden" name="action" value="do_search" />
<input type="hidden" name="postthread" value="1" />
<input type="hidden" name="forums" value="all" />
<input type="hidden" name="postdate" value="0" />
<input type="hidden" name="pddir" value="1" />
<input type="hidden" name="sortby" value="lastpost" />
<input type="hidden" name="pddir" value="1" />
<input type="hidden" name="sorder" value="desc" />
<input type="hidden" name="showresults" value="threads" />
<p><input type="text" value="search..." class="search" onblur="if(this.value=='') this.value='search...';" onfocus="if(this.value=='search...') this.value='';" name="keywords" id="search_query" maxlength="250" />
<input type="submit" class="submit" value="Search" /></p>
</form>
</div>
<div class="title">
<h1><a href="{$mybb->settings['bburl']}">{$mybb->settings['bbname']}</a></h1>
</div>
</div>
<div id="subheader">
<div id="menu">
<ul>
<li class="page_item"><a href="../index.php"><b><font color=red>Home</b></font></a></li>
<li class="page_item"><a href="./index.php"><b><font color=blue>Forums<b></font></a></li>
<li class="page_item"><a href="../browse.php"><b><font color=yellow>Torrents</b></font></a></li>
<li class="page_item"><a href="search.php"><b><font color=orange>Search</b></font></a></li>
<li class="page_item"><a href="../viewrequests.php"><b><font color=gray>Requests</b></font></a></li>
<li class="page_item"><a href="../upload.php"><b><font color=lime>Upload</b></font></a></li>
<li class="page_item"><a href="../usercp.php"><b><font color=red>UserCP</b></font></a></li>
<li class="page_item"><a href="../irc.php"><b><font color=yellow>IRC</b></font></a></li>
<li class="page_item"><a href="/community/calendar.php"><b><font color=gray>Calendar</b></font></a></li>
<li class="page_item"><a href="../rules.php"><b><font color=red>Rules</b></font></a></li>
<li class="page_item"><a href="../faq.php"><b><font color=green>FAQ</b></font></a></li>
<li class="page_item"><a href="../staff.php"><b><font color=red>Staff</b></font></a></li>
{$admincplink2}
</ul>
</div>
</div>
<div id="main">
<div class="left_side">
{$welcomeblock}
{$bannedwarning}
{$bbclosedwarning}
{$unreadreports}
TS Special Edition Theme v3 Templates how would i add this
{$lang->toplinks_help}</a></li>
<li><a href="{$mybb->settings['bburl\']}/games.php">{$lang->gamesection}</a></li>
it that template
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128