Author Topic: Country Flags in Memberlist  (Read 7132 times)

0 Members and 2 Guests are viewing this topic.

xylothrill

  • Guest
Country Flags in Memberlist
« on: October 28, 2008, 10:31:53 am »
I've been working on a request from one of our moderators for the country flags to be listed in the members list. The flags are there now but you cannot sort by country until I can figure out the correct syntax for that function.

Craig
« Last Edit: October 28, 2008, 10:45:55 am by Craig »

Satya

  • Guest
Re: Country Flags in Memberlist
« Reply #1 on: October 28, 2008, 10:26:51 pm »
If you haven't, you might consider joining the forum for SMF administrators and ask about it there.

http://www.simplemachines.org/community/index.php?topic=261952.0

xylothrill

  • Guest
Re: Country Flags in Memberlist
« Reply #2 on: October 29, 2008, 11:51:53 am »
 :D How long would it take to get to the half a million posts required to apply?

I've already posted a query in another thread. :-)

Also, the beyond veg debunked page is driving me nuts! I can't see any difference in code between the text that overlaps the external graphics and the ones that don't! Maddening!  >: 

Craig

Satya

  • Guest
Re: Country Flags in Memberlist
« Reply #3 on: October 29, 2008, 09:21:58 pm »
Also, the beyond veg debunked page is driving me nuts! I can't see any difference in code between the text that overlaps the external graphics and the ones that don't! Maddening!  >: 

That class is defined in the css page (obviously).  You will have to adjust it there.  I would recommend stripping the graphics out of the article page, and/or stripping it off the site altogether by removing it from the css page.  I tweaked it here and there, but never had the time to look into it properly.  You could look into it yourself too, of course.  There is a ton of info on css all over the place.  Go to the specs when in doubt at w3.org.

Good luck and may the force be with you.

xylothrill

  • Guest
Re: Country Flags in Memberlist
« Reply #4 on: October 29, 2008, 11:30:37 pm »
Thanks for the guidance, oh precious one! I didn't even think it'd be in the css because it renders properly everywhere else.

I told myself I'd pretend like the transfer hadn't taken place till next month as originally planned but I can't.  :)

I'd rather not strip them out. I will find a way eventually. That's my tenacious, little,  -d -ish side that you call OCD.  :D

*background voice* "Use the force, Craig" 

Satya

  • Guest
Re: Country Flags in Memberlist
« Reply #5 on: October 29, 2008, 11:53:16 pm »
Thanks for the guidance, oh precious one! I didn't even think it'd be in the css because it renders properly everywhere else.


That's because in all other places, the external graphics are in headers and not the body of a paragraph.  And plus, there's no image tag where ever it shows up, so it must be elsewhere (ie on the style sheet). That's the whole point of having a style sheet.  Define it there and it happens site wide, with none of the style elements in html pages that search engines are now frowning on heavily when indexing sites.  And, of course, you could define other styles for different pages of the site, if you wanted.

You will have your work cut out for you learning css.  But there are many books out there too.  Just please remember to save a backup copy or play with a totally different css file.  I cannot fix or consult with you on problems that may arise concerning the style sheet.  It would be more time consuming than the actual updates!  CSS is a huge subject, and I mean huge.  That's why custom web developers get the big bucks (anyone can use precanned software to create websites (but they won't be neat and clean)).  You will become part of the few, the proud, the custom designers.  And remember browsers render different aspects of styles differently.  So if it works in one place, don't assume you didn't f*** it up elsewhere.  So please do your homework first before playing around with anything but a copy of it.  And enjoy!

Oh, and javascript is good and necessary too.  You need to get one good book on that as well.  In fact, many developers are working on using javascript to enable the more advanced css3 attributes rather than wait for browser makers to come up to speed.
« Last Edit: October 29, 2008, 11:57:11 pm by Satya »

Offline boxcarguy07

  • Chief
  • *****
  • Posts: 736
  • Gender: Male
    • View Profile
Re: Country Flags in Memberlist
« Reply #6 on: October 30, 2008, 12:26:37 am »
you guys are speaking another language right now lol

Satya

  • Guest
Re: Country Flags in Memberlist
« Reply #7 on: October 30, 2008, 03:59:46 am »
I know, I know - geek speak.  However, The Craig did bring up the external links graphics here, so I replied here. 

And I still think in the short term they should just be stripped out of the byv debunking article.  Just make a note in the top paragraph that all links go outside the site.  Else add a target=" _blank" to every anchor tag on the page so that the links open in new windows, or if the browser is new, new tabs.

« Last Edit: October 30, 2008, 04:54:36 am by Satya »

xylothrill

  • Guest
Re: Country Flags in Memberlist
« Reply #8 on: October 30, 2008, 04:55:38 am »
I already stripped them off that page by giving it its own css file. I'll make the note later.
I was reading about some css3 code that detects off-site links and marks it with the image automatically but is probably not supported yet. That hard core stuff is going to have to wait for now.  :)

I had always heard not to get into web developing because the jobs were so easily outsourced abroad for next to nothing. It's nice to see it isn't so with custom web developing.

Keith, I'm waiting for my Geek to English book myself.  ;D

Offline TylerDurden

  • Global Moderator
  • Mammoth Hunter
  • *****
  • Posts: 17,016
  • Gender: Male
    • View Profile
    • Raw Paleolithic Diet
Re: Country Flags in Memberlist
« Reply #9 on: October 30, 2008, 05:00:27 am »
All I can say is Thank God there are other people out there who can do all the tech-savvy stuff that I just can't! I suppose I'll have to learn this all myself now, though - I've been given the impression that you're a nobody unless you have your own blog or website, so I've started a tentative one, now.
"During the last campaign I knew what was happening. You know, they mocked me for my foreign policy and they laughed at my monetary policy. No more. No more.
" Ron Paul.

xylothrill

  • Guest
Re: Country Flags in Memberlist
« Reply #10 on: October 30, 2008, 05:30:01 am »
Cool! Where is it?

Offline TylerDurden

  • Global Moderator
  • Mammoth Hunter
  • *****
  • Posts: 17,016
  • Gender: Male
    • View Profile
    • Raw Paleolithic Diet
Re: Country Flags in Memberlist
« Reply #11 on: October 30, 2008, 05:41:49 am »
Cool! Where is it?

You wouldn't be interested. It's only a science-fiction-vintage-book-oriented-page at the moment, so I haven't have the courage to show it for another year or so, until it's fully indexed etc, at which time  I hope it will become more influential and a first of its kind. I may branch out to include a separate raw-diet-sphere to the blog, but that will take a long time. For now, I have to conquer my innate horror at writing any form of diary.
"During the last campaign I knew what was happening. You know, they mocked me for my foreign policy and they laughed at my monetary policy. No more. No more.
" Ron Paul.

 

SMF spam blocked by CleanTalk