CLOG Tags for Families?
- racoll
- Posts: 5258
- Joined: 26 Jan 2004, 12:18
- My articles: 6
- My images: 182
- My catfish: 2
- My cats species list: 2 (i:2, k:0)
- My aquaria list: 1 (i:0)
- Spotted: 238
- Location 1: London
- Location 2: UK
CLOG Tags for Families?
Title says it all really.
As they can be used for both species and genera, is is worthwhile to make them work for families?
Not essential, just saves a wee bit of time when linking to families.
As they can be used for both species and genera, is is worthwhile to make them work for families?
Not essential, just saves a wee bit of time when linking to families.
- Silurus
- Posts: 12461
- Joined: 31 Dec 2002, 11:35
- I've donated: $12.00!
- My articles: 55
- My images: 896
- My catfish: 1
- My cats species list: 90 (i:1, k:0)
- Spotted: 428
- Location 1: Singapore
- Location 2: Moderator Emeritus
- MatsP
- Posts: 21038
- Joined: 06 Oct 2004, 13:58
- My articles: 4
- My images: 28
- My cats species list: 117 (i:33, k:0)
- My aquaria list: 12 (i:10)
- My BLogs: 4 (i:0, p:164)
- Spotted: 187
- Location 1: North of Cambridge
- Location 2: England.
If jools could send me the code from phpBB that does the CLOG tags, I'll see if I can add "family" or something... [the name "flog" could be misunderstood, I think].
We also would need a piece of code similar to:
scripts/clog_link.php (which I can pretty much guess what it looks like - but I haven't got that code either)
This part is not hard to write (compared to the work on "ocurrences" that me and Jools have been doing the last few weeks, at least).
Of course, ultimately, Jools is the one that decides what and how we develop the site - he may prefer not to spend time on this and do something "better".
--
Mats
We also would need a piece of code similar to:
scripts/clog_link.php (which I can pretty much guess what it looks like - but I haven't got that code either)
This part is not hard to write (compared to the work on "ocurrences" that me and Jools have been doing the last few weeks, at least).
Of course, ultimately, Jools is the one that decides what and how we develop the site - he may prefer not to spend time on this and do something "better".
--
Mats
- Jools
- Expert
- Posts: 16274
- Joined: 30 Dec 2002, 15:25
- My articles: 198
- My images: 941
- My catfish: 237
- My cats species list: 87 (i:13, k:1)
- My aquaria list: 21 (i:13)
- My BLogs: 7 (i:10, p:167)
- My Wishlist: 23
- Spotted: 450
- Location 1: Middle Earth,
- Location 2: Scotland
- Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
- Contact:
It's not a bad idea at all and Silurus makes a good point about italicization.
I've also long been thinking about a tag to show cat-elog midsized images too with a link to the page.
Let me have a think about it tomorrow or maybe even tonight...
Jools
I've also long been thinking about a
Code: Select all
[cimg]
Let me have a think about it tomorrow or maybe even tonight...
Jools
Owner, AquaticRepublic.com, PlanetCatfish.com & ZebraPleco.com. Please consider donating towards this site's running costs.
- Jools
- Expert
- Posts: 16274
- Joined: 30 Dec 2002, 15:25
- My articles: 198
- My images: 941
- My catfish: 237
- My cats species list: 87 (i:13, k:1)
- My aquaria list: 21 (i:13)
- My BLogs: 7 (i:10, p:167)
- My Wishlist: 23
- Spotted: 450
- Location 1: Middle Earth,
- Location 2: Scotland
- Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
- Contact:
Mats,
No rush as I know you've been ill. Did you get the code for this from me or not - I can't remember if I sent it.
Anyway, I propose to add this and then fix the italics issue thereafter?
Jools
No rush as I know you've been ill. Did you get the code for this from me or not - I can't remember if I sent it.
Anyway, I propose to add this and then fix the italics issue thereafter?
Jools
Owner, AquaticRepublic.com, PlanetCatfish.com & ZebraPleco.com. Please consider donating towards this site's running costs.
- MatsP
- Posts: 21038
- Joined: 06 Oct 2004, 13:58
- My articles: 4
- My images: 28
- My cats species list: 117 (i:33, k:0)
- My aquaria list: 12 (i:10)
- My BLogs: 4 (i:0, p:164)
- Spotted: 187
- Location 1: North of Cambridge
- Location 2: England.
- Jools
- Expert
- Posts: 16274
- Joined: 30 Dec 2002, 15:25
- My articles: 198
- My images: 941
- My catfish: 237
- My cats species list: 87 (i:13, k:1)
- My aquaria list: 21 (i:13)
- My BLogs: 7 (i:10, p:167)
- My Wishlist: 23
- Spotted: 450
- Location 1: Middle Earth,
- Location 2: Scotland
- Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
- Contact:
*bump*
As I've looked into this recently with what has now become an improvement on the [ cimg ] concept, I'm fairly well up to speed on what is required for a family one.
Jools
As I've looked into this recently with what has now become an improvement on the [ cimg ] concept, I'm fairly well up to speed on what is required for a family one.
Jools
Owner, AquaticRepublic.com, PlanetCatfish.com & ZebraPleco.com. Please consider donating towards this site's running costs.
- MatsP
- Posts: 21038
- Joined: 06 Oct 2004, 13:58
- My articles: 4
- My images: 28
- My cats species list: 117 (i:33, k:0)
- My aquaria list: 12 (i:10)
- My BLogs: 4 (i:0, p:164)
- Spotted: 187
- Location 1: North of Cambridge
- Location 2: England.
- Jools
- Expert
- Posts: 16274
- Joined: 30 Dec 2002, 15:25
- My articles: 198
- My images: 941
- My catfish: 237
- My cats species list: 87 (i:13, k:1)
- My aquaria list: 21 (i:13)
- My BLogs: 7 (i:10, p:167)
- My Wishlist: 23
- Spotted: 450
- Location 1: Middle Earth,
- Location 2: Scotland
- Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
- Contact:
Owner, AquaticRepublic.com, PlanetCatfish.com & ZebraPleco.com. Please consider donating towards this site's running costs.
- MatsP
- Posts: 21038
- Joined: 06 Oct 2004, 13:58
- My articles: 4
- My images: 28
- My cats species list: 117 (i:33, k:0)
- My aquaria list: 12 (i:10)
- My BLogs: 4 (i:0, p:164)
- Spotted: 187
- Location 1: North of Cambridge
- Location 2: England.
- Jools
- Expert
- Posts: 16274
- Joined: 30 Dec 2002, 15:25
- My articles: 198
- My images: 941
- My catfish: 237
- My cats species list: 87 (i:13, k:1)
- My aquaria list: 21 (i:13)
- My BLogs: 7 (i:10, p:167)
- My Wishlist: 23
- Spotted: 450
- Location 1: Middle Earth,
- Location 2: Scotland
- Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
- Contact:
OK, that works, however,
a) It's in italics and
b) it tries to generate an invalid mouseover image
It will need it's own tag if these issues are to be overcome?
[ clogfamily ] ?
[ family ] ?
[ cfamily ] ?
Any suggestions?
Jools
a) It's in italics and
b) it tries to generate an invalid mouseover image
It will need it's own tag if these issues are to be overcome?
[ clogfamily ] ?
[ family ] ?
[ cfamily ] ?
Any suggestions?
Jools
Owner, AquaticRepublic.com, PlanetCatfish.com & ZebraPleco.com. Please consider donating towards this site's running costs.
- Jools
- Expert
- Posts: 16274
- Joined: 30 Dec 2002, 15:25
- My articles: 198
- My images: 941
- My catfish: 237
- My cats species list: 87 (i:13, k:1)
- My aquaria list: 21 (i:13)
- My BLogs: 7 (i:10, p:167)
- My Wishlist: 23
- Spotted: 450
- Location 1: Middle Earth,
- Location 2: Scotland
- Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
- Contact:
Nope, it would be a super-ugly regular expression that says add italics if the tag contents contains a space.MatsP wrote:you'd need to add the "Don't italicize" bit of code - but I think that's just a copy'n'paste from the bit that does that in other places, right?
A new tag is a much easier option, but still tricky.
Jools
Owner, AquaticRepublic.com, PlanetCatfish.com & ZebraPleco.com. Please consider donating towards this site's running costs.
- MatsP
- Posts: 21038
- Joined: 06 Oct 2004, 13:58
- My articles: 4
- My images: 28
- My cats species list: 117 (i:33, k:0)
- My aquaria list: 12 (i:10)
- My BLogs: 4 (i:0, p:164)
- Spotted: 187
- Location 1: North of Cambridge
- Location 2: England.
I'm not a fan of super-ugly regular expressions!Jools wrote:Nope, it would be a super-ugly regular expression that says add italics if the tag contents contains a space.MatsP wrote:you'd need to add the "Don't italicize" bit of code - but I think that's just a copy'n'paste from the bit that does that in other places, right?
A new tag is a much easier option, but still tricky.
Jools

And just looking for a space wouldn't work for something like , right?
Unfortunately, I don't know what the code looks like o add the clog tags - is it just a regular expression at the moment saying "take whatever is within the tag and apply to the link-script"?
--
Mats
- Jools
- Expert
- Posts: 16274
- Joined: 30 Dec 2002, 15:25
- My articles: 198
- My images: 941
- My catfish: 237
- My cats species list: 87 (i:13, k:1)
- My aquaria list: 21 (i:13)
- My BLogs: 7 (i:10, p:167)
- My Wishlist: 23
- Spotted: 450
- Location 1: Middle Earth,
- Location 2: Scotland
- Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
- Contact:
It's too darn big to post! Can I email you it?MatsP wrote:Unfortunately, I don't know what the code looks like o add the clog tags - is it just a regular expression at the moment saying "take whatever is within the tag and apply to the link-script"?
Jools
Owner, AquaticRepublic.com, PlanetCatfish.com & ZebraPleco.com. Please consider donating towards this site's running costs.
- Jools
- Expert
- Posts: 16274
- Joined: 30 Dec 2002, 15:25
- My articles: 198
- My images: 941
- My catfish: 237
- My cats species list: 87 (i:13, k:1)
- My aquaria list: 21 (i:13)
- My BLogs: 7 (i:10, p:167)
- My Wishlist: 23
- Spotted: 450
- Location 1: Middle Earth,
- Location 2: Scotland
- Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
- Contact:
Right, I hadn't though of that, so I'd need to use the database to hit the genus or family table to work out what we are displaying - that's possible, I had to do something similar to get the family info for species clog uses.MatsP wrote:And just looking for a space wouldn't work for something like , right?
That still leaves the italics problem, we need a new tag.
Jools
Owner, AquaticRepublic.com, PlanetCatfish.com & ZebraPleco.com. Please consider donating towards this site's running costs.
- Jools
- Expert
- Posts: 16274
- Joined: 30 Dec 2002, 15:25
- My articles: 198
- My images: 941
- My catfish: 237
- My cats species list: 87 (i:13, k:1)
- My aquaria list: 21 (i:13)
- My BLogs: 7 (i:10, p:167)
- My Wishlist: 23
- Spotted: 450
- Location 1: Middle Earth,
- Location 2: Scotland
- Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
- Contact:
Last edited by Jools on 15 Jun 2007, 14:30, edited 1 time in total.
Owner, AquaticRepublic.com, PlanetCatfish.com & ZebraPleco.com. Please consider donating towards this site's running costs.
- MatsP
- Posts: 21038
- Joined: 06 Oct 2004, 13:58
- My articles: 4
- My images: 28
- My cats species list: 117 (i:33, k:0)
- My aquaria list: 12 (i:10)
- My BLogs: 4 (i:0, p:164)
- Spotted: 187
- Location 1: North of Cambridge
- Location 2: England.
- Jools
- Expert
- Posts: 16274
- Joined: 30 Dec 2002, 15:25
- My articles: 198
- My images: 941
- My catfish: 237
- My cats species list: 87 (i:13, k:1)
- My aquaria list: 21 (i:13)
- My BLogs: 7 (i:10, p:167)
- My Wishlist: 23
- Spotted: 450
- Location 1: Middle Earth,
- Location 2: Scotland
- Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
- Contact:
Owner, AquaticRepublic.com, PlanetCatfish.com & ZebraPleco.com. Please consider donating towards this site's running costs.
- Jools
- Expert
- Posts: 16274
- Joined: 30 Dec 2002, 15:25
- My articles: 198
- My images: 941
- My catfish: 237
- My cats species list: 87 (i:13, k:1)
- My aquaria list: 21 (i:13)
- My BLogs: 7 (i:10, p:167)
- My Wishlist: 23
- Spotted: 450
- Location 1: Middle Earth,
- Location 2: Scotland
- Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
- Contact:
Testing:
Jools
Jools
Owner, AquaticRepublic.com, PlanetCatfish.com & ZebraPleco.com. Please consider donating towards this site's running costs.
- Jools
- Expert
- Posts: 16274
- Joined: 30 Dec 2002, 15:25
- My articles: 198
- My images: 941
- My catfish: 237
- My cats species list: 87 (i:13, k:1)
- My aquaria list: 21 (i:13)
- My BLogs: 7 (i:10, p:167)
- My Wishlist: 23
- Spotted: 450
- Location 1: Middle Earth,
- Location 2: Scotland
- Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
- Contact:
OK, it's all working!
Jools
Jools
Owner, AquaticRepublic.com, PlanetCatfish.com & ZebraPleco.com. Please consider donating towards this site's running costs.
- MatsP
- Posts: 21038
- Joined: 06 Oct 2004, 13:58
- My articles: 4
- My images: 28
- My cats species list: 117 (i:33, k:0)
- My aquaria list: 12 (i:10)
- My BLogs: 4 (i:0, p:164)
- Spotted: 187
- Location 1: North of Cambridge
- Location 2: England.
- Jools
- Expert
- Posts: 16274
- Joined: 30 Dec 2002, 15:25
- My articles: 198
- My images: 941
- My catfish: 237
- My cats species list: 87 (i:13, k:1)
- My aquaria list: 21 (i:13)
- My BLogs: 7 (i:10, p:167)
- My Wishlist: 23
- Spotted: 450
- Location 1: Middle Earth,
- Location 2: Scotland
- Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
- Contact:
I know, it's not a pretty thing. Want to try rustling up such a function?
Jools
Jools
Owner, AquaticRepublic.com, PlanetCatfish.com & ZebraPleco.com. Please consider donating towards this site's running costs.
- MatsP
- Posts: 21038
- Joined: 06 Oct 2004, 13:58
- My articles: 4
- My images: 28
- My cats species list: 117 (i:33, k:0)
- My aquaria list: 12 (i:10)
- My BLogs: 4 (i:0, p:164)
- Spotted: 187
- Location 1: North of Cambridge
- Location 2: England.
- Jools
- Expert
- Posts: 16274
- Joined: 30 Dec 2002, 15:25
- My articles: 198
- My images: 941
- My catfish: 237
- My cats species list: 87 (i:13, k:1)
- My aquaria list: 21 (i:13)
- My BLogs: 7 (i:10, p:167)
- My Wishlist: 23
- Spotted: 450
- Location 1: Middle Earth,
- Location 2: Scotland
- Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
- Contact:
No worries, that's me just getting back up to speed now that the Linder clan are heading home.
Jools
Jools
Owner, AquaticRepublic.com, PlanetCatfish.com & ZebraPleco.com. Please consider donating towards this site's running costs.