Please Register and Login to this forum to stop seeing this advertsing.
Add Karma
 rated by members
Add Comment
Show Comments
![online/offline]() |
Posted: Post subject: |
|
|
|
|
| Back to top |
|
 |
symon Moderator


 Virtual Cash: 34170
Joined: 04 Sep 2005 Posts: 11651
Location: Hampshire,England Add Karma
 rated by 91 members
Add Comment
Show Comments
 |
Posted: Sat May 06, 2006 12:42 pm Post subject: |
|
|
ok wait one and i,ll change to defalut subsilver _________________

|
|
| Back to top |
|
 |
symon Moderator


 Virtual Cash: 34170
Joined: 04 Sep 2005 Posts: 11651
Location: Hampshire,England Add Karma
 rated by 91 members
Add Comment
Show Comments
 |
Posted: Sat May 06, 2006 12:44 pm Post subject: |
|
|
changed stlye so you can see better. _________________

|
|
| Back to top |
|
 |
admin (no pm's please) Site Admin


 Virtual Cash: 24210
Joined: 22 May 2005 Posts: 25515
Add Karma
 rated by 214 members
Add Comment
Show Comments
 |
|
| Back to top |
|
 |
symon Moderator


 Virtual Cash: 34170
Joined: 04 Sep 2005 Posts: 11651
Location: Hampshire,England Add Karma
 rated by 91 members
Add Comment
Show Comments
 |
Posted: Sat May 06, 2006 1:00 pm Post subject: |
|
|
No probs just thought you would like to know
i,m off to the shops back later
and Admin my kids are hooked on css and day of defeat,, is there away they can log in on their own user names to save my terriable stats suffering even moire?? _________________

|
|
| Back to top |
|
 |
admin (no pm's please) Site Admin


 Virtual Cash: 24210
Joined: 22 May 2005 Posts: 25515
Add Karma
 rated by 214 members
Add Comment
Show Comments
 |
Posted: Sat May 06, 2006 1:02 pm Post subject: |
|
|
| symon wrote: | No probs just thought you would like to know
i,m off to the shops back later
and Admin my kids are hooked on css and day of defeat,, is there away they can log in on their own user names to save my terriable stats suffering even moire?? |
Would that be the 5 year olds
I think the stats work on the STEAMID  _________________
Family Friendly Shareware | | Web Design/Services | Free Forums
|
|
| Back to top |
|
 |
sgts Teacher


Joined: 13 Sep 2005 Posts: 954
Add Karma
 rated by 2 members
Add Comment
Show Comments
 |
|
| Back to top |
|
 |
symon Moderator


 Virtual Cash: 34170
Joined: 04 Sep 2005 Posts: 11651
Location: Hampshire,England Add Karma
 rated by 91 members
Add Comment
Show Comments
 |
Posted: Sat May 06, 2006 5:09 pm Post subject: |
|
|
| sgts wrote: | | Sy, they'll probably imrprove your stats! |
They more and likley will and yes it is the 5 year old arran or as i call him assie hence my username he loves it and when we play on this server against the bot he loves it _________________

|
|
| Back to top |
|
 |
Billgar Apprentice


Joined: 05 Sep 2005 Posts: 243
Add Karma
 rated by 1 members
Add Comment
Show Comments
 |
Posted: Mon May 08, 2006 11:52 pm Post subject: |
|
|
Back on subject!
Im so lost
As an example, in the admin panel, i entered
[XRANK]
access=admin
and then in
viewtopic_body.tpl
i added
{XRANK}.
But why doesnt it work?
where do i edit it?
Can we get a full clean walkthrough with a nice clean example, i read through this thread, and its in bits and pieces through multiple posts, making it hard to follow. _________________
DarkRoostermusic
|
|
| Back to top |
|
 |
admin (no pm's please) Site Admin


 Virtual Cash: 24210
Joined: 22 May 2005 Posts: 25515
Add Karma
 rated by 214 members
Add Comment
Show Comments
 |
|
| Back to top |
|
 |
sgts Teacher


Joined: 13 Sep 2005 Posts: 954
Add Karma
 rated by 2 members
Add Comment
Show Comments
 |
Posted: Tue May 09, 2006 5:19 pm Post subject: |
|
|
In the admin profile details XProfile I have put:
[XRANK]
access=admin
visible=user
myff_royalmarinesbands3/viewtopic_body.tpl
| Code: | <!-- BEGIN postrow -->
<tr>
<td width="150" align="left" valign="top" class="{postrow.ROW_CLASS}"><span class="name"><a name="{postrow.U_POST_ID}"></a><b>{postrow.POSTER_NAME}</b></span><br /><span class="postdetails">{postrow.POSTER_RANK}<br />
[b]{XRANK}[/b]<br/>{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}<br /><br />{postrow.POSTER_JOINED}<br />{postrow.POSTER_POSTS}<br />{postrow.POSTER_FROM}</span><br /></td>
<td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0"> |
The XRank is showing in Userprofile and I have entered a rank in it and can see it. When I go to the view topic I am able to see the space where it should be and increase the gap with <br/> and see it change but I can't see the rank itself.
It is probably something really stupid I am doing so please slap me as hard as is required. _________________
| Royal Marines Online | Royal Marines Forum |
Quick look busy, admin is coming
|
|
| Back to top |
|
 |
admin (no pm's please) Site Admin


 Virtual Cash: 24210
Joined: 22 May 2005 Posts: 25515
Add Karma
 rated by 214 members
Add Comment
Show Comments
 |
Posted: Tue May 09, 2006 5:43 pm Post subject: |
|
|
Slap duly given
| Quote: |
In profile_view_body.tpl we could use the following macros:
{L_GOOGLESEARCH} which is the title
{GOOGLESEARCH} the value
{GOOGLESEARCH_IMG} the image and link if one has been defined.
In viewtopic_body we have:
{postrow.GOOGLESEARCH} the value
{postrow.GOOGLESEARCH_IMG} the image and link if one has been defined.
|
The way to access the data depends on the file. In viewtopic_body.tpl it is {postrow.XRANK} _________________
Family Friendly Shareware | | Web Design/Services | Free Forums
|
|
| Back to top |
|
 |
sgts Teacher


Joined: 13 Sep 2005 Posts: 954
Add Karma
 rated by 2 members
Add Comment
Show Comments
 |
Posted: Tue May 09, 2006 9:06 pm Post subject: |
|
|
Woo hooo, the Slap Worked!!!! I have cracked it on template 3 with your help you big lump of fluffyness.
Now all I have to do is work out what to put on the other forum that they can ignore! _________________
| Royal Marines Online | Royal Marines Forum |
Quick look busy, admin is coming
|
|
| Back to top |
|
 |
symon Moderator


 Virtual Cash: 34170
Joined: 04 Sep 2005 Posts: 11651
Location: Hampshire,England Add Karma
 rated by 91 members
Add Comment
Show Comments
 |
Posted: Wed May 10, 2006 5:49 pm Post subject: |
|
|
I made xtrarank on howtodoit and like sgts can see the space for it under profile rank but can not see the text? _________________

|
|
| Back to top |
|
 |
admin (no pm's please) Site Admin


 Virtual Cash: 24210
Joined: 22 May 2005 Posts: 25515
Add Karma
 rated by 214 members
Add Comment
Show Comments
 |
Posted: Wed May 10, 2006 6:12 pm Post subject: |
|
|
| symon wrote: | | I made xtrarank on howtodoit and like sgts can see the space for it under profile rank but can not see the text? |
So what have you put in the template file? _________________
Family Friendly Shareware | | Web Design/Services | Free Forums
|
|
| Back to top |
|
 |
symon Moderator


 Virtual Cash: 34170
Joined: 04 Sep 2005 Posts: 11651
Location: Hampshire,England Add Karma
 rated by 91 members
Add Comment
Show Comments
 |
Posted: Wed May 10, 2006 6:26 pm Post subject: |
|
|
In xprofile i have
[xtrarank]
title=xtrarank
access=admin
visible=all
In myff_howtodoit2/profile_view_body.tpl
| Code: | <tr>
<td class="row1" height="6" valign="top" align="center">{AVATAR_IMG}<br /><span class="postdetails">{POSTER_RANK}</span></td>
</tr> <td{L_xtrarank}
{xtrarank}>
<td class="row1" rowspan="3" valign="top"><table width="100%" border="0" cellspacing="1" cellpadding="3">
<tr>
<td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_JOINED}: </span></td>
<td width="100%"><b><span class="gen">{JOINED}</span></b></td>
</tr> |
In myff_howtodoit2/viewtopic_body.tpl
| Code: | <!-- BEGIN postrow -->
<tr>
<td width="150" align="left" valign="top" class="{postrow.ROW_CLASS}"><span class="name"><a name="{postrow.U_POST_ID}"></a><b>{postrow.POSTER_NAME}</b></span><br /><span class="postdetails">{postrow.POSTER_RANK}<br /><br{postrow.xtrarank}<br/>{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}<br /><br />{postrow.POSTER_JOINED}<br />{postrow.POSTER_POSTS}<br />{postrow.POSTER_FROM}</span><br /></td>
<td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
|
Now in sgts profile i have enter an extra rank and this is what i can not see i see it in the profile but not on main topic
_________________

|
|
| Back to top |
|
 |