Welcome, Guest. Please login or register.

ShoutBox!

Scrubmeister

Yesterday at 10:32:40
Good to see the site back faster than ever. :)
 

Skhilled

2024-04-18, 21:09:09
I've upgraded the server...more resources. ;)
 

Ken

2024-04-18, 20:57:10
Now that you mention it...  :D
 

Skhilled

2024-04-18, 20:47:19
...and, you should notice that the site is much faster.  :o
 

Ken

2024-04-18, 20:31:37
Hey Steve.
 

Skhilled

2024-04-18, 17:56:10
Re-read the message below...
 

Skhilled

2024-03-31, 15:22:06
Oh yeah, you need to upgrade the site first...
 

Ken

2024-03-30, 09:54:54
Whoops! I forgot that the SMF install here on OFF is out of date!  :'(
 

Ken

2024-03-30, 09:44:48
 Conga-Rats Steve!  :thumbup:
Me gonna install it here just for the fun of it!  :)
 

Skhilled

2024-03-29, 22:15:23
Released!  :D

Recent Topics

TP Articles


Search in titles
Search in article texts

Author Topic: Arcade button  (Read 4102 times)

0 Members and 1 Guest are viewing this topic.

Offline Lesmond (OP)

Arcade button
« on: August 31, 2009, 09:43:37 AM »
For Pegasus theme! I made one and added it to the menu, but it shows up in the wrong place in the menu, but where the button supposed to show it doesnt!

I dont know if you noticed the menu is strange for this theme, so it was a bit hard to add the arcade button

this it what I used for the menu code
Code: [Select]
// Arcade button
$context['menubox']['arcade']=array(
'title' => $txt[arcade],
'link' => $scripturl.'?action=arcade',
'chosen' => 'arcade',
'memberonly' => false,
'guestonly' => false,
'permission' => '',
);
      

and here is the menu has it looks on tp test site http://www.tinyportal.co.uk/index.php?theme=44
   

This is the actual img of the menu before any alteration


Online Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11668
  • Gender: Male
  • View Gallery
Re: Arcade button
« Reply #1 on: August 31, 2009, 10:19:50 AM »
I wanted to add buttons for the Arcade & Gallery but the buttons that come with the theme take up lots of space so I didn't think that extra's would work very well and that the row of buttons would break out if more were added.
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Lesmond (OP)

Re: Arcade button
« Reply #2 on: August 31, 2009, 10:27:12 AM »
I wanted to add buttons for the Arcade & Gallery but the buttons that come with the theme take up lots of space so I didn't think that extra's would work very well and that the row of buttons would break out if more were added.
this is what the menu img looks like after I added the button

Offline Lesmond (OP)

Re: Arcade button
« Reply #3 on: August 31, 2009, 10:37:09 AM »
Think I will make a post in the team board, see what bloc says

Online Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11668
  • Gender: Male
  • View Gallery
Re: Arcade button
« Reply #4 on: August 31, 2009, 10:48:05 AM »
Think I will make a post in the team board, see what bloc says

I was just thinking about posting a question about the buttons break out under your name and cause the forum name (Our FamilyForum) to wrap:
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Lesmond (OP)

Re: Arcade button
« Reply #5 on: August 31, 2009, 01:20:35 PM »
Almost got it, just trying to get the text to show under the icon http://www.tinyportal.co.uk/index.php?action=forum;theme=44

Online Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11668
  • Gender: Male
  • View Gallery
Re: Arcade button
« Reply #6 on: August 31, 2009, 02:27:17 PM »
You're getting closer!  riteon
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Lesmond (OP)

Re: Arcade button
« Reply #7 on: August 31, 2009, 03:15:32 PM »
Got it, with some help from Ichbin only took me 5 hrs lol

Offline Lesmond (OP)

Re: Arcade button
« Reply #8 on: August 31, 2009, 04:05:43 PM »
heres the img and style.css if you want it, this is just for the arcade though..

I had to zip the style.css, there is no option for .css attachments  :wink2:

and the code to add to index.template.php it must be added right after the help button code, around line 361

Code: [Select]
// Arcade button
$context['menubox']['arcade']=array(
'title' => 'Arcade',
'link' => $scripturl.'?action=arcade',
'chosen' => 'arcade',
'memberonly' => false,
'guestonly' => false,
'permission' => '',
);
         

I know I dont have to tell you, dont forget to backup :innocent:

Online Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11668
  • Gender: Male
  • View Gallery
Re: Arcade button
« Reply #9 on: August 31, 2009, 06:01:33 PM »
HaHaHa... yeah, I know. :)

Thanks for the codes and images, I'll do this soon.
Gots to find a nice image for the gallery too.
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Lesmond (OP)

Re: Arcade button
« Reply #10 on: August 31, 2009, 06:23:48 PM »
heres one I made, sort of different
looks like this in the menu..

Online Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11668
  • Gender: Male
  • View Gallery
Re: Arcade button
« Reply #11 on: August 31, 2009, 07:56:47 PM »
That might work.  :bigthumb:

I'll give it a go tomorrow.
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Lesmond (OP)

Re: Arcade button
« Reply #12 on: September 01, 2009, 06:51:58 AM »
heres the style.css and img with the gallery (will have to be renamed comp.jpg)

Code: [Select]
// Gallery button
$context['menubox']['gallery']=array(
'title' => 'Gallery',
'link' => $scripturl.'?action=gallery',
'chosen' => 'gallery',
'memberonly' => false,
'guestonly' => false,
'permission' => '',
);
      
« Last Edit: September 01, 2009, 07:02:31 AM by Les »