SMF Shop
SMFShop => Shop Button Requests => Topic started 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!
-
daniel isn't around much, if you want to post your themes index.template.php file i'll have a crack at it.
-
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.
-
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
-
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?
-
nah no idea man but someone else might help out if he isn't back on soon
-
one more attempt, try this. again backup.
-
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?
-
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.
-
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]
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:
// 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...
-
Thanks, that worked fine. Awesome job everyone does here.
Thanks again,
Frost