Archive for myfreeforum.org Before posting please check the "stickies" in the support forums.
Please ask questions in real English and not "txt". You will get a better response.
Please do not ask support questions via PMs.
 



       myfreeforum.org Forum Index -> PhpBB2 General Support
DavidGarden

Ranks

PLEASE ENTER THE FOLLOWING>>>>


Enter your myff forum url here, if the issue is on a particular part of the forum, then give a link to where the problem actually is. Do not enter your own domain name it must be the actual myff link :http://daveskaraokeforums.myfineforum.org/index.php


If you are asking a template related question, what is the name of the template:


Please indicate keywords you have searched on:


Now ask your question in clear English without "txt" speak>>>>hi admin how do I add gold stars under location on avatars but also have the vista ranks above avatar which I have want gold stars underneath if possible and where to I add them thanks Dave.
DavidGarden

hi any staff available to help with my Question Ranks  thanks Dave
Zudane

What exactly do you mean by gold stars?  There are a number of options here... though I think your best bet would probably require javascript.

You'll have to describe what you want better to get some help about it.
DavidGarden

Zudane wrote:
What exactly do you mean by gold stars?  There are a number of options here... though I think your best bet would probably require javascript.

You'll have to describe what you want better to get some help about it.
hi Zudane what I mean is you know under your avatar where it says your post count your locataion if you put one in well I want the gold stars thier under the avatar picture so to speak where it says karma I want the gold stars there and under thier name I have the vista ranks so thats sorted its Just where and how do I get the gold star Gifs where the karma is  Dave
admin (no pm's please)

When you define the profile fields you get placement option

"beforeavatar" "afteravatar" "beforeposts" "afterposts"

If you want more you need to edit viewtopic_body.tpl manually as per any number of guides on howtodoit.
DavidGarden

admin (no pm's please) wrote:
When you define the profile fields you get placement option

"beforeavatar" "afteravatar" "beforeposts" "afterposts"

If you want more you need to edit viewtopic_body.tpl manually as per any number of guides on howtodoit.
hi admin I know this but what I have is the vista ranks under my name now if you notice where it says karma this is where I want the gold stars Dave.
admin (no pm's please)

You can have more than one thing in the same place, both will show but you can even control the order by reordering the profile fields in the admin panel.
DavidGarden

how do I do this Dave.
DavidGarden

Hi I want to put the gold stars gif where it says karma this is where Id like to put the xtra rank how do you do this Dave.
Lavathing9

Here are two solutions, hopefully one works for you:

How to move ranks manually:


Go into viewtopic_body.tpl and find:

Code:
{postrow.RANK_IMAGE}


Cut that out and past it where you want your rank image to appear.  Simple as that.

How to add a picture manually:

Go into viewtopic_body.tpl and find something like this, of course yours will vary a bit based on your template and editing done to it:

Code:
<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">Status: {postrow.POSTER_STATUS}<br/> {postrow.POSTER_AVATAR}<br />{postrow.POSTER_RANK}<br />{postrow.RANK_IMAGE}<br />{postrow.POSTER_JOINED}<br />{postrow.POSTER_POSTS}<br />


Now, let's say you want it after where they avatar is displayed, you would put:

Code:
<img src="yourimagenamehere.gif"><br />


in the code after:

Code:
{postrow.POSTER_AVATAR}<br />


so it will look like:

Code:
<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">Status: {postrow.POSTER_STATUS}<br/> {postrow.POSTER_AVATAR}<br /><img src="yourimagenamehere.gif"><br />{postrow.POSTER_RANK}<br />{postrow.RANK_IMAGE}<br />{postrow.POSTER_JOINED}<br />{postrow.POSTER_POSTS}<br />


Hope that answers your question.
Zudane

I'm still not sure of what you want...

Do you want a Karma field that is stars, a secondary post-rank field that has stars, or an admin-set rank that is stars?

The location is easily changeable using the options (above/below avatar/rank) and if you have multiples listed for the same location then they show up in that order in that location.

You've described the location, what we need to know is the purpose of the stars.
DavidGarden

hi Zudane   post-rank field that has stars but still have the vista ranks above Avatar and Gold stars under Avatar hope this helps Dave.
purpose of stars would be for certain amount of posts etc say thanking members etc looks great
DavidGarden

I simply give up Ill just forget the Bloody Gold stars under post count thanks for your help  anyway guys Dave.
Zudane

So from your last description, (sorry I missed)

You want special set ranks for members (member, admin, moderator, etc) and then ranks based on post counts?

You can't have two "ranks" unless you have one (not-post count related) set as a admin-only profile field.  Then you can use that to set the field.

Simply put, you make the profile field have ranks named the same as the gold stars (if the star image names are gold_1 gold_2, gold_3 etc) then make those the options.

Then for the view_topic.tpl page you want to make the custom profile field, and have it set as

Code:
<img src="/ranks/goldstar/{profilefield.name}.gif" />


You'll need to make sure the macro is correct ("{profilefield.name}" needs to be the correct field name macro) and the path for the images needs to be correct.
DavidGarden

cant figure this out what code do you edit
Zudane

Check the howtodoit for custom profile fields.

All though all-in-all this sounds like something a bit more advanced than what you can do right now.   So you'll either need to skip it, or learn more, and sorry but we can't teach you all of that here.
DavidGarden

all Im getting under post count is a white box with red x this should be stars  Dave.
Zudane

If you're getting a problem you need to show us a link to the problem.

We can't guess what's wrong.
DavidGarden

Senior member

Joined: 20 Feb 2008
Posts: 469
rank6_gold.gif

Location: Bengalooru,India

this is where I want to put the gold stars but this is all
Im getting no stars just rank6_gold.gif strange Dave.
admin (no pm's please)

That is not a link/address/url where we can see the issue.
DavidGarden

hi admin I get the white box with the red x cant figure this out
admin (no pm's please)

admin (no pm's please) wrote:
That is not a link/address/url where we can see the issue.
DavidGarden

View previous topic :: View next topic  
Author Message
praveengps
member

Status:

Senior member

Joined: 20 Feb 2008
Posts: 469
white box with red x here want stars
or where karma is would like stars Dave.

Location: Bengalooru,India
Bravo

admin (no pm's please) wrote:
admin (no pm's please) wrote:
That is not a link/address/url where we can see the issue.


A link begins with http://

That's what you need to be providing.  

Go somewhere where you can see the issue (that can also be seen by guests) and click the top address bar.  All the letters will go inverse.  Right click and select 'copy'

Then come here, and when you post, right click and select 'paste'.
DavidGarden

hi will just forget this its totally confusing me thanks anyway for help Dave
Zudane

Okay then.

To supply a link, all you need is a guest viewable forum that has that added.  Then you need to provide a link.  Like the link to this thread: http://forum.myfreeforum.org/about18214.html

       myfreeforum.org Forum Index -> PhpBB2 General Support
Page 1 of 1
Create your own free forum | Buy a domain to use with your forum