Bitcoin Forum

Other => Meta => Topic started by: TriggerX on June 23, 2015, 08:03:55 PM



Title: Need some coding help
Post by: TriggerX on June 23, 2015, 08:03:55 PM
I was about to edit my loaning thread here: https://bitcointalk.org/index.php?topic=1005974.0 when I realized my code says :INVALID BBCODE: bad table usage.

It was working before and I'm not sure what is wrong with my code.

I took 2 pictures of my code and hoping someone here can help me :D

http://i.gyazo.com/749e9073ac6aa30466adb96d395c2d8a.png
http://i.gyazo.com/7a6ced1f44f29065b8959718a4870830.png


Title: Re: Need some coding help
Post by: Lauda on June 23, 2015, 08:13:05 PM
From what I can see, you have opened another table before closing the previous one. Check the image:
https://imgur.com/7M1uxR8

Update: The user under me has fixed it.


Title: Re: Need some coding help
Post by: Lorenzo on June 23, 2015, 08:13:26 PM
Active Loans
   
   User          : lucullus (https://bitcointalk.org/index.php?action=profile;u=145657)
   Collateral    : None
   Amount Loaned : 0.005
   Repayment By  : April 2nd
   Repaid Amount : 0.006
   Repaid        : Paid (https://blockchain.info/tx/397f89768715d660d3d33142c6c1a813b40850c82abd01ff1a53fd2e8d47d6bd)
   
   User          : aacoins (https://bitcointalk.org/index.php?action=profile;u=378343)
   Collateral    : Member Bitcointalk Account + 950GHS Mining Rig
   Amount Loaned : 0.03
   Repayment By  : April 2nd
   Repaid Amount : 0.03
   Repaid        : Paid (https://blockchain.info/tx/0aad0868a36ec2e9797a9d3530f27cad2af456839558fb93cf8f9b0173ea3836)
   
   User          : lucullus (https://bitcointalk.org/index.php?action=profile;u=145657)
   Collateral    : None
   Amount Loaned : 0.005
   Repayment By  : May 14th
   Repaid Amount : 0.006
   Repaid        :
   
   User          : lucullus (https://bitcointalk.org/index.php?action=profile;u=145657)
   Collateral    : None
   Amount Loaned : 0.005
   Repayment By  : May 18th
   Repaid Amount : 0.006
   Repaid        : Paid (https://https://blockchain.info/tx/e6a80fce8d446cc1e4088725f1ccea22342f4dfcbfac8a3a4c7e53bc506843e8)
   
   User          : lucullus (https://bitcointalk.org/index.php?action=profile;u=145657)
   Collateral    : None
   Amount Loaned : 0.005
   Repayment By  : May 23th
   Repaid Amount : 0.006
   Repaid        : Paid (https://blockchain.info/tx/97425e46fd9d61d3fc75e47fbabd76dfc821c77d5c57e895817cba35bc4ad45a)
   
   User          : katerniko1 (https://bitcointalk.org/index.php?action=profile;u=407532)
   Collateral    : None
   Amount Loaned : 0.025
   Repayment By  : June 21st
   Repaid Amount : 0.03
   Repaid        : Unpaid
   
   User          : romano1 (https://bitcointalk.org/index.php?action=profile;u=226141)
   Collateral    : None
   Amount Loaned : 0.03
   Repayment By  : June 11th
   Repaid Amount : 0.033
   Repaid        : Paid (https://blockchain.info/tx/39b4335492a061ff1c316c04b27a226e74b0586caf6c7815eda993e99c980fd7)
Format kindly provided by Muhammed Zakir

EDIT: Here's the code for the corrected version. As LaudaM noted in the post above, the second table's tags weren't closed properly. I can see how it could be pretty easy to miss too:

Code:
[anchor=active][size=12pt][color=navy][u][b]Active Loans [/b][/u][/color][/size][/anchor]
[table][tr][td]
[pre]   [b]User[/b]          : [url=https://bitcointalk.org/index.php?action=profile;u=145657]lucullus[/url]
[b]Collateral[/b]    : None
[b]Amount Loaned[/b] : 0.005
[b]Repayment By[/b]  : April 2nd
[b]Repaid Amount[/b] : 0.006
[b]Repaid [/b]       : [url=https://blockchain.info/tx/397f89768715d660d3d33142c6c1a813b40850c82abd01ff1a53fd2e8d47d6bd]Paid[/url]
[/td][/tr][/table]
[table][tr][td]
[pre]   [b]User[/b]          : [url=https://bitcointalk.org/index.php?action=profile;u=378343]aacoins[/url]
[b]Collateral[/b]    : Member Bitcointalk Account + 950GHS Mining Rig
[b]Amount Loaned[/b] : 0.03
[b]Repayment By[/b]  : April 2nd
[b]Repaid Amount[/b] : 0.03
[b]Repaid [/b]       : [url=https://blockchain.info/tx/0aad0868a36ec2e9797a9d3530f27cad2af456839558fb93cf8f9b0173ea3836]Paid[/url]
[/td][/tr][/table]
[table][tr][td]
[pre]   [b]User[/b]          : [url=https://bitcointalk.org/index.php?action=profile;u=145657]lucullus[/url]
[b]Collateral[/b]    : None
[b]Amount Loaned[/b] : 0.005
[b]Repayment By[/b]  : May 14th
[b]Repaid Amount[/b] : 0.006
[b]Repaid [/b]       :
[/td][/tr][/table]
[table][tr][td]
[pre]   [b]User[/b]          : [url=https://bitcointalk.org/index.php?action=profile;u=145657]lucullus[/url]
[b]Collateral[/b]    : None
[b]Amount Loaned[/b] : 0.005
[b]Repayment By[/b]  : May 18th
[b]Repaid Amount[/b] : 0.006
[b]Repaid [/b]       : [url=https://https://blockchain.info/tx/e6a80fce8d446cc1e4088725f1ccea22342f4dfcbfac8a3a4c7e53bc506843e8]Paid[/url]
[/td][/tr][/table]
[table][tr][td]
[pre]   [b]User[/b]          : [url=https://bitcointalk.org/index.php?action=profile;u=145657]lucullus[/url]
[b]Collateral[/b]    : None
[b]Amount Loaned[/b] : 0.005
[b]Repayment By[/b]  : May 23th
[b]Repaid Amount[/b] : 0.006
[b]Repaid [/b]       : [url=https://blockchain.info/tx/97425e46fd9d61d3fc75e47fbabd76dfc821c77d5c57e895817cba35bc4ad45a]Paid[/url]
[/td][/tr][/table]
[table][tr][td]
[pre]   [b]User[/b]          : [url=https://bitcointalk.org/index.php?action=profile;u=407532]katerniko1[/url]
[b]Collateral[/b]    : None
[b]Amount Loaned[/b] : 0.025
[b]Repayment By[/b]  : June 21st
[b]Repaid Amount[/b] : 0.03
[b]Repaid [/b]       : Unpaid
[/td][/tr][/table]
[table][tr][td]
[pre]   [b]User[/b]          : [url=https://bitcointalk.org/index.php?action=profile;u=226141]romano1[/url]
[b]Collateral[/b]    : None
[b]Amount Loaned[/b] : 0.03
[b]Repayment By[/b]  : June 11th
[b]Repaid Amount[/b] : 0.033
[b]Repaid [/b]       : [url=https://blockchain.info/tx/39b4335492a061ff1c316c04b27a226e74b0586caf6c7815eda993e99c980fd7]Paid[/url]
[/td][/tr][/table]
[size=8pt]Format kindly provided by Muhammed Zakir[/size]


Title: Re: Need some coding help
Post by: hilariousandco on June 23, 2015, 08:20:34 PM
Theymos changed something recently after a user found a bug here: https://bitcointalk.org/index.php?topic=1092872.0


Title: Re: Need some coding help
Post by: TriggerX on June 23, 2015, 09:38:29 PM
Thanks for all your help! I have fixed it now. I'll be locking this thread.