Novaris
|
group avatar not showing?i'm asuming the group avatars have a reason.
and i 'presume' (lol) they show up under a persons avatar and rank in the legend on the left of their post...
now the only problem is i cant get the avatar OR the group name to appear under anyones avatar/ in their legend...
could someone tell me how please?
is it something to do with checking the box that says 'show in legend'... i have done and it hasnt made any difference.
i'v also tried all the different group options (open, request, closed, hidden) to see if that makes any difference but it doesnt.
im a little annoyed cuz its got me stumpped. hence this post.
so if anyone of you amazingly technical gods, erm.. mods have any idea how to do it id be really happy to find out.
the link to my site is:
http://wartactics.ford3.myfastforum.org/index.php
Thanx in advance dudes!
|
Novaris
|
actualy... iv just noticed something.
the avatars apear in the group info page when you click the link in the legend at the bottom of the site...
DOH!
is there any way of getting the avatar to show up under the name?
or am i going to have to swap round the rank and group things...
currently i have the rank as the 'which alliance the member is in' notification whatever
and the groups were unused...
a bit backwards i know lol. but hey.
|
Symon
|
They do appear in the profile of each member as well as i just tested this.
|
Symon
|
{RANK_IMG}
Is what displays the image so you can place that in your viewtopic_body.tpl
|
Novaris
|
sweeeet. where exactly do i place it in the view topic body for it to appear under the persons avatar?
and can i get the group name to apear belowe the group avatar also??
thank you thank you thank you thank you!!!
|
Novaris
|
oh, by the way its the 'Group' avatar i want to display with the persons info when they post.
not the rank...
that above says rank. just incase we got wires crossed somewhere.
|
Novaris
|
| Symon wrote: | | They do appear in the profile of each member as well as i just tested this. |
the ydont seem to be apearing for me...
i just tried it out and i cant see the 'group avatar' in the profile or anywhere other than the group info page.
|
Symon
|
| Novaris wrote: | sweeeet. where exactly do i place it in the view topic body for it to appear under the persons avatar?
and can i get the group name to apear belowe the group avatar also??
thank you thank you thank you thank you!!!  |
You will have to read this thread about where to place it.
However i have moved it but the group drop down will not pull the data.
http://howtodoit.myfabforum.org/viewtopic.php?f=46&t=373
The group avatar is the British flag one.
|
Novaris
|
thats a clever message.
i dont mean to be coming across in any over bearing or difficult to understand way and im sorry if i created that impression.
the link you gave me didn't lead to anywhere i could have used to find out where exactly to put the code you posted earlier. It just bought up that message.
considering the sheer volume of topics the specific info i need could be in i opted to ask someone personaly for advice. Now im not very good with codeing. this whole ordeal is very new to me, but i do really try my best to figure it out on my own and i do 99% of the time. Hence i only 'ever' come on the help forums when i 'really' cannot figure out how to do it after at least a number of hours of trying, or if its obviously over my head due to lack of technical knowledge.
I presume what i aim to do is achievable as pretty much anything can be done on phpbb.
i also find it quite difficult to understand quite what you mean when you say things and have noticed this in the past also, which makes it difficult for me to go and try out what you have told me. i do have the ability to do things very much on my own given i know a few base aspects to get some form of bearing.
all i ask is for you to please explain to me (the less technical the better) where about in the viewtopic_body.tpl (roughly) or failing that, direct me in the general direction i need to go in inorder to find out.
thanks man.
|
Symon
|
My mistake that link was to show you about the drop box, and the avatar, it is the only post by my test user on the forum. it was not meant to be clever or funny sorry.
I was going to send you to this link
http://howtodoit.myfabforum.org/viewtopic.php?f=53&t=409
but thought twice as its not to do with custom profile fields, hence the mix up.
admin panel ---Styles --- Style components --- Templates -- your template -- edit -- viewtopic_body.tpl
look for something like
| Code: | <!-- IF postrow.POSTER_AVATAR -->
<tr>
<td align="center">{postrow.POSTER_AVATAR}</td>
</tr>
<!-- ENDIF --> |
under add something like
| Code: | <tr>
<td align="center">{L_USERGROUPS}:
<select name="g">{S_GROUP_OPTIONS}</select> <input class="btnlite" type="submit" name="submit" value="{L_GO}" />
</tr>
</table> |
So it may look like
| Code: | <!-- IF postrow.POSTER_AVATAR -->
<tr>
<td align="center">{postrow.POSTER_AVATAR}</td>
</tr>
<!-- ENDIF -->
<tr>
<td align="center">{L_USERGROUPS}:
<select name="g">{S_GROUP_OPTIONS}</select> <input class="btnlite" type="submit" name="submit" value="{L_GO}" />
</tr>
</table> |
|
Novaris
|
cheers man, i apreciate your help but it didnt seem to work...
the first time i tried it it made the whole thing go crazy, like fully all over the place (including a 'group dropdown box' apear under the persons avatar rather than the actual group image) so i had to delete the template and re-instal it
the second time i tried it it didnt do anything atall.
the only viewtopic_body file is .html type not .tpl
that may have something to do with it.
god knows...
i did find the exact code yuo put above though, and i added the exact code you put there too.
the only thing i noticed that was a bit funny about the code was
whats the "g" about lol did you mean im supposed to add the specific persons forum name where the g is or something?
meh, either way it didnt quite work.
Hey and dont worry about the missunderstanding, sheest happens
any clues on what went wrong with the codeing?
|
Symon
|
As each template is different i only posted an example of what it may look like.
If you tell me which template you are using i will give you a better guide. However as said before the drop box is not working , this will be for admin to look at.
It would seem that it is not pulling the data, and maybe because it is only set to pull the data in the memberlist view rather than viewtopic.
|
Novaris
|
yea dude... sorry its taken me a while to reply.. iv been quite bussy...
the style is MONOLITH.
|
Symon
|
I have tested this on that template and all works ok except the drop box so you must have added the code wrong.
Below is the finished code
| Code: | <!-- IF postrow.POSTER_AVATAR -->
<tr>
<td>{postrow.POSTER_AVATAR}</td>
</tr>
<!-- ENDIF -->
<tr>
<td align="center">{L_USERGROUPS}:
<select name="g">{S_GROUP_OPTIONS}</select> <input class="btnlite" type="submit" name="submit" value="{L_GO}" />
</tr>
</table> |
|
Novaris
|
i dont know man... its crazy. i put in the exact code you put there, literaly copy pasted it. nothing happens. atall. but it works for you??
is it actualy showing the group avatar under the normal avatar? its not doing anything for me atall. i really dont under stand it.
if you got it to work, would you be able to just do the same thing to the template on my forum aswell man? id really apreciate it. i normaly wouldnt ask but its really got me this time.
i have absolutely no idea why the EXACT same code would work for you yet does nothing when i do the exact same thing. clueless.
peace out.
|
Symon
|
I think maybe you might be confusing things here..
The group avatar takes over the user avater, so if they then put a user avartar it will override the group one..
|
|
|