myfreeforum.org Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  Who is OnlineWho is Online   Join! (free) Join! (free)  
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
For an excellent guide to using your myfreeforum forum, you can visit
howtodoit
The howtodoit "readonly" forum provides answers and walkthroughs for all common questions.
  • Welcome
  • Country: US
    US
    Address: 38.107.191.105
  • Server Appeal

Custom profile hack programming started
Page Previous  1, 2, 3, 4  Next
 
Post new topic   Reply to topic    myfreeforum.org Forum Index -> What's new? Announcements!
View previous topic :: View next topic  
Author Message
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
Private message
symon
Moderator
Moderator


Virtual Cash: 34170

Joined: 04 Sep 2005
Posts: 11651


Location: Hampshire,England
Add Karma

rated by 91 members
Add Comment
Show Comments

online/offline
PostPosted: Sat May 06, 2006 12:42 pm    Post subject: Reply with quote

ok wait one and i,ll change to defalut subsilver
_________________




Back to top
View user's profile Private message
symon
Moderator
Moderator


Virtual Cash: 34170

Joined: 04 Sep 2005
Posts: 11651


Location: Hampshire,England
Add Karma

rated by 91 members
Add Comment
Show Comments

online/offline
PostPosted: Sat May 06, 2006 12:44 pm    Post subject: Reply with quote

changed stlye so you can see better.
_________________




Back to top
View user's profile Private message
admin (no pm's please)
Site Admin
Site Admin


Virtual Cash: 24210

Joined: 22 May 2005
Posts: 25515



Add Karma

rated by 214 members
Add Comment
Show Comments

online/offline
PostPosted: Sat May 06, 2006 12:58 pm    Post subject: Reply with quote

Fixed now. Wasn't properly updating if your forum was on a different server.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

Back to top
View user's profile Private message Visit poster's website
symon
Moderator
Moderator


Virtual Cash: 34170

Joined: 04 Sep 2005
Posts: 11651


Location: Hampshire,England
Add Karma

rated by 91 members
Add Comment
Show Comments

online/offline
PostPosted: Sat May 06, 2006 1:00 pm    Post subject: Reply with quote

No probs just thought you would like to know Wink

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
View user's profile Private message
admin (no pm's please)
Site Admin
Site Admin


Virtual Cash: 24210

Joined: 22 May 2005
Posts: 25515



Add Karma

rated by 214 members
Add Comment
Show Comments

online/offline
PostPosted: Sat May 06, 2006 1:02 pm    Post subject: Reply with quote

symon wrote:
No probs just thought you would like to know Wink

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
View user's profile Private message Visit poster's website
sgts
Teacher
Teacher


Joined: 13 Sep 2005
Posts: 954



Add Karma

rated by 2 members
Add Comment
Show Comments

online/offline
PostPosted: Sat May 06, 2006 1:07 pm    Post subject: Reply with quote

Sy, they'll probably imrprove your stats!
_________________

| Royal Marines Online | Royal Marines Forum |
Quick look busy, admin is coming

Back to top
View user's profile Private message
symon
Moderator
Moderator


Virtual Cash: 34170

Joined: 04 Sep 2005
Posts: 11651


Location: Hampshire,England
Add Karma

rated by 91 members
Add Comment
Show Comments

online/offline
PostPosted: Sat May 06, 2006 5:09 pm    Post subject: Reply with quote

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
View user's profile Private message
Billgar
Apprentice
Apprentice


Joined: 05 Sep 2005
Posts: 243



Add Karma

rated by 1 members
Add Comment
Show Comments

online/offline
PostPosted: Mon May 08, 2006 11:52 pm    Post subject: Reply with quote

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
View user's profile Private message Visit poster's website AIM Address
admin (no pm's please)
Site Admin
Site Admin


Virtual Cash: 24210

Joined: 22 May 2005
Posts: 25515



Add Karma

rated by 214 members
Add Comment
Show Comments

online/offline
PostPosted: Tue May 09, 2006 3:35 am    Post subject: Reply with quote

Admin panel

It is entered in XProfile in the main site control panel:

http://myfreeforum.org/index.php?...amp;task=loginforum&Itemid=27

As you have access=admin it will only be editable in Admin panel/User management.

You also run more than one forum iirc and have not given a link.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

Back to top
View user's profile Private message Visit poster's website
sgts
Teacher
Teacher


Joined: 13 Sep 2005
Posts: 954



Add Karma

rated by 2 members
Add Comment
Show Comments

online/offline
PostPosted: Tue May 09, 2006 5:19 pm    Post subject: Reply with quote

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
View user's profile Private message
admin (no pm's please)
Site Admin
Site Admin


Virtual Cash: 24210

Joined: 22 May 2005
Posts: 25515



Add Karma

rated by 214 members
Add Comment
Show Comments

online/offline
PostPosted: Tue May 09, 2006 5:43 pm    Post subject: Reply with quote

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
View user's profile Private message Visit poster's website
sgts
Teacher
Teacher


Joined: 13 Sep 2005
Posts: 954



Add Karma

rated by 2 members
Add Comment
Show Comments

online/offline
PostPosted: Tue May 09, 2006 9:06 pm    Post subject: Reply with quote

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
View user's profile Private message
symon
Moderator
Moderator


Virtual Cash: 34170

Joined: 04 Sep 2005
Posts: 11651


Location: Hampshire,England
Add Karma

rated by 91 members
Add Comment
Show Comments

online/offline
PostPosted: Wed May 10, 2006 5:49 pm    Post subject: Reply with quote

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
View user's profile Private message
admin (no pm's please)
Site Admin
Site Admin


Virtual Cash: 24210

Joined: 22 May 2005
Posts: 25515



Add Karma

rated by 214 members
Add Comment
Show Comments

online/offline
PostPosted: Wed May 10, 2006 6:12 pm    Post subject: Reply with quote

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
View user's profile Private message Visit poster's website
symon
Moderator
Moderator


Virtual Cash: 34170

Joined: 04 Sep 2005
Posts: 11651


Location: Hampshire,England
Add Karma

rated by 91 members
Add Comment
Show Comments

online/offline
PostPosted: Wed May 10, 2006 6:26 pm    Post subject: Reply with quote

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}:&nbsp;</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
View user's profile Private message
Display posts from previous:   
Post new topic   Reply to topic    myfreeforum.org Forum Index -> What's new? Announcements! All times are GMT
Page Previous  1, 2, 3, 4  Next
Page 3 of 4
 
 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Card File  Gallery  Forum Archive
Powered by phpBB © 2001, 2005 phpBB Group