Page 1 of 1
Grand theft auto style help
Posted: 17. April 2009 01:14
by DJ_Marko
hello all. i just got a great grand theft auto 4 style from phpbbhacks.com and i tryed to edit it in order to run board3portal, but with no sucess, givving me an error message when i try to open my site...
can someone help me to edit this great theme and send me the edited files or how should i edit the files and wich ones?
theme can be found here -
http://www.phpbbhacks.com/download/8465
thanks in advance for any help provided
Re: Grand theft auto style help
Posted: 22. April 2009 09:53
by DJ_Marko
anyone can help me with this theme? pleaseeee....
im dont know any php coding, im lost in editing the theme to make it work with the portal. please someone teach me or modify it for me.....
Re: Grand theft auto style help
Posted: 22. April 2009 12:08
by Mike
Should it look like
this?
Re: Grand theft auto style help
Posted: 22. April 2009 17:09
by DJ_Marko
that looks very good mike. how can i change it to look that way?
wich style is the base for that theme? in the phpbbhacks site it doesnt say and i dont know wich source to use to edit the style

would like to use your edition if you allow me to.

Re: Grand theft auto style help
Posted: 22. April 2009 17:41
by Mike
Ok... the Style is based on prosilver. I didnt do something else than the instructions in install.xml and take the files for prosilver.
Since we dont provide premodded files i cant give you the whole package, but i can post my header and footer which you only have to copy into yours. Please note: If you already customiced your header/footer these changes will get lost.
overall_header.html:
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" />
{META}
<title>{SITENAME} • <!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF -->{PAGE_TITLE}</title>
<script type="text/javascript">
// <![CDATA[
var jump_page = '{LA_JUMP_PAGE}:';
var on_page = '{ON_PAGE}';
var per_page = '{PER_PAGE}';
var base_url = '{A_BASE_URL}';
var style_cookie = 'phpBBstyle';
var onload_functions = new Array();
var onunload_functions = new Array();
<!-- IF S_USER_PM_POPUP -->
if ({S_NEW_PM})
{
var url = '{UA_POPUP_PM}';
window.open(url.replace(/&/g, '&'), '_phpbbprivmsg', 'height=225,resizable=yes,scrollbars=yes, width=400');
}
<!-- ENDIF -->
/**
* Find a member
*/
function find_username(url)
{
popup(url, 760, 570, '_usersearch');
return false;
}
/**
* New function for handling multiple calls to window.onload and window.unload by pentapenguin
*/
window.onload = function()
{
for (var i = 0; i < onload_functions.length; i++)
{
eval(onload_functions[i]);
}
}
window.onunload = function()
{
for (var i = 0; i < onunload_functions.length; i++)
{
eval(onunload_functions[i]);
}
}
// ]]>
</script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/styleswitcher.js"></script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/forum_fn.js"></script>
<link href="{T_THEME_PATH}/print.css" rel="stylesheet" type="text/css" media="print" title="printonly" />
<link href="{T_STYLESHEET_LINK}" rel="stylesheet" type="text/css" media="screen, projection" />
<link href="{T_THEME_PATH}/normal.css" rel="stylesheet" type="text/css" title="A" />
<link href="{T_THEME_PATH}/medium.css" rel="alternate stylesheet" type="text/css" title="A+" />
<link href="{T_THEME_PATH}/large.css" rel="alternate stylesheet" type="text/css" title="A++" />
<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->
<link href="{T_THEME_PATH}/bidi.css" rel="stylesheet" type="text/css" media="screen, projection" />
<!-- ENDIF -->
</head>
<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">
<div class="outside">
<div class="top">
<div id="site-description">
<h1>{SITENAME}</h1>
<p>{SITE_DESCRIPTION}</p>
<p style="display: none;"><a href="#start_here">{L_SKIP}</a></p>
</div>
<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
<div id="search-box">
<form action="{U_SEARCH}" method="post" id="search">
<fieldset>
<input name="keywords" id="keywords" type="text" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="inputbox search" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" onclick="if(this.value=='{LA_SEARCH_MINI}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_MINI}';" />
<input class="searchbutton" value="{L_SEARCH}" type="submit" /><br />
<a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}">{L_SEARCH_ADV}</a> {S_SEARCH_HIDDEN_FIELDS}
</fieldset>
</form>
</div>
<!-- ENDIF -->
</div>
<div class="inside">
<div class="bgpic">
<div class="notopgap">
<div id="wrap">
<a id="top" name="top" accesskey="t"></a>
<div id="page-header">
<!-- IF not $S_IN_PORTAL or S_DISPLAY_PHPBB_MENU -->
<div class="navbar">
<div class="inner">
<ul class="linklist navlinks">
<li class="icon-home"><!-- IF U_PORTAL --><a class="wt" href="{U_PORTAL}">{L_PORTAL}</a> » <!-- ENDIF --><a class="wt" href="{U_INDEX}" accesskey="h">{L_INDEX}</a> <!-- BEGIN navlinks --> <strong>‹</strong> <a class="wt" href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks --></li>
<li class="rightside"><a href="#" onclick="fontsizeup(); return false;" onkeypress="fontsizeup(); return false;" class="fontsize" title="{L_CHANGE_FONT_SIZE}">{L_CHANGE_FONT_SIZE}</a></li>
<!-- IF U_EMAIL_TOPIC --><li class="rightside"><a href="{U_EMAIL_TOPIC}" title="{L_EMAIL_TOPIC}" class="sendemail">{L_EMAIL_TOPIC}</a></li><!-- ENDIF -->
<!-- IF U_EMAIL_PM --><li class="rightside"><a href="{U_EMAIL_PM}" title="{L_EMAIL_PM}" class="sendemail">{L_EMAIL_PM}</a></li><!-- ENDIF -->
<!-- IF U_PRINT_TOPIC --><li class="rightside"><a href="{U_PRINT_TOPIC}" title="{L_PRINT_TOPIC}" accesskey="p" class="print">{L_PRINT_TOPIC}</a></li><!-- ENDIF -->
<!-- IF U_PRINT_PM --><li class="rightside"><a href="{U_PRINT_PM}" title="{L_PRINT_PM}" accesskey="p" class="print">{L_PRINT_PM}</a></li><!-- ENDIF -->
</ul>
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
<ul class="linklist leftside">
<li>
<a class="wt" href="{U_PROFILE}" title="{L_PROFILE}" accesskey="u">{L_PROFILE}</a>
<!-- IF S_DISPLAY_PM --> (<a class="wt" href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a>)<!-- ENDIF --> •
<a class="wt" href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a>
<!-- IF U_RESTORE_PERMISSIONS --> •
<a class="wt" href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a>
<!-- ENDIF -->
</li>
</ul>
<!-- ENDIF -->
<ul class="linklist rightside">
<li><a class="wt" href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a> • </li>
<!-- IF not S_IS_BOT -->
<!-- IF S_DISPLAY_MEMBERLIST --><li><a class="wt" href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}">{L_MEMBERLIST}</a></li><!-- ENDIF -->
<!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED --><li><a class="wt" href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF -->
<li> • <a class="wt" href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="l">{L_LOGIN_LOGOUT}</a></li>
<!-- ENDIF -->
</ul>
</div>
</div>
<!-- ENDIF -->
</div>
<a name="start_here"></a>
<div id="page-body">
<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN and (U_MCP or U_ACP) -->
<div id="message" class="rules">
<strong>{L_INFORMATION}:</strong> {L_BOARD_DISABLED}
</div>
<!-- ENDIF -->
<br />
overall_footer.html:
Code: Select all
</div>
<div id="page-footer">
<div class="navbar">
<div class="inner">
<ul class="linklist">
<li class="icon-home"><!-- IF U_PORTAL --><a class="wt" href="{U_PORTAL}">{L_PORTAL}</a> » <!-- ENDIF --><a class="wt" href="{U_INDEX}" accesskey="h">{L_INDEX}</a></li>
<!-- IF not S_IS_BOT -->
<!-- IF S_WATCH_FORUM_LINK --><li <!-- IF S_WATCHING_FORUM -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a class="wt" href="{S_WATCH_FORUM_LINK}" title="{S_WATCH_FORUM_TITLE}">{S_WATCH_FORUM_TITLE}</a></li><!-- ENDIF -->
<!-- IF U_WATCH_TOPIC --><li <!-- IF S_WATCHING_TOPIC -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a class="wt" href="{U_WATCH_TOPIC}" title="{L_WATCH_TOPIC}">{L_WATCH_TOPIC}</a></li><!-- ENDIF -->
<!-- IF U_BOOKMARK_TOPIC --><li class="icon-bookmark"><a class="wt" href="{U_BOOKMARK_TOPIC}" title="{L_BOOKMARK_TOPIC}">{L_BOOKMARK_TOPIC}</a></li><!-- ENDIF -->
<!-- IF U_BUMP_TOPIC --><li class="icon-bump"><a class="wt" href="{U_BUMP_TOPIC}" title="{L_BUMP_TOPIC}">{L_BUMP_TOPIC}</a></li><!-- ENDIF -->
<!-- ENDIF -->
<li class="rightside"><a class="wt" href="{U_TEAM}">{L_THE_TEAM}</a> • <!-- IF not S_IS_BOT --><a class="wt" href="{U_DELETE_COOKIES}">{L_DELETE_COOKIES}</a> • <!-- ENDIF -->{S_TIMEZONE}</li>
</ul>
</div>
</div>
<!--
We request you retain the full copyright notice below including the link to www.phpbb.com.
This not only gives respect to the large amount of time given freely by the developers
but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain
the full copyright we ask you at least leave in place the "Powered by phpBB" line, with
"phpBB" linked to www.phpbb.com. If you refuse to include even this then support on our
forums may be affected.
The phpBB Group : 2006
//-->
<div class="copyright">phpBB skin developed by: <a href="http://www.jrolson.x10hosting.com/">John Olson</a><br />Powered by <a href="http://www.phpbb.com/">phpBB</a> © 2000, 2002, 2005, 2007 phpBB Group
<!-- IF TRANSLATION_INFO --><br />{TRANSLATION_INFO}<!-- ENDIF -->
<!-- IF DEBUG_OUTPUT --><br />{DEBUG_OUTPUT}<!-- ENDIF -->
<!-- IF U_ACP --><br /><strong><a href="{U_ACP}">{L_ACP}</a></strong><!-- ENDIF -->
</div>
</div>
</div>
<div>
<a id="bottom" name="bottom" accesskey="z"></a>
<!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF -->
</div>
</div>
</div>
<div class="nobottomgap"></div>
</div>
<div class="bottom"></div>
</div>
</body>
</html>
Dont forget to include portal.css in the stylesheet.css
Now you can turn on/off the Headermenu via ACP.
Re: Grand theft auto style help
Posted: 22. April 2009 18:49
by DJ_Marko
thanks mike. i was in doubt because that style looks more advanced than the basic prosilver, and i dont knwo any php coding.
i will place it as soon as possible and see if i have any problem with it, hopefully it will work good:)
another issue..... do i have to copy any language files also? my site is in portuguese......
Re: Grand theft auto style help
Posted: 22. April 2009 19:26
by DJ_Marko
after modifying all and copy files into the site, i get this erro.....
Fatal error: in /public_html/includes/db/dbal.php on line 654
that has the following code.....
trigger_error(false, E_USER_ERROR);
how can i solve this now and make the page show?
also, i have an index.html file that has a flash intro, do i have to make any edit to amke that file show in 1st place when opening the site?
Re: Grand theft auto style help
Posted: 22. April 2009 21:48
by DJ_Marko
mike, big thanks for all the help. the error was due the database entries that were not made yet (forgot to run the installer lol)
it loks all good now, entry page is my flash intro, all running good, except one thing that im hoping to get help from.
its about the language, some characters proper of the portuguese language arent showing, who can help me to make portuguese characters show in the portal?
they are these kind of chars----> ç à á è é ã õ ê among others.. in the portal it shows me a question mark simbol. any way to convert this in a way to be legible in the portal?
i was editing the portal files to change the language, i used the chars directly there... do i have to use a special edit? :/
after i have it all translated, can i put the code (or files) in this site for other members from portugal (and brasil maybe) get them?
Re: Grand theft auto style help
Posted: 22. April 2009 21:54
by Mike
Re: Grand theft auto style help
Posted: 22. April 2009 22:04
by DJ_Marko
thanks again for all mike. you rock
site almost ready, time to translate the original texts of the virtual world rules and help topics from the original forums and then post in my site

i know you dont speak portuguese, but if you wanna check it go to
http://www.redlightcenter-portugues.net 
Re: Grand theft auto style help
Posted: 23. April 2009 00:31
by DJ_Marko
well, here i am again hehe.
only now i noticed a small error in the portal used for my site.
allready changed the language issue, chars are good now, but i have no clock in my portal :/
what can be the problem now?
can you help me in this one mike? hehe

Re: Grand theft auto style help
Posted: 23. April 2009 00:59
by Mike
Hmm... it seems the Clock is not uploaded.
http://www.redlightcenter-portugues.net ... 3clock.swf
Try to upload again

May you take the Black one from here:
knowledge/kb_show.php?id=20
Re: Grand theft auto style help
Posted: 23. April 2009 11:55
by DJ_Marko
once again you are right mike. forgot to copy a folder into the style images, the 'portal' folder, with all portal icons also lol
all running great now, and also am searching for some more clocks and see if i find a good looking one for my site
thanks for all help you gave me, you are a good friend

wish i can retrieve the help someday.