Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Miscellaneous > Archive > Apolyton/Community-Archive > Mark, can you add a new BB-code?
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Gramphos is offline Gramphos
ACS Civ III Files Manager, Prince of Development
Chalmers, Sweden
Apr 2001
time: 06:15
  Old Post 10-10-2001 22:58
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Mark, can you add a new BB-code? Remove this text

Can you add this BB code. It would make it possible to add bars to the ranking in Locutus POLL without overrunning the size limit
NAME: bar
REPLACEMENT TEXT: &lt;img src=/forums/"images/polls/bar{option}-l.gif" height="10" width="3"&gt;&lt;img src=/forums/"images/polls/bar{option}.gif" height="10" width="{param&#125;"&gt;&lt;img src=/forums/"images/polls/bar{option}-r.gif" height="10" width="3"&gt;


This would not be used anywhere else so you don't have to add it to the list of codes.

Gramphos is offline Gramphos
ACS Civ III Files Manager, Prince of Development
Chalmers, Sweden
Apr 2001
time: 06:15
  Old Post 10-10-2001 23:16
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Help yourself to an AD-FREE life

This one (or similar) wold also be needed
NAME: bar0
REPLACEMENT TEXT: &lt;img src=/forums/"images/polls/bar{option}-l.gif" height="10" width="3"&gt;&lt;img src=/forums/"images/polls/bar{option}-r.gif" height="10" width="3"&gt;


:worship:

ixnay is offline ixnay
ACS Staff: 'RoN' Content Editor
I <3 etna, omg disgaea fag
Jan 1970
time: 22:15
  Old Post 10-10-2001 23:39 Visit ixnay<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton buy from Amazon

Could you tell us what exactly this would accomplish?
quote:
It would make it possible to add bars to the ranking in Locutus POLL without overrunning the size limit

Gramphos is offline Gramphos
ACS Civ III Files Manager, Prince of Development
Chalmers, Sweden
Apr 2001
time: 06:15
  Old Post 11-10-2001 00:04
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Tired of ads?

The limit of a page is 20000 bytes. If you would write all that code for 120 civs you must understand that [bar=x]width[/bar] is mush less memory consuming then &lt;img src=/forums/"images/polls/barx-l" width="3" height="10"&gt;&lt;img src=/forums/"images/polls/barx" width="width" height="10"&gt;&lt;img src=/forums/"images/polls/barx-r" width="3" height="10"&gt; for each post. With the smaller code it will be possible to add bars ass for standard polls to all the civs in Locutus' POLL.

MarkG is offline MarkG
Grand Lord of Apolyton, Owner of all this land as far as the eye can see

Donate to the Red Cross
Macedonia, Greece
Jan 1970
time: 07:15
  Old Post 18-10-2001 11:40 Visit MarkG<br><img src=/forums/images/admin-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Enter the AD-FREE zone

when all the bar codes are replaced with the html code, how big will the page size be? better to make a graph on excel and attach the image.....

Gramphos is offline Gramphos
ACS Civ III Files Manager, Prince of Development
Chalmers, Sweden
Apr 2001
time: 06:15
  Old Post 18-10-2001 19:13
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton, buy Call to Power 2

The header is counted from the first entry, and that is the only entry with header. (Current Header: 678)
<TABLE> <TR><TH>Type</TH><TH>Including header</TH><TH>Excluding header</TH></TR> <TR><TD>Current (no ranking)</TD><TD>18756</TD><TD>18078</TD></TR> <TR><TD>Top 16 bared BB-code</TD><TD></TD><TD>19489</TD></TR> <TR><TD>Top 16 bared BB-code (no empty ending cells)</TD><TD></TD><TD>18537</TD></TR> <TR><TD>Top 16 bared HTML</TD><TD></TD><TD>21969</TD></TR> <TR><TD>Top 16 bared HTML (no empty ending cells)</TR><TD></TD><TD>21017</TD></TR></TABLE>
Saved from no empty ending cells (top 16): 952
Saved from using BB-codes 2480 bytes (16 civs) = 155 bytes/civ

No empty ending cells means that the entries without ranking will have one cell less then the other entries. (AFAIK no browsers have problem with this)

Also the bar0 code is not needed as no 0-length bar will appear as bars only are significant for the top 16.

As it looks right now the only one that would fit inside the limit is the "Top 16 bared BB-code (no empty ending cells)"
And attaching a image is not good as it mostly are cashed even after a update, and also would need a new thread.

<SMALL>Edit: forgot to end the table, screwed up the entire page.</SMALL>

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:15.
Apolyton Time is 00:15.
    top of page
Rate This Thread:
archivepost
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0369 seconds (87.96% PHP - 12.04% MySQL) with 31 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net