collapse

Author Topic: Help with Playroom theme  (Read 690 times)

0 Members and 1 Guest are viewing this topic.

Offline Kimmie

  • Apprentice
  • *
  • Posts: 15
  • OS:
  • Windows 7Windows 7
  • Browser:
  • Opera 10.00Opera 10.00
    • View Profile
    • Patriot Games
Help with Playroom theme
« on: May 02, 2010, 04:37:01 PM »
Hi :)

I just installed the playroom theme.  I used to use the Playground Theme Set so I was able to get some of this done myself, but I am needing a little help with buttons and some code for a mod I have installed :)

I got the code put back in for the TAGS mod and I am having it use the rules.png image for that. The problem is, when you hover over that button it doesnt display the word "tags" under it so that folks know what its for.

2nd question, I am using the Automatic Index mod found here:

Code: [Select]
http://custom.simplemachines.org/mods/index.php?mod=1970
Could you help me with that code and an image as well?  please please please  hehehe. When the button installs in the default theme its caption is "Automatic Index" but I feel thats too long of a phrase. Could you have it just show up as "Index" when you hover over the button?


My members as well as myself THANK you for all your hard work on these theme sets. I know alot of work goes into them and it is GREATLY appreciated!!! :)

Offline Shortie

  • Administrator
  • Authority
  • *
  • Posts: 5710
  • The Ultimate Boss
  • OS:
  • Windows 7Windows 7
  • Browser:
  • Firefox 3.6.3Firefox 3.6.3
    • View Profile
    • Graphics Mayhem
Re: Help with Playroom theme
« Reply #1 on: May 02, 2010, 05:16:56 PM »
Hi Ya Kimmie

Will pick this up tomorrow UK time

There is a little frigg to do But I will work out a nice way to do it so it will be beneficial to you

Shortie

Thank You, "Guest" For Reading My Post.


Offline Kimmie

  • Apprentice
  • *
  • Posts: 15
  • OS:
  • Windows 7Windows 7
  • Browser:
  • Opera 10.00Opera 10.00
    • View Profile
    • Patriot Games
Re: Help with Playroom theme
« Reply #2 on: May 02, 2010, 05:32:53 PM »
awesome!! :)

I dont know what a frigg is, will it hurt?  lol


look forward to hearing back from you tomorrow.

Offline Brack

  • Proficient
  • *
  • Posts: 87
  • Boldly Going Nowhere
  • OS:
  • Windows XPWindows XP
  • Browser:
  • Firefox 3.6.3Firefox 3.6.3
    • View Profile
    • MKAware
Re: Help with Playroom theme
« Reply #3 on: May 02, 2010, 05:43:00 PM »
By frigg I would assume Shortie is talking about a little tweak which is required.

 :D

Offline Nukegaming

  • Qualified
  • *
  • Posts: 607
  • OS:
  • Windows VistaWindows Vista
  • Browser:
  • Firefox 3.6.3Firefox 3.6.3
    • View Profile
    • My website
Re: Help with Playroom theme
« Reply #4 on: May 03, 2010, 02:17:32 AM »
and what is this mod do basicaly can anyone explain.

if it is any good i might try to install at my main website.

i realy hope it is a worth mod but i only got like 20 mods instaled on my site and maybe i need more who knows.


MY MODS

Offline Shortie

  • Administrator
  • Authority
  • *
  • Posts: 5710
  • The Ultimate Boss
  • OS:
  • Windows 7Windows 7
  • Browser:
  • Firefox 3.6.3Firefox 3.6.3
    • View Profile
    • Graphics Mayhem
Re: Help with Playroom theme
« Reply #5 on: May 03, 2010, 03:32:55 AM »
Okay first one first

In the themes

Languages folder find ThemeStrings.english.php

And add the following changing the description to what is required

Code: [Select]
$txt['gmtags'] = 'Your Descrition here';

Now in the index.template.php

Find the link for the button and change the alt element from

Code: [Select]
alt="' . $txt['gmrules'] .'" />' . $txt['gmrules'], '';

TO

Code: [Select]
alt="' . $txt['gmtags'] .'" />' . $txt['gmtags'], '';

NOTE as you have changed the language setting you will need to Flush the cache

Now the second one

The above will be required for the Index Button but should be straight forward to complete

To change the title for all the other themes

find

/Themes/default/languages/Modifications.english.php

And look for the section relating to the mod

and change the relevant lines e.g.

Find

Code: [Select]
$txt['auto_index_menu_button'] = 'Automatic Index';

and change to

Code: [Select]
$txt['auto_index_menu_button'] = 'This will be your title here';

Any problems give me a shout

Oh the line to control the button is as follows

Code: [Select]
if (empty($modSettings['auto_index_invitados']) ? !$user_info['is_guest'] : $user_info['is_guest'] || !$user_info['is_guest']) && !empty($modSettings['auto_index_active']))
echo '' . $txt['gmautoindex'] .'' . $txt['gmautoindex'], '';

NOTE This may need a little adjustment so backup you Index.template.php before the edit

Shortie

Thank You, "Guest" For Reading My Post.


Offline Kimmie

  • Apprentice
  • *
  • Posts: 15
  • OS:
  • Windows 7Windows 7
  • Browser:
  • Opera 10.00Opera 10.00
    • View Profile
    • Patriot Games
Re: Help with Playroom theme
« Reply #6 on: May 03, 2010, 08:02:26 PM »
ok I will get these edits made shortly, I have another issue I am currently dealing with that I think might be related to this theme as well. The errors I am seeing only happen when using this theme:

Here is one but there are several as they happen with just about every page view:

8: Undefined index: gmtags

File: /home/*****/public_html/Themes/default/GenericMenu.template.php (body_above sub template - eval?)
Line: 669


Not sure exactly yet where the problem is.  Each one refers to something called "gmtags" and I have no clue where that is stemming from..lol.

A few more are
File: /home/****/public_html/Themes/default/Recent.template.php (body_above sub template - eval?
File: /home/****/public_html/Themes/default/Login.template.php (body_above sub template - eval?



EDIT: I think I know what the problem is. In my original post here, if you recall, I stated that I had already inserted the code for my tags mod. What I did was simply copy and paste the code I used for it from the playground theme into the index file on this theme. And I dont think they are the same..lol. Here is the code I put in for the tags mod:

Code: [Select]
     ' . $txt['gmtags'] . '' . $txt['gmtags'] . ' ';

I will work on seeing if I can get it figured out but if you happen to spot whats wrong with it, feel free to post here and let me know as well..hehehe. I think I might just need to let you look at my index.template.php file I dont wanna screw it up even more..lol. Since I cant post it as an attachment, I can either post it all in a post or I can upload it for you somewhere. Just let me know. :)
« Last Edit: May 03, 2010, 08:26:42 PM by Kimmie »

Offline Shortie

  • Administrator
  • Authority
  • *
  • Posts: 5710
  • The Ultimate Boss
  • OS:
  • Windows 7Windows 7
  • Browser:
  • Firefox 3.6.3Firefox 3.6.3
    • View Profile
    • Graphics Mayhem
Re: Help with Playroom theme
« Reply #7 on: May 04, 2010, 01:31:21 AM »
Check

The themes

/languages/ThemeStrings.english.php

and make sure gmtags is defined and then flush your cache

Thank You, "Guest" For Reading My Post.


Offline Kimmie

  • Apprentice
  • *
  • Posts: 15
  • OS:
  • Windows 7Windows 7
  • Browser:
  • Opera 10.00Opera 10.00
    • View Profile
    • Patriot Games
Re: Help with Playroom theme
« Reply #8 on: May 04, 2010, 01:49:03 PM »
I just checked that file and I dont see the term "gmtags" anywhere in it. this is what is in there:

Code: [Select]

// Version: 2.0 RC2; ThemeStrings



// Colors.


$txt['show_unread_since_visit'] = 'Unread Posts.';
$txt['show_all_unread_replies'] = 'New Replies.';
$txt['ownposts2'] = 'Your Posts.';
$txt['gmhome'] = 'Home';
$txt['gmhelp'] = 'Help';
$txt['gmpm'] = 'Messages';
$txt['gmadmin'] = 'Admin';
$txt['gmmembers'] = 'Members';
$txt['gmsearch'] = 'Search';
$txt['gmprofile'] = 'Profile';
$txt['gmmod'] = 'Moderate';
$txt['gmlogin'] = 'Log In';
$txt['gmlogout'] = 'Log Out';
$txt['gmreg'] = 'Register';
$txt['gmcal'] = 'Calendar';
$txt['gmpmsome'] = 'New Messages';
$txt['gmpmnone'] = 'No Messages';
$txt['gmrules'] = 'Rules';
$txt['gmcontact'] = 'Contact';
$txt['gmforum'] = 'Forum';
$txt['gmfavs'] = 'Favorites';
$txt['gmgallery'] = 'Gallery';
$txt['gmdownload'] = 'Download';
$txt['gmactivity'] = 'Activity';



$txt['variant_smokeyblue'] = 'Smokey Blue';
$txt['variant_framemaker'] = 'FrameMaker Green';
$txt['variant_darkblue'] = 'Dark Blue';
$txt['variant_lightroom'] = 'Lightroom Gray';
$txt['variant_sienna'] = 'Sienna Coffee';
$txt['variant_darkpurple'] = 'Dark Purple';
$txt['variant_indesign'] = 'Indesign Mauve';
$txt['variant_silver'] = 'Silver';
$txt['variant_soundbooth'] = 'Soundbooth';
$txt['variant_aftereffects'] = 'Aftereffects';
$txt['variant_pastelblue'] = 'Pastel Blue';
$txt['variant_pastelpink'] = 'Pastel Pink';
$txt['variant_pastelgreen'] = 'Pastel Green';
$txt['variant_pastellilac'] = 'Pastel Lilac';
$txt['variant_pastelcopper'] = 'Pastel Copper';

$txt['variant_darkgray'] = 'DarkGray';
$txt['variant_sports'] = 'Sports';
$txt['variant_scifi'] = 'Scifi';
$txt['variant_game'] = 'Game';
$txt['variant_horror'] = 'Horror';
$txt['variant_kids'] = 'Kids';
$txt['variant_soap'] = 'Soap';
$txt['variant_music'] = 'Music';
$txt['variant_drama'] = 'Drama';
$txt['variant_fireworks'] = 'Fireworks';
$txt['variant_author'] = 'Author';
$txt['variant_pastelgold'] = 'Pastel Gold';
$txt['variant_pastelturquoise'] = 'Pastel Turquoise';




?>

Let me make your edits above and then I will see if that corrects the problem.


EDIT:
1. Added the code to the themestrings file
2. replaced the code in the index file (i see where I screwed that up..lol)

That seems to have resolved the gmtags issue. :)

Now, with the next steps, where you say "Now the second one

The above will be required for the Index Button but should be straight forward to complete"

I assume that to mean that I need to do those same steps for the automatic index as well (changing the info where necessary). Doing that now.

EDIT: ok I seem to be running into some problems with that last part for the Auto Index. I know you said it should be straight forward, but my brain doesnt work that way..lol. I think the part I am having trouble with is in the ThemeStrings.english.php file. Not sure what that line is supposed to be. Tried these 2 and they didnt work:

Code: [Select]
$txt['gmautoindex'] = 'Automatic Index';

also tried

$txt['auto_index_menu_button'] = 'Automatic Index';

Sorry for being so much trouble, Im just not good at this stuff..lol



« Last Edit: May 04, 2010, 02:34:35 PM by Kimmie »

Offline Shortie

  • Administrator
  • Authority
  • *
  • Posts: 5710
  • The Ultimate Boss
  • OS:
  • Windows 7Windows 7
  • Browser:
  • Firefox 3.6.3Firefox 3.6.3
    • View Profile
    • Graphics Mayhem
Re: Help with Playroom theme
« Reply #9 on: May 04, 2010, 02:16:50 PM »
You got it dude

If there are issues Just add you site to you profile and I can look at the code

Have fun but shout if you need help

Shortie

Thank You, "Guest" For Reading My Post.


Offline Kimmie

  • Apprentice
  • *
  • Posts: 15
  • OS:
  • Windows 7Windows 7
  • Browser:
  • Opera 10.00Opera 10.00
    • View Profile
    • Patriot Games
Re: Help with Playroom theme
« Reply #10 on: May 04, 2010, 02:51:39 PM »
You got it dude

If there are issues Just add you site to you profile and I can look at the code

Have fun but shout if you need help

Shortie

I didnt see this reply and I modified my above post, can you check it out? I am having issues with the Autoindex one :)

I am a "dude-ette" :)

Offline Kimmie

  • Apprentice
  • *
  • Posts: 15
  • OS:
  • Windows 7Windows 7
  • Browser:
  • Opera 10.00Opera 10.00
    • View Profile
    • Patriot Games
Re: Help with Playroom theme
« Reply #11 on: May 10, 2010, 06:15:25 PM »
Just checking on an update on help with adding the autoindex part. Thanks :)

To make it easier, we can leave the title on the button part as Automatic Index.

 


* Search



* Latest Activity.

Signature Image Rotator 1.9 by NerdBoy
[Today at 10:08:33 AM]


2 logo requests by DMHolt57
[Today at 10:02:42 AM]


Post Ratings 1.5 by SoLoGHoST
[Today at 09:56:28 AM]


PM Attachments 1.6 by SoLoGHoST
[Today at 09:56:13 AM]


How do I fix this? Hard to read quotes? by NerdBoy
[Today at 08:50:00 AM]


Dream Portal Logo's Needed by SoLoGHoST
[Yesterday at 10:50:27 PM]


A GM Wallpaper by NerdBoy
[Yesterday at 09:13:10 PM]


Windows 8 Wallpaper Concepts by NerdBoy
[Yesterday at 09:09:57 PM]


GM Dock Images by NerdBoy
[Yesterday at 09:10:57 AM]


Windows 7 Walls by NerdBoy
[November 21, 2010, 08:21:33 PM]


Ultimate Weather by NerdBoy
[November 21, 2010, 09:31:39 AM]


Ultimate Weather version 1.01 by MJCSD
[November 20, 2010, 10:32:36 PM]


Logo & Sig Request by NerdBoy
[November 19, 2010, 05:33:04 PM]


StormFront for SMF RC1.2 by spoogs
[November 19, 2010, 03:19:41 PM]


RC3 to RC4? by NerdBoy
[November 19, 2010, 06:35:11 AM]