Author Topic: Dirge Theme Request  (Read 5471 times)

SuperTongue

  • Guest
Dirge Theme Request
« on: September 10, 2007, 12:09:16 pm »
Theme Name: Dirge
Link to Theme: SMF Website

Thanks once again!

Offline inkstains

Re: Dirge Theme Request
« Reply #1 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.

SuperTongue

  • Guest
Re: Dirge Theme Request
« Reply #2 on: September 11, 2007, 04:40:42 am »
Here you go! Thanks for checking it out then!  ;D

I can't upload PHP files to this site so I just put it on rapidshare.

Offline inkstains

Re: Dirge Theme Request
« Reply #3 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

SuperTongue

  • Guest
Re: Dirge Theme Request
« Reply #4 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?

Offline inkstains

Re: Dirge Theme Request
« Reply #5 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

Offline inkstains

Re: Dirge Theme Request
« Reply #6 on: September 11, 2007, 12:45:48 pm »
one more attempt, try this. again backup.

Offline Mr.Frost

Re: Dirge Theme Request
« Reply #7 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?
 

Offline inkstains

Re: Dirge Theme Request
« Reply #8 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.

SuperTongue

  • Guest
Re: Dirge Theme Request
« Reply #9 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...
« Last Edit: September 12, 2007, 04:40:56 am by SuperTongue »

Offline Mr.Frost

Re: Dirge Theme Request
« Reply #10 on: September 12, 2007, 06:31:29 am »
Thanks, that worked fine.  Awesome job everyone does here.

 Thanks again,
      Frost