Balle2000
Joined: Sep 25, 2008
|
  Posted:
Feb 28, 2015 - 10:19 |
|
I've made this collapse function which you can use on blocks that you want the coaches to be able to close. Not sure if this is the right thread, but...
Example
Code: | [block=group=newsbox id=newsbox]\
[block=blackborder border2 pad5 center width=38% bg=#FAE99D fg=#4D4A3F]\
[block=floatright][toggle label=X block=newsbox group=newsbox][/block]Coming soon to a Blood Bowl stadium near you. Coming soon to a Blood Bowl stadium near you. Coming soon to a Blood Bowl stadium near you. Coming soon to a Blood Bowl stadium near you. [/block]\
[/block]\
|
|
_________________ Join the SWL
Get your team bios here!
Putting the romantic in necromantic since 2010 |
|
zakatan
Joined: May 17, 2008
|
  Posted:
Feb 28, 2015 - 10:34 |
|
I'll put it in the Tips section. Did you manage to post the code of that bio? |
_________________
|
|
Balle2000
Joined: Sep 25, 2008
|
  Posted:
Feb 28, 2015 - 11:00 |
|
zakatan wrote: | I'll put it in the Tips section. Did you manage to post the code of that bio? |
i think i will put it on github or something, but havent gotten that far yet. suggestions on how to share the code more easily is welcome! |
_________________ Join the SWL
Get your team bios here!
Putting the romantic in necromantic since 2010 |
|
Kam
Joined: Nov 06, 2012
|
  Posted:
Feb 28, 2015 - 12:41 |
|
You can create a new note and use the bbcode /bbcode tags. |
_________________ GLN 17 is out!
|
|
Balle2000
Joined: Sep 25, 2008
|
  Posted:
Feb 28, 2015 - 12:42 |
|
Kam wrote: | You can create a new note and use the bbcode /bbcode tags. |
The code's too long for that. |
_________________ Join the SWL
Get your team bios here!
Putting the romantic in necromantic since 2010 |
|
akaRenton
Joined: Apr 15, 2008
|
  Posted:
Mar 08, 2015 - 13:11 |
|
I'm not great with BBCode, can do the basics but that's about it. What I want to do is make Howie's bio a lot neater as it's getting insanely long.
Can anyone help with breaking down what I want to do into each bit of code?
I want to put backgrounds (ideally images rather than just a colour) on each page that the tabs click to from a basic menu, I can make the images for the menu, tabs and background myself but don't know how to make them work.
I also want to have a clickable "did you know" style image that cycles through some info on Howie, such as number of times regen'd from dead, lightning strikes etc.
I also want to do linked clickable pics of players he has injured/killed.
Any help or suggestions would be greatly appreciated. I have looked through the examples of other peoples coding but I can't work out which bits do what as they tend to be enormous lists of code for the whole bio.
edit: Also wondered if there's some code that will show when the last update of the bio was made? Would save me manually updating that each time I edit it.
Thanks in advance! |
_________________ Dirty Cranberries - All zombie funtimes
Fumbbl Image Library - Free images to make logos, player bio pics etc |
|
Kam
Joined: Nov 06, 2012
|
  Posted:
Mar 08, 2015 - 14:55 |
|
Background images: it's a bit hackish. Basically, you take a large picture and wrap it in an artificially small floatleft container so it expands under the next container (your text). Background images. Also, if you do that, please, don't use .png but .jpg (and you actually should do that for all the pics you use on this site, unless you absolutely need transparency: it uses too much bandwidth and takes too long to load otherwise, especially when you have to download 16 extra large png for the IG portraits )
Did you know: boo for not searching
Linked clickable pics of players:
Code: | [url=http...bio.htm][img]http....pic.jpg[/img][/url] |
Quote: | edit: Also wondered if there's some code that will show when the last update of the bio was made? Would save me manually updating that each time I edit it. |
Save your bio locally (you should systematically do that anyway, not to lose all your work after a wrong click), and check the "last modified" date in the properties of the file. |
_________________ GLN 17 is out!
|
|
akaRenton
Joined: Apr 15, 2008
|
  Posted:
Mar 08, 2015 - 18:21 |
|
Kam wrote: | Background images: it's a bit hackish. Basically, you take a large picture and wrap it in an artificially small floatleft container so it expands under the next container (your text). Background images. Also, if you do that, please, don't use .png but .jpg (and you actually should do that for all the pics you use on this site, unless you absolutely need transparency: it uses too much bandwidth and takes too long to load otherwise, especially when you have to download 16 extra large png for the IG portraits )
Did you know: boo for not searching
Linked clickable pics of players:
Code: | [url=http...bio.htm][img]http....pic.jpg[/img][/url] |
Quote: | edit: Also wondered if there's some code that will show when the last update of the bio was made? Would save me manually updating that each time I edit it. |
Save your bio locally (you should systematically do that anyway, not to lose all your work after a wrong click), and check the "last modified" date in the properties of the file. |
Thanks Kam
Yeah I missed the DYK bit, sorry! The last modified bit I actually meant to be used as a "bio correct up to DD/MM/YY" format. I manually change this each time I edit his bio, just wondered if there was some fancy bit of code that would automatically display the last date of edit. |
_________________ Dirty Cranberries - All zombie funtimes
Fumbbl Image Library - Free images to make logos, player bio pics etc |
|
Balle2000
Joined: Sep 25, 2008
|
  Posted:
Mar 08, 2015 - 18:29 |
|
Good shout on the jpegs Kam. I'll bear that in mind. |
_________________ Join the SWL
Get your team bios here!
Putting the romantic in necromantic since 2010 |
|
Kam
Joined: Nov 06, 2012
|
  Posted:
Mar 08, 2015 - 18:35 |
|
Yeah, replacing all the .png of the Sammiches' bio by .jpg was a real pita, but the page loads way faster now. Of course, if you only have a couple of pictures in the bio, it doesn't matter, but for players pics, larger bios, or, like here large background images, the difference is significant.
@ aka: nope, there's no code for that. But if you edit your bio in some advanced text editor, there's probably a way to automatically add that line at the end of the code. |
_________________ GLN 17 is out!
|
|
akaRenton
Joined: Apr 15, 2008
|
  Posted:
Mar 08, 2015 - 22:54 |
|
Thanks again, here's what I've done so far. Might still add a DYK function.
All finished! - Click here
I used .pngs, but used this to shrink them. Came out smaller than the .jpg versions.
Code: |
[block=floatcontainer]\
[block=floatleft][toggle=image src=https://fumbbl.com/i/447959 group=text block=bio][/block]\
[block=floatleft][toggle=image src=https://fumbbl.com/i/447960 group=text block=records][/block]\
[block=floatleft][toggle=image src=https://fumbbl.com/i/447961 group=text block=hatricks][/block]\
[block=floatleft][toggle=image src=https://fumbbl.com/i/447962 group=text block=firsts][/block]\
[block=floatleft][toggle=image src=https://fumbbl.com/i/447963 group=text block=goals][/block]
[/block][block group=text id=bio][block=blackborder border2 pad5 width=450px bg=dimgray][block=center][url=https://www.youtube.com/watch?v=jPhuefvauuk][img title=Click for video]https://fumbbl.com/i/424048[/img][/url][/block]
[block=center][b][size=7]8th Ranked player (CRP era) to reach 200 TD
[b]Howie has regen'd from dead 4 times!
Howie has survived 14 lightning strikes![/b]
[img]https://fumbbl.com/FUMBBL/Images/potion.png[/img] Potion used [url=https://fumbbl.com/p/match?op=view&id=3520907]29/12/13[/url] to cure -AG in an attempt to get the all time high scoring zombie record (target of 70). Time will tell if it was a good choice :D
[b]IT WAS! HOWIE IS A RECORD BREAKER![/b]
[img]https://fumbbl.com/FUMBBL/Images/potion.png[/img] 2nd Potion used [url=https://fumbbl.com/p/match?op=view&id=3657881]2/3/15[/url] after a suprising cheeky blitz by a tree gfi'ing into Howie whilst playing [url=https://fumbbl.com/~Kam]Kam's[/url] [url=https://fumbbl.com/p/team?op=view&team_id=714168]Flying Sammiches[/url] saw Howie take a -MA. Used to try get Howie his twin targets of 1000spp and 257TD (one more than cowardly [url=https://fumbbl.com/p/player?op=view&player_id=8122540]Golradir[/url]). Time will tell if it will pay off :D[/size][/b][/block][/block][/block]\
[block=hidden group=text id=records][block=blackborder border2 pad5 width=450px bg=dimgray][block=center][url=https://www.youtube.com/watch?v=jPhuefvauuk][img title=Click for video]https://fumbbl.com/i/424048[/img][/url][/block]
[block=center][b][size=7]UNDEAD ZOMBIE ACTIVE IN RANKED
#1 Top Scorers
#1 Top Stars (most SPP)
#1 Highest Rushing
#1 Top Stars (most SPP)
#1 Most Blocks
#1 Highest Casualties (Top Blockers)
#1 Most Valuable Player
#1 Oldest Player
#2 Highest Passing
UNDEAD PLAYER ACTIVE IN RANKED
#1 Top Scorers
#1 Highest Rushing
#2 Top Stars (most SPP)
#2 Most Blocks
#5 Top Blockers
ALL RACES ACTIVE IN RANKED
#2 Highest Rushing
#3 Top Scorers
#4 Top Stars
#6 Oldest Player
ALL TIME IN RANKED (CRP era)
#2 Highest Rushing
#6 Top Scorer
ALL TIME, ALL DIVISIONS
#1 All-Time Top Scorer undead
#3 All-Time Highest Rushing
#7 All-Time Top Scorer[/size][/b][/block][/block][/block]\
[block=hidden group=text id=hatricks][block=blackborder border2 pad5 width=450px bg=dimgray][block=center][url=https://www.youtube.com/watch?v=jPhuefvauuk][img title=Click for video]https://fumbbl.com/i/424048[/img][/url][/block]
[block=center][b][size=7]HATRICKS SCORED AGAINST
[url=https://fumbbl.com/p/match?op=view&id=3519872]Turbine Luntzenberg CC[/url]
[url=https://fumbbl.com/p/match?op=view&id=3563376]Straptrouppers[/url]
[url=https://fumbbl.com/p/match?op=view&id=3567712]Nightmare Angels[/url]
[url=https://fumbbl.com/p/match?op=view&id=3581565]Rana Verde[/url]
[url=https://fumbbl.com/p/match?op=view&id=3643068]Der Green Tide[/url]
[url=https://fumbbl.com/FUMBBL.php?page=match&id=3643378]Sewer Brotherhood[/url][/size][/b][/block][/block][/block]\
[block=hidden group=text id=firsts][block=blackborder border2 pad5 width=450px bg=dimgray][block=center][url=https://www.youtube.com/watch?v=jPhuefvauuk][img title=Click for video]https://fumbbl.com/i/424048[/img][/url][/block]
[block=center][b][size=7]Only active zombie legend active in ranked. Fellow Cranberry, [url=https://fumbbl.com/p/player?player_id=9595047]Seymour[/url] is the only other legend zombie ever on Fumbbl. Seymour was killed in [url=https://fumbbl.com/p/match?op=view&id=3624141]this[/url] match on 23/11/14.
1st undead zombie in ranked to reach 30, 40, 50, 60 TD
1st zombie ever on Fumbbl to reach 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 220, 230, 240 TD
1st zombie ever on Fumbbl to reach 400, 450, 500, 550, 600, 650, 700, 750, 800, 850, 900 SPP[/size][/b][/block][/block][/block]\
[block=hidden group=text id=goals][block=blackborder border2 pad5 width=450px bg=dimgray][block=center][url=https://www.youtube.com/watch?v=jPhuefvauuk][img title=Click for video]https://fumbbl.com/i/424048[/img][/url][/block]
[block=center][b][size=7][i]GOALS OUTSTANDING[/i]
~Reach 1000SPP
~Pass [url=https://fumbbl.com/p/player?op=view&player_id=8122540]Golradir's[/url] record of 256 TD and become the 2nd highest active scorer in ranked.
[i]GOALS ACHIEVED[/i]
~All time great zombie players beaten(both from LRB4 ruleset):
[url=http://fumbbl.com/FUMBBL.php?page=player&player_id=6928114]Osanne Dionysios[/url]
(all time highest TD zombie, all time highest TD undead player, 69 TD's) BEATEN!
[url=http://fumbbl.com/p/player?op=view&player_id=1665149]Clip[/url]
(all time highest SPP zombie, 357 SPP) BEATEN![/size][/b][/block][/block][/block]
|
|
_________________ Dirty Cranberries - All zombie funtimes
Fumbbl Image Library - Free images to make logos, player bio pics etc |
|
Balle2000
Joined: Sep 25, 2008
|
  Posted:
Mar 09, 2015 - 01:57 |
|
Howie's cool. And thx for the tinypng tip. Btw, I suggest a slightly lighter shade of gray [sic] for the background. Or alternatively a bright font color 'fg=whitesmoke' or thereabouts. |
_________________ Join the SWL
Get your team bios here!
Putting the romantic in necromantic since 2010 |
|
Kam
Joined: Nov 06, 2012
|
  Posted:
Mar 09, 2015 - 16:18 |
|
Yup, good call. I was just saying you should pay attention to the size of the images you upload. Monochrome png images will be smaller than jpg for instance, so jpg ain't always the solution. |
_________________ GLN 17 is out!
|
|
akaRenton
Joined: Apr 15, 2008
|
  Posted:
Mar 10, 2015 - 20:17 |
|
Don't know if this is useful to anyone, but I found this way of making images clickable links to youtube videos or similar videos.
Code: |
[url=https://www.youtube.com/watch?v=jPhuefvauuk][img title=Click for video]https://fumbbl.com/i/424048[/img][/url]
|
I used it on Howie's bio as a clickable link to a cool zombie parkour video. Go to his bio and click on the pixel Howie at the top of any of the pages. The image title bit gives you float text over the image.
I'm betting this is old news, but just in case I thought I'd add it. |
_________________ Dirty Cranberries - All zombie funtimes
Fumbbl Image Library - Free images to make logos, player bio pics etc |
|
zakatan
Joined: May 17, 2008
|
  Posted:
Mar 11, 2015 - 11:15 |
|
isn't it just a regular link like any other? |
_________________
|
|
|
| |