Shape 5

phpBB Club Styles (backup) => Game Crusade - Club => : Dave M February 22, 2011, 05:55:03 PM



: BUG Fix - Vertex Menu 02-22-11
: Dave M February 22, 2011, 05:55:03 PM
This Bug fix addresses
  • Sub items show to groups option was not working - FIXED
  • Added ability to have image as title - By request

To use the new feature is easy for example to have an image instead of a word just insert the path to the image relative to your phpbb3 root directory

for example
:
./images/testmenuimage.png

Image must be .png

File attached must be placed in
:
vertex/vertex_menu/

Thanks
Dave


: Re: BUG Fix - Vertex Menu 02-22-11
: bluestone February 22, 2011, 06:22:47 PM
Where do we put the url of the image? (in the "Menu name:" box?)


: Re: BUG Fix - Vertex Menu 02-22-11
: Dave M February 22, 2011, 08:02:30 PM
Where do we put the url of the image? (in the "Menu name:" box?)

anywhere just make sure its relative to phpbb3

For example if you place it in root/images then put in the box

images/your_image_name.png


: Re: BUG Fix - Vertex Menu 02-22-11
: bluestone February 22, 2011, 09:11:08 PM
Where do we put the url of the image? (in the "Menu name:" box?)

anywhere just make sure its relative to phpbb3

For example if you place it in root/images then put in the box

In what box? The "Menu Name:" box?


: Re: BUG Fix - Vertex Menu 02-22-11
: Dave M February 23, 2011, 02:39:33 AM
Where do we put the url of the image? (in the "Menu name:" box?)

anywhere just make sure its relative to phpbb3

For example if you place it in root/images then put in the box

In what box? The "Menu Name:" box?

Yea lol


: Re: BUG Fix - Vertex Menu 02-22-11
: bluestone February 23, 2011, 04:47:51 AM
I copied the new file over but still can't get the images to work, it just displays the image url.

(http://img155.imageshack.us/img155/8645/97909081.jpg)


: Re: BUG Fix - Vertex Menu 02-22-11
: Dave M February 23, 2011, 07:02:33 AM
Sorry about that i uploaded the wrong file lol

Correct file is attached


: Re: BUG Fix - Vertex Menu 02-22-11
: bluestone February 23, 2011, 04:02:12 PM
Okay, with the new file this happens:

I get an error message: File missing./styles/S5_GameCrusade/vertex/menuStyle.php
And the layout is all squished/messed up:
(http://img191.imageshack.us/img191/3043/38724290.jpg)

So I checked and there isn't even a vertex folder in my S5_GameCrusade style folder, but I do have an S5_data folder with a menu_style.php file in it.

So I tried changing the references to /vertex/menuStyle.php in the new file to /S5_data/menu_style.php instead which fixes the layout but there are no buttons at all in the menu.


: Re: BUG Fix - Vertex Menu 02-22-11
: Dave M February 23, 2011, 04:39:30 PM
Add this where it says its missing that will sort it.

Thanks
Dave


: Re: BUG Fix - Vertex Menu 02-22-11
: bluestone February 23, 2011, 04:57:51 PM
That leaves me with an empty menu:

(http://img815.imageshack.us/img815/9481/53374289.jpg)


: Re: BUG Fix - Vertex Menu 02-22-11
: Dave M February 23, 2011, 05:01:49 PM
Hmmmmm wired hold on ill sort it give me 10 mins


: Re: BUG Fix - Vertex Menu 02-22-11
: Dave M February 23, 2011, 05:30:32 PM
Open
:
styles/S5_GameCrusade/template/crusade-header.html

Find
:
{S5_MAIN_MENU}

Replace with
:
{VERTEX_MAIN_MENU}

This sorts it out

Thanks
Dave


: Re: BUG Fix - Vertex Menu 02-22-11
: bluestone February 23, 2011, 08:23:14 PM
Yup that works, thanks dave!

Haven't texted the sub-level menu permissions yet but I will post here if they still don't work.


: Re: BUG Fix - Vertex Menu 02-22-11
: bluestone February 23, 2011, 08:44:52 PM
Menu images don't work on menu items with a dropdown under them, it displays the text "Menu Item" instead of the image or image url.


: Re: BUG Fix - Vertex Menu 02-22-11
: Dave M February 24, 2011, 03:27:37 AM
Menu item means the image is not there or not found but i will test shortly and let you know

Thanks
Dave


: Re: BUG Fix - Vertex Menu 02-22-11
: Dave M February 24, 2011, 07:32:23 AM
OK i just checked and sub items display images aswell witch means that the image doesent exist or the url to it is incorrect.

Thanks
Dave

Edit: just found the problem give me five mins to fix and ill reupload the vertex_menu.php file


: Re: BUG Fix - Vertex Menu 02-22-11
: Dave M February 24, 2011, 07:38:23 AM
OK here it is fully tested but remember images for the menu must be .png

Thanks
Dave


Edit: also corrected the admin side of the menu place it in the same place


: Re: BUG Fix - Vertex Menu 02-22-11
: bluestone February 24, 2011, 12:53:23 PM
All working now, you are awesome Dave, thanks so much!