curveSMF Theme!
Samples
- Index. (http://www.alnabri.net/smf-stuff/curveSMF-index.gif)
- MessageIndex. (http://www.alnabri.net/smf-stuff/curveSMF-messages.gif)
- Display. (http://www.alnabri.net/smf-stuff/curveSMF-display.gif)
- Calendar (http://www.alnabri.net/smf-stuff/curveSMF-calendar.gif)
- One Column Index. (http://www.alnabri.net/smf-stuff/curveSMF-one.gif)
Download
- curveSMF Theme (http://www.alnabri.net/smf-stuff/Curve.tar.gz)
-
- Buttons in Turkish (http://www.alnabri.net/smf-stuff/Curve-Turkish.zip) thanks goes to a former member.
- Buttons in Chinese traditional (http://www.alnabri.net/smf-stuff/Curve-chinese_traditional.zip) thanks goes to CapriSkye (http://www.simplemachines.org/community/index.php?action=profile;u=2491)
- Buttons in Italian (http://www.alnabri.net/smf-stuff/Curve-Italian.zip) thanks goes to Cmaj7 (http://www.simplemachines.org/community/index.php?action=profile;u=17737)
- Buttons in German (http://www.alnabri.net/smf-stuff/Curve-German.zip) thanks goes to staudili (http://www.simplemachines.org/community/index.php?action=profile;u=21927)
Modifications-Adding links to the top bar:
open 'index.template.php' and search for:
maybe | some | links | here!
(replace) it with something like this:
<a href="http://www.my.com">Mail</a> | <a href="http://www.my.com">Guest</a>
-Adding another menu or links to the left:
open 'index.template.php' and search for:
<div class="Col1H">Forum menu</div>';
template_menu();
echo '
<br />
add (after) it something like this:
<div class="Col1H">My new links!</div>
<a href="http://www.my.com">Link #1</a><br />
<a href="http://www.my.com">Link #2</a><br />
<a href="http://www.my.com">Link #2</a><br />
-Using the one column view:
in the zip file under the curveSMF theme folder you will find a file called 'index.template.php' , (delete) it and (rename) 'index.template(1).php' to 'index.template.php'
Notes1. the buttons, images and theme are free as long as you use them with SMF!*- If you have installed old version of this theme, please read the changes (http://www.simplemachines.org/community/index.php?topic=31935.0)!
Yey! :D
Downloading right now...
Just installed and all went well..excellent theme!
Très Esthétique !
I don't the english for... ;)
Very stylish :D
Great job man, you made one sweet theme.
Ofcourse I do have some comments.
- The news and stats box aren't styled the way the rest is in the one colum index (which I wouldn't be surprised if most people use that one)
- The dark blue/gray top block just isn't quite styled the way the rest is. In my eyes that's a pity because you could've made it match better and have created a much more impressive theme.
Bravo.
-[Unknown]
Again, exellent work.
Very very very nice :)
Thanks A.M.A
ZeFroG:
The same goes to your theme :) I would love to see it here.
Burpee:
yes .. I did not want to make it at first but changed my mind later and did it quickly .. about the top bar if you got good idea I'll try to use it.
Thanks all for your great feedback .. I really appreciate it .. and glad you like it.
Quite smooth A.M.A. Quite smooth!
-Jazhawk
woo hoo! YEAH! #1
Great theme!
Fits perfectly amongst the others,
although I'm using urs as default now, the others dun =S
neway I added fading links to urs aswell, hope u dun mind...
again GREAT work!
thanks all for your comments :)
This is now my fav theme! I have it installed on my site...
http://www.airport-tkd.com/forum/index.php?theme=11
Not as the default one though, my members don't like change unless they do it!! ::)
Cheers lad!
Very nice! This is one of your best ones yet :)
I like your theme! a lot. :)
wow, side navigation
looks good indeed :)
just found a little thing to comment: the stats part doesn't fit when the numbers are growing
i just got rid of the "height: 35px;" part in the template in my forum ;)
Found a small XHTML error:
BoardIndex.php
find: if (!empty($board['last_post']['id']))
echo '
<span class="smalltext">
', $txt[22], ' ', $txt[30], ' ', $board['last_post']['time'], '<br />
', $txt['smf88'], ' ', $board['last_post']['link'], ' ', $txt[525], ' ', $board['last_post']['member']['link'];
echo '
</span>
</td>
replace with: if (!empty($board['last_post']['id']))
echo '
<span class="smalltext">
', $txt[22], ' ', $txt[30], ' ', $board['last_post']['time'], '<br />
', $txt['smf88'], ' ', $board['last_post']['link'], ' ', $txt[525], ' ', $board['last_post']['member']['link'], '
</span>';
echo '
</td>
Problem: the close span tag (</span>) is outside the if statement, but the open tag is inside.
Thanks a lot guys :)
thanks Spaceman-Spiff for the fixes .. will update when RC2 comes out.
I borrowed ideas/modifyed this theme in my board.
http://foorumi.hoitajat.net/
One of the most beautiful themes I've found available here...
Does it happen to be available in italian too?
Thanks
Great theme!!
How can I match the style of the additional links in the left menu to the original Forum Menu style
marcnyc
nope .. sorry
Redeye
they are graphics .. so you need to make new ones like them
Duh!!!
Thanks AMA.
I've been informed by one of our forum members -
QuoteDoesn't render properly in Konqueror or Firefox on Linux. The L/h section tends to take priority with sizing meaning it can end up 66% or more of teh screen with the 'meat' shoved into a tiny column on the right.
Can anynone here confirm this as I don't have access to Linux www.honda-varadero-uk.org/forum/
TIA
This is a very pretty theme. good job.
It's really good :) Clean, straight and beautifully structured!
Keep up the good work!
P
Redeye
actually it did happed to me only in FF .. did not know really what is causing that .. CSS and XHTM validate ok ..
Radianation - Prone
thanks glad you like it.
I had the same problem with the left column in Firefox. The problem is with the overflow creating the vertical scrolls. FF chokes on that part of the code. Remove the overflow from the CSS and the column works just fine.
Thanks sakamuyo, for the tip .. did not know that .. and would not figure it out without your help.
It seems working great with no *chokes* so far
any how .. I'll update it later .. this is how to fix it , in index.template.php look for:
<div style="overflow: auto; padding: 5px;" class="smalltext">', $context['random_news_line'], '</div>
and only delete ( overflow: auto; )
Display.template, that JS bookmark addon is great. But it wont work in Firefox, only IE.
yes .. been reading some topics on FF's forum but with no good solution so far
Too bad, i really like that feature :)
I just noticed the extra features - bookmarking a topic, collapsing areas (you can collapse sections in the info center, collapse the legend on the messageindex) - very nice.
As for bookmarks in other browsers, I did some digging and found one that works in both IE and Firefox (not sure about Opera):
<script type="text/javascript" language="JavaScript">
<!--
function bookmark(anchor)
{
if(window.external)
{
window.external.AddFavorite(anchor.getAttribute('href'), anchor.getAttribute('title'));
return false;
}
return true;
}
// -->
</script>
...
<a href="bookmarkurl" rel="sidebar" title="Bookmark title" onclick="return bookmark(this)">Click me!</a>
Oh yeah... Just noticed the smileys in the quick reply box. You should fix that so it uses the smiley set chosen by the user and also picks up any smileys in a "postbox" so you can use the "more" link :P
Quote from: Oldiesmann on October 11, 2004, 12:10:40 PM
As for bookmarks in other browsers, I did some digging and found one that works in both IE and Firefox (not sure about Opera):
Thanks! It works! In Opera too. :)
AMA, put that JS to index template header and this in display.template:
<a href="', $scripturl,'?topic=', $context['current_topic'],'" rel="sidebar" title="', $context['subject'], '" onclick="return bookmark(this)" ><img src="', $settings['images_url'], '/C-Tfav.gif" alt="bookmark this topic!" align="middle" border="0" /></a>
It works crossbrowser!
thanks Owdy , Oldiesmann for your help.
Thanks for this great theme, I hope you continue to update this theme so that it always works with SMF.
Edit: My visitors have also commented that this theme is great.
Is the fixed JS from owdy in the template or do I need it myself?
yes .. all fixes are included with the RC2 version.
you mean at the Board index or messages index .. cause they are all working!
I tried making a test post and making it unread, guess I need to wait for a child board post from another user.
But if bold and the new child board posts icon works then I'm happy. Thanks A.M.A for a great theme.
tried to register at you forum but you have mail activation on .. make anew user, post some topics .. logout .. login with you original account and see how it looks.
A.M.A I'll use your test account to test it out.
Edit: It works! Thanks for your help. :D
A.M.A - This theme is soooo luverly...Thank you so much for sharing this with us...
I've been using on my site and updating it ever since you first released it.
The only mod I made was the buttons (I wanted less graphics-intensive ones). Thanks again!
Keep up the excellent work!
thanks Eris Siva , glad you like it.
Thank alot.
i loved.
A.M.A!
This theme is very, very nice... it will be in theme's honour list ;D
It's possible to translate buttons to Portuguese? I have noted that "Split" button is misspelled.
Congratulations for the excelent work you have made! 8)
Carlos Lázaro
koko
Thanks
CAlberto
Thanks for the note .. updated with the correct spelling.
If you want I can send you the 'psd' of those buttons to translate.
:D,
Of course I want it... This theme must be used in did!
I will attempt to translate it to portuguese and I'll make available soon as possible to SMF people.
What is the 'font name' used in the buttons?
Regards,
Carlos Lázaro
Buttons and Menu psd (http://www.alnabri.net/smf-stuff/CurveImagesPsd.zip)
I've used these fonts :
Verdana 7pt
Small fonts 5pt
04b_09 6pt
but you can use any other fonts you see fit.
What's the link to the updated split button without having to reupload and remodify the theme.
Quote from: A.M.A on November 02, 2004, 01:41:26 PM
Buttons and Menu psd (http://www.alnabri.net/smf-stuff/CurveImagesPsd.zip)
I've used these fonts :
Verdana 7pt
Small fonts 5pt
04b_09 6pt
but you can use any other fonts you see fit.
Thanks, A.M.A.
I'll be working on them.
Carlos
Quote from: CarLBanks on November 02, 2004, 05:01:34 PM
What's the link to the updated split button without having to reupload and remodify the theme.
attached
you have it in winzip file??
i need it
and it is cool
Quote from: Falck_11 on November 03, 2004, 02:37:17 PM
you have it in winzip file??
i need it
and it is cool
the latest winzip can handle tar .. or you could use 7-zip (http://www.7-zip.org/)
my zip cant take it and.. i dload now :D
This is just a great theme, Just installed it as default on my new forum and it looks very good.
The only thing I'd like to see changed are the topic icons in a topic-list. They look like they are standard. Will there be an update for those as well, A.M.A.?
thanks .. you could use those of nuvola Button Sets (http://www.simplemachines.org/community/index.php?topic=18760.0)
Excellent theme - another misspelling I noticed is the "modify" which is spelt "modfiy"...
Thanks .. updated.
umnn was checking out the sites that have been useing the theme and in FireFox things weren't so fine the theme is real cool only if it could work in good ole fire fox
:)
The latest resale works great in FF .. what problem(s) in FF?
Hi,
First of all it's a great skin!!! You have done wonderful job, A.M.A!
Thank you for the skin!:)
If it isn't a problem a have two "funny" questions.
I have tried to change the colors of the background
between the Categories (Forums) for more useful navigation
of users. Unfortunately it has been unsuccessful.
I'll be thankful if you give me some hints.
Also I would like to put a banner(s) in the left part
under the "Forum menu" and under thebuttons.
I tried it and I saw "Parsed error" :) :
Quoteopen 'index.template.php' and search for:
Code:
<div class="Col1H">Forum menu</div>';
template_menu();
echo '
<br />
Quoteadd (after) it something like this:
Code:
<div class="Col1H">Advertising</div>
<a href="http://www.domain.com/"><img src="http://domain.com/images/banner.gif" width="125" height="60" border="0" alt="??" ></a><br />';
Definitely I have missed something. :)
Thank you for any advice!
Try adding this:
<div class="Col1H">Advertising</div>
<a href="http://www.domain.com/"><img src="http://domain.com/images/banner.gif" width="125" height="60" border="0" alt="??" ></a><br />
w/o the "';" after it (which is probably already there, which is causing the parse error)
Thank you, Burpee!
I'll try it now! :)
why didn't you particpate in the theme contest with this one?!
you would've won for sure! ;D
ماشاء الله عليك .. يعطيك العافية
خطيرة والله :P
بس فين الاصدار العربي منها؟
Denis
thanks .. change in style.css
#bodyarea
{
background-color: #F2F2F2;
}
NeverMind
thanks ..
مشكور اخوي .. بمشية الله ساقوم بتغير كل القوالب لتتوافق مع اللغة العربية
Hmm... /me wants to know what you guys are saying in arabic :P
Notice: Undefined index: mark_unread in /home/cmturkey/www/forum/Sources/Load.php(1090) : eval()'d code on line 195
Hi!
İ have a problem.I get this messege! what's sollution...
Regards
Quote from: Burpee on November 09, 2004, 11:45:54 AM
Hmm... /me wants to know what you guys are saying in arabic :P
just that he wants the theme ready for Arabic :)
Quote from: Addmanager on November 09, 2004, 12:15:11 PM
Notice: Undefined index: mark_unread in /home/cmturkey/www/forum/Sources/Load.php(1090) : eval()'d code on line 195
Hi!
İ have a problem.I get this messege! what's sollution...
Regards
are you using RC2!
Quote from: A.M.A on November 09, 2004, 12:46:28 PM
Quote from: Burpee on November 09, 2004, 11:45:54 AM
Hmm... /me wants to know what you guys are saying in arabic :P
just that he wants the theme ready for Arabic :)
Hmm... Maybe I should start learning arabic... that way I'll be able to speak with another 200,000,000 people :P ...
Oh wait, first I have to learn czech, then mandarin and then hopefully I'll get around to learning arabic or perhaps hindi... :D
Quote from: A.M.A on November 08, 2004, 10:30:46 AM
The latest resale works great in FF .. what problem(s) in FF?
I
was having a problem in FF (not sure if it's the same problem...). For some reason the forum page scews all the way over to the right and doesn't fit the browser....But that only happened for one day (wierd) and hasn't showed up since then.
Tested it with FF 0.7-1.0
FINAL!!! (released today....w00tah! )
Quote from: Eris Siva on November 09, 2004, 03:41:15 PM
Quote from: A.M.A on November 08, 2004, 10:30:46 AM
The latest resale works great in FF .. what problem(s) in FF?
I was having a problem in FF (not sure if it's the same problem...). For some reason the forum page scews all the way over to the right and doesn't fit the browser....But that only happened for one day (wierd) and hasn't showed up since then.
Tested it with FF 0.7-1.0 FINAL!!! (released today....w00tah! )
Yes that was fixed hopefully ..
http://www.simplemachines.org/community/index.php?topic=16858.msg146192#msg146192
thanks A.M.A i upgraded it
Hi A.M.A.
I don't know if you are willing to make some menu-icons just like home.gif for example, but if you do could you make me these who?
forum
email
This is because I can't get it right with the menu.psd and Paint Shop Pro 7 :( Maybe I'm using the wrong progran?
Thanks in advance
btw. I don't own Photoshop, I can't pay the money for.... sniff
Quote from: Burpee on November 08, 2004, 06:44:34 PM
Try adding this:
<div class="Col1H">Advertising</div>
<a href="http://www.domain.com/"><img src="http://domain.com/images/banner.gif" width="125" height="60" border="0" alt="??" ></a><br />
w/o the "';" after it (which is probably already there, which is causing the parse error)
Just to confirm! It works!
Thank you,
Burpee! :)
Quote from: A.M.A on November 09, 2004, 10:40:42 AM
Denis
thanks .. change in style.css
#bodyarea
{
background-color: #F2F2F2;
}
Thank you,
A.M.A! :)
Sorry, but I didn't explain correctly! ::)
I'd like to cjange the background for each Forum.
For example:
"Forums Software" -
Grey background;
"Develop your Forum" -
White background;
"Forums Promotion Tips" - again
Grey background;
"Forums Hacks / Mods / Themes" - again
White background;
etc .
Is it possible?
Thank you!
Yup, it's possible...
I don't really have time to work it all out for you right now, but the basic essense of the idea is that you add a class with the number of each board to each table row in the theme files, and then you need to define all these classes in your stylesheet as well... I hope that makes enough sense to you :P
It's pretty much the same trick as used to get different board icons (http://www.simplemachines.org/community/index.php?topic=7370.msg97690#msg97690).
Hey, I just downloaded and installed 'Curve1' yesterday, and it's great. However, when I view the search page in Internet Explorer, I see the box for a missing graphic. Check it out (in IE):
http://www.undiscussion.com/index.php?action=search;advanced
Looks like the culprit is "Curve1/images/search_box.gif"
Is this a missing graphic?
yup .. yet another missing one :)
updated and attached
Quote from: Burpee on November 10, 2004, 07:47:59 AM
Yup, it's possible...
I don't really have time to work it all out for you right now, but the basic essense of the idea is that you add a class with the number of each board to each table row in the theme files, and then you need to define all these classes in your stylesheet as well... I hope that makes enough sense to you :P
Heh ... Is there any easier way? :)
I know there's supposed to be another way to create alternating backgrounds... They used some trick to create that effect in the Display template, but I'm not quite sure on how to implement that into the BoardIndex...
Perhaps someone else knows how to do that?
The code I'm referring to is in Display.template.php:
', $message['alternate'] == 0 ? 'windowbg' : 'windowbg2', '
Maybe I have to try ... :)
Great. I added it and fixed the problem. Kudos!
Hi A.M.A
Kann you send me the buttons in pdf files or better inufo files? I want to make them german.
Hello,
Can you send me the psd files so that I can produce the Greek button?
Thanks!
here are the psd files:
http://www.alnabri.net/smf-stuff/CurveImagesPsd.zip
how would i go about changing the colours of the blue bar at the top, and/or adding a picture instead of my communities name?
The top-bar is an image divided into these files:
C-TitL.gif , C-TitM.gif , C-TitR.gif C-TitM1.gif and C-TitR1.gif
They are found in the images folder and used in index.template.php:
<td width="1%"><img src="', $settings['images_url'], '/C-TitL.gif" width="30" height="45" alt="" /></td>
<td width="28%" style="background-image: url(', $settings['images_url'], '/C-TitM.gif);"><span style="font-family: Tahoma, sans-serif; font-size: 14px; color:white;">', $context['forum_name'], '</span></td>
<td width="1%"><img src="', $settings['images_url'], '/C-TitR.gif" width="20" height="45" alt="" /></td>
<td width="69%" style="background-image: url(', $settings['images_url'], '/C-TitM1.gif);" valign="bottom" align="right">maybe | some | links | here! </td>
<td width="1%"><img src="', $settings['images_url'], '/C-TitR1.gif" width="26" height="45" alt="" /></td>
search parameter "check all" not using
Strange .. it seems that the JavaScript for inverting the check boxes doesn't like the fieldset tag!
I've made a filedset using CSS which seems working without any problem. If I do not find a better solution I'll use this method and update the theme.
Just finished installing Curve on my site! I have to say I love it! :)
Thanks! :)
Can you post the button set for CurvesSMF? I can't unzip it on my computer.
you can use http://www.7-zip.org/ to unzip.
I use Izarc but it always seems to give me another zip file.
I can...
Turkish buttons:
http://forum.eggheads.gen.tr/curve_buttons.zip (27.88 Kb.)
Thanks .. updated the first post.
Hello AMA,
I didn't see if I had made a post earlier in this topic, so, Thanks so much for your Theme. I've been using it since I upgraded to SMF 1.0 (preview), Of course there are plenty of Others here to thank for the rest of my board.
I still have to resize a couple of pages, but it's comming along fine. I still have to upgrade some MOD's but the older one's seem to run fine, like the Location or Member map, arcade, threadmarks, chat to name a few. I also added a menu or two. My members like the new look. Chalk up another BB converted over to your CurveSMF Theme. Happy New Year!!.
http://www.todaysxtra.com/smf/index.php
TodaysXt.
TodaysXt
Thanks .. glad you have found it of use and happy new year.
Are there also German Buttons?
Turkish button set for CURVE
http://forum.eggheads.gen.tr/curve_buttons.zip
I've already added the link to the first post of the Curve topic ..
thanks for your effort.
Quote from: thomasdurka on December 29, 2004, 07:40:42 PM
Are there also German Buttons?
If you can translate them , I'll PM you the PSDs.
someone have dutch buttons for this theme please :D Thanks Jento :D
Is it compatible with SMF 1 final? Or you need to implement changes to it?
Quote from: spiros on December 31, 2004, 10:11:50 AM
Is it compatible with SMF 1 final? Or you need to implement changes to it?
It says: "[Theme]CurveSMF for SMF 1.0". So... methinks it's compatible ;).
-[Unknown]
bang on time... :)
how nice! very nice... ;D
Great work A.M.A, thanks
Thanks, I could not be sure about it as this thread started before final version was released (September 19, 2004)...
Quote from: [Unknown] on December 31, 2004, 10:34:02 AM
Quote from: spiros on December 31, 2004, 10:11:50 AM
Is it compatible with SMF 1 final? Or you need to implement changes to it?
It says: "[Theme]CurveSMF for SMF 1.0". So... methinks it's compatible ;).
-[Unknown]
http://66.90.103.17/vbnet/index.php
its not working right, please help.
Quote from: RyanB on January 03, 2005, 05:15:57 PM
http://66.90.103.17/vbnet/index.php
its not working right, please help.
404 http://dhost.info/vbnet/forums/Themes/Curve1/images/english/home.gif
404 http://dhost.info/vbnet/forums/Themes/Curve1/index.template.php
-[Unknown]
Quote from: [Unknown] on January 03, 2005, 05:20:26 PM
Quote from: RyanB on January 03, 2005, 05:15:57 PM
http://66.90.103.17/vbnet/index.php
its not working right, please help.
404 http://dhost.info/vbnet/forums/Themes/Curve1/images/english/home.gif
404 http://dhost.info/vbnet/forums/Themes/Curve1/index.template.php
-[Unknown]
wierd,
http://dhost.info/vbnet/Themes/Curve1/images/english/home.gif
http://dhost.info/vbnet/Themes/Curve1/index.template.php
are the url's, i used repair_settings.php when moving the forums directory.
Is there a SDK for graphics buttons (maybe in PSD format) and the font used in the SDK?
well done!!
I do have one question. How can I make the Message area smaller so that I can have bigger avatars?
a very nice looking theme.. perhaps may be the new look for my site when I switch to SMF..
Hey Oldiesmann.. I see you at MK all the time ;) can't wait for Mk to get as good as 1.1a :D
Thank you
Aaron
arabic buttons for the Curve is coming :P
samples:
Hi, I am asking if there is a way to make that text that says your site's name bigger.
Thanks
Midgardthanks
Enigmain
Display.template.php look for and change the numbers in red:
Quote<td valign="top" width="16%" rowspan="2" style="overflow: hidden;">
Quote<td valign="top" width="85%" height="100%">
thanks
WxChat.comthanks
NeverMindwell done .. thanks.
maufonsecain
index.template.php:
<span style="font-family: Tahoma, sans-serif; font-size: 14px; color:white;">', $context['forum_name'], '</span>
Thank you A.M.A!!!!!!!! ;) ;) ;) ;)
You are a nice person :)
there is a problem tho!
the theme doesn't use the default smilies set that we set in the admin panel!
it uses it's own smilies, how can we fix that ?
Quote from: NeverMind on January 12, 2005, 06:45:58 AM
there is a problem tho!
the theme doesn't use the default smilies set that we set in the admin panel!
it uses it's own smilies, how can we fix that ?
Yes .. only in Quick Reply box. You will find those smiley in your
Themes/Curve/images you can simply copy yours over them.
How should i do to have the "quick reply" window ?
Quote from: ChoAtic on January 13, 2005, 05:14:29 AM
How should i do to have the "quick reply" window ?
Where is the Quick Reply box? (http://support.simplemachines.org/faq/?action=display&faq=60)
Updated to 1.0.1
If you need to apply the modifications manfully .. then edit
- BoardIndex.template.php
// Version: 1.0; BoardIndex
replace with:
// Version: 1.0.1; BoardIndex
<div style="float: left; width: 50%;">', $txt[490], ': <b>', $modSettings['totalTopics'], '</b></div>', $txt[94], ' ', $txt[95], ': <b>', $modSettings['totalMessages'], '</b><br />', !empty($context['latest_post']) ? '
replace with:
<div style="float: left; width: 50%;">', $txt[490], ': <b>', $modSettings['totalTopics'], '</b></div>', $txt[489], ': <b>', $modSettings['totalMessages'], '</b><br />', !empty($context['latest_post']) ? '
', $txt[94], ' ', $txt[19], ': <b><a href="', $scripturl, '?action=mlist">', $modSettings['memberCount'], '</a></b><br />
replace with:
', $txt[488], ': <b><a href="', $scripturl, '?action=mlist">', $modSettings['memberCount'], '</a></b><br />
- Profile.template.php
// Version: 1.0; Profile
replace with:
// Version: 1.0.1; Profile
if ($post['can_delete'] && ($post['can_mark_notify'] || $post['can_mark_notify']))
with:
if ($post['can_delete'] && ($post['can_mark_notify'] || $post['can_reply']))
Is there any "Games" or "Chat" buttons for this theme?
Attached.
A.M.A.
thanks for the update
Button Set: Chinese Traditional buttons for Curve theme
Author: A.M.A
Language: Chinese Traditional
Preview: (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fopen.38.com%2Fpix%2Fcurvepreview.png&hash=7314a160e1932c2a945d5574ebda670cf11fdc07)
Download: Curve Chinese Traditional (http://open.38.com/pix/curve-chinese-traditional.rar)
Thanks go to AMA for letting me use his psd.
Thank you A.M.A :D
But, I alredy put them in my forum, and they look different from the other ones.....
Here is my site: www.gamingalley.webplanethost.com/forum (http://www.gamingalley.webplanethost.com/forum)
Enigma
thanks
CapriSkye
Thanks for taking the time to do them .. I appreciate it.
maufonseca
You need to put <br /> right before the button code.
Where, in index.template.php?
Sorry, I dont know a lot of code
Quote from: maufonseca on January 17, 2005, 08:03:55 PM
Where, in index.template.php?
Sorry, I dont know a lot of code
Yes .. look for the code for those images and add <br /> before them, or post your menu code here and I'll show how.
// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
global $context, $settings, $options, $scripturl, $txt;
// Show the [home] and [help] buttons.
echo '
<a href="', $scripturl, '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/home.gif" alt="' . $txt[103] . '" style="margin: 2px 0;" border="0" />' : $txt[103]), '</a><br />
<a href="', $scripturl, '?action=help" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/help.gif" alt="' . $txt[119] . '" style="margin: 2px 0;" border="0" />' : $txt[119]), '</a><br />';
// How about the [search] button?
if ($context['allow_search'])
echo '
<a href="', $scripturl, '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/search.gif" alt="' . $txt[182] . '" style="margin: 2px 0;" border="0" />' : $txt[182]), '</a><br />';
// Is the user allowed to administrate at all? ([admin])
if ($context['allow_admin'])
echo '
<a href="', $scripturl, '?action=admin">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/admin.gif" alt="' . $txt[2] . '" style="margin: 2px 0;" border="0" />' : $txt[2]), '</a><br />';
// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo '
<a href="', $scripturl, '?action=profile">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/profile.gif" alt="' . $txt[79] . '" style="margin: 2px 0;" border="0" />' : $txt[467]), '</a><br />';
// The [calendar]!
if ($context['allow_calendar'])
echo '
<a href="', $scripturl, '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/calendar.gif" alt="' . $txt['calendar24'] . '" style="margin: 2px 0;" border="0" />' : $txt['calendar24']), '</a><br />';
echo '<a href="', $scripturl, '?action=arcade"><img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/games.gif" alt="' . "Arcade" . '" style="margin: 2px 0;" border="0" /></a>', $context['menu_separator'];
echo '<a href="', $scripturl, '?action=chat"><img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat.gif" alt="' . "Chat" . '" style="margin: 2px 0;" border="0" /></a>', $context['menu_separator'];
// If the user is a guest, show [login] and [register] buttons.
if ($context['user']['is_guest'])
{
echo '
<a href="', $scripturl, '?action=login">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/login.gif" alt="' . $txt[34] . '" style="margin: 2px 0;" border="0" />' : $txt[34]), '</a><br />
<a href="', $scripturl, '?action=register">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/register.gif" alt="' . $txt[97] . '" style="margin: 2px 0;" border="0" />' : $txt[97]), '</a>';
}
// Otherwise, they might want to [logout]...
else
echo '
<a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/logout.gif" alt="' . $txt[108] . '" style="margin: 2px 0;" border="0" />' : $txt[108]), '</a>';
}
?>
Here it is ;D
change these:
echo '<a href="', $scripturl, '?action=arcade"><img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/games.gif" alt="' . "Arcade" . '" style="margin: 2px 0;" border="0" /></a>', $context['menu_separator'];
echo '<a href="', $scripturl, '?action=chat"><img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat.gif" alt="' . "Chat" . '" style="margin: 2px 0;" border="0" /></a>', $context['menu_separator'];
to:
echo '<a href="', $scripturl, '?action=arcade"><img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/games.gif" alt="Arcade" style="margin: 2px 0;" border="0" /></a><br />
<a href="', $scripturl, '?action=chat"><img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/chat.gif" alt="Chat" style="margin: 2px 0;" border="0" /></a><br />';
Thanks, but they still look the same :'(
It looks fine to me in FF and IE!
I use IE........... I dont understand what happends ??? ??? ???
Could you please post screenshot of the problem you are having now.
sorry, I dont know how to make screenshots :'(
Quote from: maufonseca on January 19, 2005, 03:05:15 PM
sorry, I dont know how to make screenshots :'(
Click on the 'Print Scrn' button on your keyboard, which is usually next to F12. This will take a.. well shot of the screen. Then open up Paint and press Ctrl + V (Paste) Save it, upload it and then put a link to it here :)
Ok, Thank you :)
Here is the screen:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg.photobucket.com%2Falbums%2Fv57%2Fmaufonseca93%2FAvatars%2520and%2520siggys%2FMenu.bmp&hash=46e03a19659e0be5de41b34402d556356f49fc45)
/me buy a new glasses :)
Sorry though it was only the codes.
here .. try these new ones attached.
Thank you A.M.A!!!!
I think I am trying to do the impossible here. I want the coppermine SSI Random images to show up under the menu. Here is the code I have and the error.
<div class="Col1H">Forum menu</div>';
template_menu();
echo '
<br />
<div class="Col1H">New Images</div>';
ssi_CoppermineImages();
echo '
</td>
<td width="84%" class="Col2">';
Error:
QuoteFatal error: Call to undefined function: ssi_coppermineimages() in /home/dancedancekc.com/Forums/Sources/Load.php(1052) : eval()'d code on line 183
Thanks
edit: Problem Solved, working now!
Is there a way to replace the forum name with a logo that I have created for my site?
yes, please search the forums. This has been asked many times ;)
Quote from: scifi451 on February 01, 2005, 05:34:20 PM
Is there a way to replace the forum name with a logo that I have created for my site?
in
index.template.php look for:
<span style="font-family: Tahoma, sans-serif; font-size: 14px; color:white;">', $context['forum_name'], '</span>
and replace it with your logo.
I haven't seen anything about this in the thread, so I figured that I would ask to see if anyone can help me.
What i'd like to do is add lines between the boards, like how the default SMF theme is. I just want to make it look a bit nearter, and I think adding the lines will help out.
Thanks.
Will not be good if added to this design.
Love the theme...do u have the side navigation icons for ADMIN and PROFILE?
attached.
Hey A.M.A. another great theme as usual. However I will have a request... The One Column Index. template is the one that I have chosen to use but you know the News Box and the Key Stats boxes on the right, can you make them look simlar to the userinfo box? It would look much cooler...
I've fixed it myslef by playing around with css and created my own buttons which are missing in the original Turkish package, you can check the forum here (doesn't require registration: http://forum.turkish.doom9.org/index.php?board=12.0) :)
Buttons in spanish?
Nope, In Turkish...
Looks good forsakenlad .. well done.
Thanx A.M.A, thanks again for the great theme. CurveSMF looks elegant and also beautiful and suits a video forum where we much value quality... ;)
Where is "maybe| some | links | here" in index.template.php? I don't see it.
line#151
<td width="69%" style="background-image: url(', $settings['images_url'], '/C-TitM1.gif);" valign="bottom" align="right">maybe | some | links | here! </td>
Thanks A.M.A
Nice theme. I've put it in action on my website (http://www.safecomputingguide.info/forums/). Thanks!
:)
- Eric (http://www.safecomptuingguide.info)
happytutor - eksimba
thanks .. glad you like the theme.
Thanks A.M.A, a few people liked this theme so much I reverted back to this theme.
Wow...This Is Cool... I Usin It For My Forum...
QuoteThis is now my fav theme! I have it installed on my site...
http://www.airport-tkd.com/forum/index.php?theme=11
only the index page works good in Mozilla. When clicking on a topic the actual post and user info moves all the way to the right which breaks the theme.
see screenshot:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Ftinypic.com%2F4j86ll&hash=68a62d033af1ceb28227065502ad322e568048a2)
http://www.simplemachines.org/community/index.php?topic=24680.msg146192#msg146192
usually when you hit refresh it will be gone.
You must be some kind of genius cause this Theme is really GREAT!!!
It's really a beauty, so professional and tight! I love those menus at the sides!
excelent! very nice... please you can create spanish bottom for this? thanks and sorry for my english
Homerecording man
Thank you .. glad you like it.
daragor
If you would like to translate them, I'll PM you a link to the PSDs.
Awesome theme!
do you intend to update it when SMF 1.1 comes out?
i'm using it on my final fantasy xi guild website: http://www.takeeasy.net/forum/index.php
(it's not open to public yet, i'm customizing it a little^^)
can you send me the psd so i can translate the buttons in italian? I'll post them here after i translate them.
;)
here is the italian translation for the forum and menu images (i changed the button font to thaoma)
http://www.takeeasy.net/Img_Italian.zip
Cmaj7
Thanks for the effort .. I really appreciate it. Updated my first post and hosted the file in my site.
very nice :)
I put the google search at top,but the white line happened in the left,it broken the theme,how to resolve??
my site is http://2cfw.com
the code is after
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="1%"><img src="', $settings['images_url'], '/C-TitL.gif" width="30" height="54" alt="" /></td>
<td width="28%" style="background-image: url(', $settings['images_url'], '/C-TitM.gif);" align="left"><a href=index.php style="text-decoration: none"><span style="font-family: Georgia, sans-serif; font-size: xx-large; font-weight: bold; color:white;">', $context['forum_name'], '</span></a></td>
<td width="1%"><img src="', $settings['images_url'], '/C-TitR.gif" width="20" height="54" alt="" /></td>
<td width="69%" style="background-image: url(', $settings['images_url'], '/C-TitM1.gif);" valign="bottom" align="right"><!--maybe | some | links | here! --><!-- Search Google -->
<form method="get" action="http://www.google.com.tw/custom" target="google_window">
<a href="http://www.google.com/">
<img src="http://www.google.com/logos/Logo_25gry.gif" border="0" alt="Google" align="middle"></img></a>
<input type="text" name="q" size="31" maxlength="255" value=""></input>
<input type="submit" name="sa" value="??"></input>
<input type="hidden" name="client" value="pub-2875887129232365"></input>
<input type="hidden" name="forid" value="1"></input>
<input type="hidden" name="ie" value="UTF-8"></input>
<input type="hidden" name="oe" value="UTF-8"></input>
<input type="hidden" name="cof" value="GALT:#003324;GL:1;DIV:#66CC99;VLC:FF6600;AH:center;BGC:C5DBCF;LBGC:73B59C;ALC:000000;LC:000000;T:330033;GFNT:333300;GIMP:333300;FORID:1;"></input>
<input type="hidden" name="hl" value="zh-TW"></input>
</form>
<!-- Search Google -->
</td>
<td width="1%"><img src="', $settings['images_url'], '/C-TitR1a.gif" width="26" height="54" alt="" /></td>
</tr>
</table>
how can I edit the code to resolve this??
You have changed the height of images on the header from "45" to "54" .. change them back to "45" and it will be fixed.
A.M.A, how can i change the color of the thin light blue border at the top of each forum? Is this an image? If not, can i just change it through style.css?
WOW, great work, my default theme, my members don't have any problems cause i'm the only member talking to myself....
htpp://dbzone.xero-webhost.net/forums
I have some questions still...I really want to integrate this theme to match my site. But the css seems quite different...
1. How do i remove all of those top images altogether? C-TitR.gif, etc. etc.
2. How do i get the entire background to be a different color? The normal way only changes the background to the forums and categories. Nothing beyond the nav. bar and user info box is changed..
3. How do i get rid of that annoying light blue line in the header of forums?
Please answer my questions. I really like this theme alot, but i have to make it work.
shock
Thanks .. glad you like it.
Tippmaster
Sorry for the delay.
1-
in index.template.php look for and remove:
// Curve Theme (Header) ....................
echo '
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="1%"><img src="', $settings['images_url'], '/C-TitL.gif" width="30" height="45" alt="" /></td>
<td width="28%" style="background-image: url(', $settings['images_url'], '/C-TitM.gif);"><span style="font-family: Tahoma, sans-serif; font-size: 14px; color:white;">', $context['forum_name'], '</span></td>
<td width="1%"><img src="', $settings['images_url'], '/C-TitR.gif" width="20" height="45" alt="" /></td>
<td width="69%" style="background-image: url(', $settings['images_url'], '/C-TitM1.gif);" valign="bottom" align="right">maybe | some | links | here! </td>
<td width="1%"><img src="', $settings['images_url'], '/C-TitR1.gif" width="26" height="45" alt="" /></td>
</tr>
</table>';
2-
You have to change the background color of: #headerarea , #bodyarea and #footerarea in style.css.
If you need to change the left column as well then look for: .Col1
3-
also in style.css change:
.CatBd1
{
border-top:#3EBEFF 1px solid;
.CatBd3
{
border-top:#3EBEFF 1px solid;
thanks ;D
But, I have replaced the forum name with a banner, and if i do that, it removes my banner aswell. Is it possible to keep the banner and dump the other images?
^^NVM. Got it.
Quote from: post-in on June 12, 2005, 03:47:01 AM
I put the google search at top,but the white line happened in the left,it broken the theme,how to resolve??
my site is http://2cfw.com
the code is after
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="1%"><img src="', $settings['images_url'], '/C-TitL.gif" width="30" height="54" alt="" /></td>
<td width="28%" style="background-image: url(', $settings['images_url'], '/C-TitM.gif);" align="left"><a href=index.php style="text-decoration: none"><span style="font-family: Georgia, sans-serif; font-size: xx-large; font-weight: bold; color:white;">', $context['forum_name'], '</span></a></td>
<td width="1%"><img src="', $settings['images_url'], '/C-TitR.gif" width="20" height="54" alt="" /></td>
<td width="69%" style="background-image: url(', $settings['images_url'], '/C-TitM1.gif);" valign="bottom" align="right"><!--maybe | some | links | here! --><!-- Search Google -->
<form method="get" action="http://www.google.com.tw/custom" target="google_window">
<a href="http://www.google.com/">
<img src="http://www.google.com/logos/Logo_25gry.gif" border="0" alt="Google" align="middle"></img></a>
<input type="text" name="q" size="31" maxlength="255" value=""></input>
<input type="submit" name="sa" value="??"></input>
<input type="hidden" name="client" value="pub-2875887129232365"></input>
<input type="hidden" name="forid" value="1"></input>
<input type="hidden" name="ie" value="UTF-8"></input>
<input type="hidden" name="oe" value="UTF-8"></input>
<input type="hidden" name="cof" value="GALT:#003324;GL:1;DIV:#66CC99;VLC:FF6600;AH:center;BGC:C5DBCF;LBGC:73B59C;ALC:000000;LC:000000;T:330033;GFNT:333300;GIMP:333300;FORID:1;"></input>
<input type="hidden" name="hl" value="zh-TW"></input>
</form>
<!-- Search Google -->
</td>
<td width="1%"><img src="', $settings['images_url'], '/C-TitR1a.gif" width="26" height="54" alt="" /></td>
</tr>
</table>
how can I edit the code to resolve this??
Quote from: A.M.A on June 13, 2005, 05:40:41 PM
You have changed the height of images on the header from "45" to "54" .. change them back to "45" and it will be fixed.
I change them back to 45,but it looks not symmetrical like below pic
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2F2cfw.com%2Fhead.jpg&hash=f10767455fdbaaf59bfaaae23d4e8a74e9839f07)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2F2cfw.com%2Fhead-right.jpg&hash=5e4431f7ad51d5085a42e0de21f39c437083ce20)
how to fix it??
Could you please try replacing:
<form method="get" action="http://www.google.com.tw/custom" target="google_window">
with:
<form style="margin: 0px;" method="get" action="http://www.google.com.tw/custom" target="google_window">
Quote from: A.M.A on June 25, 2005, 05:42:30 PM
Could you please try replacing:
<form method="get" action="http://www.google.com.tw/custom" target="google_window">
with:
<form style="margin: 0px;" method="get" action="http://www.google.com.tw/custom" target="google_window">
yes!!it looks good now!!thanks for your help!!
what modifications would I have to do in order to make this compatible w/ 1.1 Beta 3?
btw .. my version of this template is old .. 1.0
Quote from: A.M.A on September 19, 2004, 09:02:33 AM
Theme name: curveSMF (SMF 1.0.4)
Author: A.M.A
Thread Link: http://www.simplemachines.org/community/index.php?topic=24680.0
Thumbnail:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.alnabri.net%2Fsmf-stuff%2FCurve-thumbnail.gif&hash=957da5507d1c863d75d4ef7d689535040b24be24)
Previews:
Index. (http://www.alnabri.net/smf-stuff/curveSMF-index.gif)
MessageIndex. (http://www.alnabri.net/smf-stuff/curveSMF-messages.gif)
Display. (http://www.alnabri.net/smf-stuff/curveSMF-display.gif)
Calendar (http://www.alnabri.net/smf-stuff/curveSMF-calendar.gif)
One Column Index. (http://www.alnabri.net/smf-stuff/curveSMF-one.gif)
Sorry for posting in here without a template but I was wondering how you edit those links up at the top right hand corner of the page?
reznorsoftam afraid a lot .. I'll try to port it to 1.1 when it is final.
WarninGQuote from: A.M.A on September 19, 2004, 08:57:33 AM
Modifications
-Adding links to the top bar:
open 'index.template.php' and search for:
maybe | some | links | here!
(replace) it with something like this:
<a href="http://www.my.com">Mail</a> | <a href="http://www.my.com">Guest</a>
Quote from: A.M.A on June 26, 2005, 06:16:21 PM
reznorsoft
am afraid a lot .. I'll try to port it to 1.1 when it is final.
sounds good .. thanks
Ok sorry once again but now I can't change the theme at all, everytime I try to it does the same error message as it did before
Template Parse Error!
There was a problem loading the /Themes/Curve/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.
You may want to try to refresh this page or use the default theme.
Could you please post the code you used.
Sorry for digging this topic up, but in the board index, all the boards are really cramped, how can I put a seperator, or a break in between them...
can we make this line more clear................its too close.it comes like this.......
" Last post
on Today
at 12:40:58 AM
in adasd
by hassan"
need help...
Is there french button for this templates? ::)
Hi!
Thanks for this great Theme!
I´ve made german buttons for it (o:
Link:
http://konstanze.staud.net/curve_bt_german.zip (http://konstanze.staud.net/curve_bt_german.zip)
greetings staudili
Beautiful work. I've used the one-column layout, and it looks amazing.
Quote from: shock on July 02, 2005, 05:11:24 PM
Sorry for digging this topic up, but in the board index, all the boards are really cramped, how can I put a seperator, or a break in between them...
In response to that, just add line breaks in your forum descriptions, and it will force the tables apart.
anyone to do this theme for 1.1 beta 3?
Quote from: elmacik on August 30, 2005, 09:40:38 AM
anyone to do this theme for 1.1 beta 3?
I'm anxious to know too, I chose this theme for a new board because it matches my site design so beautifully, but I can't use it. :(
I'm using the curve theme and I love it...
Really nice design, also great is that u can choose to use the theme with one or two colomns...
Although i've got one question.
On the left, underneed the menu, under logout, i've added the ultimate shoutbox...
But now, the boardindex isn't always aligned at the top.
It seems that the board centers to the left colomn...
Can anybody tell me what code is responsibly for this and how to adjust it?
Thanks in advance...
If you want to take a look yourself, you can login with
TempMember
TempPW
at http://www.swoah.com/forum
yeah, that login/pw doesn't work?
So i've noticed, i'm sorry...
Changed it to
TempMember
TempPassWorD
Greetings - I'm using this theme on a 1.1 RC1 test site, and notice that the Avatar selection does not work. I am able to set it in another theme (updated for RC1, of course), but the theme does not show the avatar selection tree. Looking at the default code and the theme replacement, it looks like there is a rather significant change between 1.0.4 and 1.1 RC1 in terms of how it checks to see if avatars are enabled. Any suggestions as to how to update this?
This theme was made for 1.0 x
1.1 x will not work with 1.0 x themes.
Heh, so I had gathered, but actually, so far that I've seen, the Avatar Selection/Upload area is the only part of the theme that wouldn't work - everything else looks fine. Ah well, I suppose I'll just have to hope for an update and find something else to use in the mean time. It's just a test forum, after all.
Is there a french version of the butons?
thank you
The theme is great, simply smooth. However, when we install it on our smf at http://forum.rtgasia.com, the USER INFO when expanding or hiding will create an "image not found" type of error although we are quite sure that blank.gif have been uploaded.
Can anyone please advise as to why is this so?
You can try hiding and then opening the USER INFO to see what I meant.
Thanking all in advance.
Thats the niceeeeeeeeeeyyyyyy one!!!
getting my hands on that thingggg....
coooooooooooooooooooooooool
Quote from: Nakitomimaru on November 06, 2005, 08:13:56 PM
Heh, so I had gathered, but actually, so far that I've seen, the Avatar Selection/Upload area is the only part of the theme that wouldn't work - everything else looks fine. Ah well, I suppose I'll just have to hope for an update and find something else to use in the mean time. It's just a test forum, after all.
Hi there,
I installed this theme on a 1.1RC1 too... But with avatars. Try this if you like:
1) Save .../Themes/Curve/profile.template.php (Backup this file!)
2) In profile.template.php find:
// This is the avatar selection table that is only displayed if avatars are enabled!
if (!empty($modSettings['avatar_allow_server_stored']) || !empty($modSettings['avatar_allow_external_url']) || !empty($modSettings['avatar_allow_upload']))
{
// If users are allowed to choose avatars stored on the server show selection box's to choice them from.
if (!empty($modSettings['avatar_allow_server_stored']))
{
echo '
<tr>
<td width="40%" valign="top" style="padding: 0 2px;">
<table width="100%" cellpadding="5" cellspacing="0" border="0" style="height: 25ex;"><tr>
<td valign="top" width="20" class="windowbg"><input type="radio" name="avatar_choice" value="server_stored"', ($context['member']['avatar']['choice'] == 'server_stored' ? ' checked="checked"' : ''), ' class="check" /></td>
<td valign="top" style="padding-left: 1ex;">
<b', (isset($context['modify_error']['bad_avatar']) ? ' style="color: #FF0000;"' : ''), '>', $txt[229], ':</b>
<div style="margin: 2ex;"><img name="avatar" id="avatar" src="', $modSettings['avatar_url'], '/blank.gif" alt="Do Nothing" /></div>
</td>
</tr></table>
</td>
<td>
<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr>
<td style="width: 20ex;">
<select name="cat" id="cat" size="10" onchange="changeSel(\'\');" onfocus="selectRadioByName(document.creator.avatar_choice, \'server_stored\');">';
// This lists all the file catergories.
foreach ($context['avatars'] as $avatar)
echo '
<option value="', $avatar['filename'] . ($avatar['is_dir'] ? '/' : ''), '"', ($avatar['checked'] ? ' selected="selected"' : ''), '>', $avatar['name'], '</option>';
echo '
</select>
</td>
<td>
<select name="file" id="file" size="10" style="display: none;" onchange="showAvatar()" onfocus="selectRadioByName(document.creator.avatar_choice, \'server_stored\');" disabled="disabled"><option></option></select>
</td>
</tr></table>
</td>
</tr>';
}
// If the user can link to an off server avatar, show them a box to input the address.
if (!empty($context['member']['avatar']['allow_external']))
{
echo '
<tr>
<td valign="top" style="padding: 0 2px;">
<table width="100%" cellpadding="5" cellspacing="0" border="0"><tr>
<td valign="top" width="20" class="windowbg"><input type="radio" name="avatar_choice" value="external"', ($context['member']['avatar']['choice'] == 'external' ? ' checked="checked"' : ''), ' class="check" /></td>
<td valign="top" style="padding-left: 1ex;"><b>', $txt[475], ':</b><div class="smalltext">', $txt[474], '</div></td>
</tr></table>
</td>
<td valign="top">
<input type="text" name="userpicpersonal" size="36" value="', $context['member']['avatar']['external'], '" onfocus="selectRadioByName(document.creator.avatar_choice, \'external\');" />
</td>
</tr>';
}
// If the user is able to upload avatars to the server show them an upload box.
if (!empty($modSettings['avatar_allow_upload']))
echo '
<tr>
<td valign="top" style="padding: 0 2px;">
<table width="100%" cellpadding="5" cellspacing="0" border="0"><tr>
<td valign="top" width="20" class="windowbg"><input type="radio" name="avatar_choice" value="upload"', ($context['member']['avatar']['choice'] == 'upload' ? 'checked="checked"' : ''), ' class="check" /></td>
<td valign="top" style="padding-left: 1ex;"><b>', $txt['avatar_will_upload'], ':</b></td>
</tr></table>
</td>
<td valign="top">
', ($context['member']['avatar']['ID_ATTACH'] > 0 ? '<img src="' . $scripturl . '?action=dlattach;id=' . $context['member']['avatar']['ID_ATTACH'] . ';type=avatar" /><input type="hidden" name="ID_ATTACH" value="' . $context['member']['avatar']['ID_ATTACH'] . '" /><br /><br />' : ''), '
<input type="file" size="48" name="attachment" value="" onfocus="selectRadioByName(document.creator.avatar_choice, \'upload\');" />
</td>
</tr>';
}
replace with:
// This is the avatar selection table that is only displayed if avatars are enabled!
if (!empty($context['member']['avatar']['allow_server_stored']) || !empty($context['member']['avatar']['allow_upload']) || !empty($context['member']['avatar']['allow_external']))
{
// If users are allowed to choose avatars stored on the server show selection boxes to choice them from.
if (!empty($context['member']['avatar']['allow_server_stored']))
{
echo '
<tr>
<td width="40%" valign="top" style="padding: 0 2px;">
<table width="100%" cellpadding="5" cellspacing="0" border="0" style="height: 25ex;"><tr>
<td valign="top" width="20" class="windowbg"><input type="radio" name="avatar_choice" id="avatar_choice_server_stored" value="server_stored"', ($context['member']['avatar']['choice'] == 'server_stored' ? ' checked="checked"' : ''), ' class="check" /></td>
<td valign="top" style="padding-left: 1ex;">
<b', (isset($context['modify_error']['bad_avatar']) ? ' style="color: red;"' : ''), '><label for="avatar_choice_server_stored">', $txt[229], ':</label></b>
<div style="margin: 2ex;"><img name="avatar" id="avatar" src="', !empty($context['member']['avatar']['allow_external']) && $context['member']['avatar']['choice'] == 'external' ? $context['member']['avatar']['external'] : $modSettings['avatar_url'] . '/blank.gif', '" alt="Do Nothing" /></div>
</td>
</tr></table>
</td>
<td>
<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr>
<td style="width: 20ex;">
<select name="cat" id="cat" size="10" onchange="changeSel(\'\');" onfocus="selectRadioByName(document.forms.creator.avatar_choice, \'server_stored\');">';
// This lists all the file catergories.
foreach ($context['avatars'] as $avatar)
echo '
<option value="', $avatar['filename'] . ($avatar['is_dir'] ? '/' : ''), '"', ($avatar['checked'] ? ' selected="selected"' : ''), '>', $avatar['name'], '</option>';
echo '
</select>
</td>
<td>
<select name="file" id="file" size="10" style="display: none;" onchange="showAvatar()" onfocus="selectRadioByName(document.forms.creator.avatar_choice, \'server_stored\');" disabled="disabled"><option></option></select>
</td>
</tr></table>
</td>
</tr>';
}
// If the user can link to an off server avatar, show them a box to input the address.
if (!empty($context['member']['avatar']['allow_external']))
{
echo '
<tr>
<td valign="top" style="padding: 0 2px;">
<table width="100%" cellpadding="5" cellspacing="0" border="0"><tr>
<td valign="top" width="20" class="windowbg"><input type="radio" name="avatar_choice" id="avatar_choice_external" value="external"', ($context['member']['avatar']['choice'] == 'external' ? ' checked="checked"' : ''), ' class="check" /></td>
<td valign="top" style="padding-left: 1ex;"><b><label for="avatar_choice_external">', $txt[475], ':</label></b><div class="smalltext">', $txt[474], '</div></td>
</tr></table>
</td>
<td valign="top">
<input type="text" name="userpicpersonal" size="45" value="', $context['member']['avatar']['external'], '" onfocus="selectRadioByName(document.forms.creator.avatar_choice, \'external\');" onchange="if (typeof(previewExternalAvatar) != \'undefined\') previewExternalAvatar(this.value);" />
</td>
</tr>';
}
// If the user is able to upload avatars to the server show them an upload box.
if (!empty($context['member']['avatar']['allow_upload']))
echo '
<tr>
<td valign="top" style="padding: 0 2px;">
<table width="100%" cellpadding="5" cellspacing="0" border="0"><tr>
<td valign="top" width="20" class="windowbg"><input type="radio" name="avatar_choice" id="avatar_choice_upload" value="upload"', ($context['member']['avatar']['choice'] == 'upload' ? ' checked="checked"' : ''), ' class="check" /></td>
<td valign="top" style="padding-left: 1ex;"><b><label for="avatar_choice_upload">', $txt['avatar_will_upload'], ':</label></b></td>
</tr></table>
</td>
<td valign="top">
', ($context['member']['avatar']['ID_ATTACH'] > 0 ? '<img src="' . $context['member']['avatar']['href'] . '" /><input type="hidden" name="ID_ATTACH" value="' . $context['member']['avatar']['ID_ATTACH'] . '" /><br /><br />' : ''), '
<input type="file" size="48" name="attachment" value="" onfocus="selectRadioByName(document.forms.creator.avatar_choice, \'upload\');" />
</td>
</tr>';
}
3) Look in your profile. Avatars are there! ;D Simply copy the avatar code in this file from the default template. Good luck!
I just installed this theme for my new forum (http://forums.wcgonline.com) after switching over from phpBB2...
What a difference between software~
This theme is seriously awesome, I'm using it now~<3
Great job ^_^
This is by far my favorite. Is an upgraded template for SMF 1.1 being made?
Pretty please?
Pleas forgive the newbie question, but I've just searched all 14 pages fo this thread and haven't found the answer. One of my users likes curve a lot, but misses having links underlined like this (http://maxqnz.com/References.html). I went into the css but could see which element I had to change to get the link to show up as underlined, other than on hover.
In the CSS file, under the a: link section, a line like this text-decoration: underline; should do it, I think.
here you go ive updated best I can
Curve RC2 (http://www.thelastbreathe.co.uk/dls/curverc2.zip)
You may get a few errors as the changes from 1.0.X to 1.1 have not been released and wont be till 1.1 stable.
I got many errors like this:
8: Undefined index: memberCount
can somebody help me? Where can i fix this error
using 1.1rc2 and the nice :) theme CurveSMF
____________________EDIT______________________
i'm sorry, i fixed it:
QuoteReplace $modSettings['memberCount'] with $context['common_stats']['total_members'] in index.template.php
Now with SMF finalised is there any remote chance of a proper upgrade for this amazing theme?
Someone will have to do it as A.M.A is unavailable.