Need the list of wo...
 
Notifications
Clear all

Need the list of working variables {names} for help with skinning

3 Posts
2 Users
0 Reactions
1,617 Views
 shay
(@shay)
Posts: 6
Active Member
Topic starter
 

I'm a terrible tech dunce and had the great fortune to find someone to create a new skin for my forum. However, neither of us knows what the actual, working variables are called and therefore are finding it somewhat difficult to make changes and add options.

I've searched throught the board until my eyes blurred, but I may have missed it. Assuming that I didn't, allow me to seek assistance.

I'm looking for the variable names for the following (though I would appreciate a list if a comprehensive one exists):

newest member
reviews
word count

Any help on this front would be greatly appreciated! (I can't link my skin as it's not yet working on the archive.)

Thank you,
Shay


 
Posted : 08/08/2007 5:16 am
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

Most of the variables should be included in the creating_skins.htm file in the docs folder of your download. Also Skin Changes 2.0 to 3.0.txt  has some, convertingskins.htm, whatever you have (I think some of those files came with earlier releases, but you should have at least one). When the file is open, if you do a Ctrl+F (find) and type in something like "word count" it can help you find what you are looking for quick.

A lot of modules and blocks come with their own readme's of what their special variables are.

You can also find the variables for skins by opening the .tpl's of a skin that comes with the download. That's how I figured out most of mine. The default_tpls folder will have the most skin files, but you need to be careful not to change anything in them.

There's no comprehensive list to my knowledge.

newest member -  {newest} (from site info block)
reviews - which one? In a story block, or in the site info? Guess it doesn't matter as they are both the same {reviews}
word count - {wordcount} (from story block)

To find out the site info variables I go to my admin panel... blocks... Info and edit it (options). This is what I see:

We are the home of {authors} authors from among our {members} members. There have been {reviews} reviews written about our {stories} stories.

A special welcome to our newest member, {newest}.

{loggedinas}

A good way to find variables too, is to do a search.

Searching for "word count variable" on the boards brings up this in the third result:

<span class="label">Word count:</span> {wordcount}

Whoever said nothing is impossible never tried slamming a revolving door.

url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word

 
Posted : 08/08/2007 7:05 am
 shay
(@shay)
Posts: 6
Active Member
Topic starter
 

Thank you for your help. I suppose if I'd been more awake and less frustrated I might have thought to search using the individual words I was looking for, rather than the general 'variables' *facepalm*

Yesterday the variables used were working fine but obviously some manipulations/editing accidentally changed them and they wouldn't revert back to the norm - specifically the {wordcount} - thats what I have but it's not showing up properly.

I'll have to sort through the docs file for what you recommended. (I really meant it when I said I'm a tech dunce - I am still trying to understand half of the things in the efiction folder!)

In any case, thank you again for your help. I'm sorry to have troubled you for what seems to be simple things...even if to me they're still *out there* somewhere :S

~Shay


 
Posted : 08/08/2007 8:31 am
Share: