SMF Shop

SMFShop => Shop Button Requests => Topic started by: SuperTongue on September 10, 2007, 12:09:16 pm

Title: Dirge Theme Request
Post by: SuperTongue on September 10, 2007, 12:09:16 pm
Theme Name: Dirge
Link to Theme: SMF Website (http://custom.simplemachines.org/themes/index.php?lemma=358)

Thanks once again!
Title: Re: Dirge Theme Request
Post by: inkstains on September 10, 2007, 12:58:27 pm
daniel isn't around much, if you want to post your themes index.template.php file i'll have a crack at it.
Title: Re: Dirge Theme Request
Post by: SuperTongue on September 11, 2007, 04:40:42 am
Here you go (http://rapidshare.com/files/54766804/index.template.php.html)! Thanks for checking it out then!  ;D

I can't upload PHP files to this site so I just put it on rapidshare.
Title: Re: Dirge Theme Request
Post by: inkstains on September 11, 2007, 12:35:50 pm
another user of tinyportal i have little to no experience with that stuff

but try this i don't know whether it will work so make a backup of you index.template.php file before trying it.

rename the attached file from index.template.txt to index.template.php
Title: Re: Dirge Theme Request
Post by: SuperTongue on September 11, 2007, 12:40:57 pm
It doesn't seem to work. I did have a link up once, but it was only showing on the admin menu, and nothing else. But I do know that I only edited the link area (Like where "// The [calendar]" thing is) and nothing else, and when I went to another non-admin page, I just got two bars and no link where it should be.

Any idea when daniel will be back on?
Title: Re: Dirge Theme Request
Post by: inkstains on September 11, 2007, 12:43:03 pm
nah no idea man but someone else might help out if he isn't back on soon
Title: Re: Dirge Theme Request
Post by: inkstains on September 11, 2007, 12:45:48 pm
one more attempt, try this. again backup.
Title: Re: Dirge Theme Request
Post by: Mr.Frost on September 12, 2007, 02:58:27 am
I was going to request a shop button for this theme, but fiured it would be best not to create a new topic.

  i have a fresh install of smf1.1.3 and just a couple mods like shoutbox and quick reply. is it possible for me to try one of the index.templates you've already created for the above user?
 
Title: Re: Dirge Theme Request
Post by: inkstains on September 12, 2007, 03:53:23 am
no i wouldn't recommend it, if you want to put up a copy of your themes index.template.php file i'll have a go at modifying it or someone else will help you out. but i would recommend against trying the above they are specific to his forum.
Title: Re: Dirge Theme Request
Post by: SuperTongue on September 12, 2007, 04:37:08 am
I actually went and asked the author if he could code them for me and he got back to me almost immediately. Here's the info:

Do this to the [current_action]
Code: [Select]
if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm', 'arcade', 'shop')))
And add this for your links for the shop and arcade:

Code: [Select]
// Show the [arcade] button.
echo '
<li', $current_action == 'arcade' ? ' id="active"' : '', '><a href="', $scripturl, '?action=arcade">Arcade</a></li>';

// Show the [shop] button.
echo '
<li', $current_action == 'shop' ? ' id="active"' : '', '><a href="', $scripturl, '?action=shop">Shop</a></li>';

Obviously if you don't have the arcade or shop, you can easily see now how to edit it. Credit goes to the author, crip.

And does anyone know why in my profile (and in posts) my post count is "I am a geek?"

Profile view:
Posts: I am a geek!! (35,025.501 per day)

I don't believe I (or anyone else) could get 35,025.501 posts per day...
Title: Re: Dirge Theme Request
Post by: Mr.Frost on September 12, 2007, 06:31:29 am
Thanks, that worked fine.  Awesome job everyone does here.

 Thanks again,
      Frost