Former Member
inherit
guest@proboards.com
222576
0
Nov 25, 2024 22:45:36 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 4, 2015 4:29:14 GMT -8
Tumbleweedright i've removed the 'button' no idea why it was there, i got a code of someone to put a'my follows' button in with an image, so iv no idea why thats there but iv removed and it still works. iv also removed the </div>, again it was a code i got off someone to put a 'all my post' button above my 'my followers' button, so iv removed that and it still works. whats next ? Q ... what does 'so I have to go through it again but by TABBING things out' mean ? tabbing out = deleting stray tabs ?
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Nov 4, 2015 7:21:53 GMT -8
Tumbleweedright i've removed the 'button' no idea why it was there, i got a code of someone to put a'my follows' button in with an image, so iv no idea why thats there but iv removed and it still works. iv also removed the </div>, again it was a code i got off someone to put a 'all my post' button above my 'my followers' button, so iv removed that and it still works. whats next ? Q ... what does 'so I have to go through it again but by TABBING things out' mean ? tabbing out = deleting stray tabs ? It's how you see the templates layed out. If there is a new opening div or if statement that isn't closed on that same line it is tabbed or indented each time so you can easily see if it does eventually get closed. Anyway, I was wrong about that one div so put the blue back and then add another div where I have the green. (Unless you want the registered date outside the profile then put the green closing div above it.) Oh and don't worry, some things might turn red indicating a problem but we'll fix that. </div><br /> {/if} {if $[user.badges_miniprofile]} <div class="$[user.badges_miniprofile_container_class]"> {foreach $[user.badges_miniprofile]} $[user.badges_miniprofile.icon] {/foreach} </div> {/if} <div><span class="post_act">Registered: $[user.registered_on]</span></div> </div>
The culprit that was messing things up is this line: {if $[current_user.is_member]}<br /><a href="$[user.pm_href]" alt="PM $[user.name]"><IMG SRC="http://i.imgur.com/6tiNA9w.png" >{/if} You didn't close the "a" link and you need the IMG SRC in lower case to close it properly. So it should look like this: {if $[current_user.is_member]}<br /><a href="$[user.pm_href]" alt="PM $[user.name]">< img src="http://i.imgur.com/6tiNA9w.png" > </a>{/if} Now you should be able to add that image below that last div (above in green) and have whatever you want outside the mini-profile.
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 25, 2024 22:45:36 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 4, 2015 8:04:23 GMT -8
so i'v changed in IMG SRC and put the divs back, but my image i want under the mp goes in the sliding part of the mp.
i want it underneath.
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Nov 4, 2015 8:22:32 GMT -8
so i'v changed in IMG SRC and put the divs back, but my image i want under the mp goes in the sliding part of the mp. i want it underneath. What sliding part? Save your current mini-profile template. (Just paste it in a post between code tags so you can go back to it if something isn't right) Now try the one I corrected. (Notice I added the image at the bottom) <div class="$[miniprofile_class]"> $[user]<br /> {if $[user.is_guest]}Guest<br />{/if} {if $[user.is_deleted]}<em>Deleted Member</em><br />{/if} {if $[user.group]} $[user.group.name]<br />$[user.group.stars]<br /> {elseif $[user.rank]} $[user.rank.name]<br /> {if $[user.rank.stars]} $[user.rank.stars]<br /> {/if} {/if}
{if $[user.custom_title]}$[user.custom_title]<br />{/if} $[user.warning.bar] <br /> {if $[user.avatar]} <div class="avatar">$[user.avatar]</div><br /> <br> <font size="1"> <a href="/user/$[user.id]/activity"><img src="http://i.imgur.com/rnB6o7Z.jpg" title="find where this members been" /></a> </font> <br /> <center> <a href="/user/$[user.id]/friends"><img src="http://i.imgur.com/bJWldkj.png" alt="some_text"></a> <br><br></center><br /> {/if}
{if $[user.personal_text.message]} $[user.personal_text]<br /> {/if}
{if $[user.is_member]} <div class="info"> Posts: $[user.posts]{if $[user.gender]}<span class="float-right">$[user.gender.image]</span>{/if} <br /> Likes: $[user.likes] {foreach $[user.mini_custom_field]} <br /> <span class="$[user.mini_custom_field.content_class]"> $[user.mini_custom_field.name]: $[user.mini_custom_field.value] </span> {/foreach}
{if $[current_user.is_member]} <br /> <a href="$[user.pm_href]" alt="PM $[user.name]"><img src="http://i.imgur.com/6tiNA9w.png" ></a> {/if}
<span style="color: #{if $[user.is_online]}e6de19{else}FF0000{/if}; font-weight: bold;"> {if $[user.is_online]} <img src="http://i.imgur.com/XnJfUUh.gif" alt="online" /> {else} <img src="http://i.imgur.com/5ROMVco.gif" alt="offline" /> {/if}
<br /> Last Online: $[user.last_online] </span> </div> <br /> {/if}
{if $[user.badges_miniprofile]} <div class="$[user.badges_miniprofile_container_class]"> {foreach $[user.badges_miniprofile]}$[user.badges_miniprofile.icon] {/foreach} </div> {/if}
<div><span class="post_act">Registered: $[user.registered_on]</span></div> </div> <img src="http://yourimagehere.png">
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 25, 2024 22:45:36 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 4, 2015 8:37:44 GMT -8
so i'v changed in IMG SRC and put the divs back, but my image i want under the mp goes in the sliding part of the mp. i want it underneath. What sliding part? Save your current mini-profile template. (Just paste it in a post between code tags so you can go back to it if something isn't right) Now try the one I corrected. (Notice I added the image at the bottom) <div class="$[miniprofile_class]"> $[user]<br /> {if $[user.is_guest]}Guest<br />{/if} {if $[user.is_deleted]}<em>Deleted Member</em><br />{/if} {if $[user.group]} $[user.group.name]<br />$[user.group.stars]<br /> {elseif $[user.rank]} $[user.rank.name]<br /> {if $[user.rank.stars]} $[user.rank.stars]<br /> {/if} {/if}
{if $[user.custom_title]}$[user.custom_title]<br />{/if} $[user.warning.bar] <br /> {if $[user.avatar]} <div class="avatar">$[user.avatar]</div><br /> <br> <font size="1"> <a href="/user/$[user.id]/activity"><img src="http://i.imgur.com/rnB6o7Z.jpg" title="find where this members been" /></a> </font> <br /> <center> <a href="/user/$[user.id]/friends"><img src="http://i.imgur.com/bJWldkj.png" alt="some_text"></a> <br><br></center><br /> {/if}
{if $[user.personal_text.message]} $[user.personal_text]<br /> {/if}
{if $[user.is_member]} <div class="info"> Posts: $[user.posts]{if $[user.gender]}<span class="float-right">$[user.gender.image]</span>{/if} <br /> Likes: $[user.likes] {foreach $[user.mini_custom_field]} <br /> <span class="$[user.mini_custom_field.content_class]"> $[user.mini_custom_field.name]: $[user.mini_custom_field.value] </span> {/foreach}
{if $[current_user.is_member]} <br /> <a href="$[user.pm_href]" alt="PM $[user.name]"><img src="http://i.imgur.com/6tiNA9w.png" ></a> {/if}
<span style="color: #{if $[user.is_online]}e6de19{else}FF0000{/if}; font-weight: bold;"> {if $[user.is_online]} <img src="http://i.imgur.com/XnJfUUh.gif" alt="online" /> {else} <img src="http://i.imgur.com/5ROMVco.gif" alt="offline" /> {/if}
<br /> Last Online: $[user.last_online] </span> </div> <br /> {/if}
{if $[user.badges_miniprofile]} <div class="$[user.badges_miniprofile_container_class]"> {foreach $[user.badges_miniprofile]}$[user.badges_miniprofile.icon] {/foreach} </div> {/if}
<div><span class="post_act">Registered: $[user.registered_on]</span></div> </div> <img src="http://yourimagehere.png"> before i do any of this, the sliding part is the mini-profile plugin of wormoplis's so i wont do this until you know this. edit: i've done it's work thanks, will this effect the sliding part by any chance ? iv never deleted so much code and i dont want to mess it up. edit: iv took the image out for now if your wondering where it is.
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Nov 4, 2015 15:28:45 GMT -8
@joecool111,
So are you good here? I now see the slider working but don't know if you still have the template I posted in there or not.
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 25, 2024 22:45:36 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 4, 2015 16:17:18 GMT -8
@joecool111, So are you good here? I now see the slider working but don't know if you still have the template I posted in there or not. yep it all works thank u, and iv left your template in. thank u for the help, i owe u a small car.
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Nov 4, 2015 20:45:34 GMT -8
@joecool111, So are you good here? I now see the slider working but don't know if you still have the template I posted in there or not. yep it all works thank u, and iv left your template in. thank u for the help, i owe u a small car. I'm was actually going shopping for a car this month so now you'll save me the trouble. Small will do fine. ha ha ha. Seriously, always happy to help.
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 25, 2024 22:45:36 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 5, 2015 1:35:09 GMT -8
iv just been looking at my other templates, full of red stray tags !! never noticed them before, now they light up like typos.
I'll fix these later but im just wondering if they have a bad effect on stuff ?
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Nov 5, 2015 2:30:00 GMT -8
iv just been looking at my other templates, full of red stray tags !! never noticed them before, now they light up like typos. I'll fix these later but im just wondering if they have a bad effect on stuff ? Depending on what tags, but yes, they can really mess things up.
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 25, 2024 22:45:36 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 5, 2015 2:54:48 GMT -8
iv just been looking at my other templates, full of red stray tags !! never noticed them before, now they light up like typos. I'll fix these later but im just wondering if they have a bad effect on stuff ? Depending on what tags, but yes, they can really mess things up. oo thats bad, theres loads so i'll have to have a good look through them.
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Nov 5, 2015 3:11:05 GMT -8
Depending on what tags, but yes, they can really mess things up. oo thats bad, theres loads so i'll have to have a good look through them. Loads? Yikes. If you need some tips here are a few for finding errors. 1. You can click on the closing tag and it should highlight the opening tag, if there is one. 2. Ignore the red html tag at the bottom. That's not your error. 3. If you think you might be missing a closing tag, sometimes moving a closing div up the template can pin point at what point the rest gets fixed. Then you know your error is somewhere above where you pasted that closing div. 4. If you can't find the errors and are getting dizzy, take a break.
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 25, 2024 22:45:36 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 5, 2015 3:23:03 GMT -8
i need to do some cleaning up i think.
|
|