Variables for Profi...
 
Notifications
Clear all

Variables for Profile Information

5 Posts
2 Users
0 Reactions
1,743 Views
(@chris)
Posts: 77
Trusted Member
Topic starter
 

Here's what I working on: Sam Emme Tales

It's been a while since I used efiction so there are a few things I need help on, I saw a profile design I liked and I have a version now that works for me (though I am pretty sure divs are better than css tables I used) but  I can't figure out what or where I can find (I am supposing the variables) I'll need to finish the profile.

Author Bio |  Contact Author |  Stories | Series |  Favorite Authors | Favorite Stories

How to remove "contact" next to your name?
I've added the beta-reader module but it is coming up in two place, the one with {authorfields} is the one I want to get rid of.
The variable next to skin is {skindir} but it is output is skins/sbkeys, I just want sbkeys.
Is last updated a mod, or do I add something like {updated}?

Lastly, how do you put links into the biography section?

TIA


I charge into the light and need only yours to find my way. Archive of One: Sam Emme Tales

 
Posted : 31/08/2007 6:30 am
 Elle
(@jenny)
Posts: 594
Honorable Member
 

I'm confused by your post, so hopefully this makes sense to you and is relevant.

https://efiction.org/forums/index.php?topic=5415.0 (to remove name in tabs)

To remove contact, you're going to have to edit profile.php under user? I posted about it on my BBS (u:lyra | p:andwillsmell)

For the beta-reader module, I'm not quite sure -- I can see that it displays twice, but I can't remember from the top of my head how that happens.

Unsure re: {skindir}, but will check.

The last updated is a mod.


archive: dramione.org
site: accio.nu

Available for skin/mod commission! πŸ™‚

 
Posted : 31/08/2007 11:31 am
(@chris)
Posts: 77
Trusted Member
Topic starter
 

I removed form profile.php

if($userinfo['email'])
$nameinfo .= " [<a href=""viewuser.php?action=contact&amp;uid=".$userinfo['uid'"]."">"._CONTACT."</a>]";

and it works but I don't know code and I wanted to make sure I removed the right thing.

Your BBS is restricted.

Hope this works better for you, I suck at explaining... :mrgreen:

Profile Picture

TIA


I charge into the light and need only yours to find my way. Archive of One: Sam Emme Tales

 
Posted : 31/08/2007 2:15 pm
 Elle
(@jenny)
Posts: 594
Honorable Member
 

Hm, yeah, I know. The username is "lyra" and the password is "andwillsmell". πŸ˜›

That works ... I guess! You'll have to keep the contact author link there though.

Gender = unsure of, you could just use a custom field, though?

Last updated = yes/no. I'm using the latest one for 3.2, I think, and it works fine on my website. See: http://ink.accio.nu/viewuser.php?uid=1

For the skins, you'll want to create another variable, rather than use {skindir}. I got the code from the forums, if you do a search for skins then it'll probably come up. (alternatively here with the username and password above)

You can create links (<a href="""></a>)," admin.php?action=settings&sect=sitesettings -- might have to check allowed HTML tags, though.

The beta-reader is from {authorfields}? Unless you remove the module ... I'm not sure you can get rid of it, as it's under classifications, I believe!

The tabs is under user.tpl, I think.

This is all from the top of my head, by the way. πŸ˜›


archive: dramione.org
site: accio.nu

Available for skin/mod commission! πŸ™‚

 
Posted : 31/08/2007 2:30 pm
(@chris)
Posts: 77
Trusted Member
Topic starter
 

Hm, yeah, I know. The username is "lyra" and the password is "andwillsmell".

Smack self on head πŸ˜† Gotcha!

Gender = unsure of, you could just use a custom field, though?

Well Gender is under profile information but it is getting stuck under {authorfields} as well.

ETA: Fixed that, Tammy inadvertently answered my question. I simply removed the {authorfields} and replaced with  individual {variables}

As for my  Profile Menu, I'll just have to figure out how to pull the variables that is on the tabs.
ETA: I just moved all the tab info in profile.tpl

The updated mod I am thinking of the same when you last post a story and not when you last visited the site, I did try that visited mod but I am getting "unavailable". It that because I am the only member?

As for Updated, I am thinking something in this from viewstory.php may have a clue but I wouldn't know.

// Get the story information
$storyquery = dbquery("SELECT "._PENNAMEFIELD." as penname, "._UIDFIELD." as uid, story.*, UNIX_TIMESTAMP(story.date) as date, UNIX_TIMESTAMP(story.updated) as updated, story.validated as valid FROM ".TABLEPREFIX."fanfiction_stories as story, "._AUTHORTABLE." WHERE story.sid = '".$sid."' AND story.uid = "._UIDFIELD);
$storyinfo = dbassoc($storyquery);

I think that 's all. TIA


I charge into the light and need only yours to find my way. Archive of One: Sam Emme Tales

 
Posted : 31/08/2007 5:14 pm
Share: