Former Member
inherit
guest@proboards.com
248530
0
Nov 24, 2024 13:24:43 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Dec 8, 2017 11:24:18 GMT -8
That's not cool. A coding beginner makes something. Don't rewrite my work! Then learn to CLOSE tags. Don't offer help if you can't follow basic coding rules {if $[current_user.is_guest] <div class="intro clear-float"> <img src="https://farm5.staticflickr.com/4574/37952044344_cc86c372d9_n.jpg" class="float-image" /> <strong class="center-text">News, discussion and much more!</strong><br /> <p class="normal-text">Popedia is a forum based on discussing the media, pop culture, current events and everything in between. When registered, you can access additional features on the forum and become a part of this friendly, fast-growing community!</p>
<span class="center-text">If you're not yet a member, register now - it's quick and free</span> </div> {/if}
HTML - paste wherever you require this to be shown CSS - paste this in your style sheet .intro {border: 1px solid #000000; padding: 5px;} .clear-float {clear: both;} .float-image {float: left; padding-right: 10px;} .normal-text {text-align: justify;} .center-text {text-align: center;} </style>
Now working on the social media and bio stuff I asked you to do me a favor and not modify my thing and now you're insulting me? I'm very busy now and I did it fast to help! Okay? I do know the rules but this isn't xml! You don't need everyone to be "perfect" like you are!
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Dec 8, 2017 11:36:12 GMT -8
.... Except for while yes browsers WILL default close coding tags its not good coding practise, and can cause things to break. Also if you look I didn't modify your thing, I coded my own.
|
|
Former Member
inherit
guest@proboards.com
248530
0
Nov 24, 2024 13:24:43 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Dec 8, 2017 11:37:32 GMT -8
.... Except for while yes browsers WILL default close coding tags its not good coding practise, and can cause things to break. Also if you look I didn't modify your thing, I coded my own. Says the "Peabrained Codebreaker"
|
|
inherit
246309
0
Oct 12, 2024 4:37:03 GMT -8
Popedia
51
July 2017
popedia
|
Post by Popedia on Dec 8, 2017 19:21:21 GMT -8
This is unrelated to the introduction text-box, but I was just wondering if it would be possible at all to code/develop my two other ideas (the member biography & social media links)? The information about them is on the first page of this thread. Maybe I could do the Social Media Links. Does my box work well? Yes it does. I haven't had any issues with it at all. Thanks.
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Dec 11, 2017 9:55:51 GMT -8
Popedia - sorry for the delay. For the member bio: You need to first of all go to Members, Custom Profile Fields and create a text area called Bio. You then need to insert the code in layout templates, User Profile, Summary just before this: <tr> <td class="headings">Latest Status:</td> <td>$[user.personal_text]</td> </tr> insert this code V <tr> <td class="headings">Biography</td> <td>{foreach $[user.custom_field]} {if $[user.custom_field.name] == "Bio"} $[user.custom_field.value] {/if} {/foreach} </td> </tr>
Just working on the social buttons now
|
|
inherit
246309
0
Oct 12, 2024 4:37:03 GMT -8
Popedia
51
July 2017
popedia
|
Post by Popedia on Dec 11, 2017 20:34:30 GMT -8
Popedia - sorry for the delay. For the member bio: You need to first of all go to Members, Custom Profile Fields and create a text area called Bio. You then need to insert the code in layout templates, User Profile, Summary just before this: <tr> <td class="headings">Latest Status:</td> <td>$[user.personal_text]</td> </tr> insert this code V <tr> <td class="headings">Biography</td> <td>{foreach $[user.custom_field]} {if $[user.custom_field.name] == "Bio"} $[user.custom_field.value] {/if} {/foreach} </td> </tr>
Just working on the social buttons now No worries. I managed to get it to work, except for the fact that it now shows the "Biography" custom profile field twice. Is there a way to remove the bottom Biography section? I have only used one custom profile field. Thanks.
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Dec 12, 2017 0:13:09 GMT -8
If you find where it says {foreach $[user.custom_field]} a second time in that template and remove that to the closing foreach
|
|
inherit
246309
0
Oct 12, 2024 4:37:03 GMT -8
Popedia
51
July 2017
popedia
|
Post by Popedia on Dec 12, 2017 2:20:30 GMT -8
If you find where it says {foreach $[user.custom_field]} a second time in that template and remove that to the closing foreach Ok. So do I delete the second {foreach $[user.custom_field]} in the template? Or do I move it onto the same line as the closing foreach?
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Dec 12, 2017 2:30:20 GMT -8
Delete the whole bit that was specified up to the closing foreach
|
|