Hermes

All 3.0.x styles released in our Styles Database can be found here. All discussion or support regarding an individual style should take place in that style's own area in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of releases and/or updates for styles. Any style support should be obtained through the Customisations Database in the support area designated for each style.

A direct link to support for each Style is in the first post of the respective topic.
jetgirlart
Registered User
Posts: 3
Joined: Fri Jun 12, 2009 4:12 pm

Re: Hermes

Post by jetgirlart »

ill have to try this again later, isn't working for me at all. the link shows up in the source but not live. im going to try later on my windows machine.
User avatar
Arty
Former Team Member
Posts: 16654
Joined: Wed Mar 06, 2002 2:36 pm
Name: Vjacheslav Trushkin
Contact:

Re: Hermes

Post by Arty »

purge cache
Vjacheslav Trushkin / Arty.
Free phpBB 3.1 styles | New project: Iconify - modern SVG framework
jetgirlart
Registered User
Posts: 3
Joined: Fri Jun 12, 2009 4:12 pm

Re: Hermes

Post by jetgirlart »

Horray! All my edits work now!

http://www.austintuners.com/PHPBB3/index.php

your the best!
oglach
Registered User
Posts: 498
Joined: Sun Apr 22, 2007 5:58 pm

Re: Hermes

Post by oglach »

The navy/blue background and the red buttons, how cani get the buttons to silver, tried colourizer and no luck :(
neowar
Registered User
Posts: 14
Joined: Wed Jul 15, 2009 2:11 pm

Re: Hermes

Post by neowar »

Hi.. I have a problem with the Hermes style. How to reduce the breadth of style. It is the breadth of the entire forum. I use phpBB 3.0.4. I tried everything and nothing. Pleaseeee .. thanks
neowar
Registered User
Posts: 14
Joined: Wed Jul 15, 2009 2:11 pm

Re: Hermes

Post by neowar »

Help mee ... pleaseeee :( :cry:
neowar
Registered User
Posts: 14
Joined: Wed Jul 15, 2009 2:11 pm

Re: Hermes

Post by neowar »

How do I insert this option when I type in the

Code: Select all

[img]http://www.postavi.com/images/628_select_all.jpg[/img] 
whether there is the installation of this plugin for Hermes style.  Thanks [/b]
User avatar
prototech
Former Team Member
Posts: 5406
Joined: Mon Mar 19, 2007 2:04 pm
Location: Southern California

Hermes

Post by prototech »

Style Updated to version 2.0.1
See first post for Download Link
Need help with MOD/style installations or other phpBB problems? Contact me for a quote.
Trek84
Registered User
Posts: 21
Joined: Sat Dec 15, 2007 3:54 am

Re: Hermes

Post by Trek84 »

If I am trying to update a previous version, do I take that one out and delete, then reupload the new files or upload and overwrite the files?
User avatar
prototech
Former Team Member
Posts: 5406
Joined: Mon Mar 19, 2007 2:04 pm
Location: Southern California

Hermes

Post by prototech »

Style Updated to version 2.0.3
See first post for Download Link
Need help with MOD/style installations or other phpBB problems? Contact me for a quote.
RykerStruvian
Registered User
Posts: 4
Joined: Fri Feb 26, 2010 2:45 pm

Noob going crazy!!!!!!

Post by RykerStruvian »

Argh! I've never done CSS or HTML coding before in my life but I want to modify the looks of a forum I attend regularly. It's using the Hermes style and I'm trying to get rid of these things

Image

and

Image

The thing is, whenever I delete them from the header, the lines which say '/theme/images/logo_top_right.gif' it merely makes my board shift over but the images don't delete, they're still there! I've tried editing the source code to remove them from there but I've also been using Stylizer.

Going so crazy, all I want to do is get rid of those two damn things!!!!!!!!

Heres a link to my forum
RykerStruvian
Registered User
Posts: 4
Joined: Fri Feb 26, 2010 2:45 pm

Re: Noob going crazy!!!!!!

Post by RykerStruvian »

Basically, I want to get rid of everything above control panel where it says 'user control panel - new messges - etc' and replace it with a giant banner thats around 400x800

I want to get rid of that darker blue thats behind it as well so that the sides and the top are all one solid color, which will be replaced with black.
RykerStruvian
Registered User
Posts: 4
Joined: Fri Feb 26, 2010 2:45 pm

Re: Hermes

Post by RykerStruvian »

Anyone know how?...I've tried deleting the link for the image in the source and it doesn't make it go away!Driving me crazy. :( I'm so frustrated. I've thought about uploading a transparent picture..but there must be a way to simply remove it...

Oooh. Now I know what I was doing wrong...I was access the stylesheet instead of the actual sourcecode of the page... :S
RykerStruvian
Registered User
Posts: 4
Joined: Fri Feb 26, 2010 2:45 pm

Re: Hermes

Post by RykerStruvian »

I have a new question though. How could I bound the forum to a specific size? For instance, I would like to have the max size for my forum to be 900px wide for all boards/sub-boards. I don't want it to be resizable when people adjust their browser, either by squishing the text or by stretching it out.

http://www.avatarroleplay.com/forum/index.php - this is the forum I'm modifying.

I have a chatbox installed by using a table tag and td, and I would like it to be centered...I want everything on the page, all the columns, without padding eventually, to be exactly 900px, no more, no less. The reasoning for this is because I want to create graphics and skins for the forum and change them overtime to keep it looking fresh.
User avatar
Mad-Mod
Registered User
Posts: 65
Joined: Thu Apr 02, 2009 3:11 pm

Re: Hermes

Post by Mad-Mod »

Hey all,

Recently added a facebook mod on my forum and it works perfectly with the prosilver theme but not on the hermes gray theme (which is my default theme..)

One of the errors I get is this

Code: Select all

General Error
template->_tpl_load_file(): File ./styles/hermes_gray/template/ucp_fbconnect_fbsettings.html does not exist or is empty
Also different icons/buttons dont show up, eg the facebook connect one

I think its to do with adding a few codes and changes to my hermes files, but not sure where :(

Please help

Thanks for your attention :)


--------

These are the edits on the prosilver theme done by the install, I need to do them for the hermes theme, but some of the codes dont match...

Code: Select all

File edits
memberlist.php
Find

		$member = $db->sql_fetchrow($result);
		$db->sql_freeresult($result);

Add After

        // Facebook Connect
        @inject_fb_data($member);

Success
Find

				$id_cache[$row['user_id']] = $row;

Add Before

                // Facebook Connect
                @inject_fb_data($row);

Success
ucp.php
Find

    case 'logout':

Add After

        // Facebook Connect
        if($config['fbconnect_dologout'] == "0")
        {
            $_GET['nofb'] = true;
        }
        
        if(!isset($_GET['nofb']))
        {
            require_once($phpbb_root_path . 'includes/facebook-platform/php/facebook.'.$phpEx);
            $facebook = new Facebook($config['fbconnect_apikey'], $config['fbconnect_appsecret']);
            try {
                $fbid = (int) $facebook->get_loggedin_user();
            }
            catch(FacebookRestClientException $e)
            {
                // Error occured. Let's ignore.
                $fbid = 0;
            }
            //$facebook->kill_cookies(); // Remove any cookies set by Facebook Connect
            
            if($fbid > 0)
            {
                try {
                    $url = "http://www.facebook.com/logout.php?app_key=" . $config['fbconnect_apikey'] . "&session_key=" . $facebook->api_client->session_key . "&next=" . urlencode("http://".$config['server_name'] . $config['script_path'] . "/ucp.php?mode=logout&nofb=1&sid=".$_GET['sid']);
                }catch(FacebookRestClientException $e)
                {
                    $url = "http://".$config['server_name'] . $config['script_path'] . "/ucp.php?mode=logout&nofb=1&sid=".$_GET['sid'];
                }
                header("Location: $url");
                die();
            }
        }

Success
viewtopic.php
Find

	// Set max_post_time
	if ($row['post_time'] > $max_post_time)
	{
		$max_post_time = $row['post_time'];
	}

Add After

    // Facebook Connect
    @inject_fb_data($row);

Success
includes/constants.php
Find

// Additional tables

Add After

define('FBIDS_TABLE',                $table_prefix . 'fbids');  // Facebook Connect by DeViAnThans3

Success
includes/functions.php
Find

if (!defined('IN_PHPBB'))
{
    exit;
}

Add After

require_once('functions_fbconnect.php'); // Facebook Connect

Success
Find

		'SITENAME'						=> $config['sitename'],

Add After

		// Facebook Connect
		'FBCONNECT_APIKEY'				=> $config['fbconnect_apikey'],
		'ENABLE_FBCONNECT'				=> (trim($config['fbconnect_apikey']) != "") ? true : false,
        'FBLANG'                        => get_fb_lang(),

Success
includes/functions_user.php
Find

// Remove reports
	$db->sql_query('DELETE FROM ' . REPORTS_TABLE . ' WHERE user_id = ' . $user_id);

Add After

// Remove facebook links
	$db->sql_query('DELETE FROM ' . FBIDS_TABLE . ' WHERE user_id = ' . $user_id);

Success
includes/ucp/ucp_pm_viewmessage.php
Find

	// Some standard values
	$user_row['online'] = false;

Add Before

    // Facebook Connect
    @inject_fb_data($user_row);

Success
includes/ucp/ucp_prefs.php
Find

'user_style'			=> $data['style'],
						);

Add After

						// Facebook Connect
						// This ensures that an user can not choose to show is e-mail, as this is in violation with Facebook Connect terms!
						if(strstr($user->data['user_email'], "@proxymail.facebook.com"))
						{
							unset($sql_ary['user_allow_viewemail']);
						}

Success
includes/ucp/ucp_profile.php
Find

			case 'reg_details':

Add After

                // Facebook Connect
                $sql = 'SELECT COUNT(*) AS total FROM ' . FBIDS_TABLE . ' WHERE user_id = \'' . $user->data['user_id'] . '\' AND edit = \'0\'';
                $result = $db->sql_query($sql);
                $c = (int) $db->sql_fetchfield('total');
                $new_fbuser = ($c>0) ? true : false;

Success
Find

						'email'				=> array(
							array('string', false, 6, 60),
							array('email')),
						'email_confirm'		=> array('string', true, 6, 60),

Replace With

						'email'				=> array(
							array('string', false, 6, 90),
							array('email')),
						'email_confirm'		=> array('string', true, 6, 90),

Success
Find

					if (($data['new_password'] || ($auth->acl_get('u_chgemail') && $data['email'] != $user->data['user_email']) || ($data['username'] != $user->data['username'] && $auth->acl_get('u_chgname') && $config['allow_namechange'])) && !phpbb_check_hash($data['cur_password'], $user->data['user_password']))

Replace With

					if (!$new_fbuser && ($data['new_password'] || ($auth->acl_get('u_chgemail') && $data['email'] != $user->data['user_email']) || ($data['username'] != $user->data['username'] && $auth->acl_get('u_chgname') && $config['allow_namechange'])) && !phpbb_check_hash($data['cur_password'], $user->data['user_password']))

Success
Find

							$sql = 'UPDATE ' . USERS_TABLE . '
								SET ' . $db->sql_build_array('UPDATE', $sql_ary) . '
								WHERE user_id = ' . $user->data['user_id'];
							$db->sql_query($sql);

Add After

                            // Facebook Connect 
                            if(trim($data['new_password']) != "")
                            {
                                $new_ary = array('edit' => 1);
                                
                                $sql = 'UPDATE ' . FBIDS_TABLE . '
                                    SET ' . $db->sql_build_array('UPDATE', $new_ary) . '
                                    WHERE user_id = ' . $user->data['user_id'];
                                $db->sql_query($sql);
                            }

Success
Find

					'CUR_PASSWORD'		=> '',

Add After

					'IS_NEW_FBUSER'		=> $new_fbuser, 	// Facebook Connect

Success
styles/prosilver/template/index_body.html
Find

<input type="submit" name="login" value="{L_LOGIN}" class="button2" />

Add After

		<!-- IF ENABLE_FBCONNECT -->
		<a onclick="javascript:fbSession(); return false;" href="#"><img src="http://static.ak.fbcdn.net/images/fbconnect/login-buttons/connect_light_medium_short.gif" style="vertical-align: middle;" alt="Login with your Facebook account!" /></a>
        
        <script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/{FBLANG}" type="text/javascript"></script>
        <script type="text/javascript">  
            FB.init("{FBCONNECT_APIKEY}", "xd_receiver.htm"); 
        </script>
		<!-- ENDIF -->

Success
styles/prosilver/template/login_body.html
Find

		<dl>
			<dt>&nbsp;</dt>
			<dd>{S_HIDDEN_FIELDS}<input type="submit" name="login" tabindex="6" value="{L_LOGIN}" class="button1" /></dd>
		</dl>

Add After

<!-- IF S_DISPLAY_FULL_LOGIN -->
	<!-- IF ENABLE_FBCONNECT -->
        <dl>
            <dt>&nbsp;</dt>
            <dd><a onclick="javascript:fbSession(); return false;" href="#"><img src="http://static.ak.fbcdn.net/images/fbconnect/login-buttons/connect_light_medium_long.gif" alt="Login with your Facebook account!" /></a></dd>
        </dl>
        
        <script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/{FBLANG}" type="text/javascript"></script>
        <script type="text/javascript">  
            FB.init("{FBCONNECT_APIKEY}", "xd_receiver.htm"); 
        </script>
	<!-- ENDIF -->
	<!-- ENDIF -->

Success
styles/prosilver/template/overall_header.html
Find

<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">

Replace With

<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}" xmlns:fb="http://www.facebook.com/2008/fbml">

Success
Find

	window.onunload = function()
	{
		for (var i = 0; i < onunload_functions.length; i++)
		{
			eval(onunload_functions[i]);
		}
	}

Add After

    /**
    * Get FaceBook session
    */
    function fbSession()
    {
	 var url = "";
	
	try{
	 if(document.getElementById('login').redirect.value != "")
	 {
	 	url = 'fbconnect.php?redir='+escape(document.getElementById('login').redirect.value);
	 }else{
	 	url = 'fbconnect.php';
	 }
	}catch(err){
	 url = 'fbconnect.php';
	}

    // Auto-login
    var x = document.getElementsByName('autologin').length;
    if(x>0)
    {
        if(document.getElementsByName('autologin')[0].checked == true)
        {
            url += "&autologin=1";
        }
    }
    
    // Hide session
    var x = document.getElementsByName('viewonline').length;
    if(x>0)
    {
        if(document.getElementsByName('viewonline')[0].checked == true)
        {
            url += "&viewonline=1";
        }
    }
	
     FB.ensureInit(function()
     {
        FB.Connect.ifUserConnected(url, function ()
        {
            FB.Connect.requireSession(function ()
            {
				document.location = url;
            });
        });
     });
    }

Success
styles/prosilver/template/ucp_profile_reg_details.html
Find

<div class="panel">
	<div class="inner"><span class="corners-top"><span></span></span>

	<fieldset>
	<dl>
		<dt><label for="cur_password">{L_CURRENT_PASSWORD}:</label><br /><span>{L_CURRENT_PASSWORD_EXPLAIN}</span></dt>
		<dd><input type="password" name="cur_password" id="cur_password" maxlength="255" value="{CUR_PASSWORD}" class="inputbox" title="{L_CURRENT_PASSWORD}" /></dd>
	</dl>
	</fieldset>

	<span class="corners-bottom"><span></span></span></div>
</div>

Replace With

<!-- IF not IS_NEW_FBUSER -->
<div class="panel">
	<div class="inner"><span class="corners-top"><span></span></span>

	<fieldset>
	<dl>
		<dt><label for="cur_password">{L_CURRENT_PASSWORD}:</label><br /><span>{L_CURRENT_PASSWORD_EXPLAIN}</span></dt>
		<dd><input type="password" name="cur_password" id="cur_password" maxlength="255" value="{CUR_PASSWORD}" class="inputbox" title="{L_CURRENT_PASSWORD}" /></dd>
	</dl>
	</fieldset>

	<span class="corners-bottom"><span></span></span></div>
</div>
<!-- ENDIF -->

Success
Locked

Return to “[3.0.x] Styles Database Releases”