News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Biography Mod

Started by Bullcat Webhosting, January 18, 2005, 04:26:43 AM

Previous topic - Next topic

guider

So tell me, will this thing work on any theme using 1.0.5? If not, what are approved for it?

snork13

found 2 small errors, typo!

$themedir/default/languages/modifications.englisch.php
<search>
?>
</search>

<replace>
$txt['visual_bio_mod'] = "Settings for biography.";
$txt['biomod_enabled'] = "Use biography?";
$txt['biomod_ubbc'] = "Accept UBBC Code's ?";
$txt['bio-1'] = "Put your picture here,";
$txt['bio-2'] = "and write a litle of your live, job, etc. etc.!";
$txt['bio-3'] = "Biography of this user";
$txt['bio-4'] = "Take a look at his biography.";
$txt['bio-5'] = "Bio";
$txt['bio-5a'] = "Biography";

?>
</replace>

highlighted in red :)

-snork13



Mods
Please DO NOT PM me with requests for individual support, but post your questions and concerns in the appropriate section of the forum where other users can benefit from them as well. Thank you.
I have been super busy as of late. Working on updates to all my modifications for 2.0.1

Aravot

Quote from: snork13 on July 19, 2005, 11:01:18 AM
found 2 small errors, typo!

$themedir/default/languages/modifications.englisch.php
<search>
?>
</search>

<replace>
$txt['visual_bio_mod'] = "Settings for biography.";
$txt['biomod_enabled'] = "Use biography?";
$txt['biomod_ubbc'] = "Accept UBBC Code's ?";
$txt['bio-1'] = "Put your picture here,";
$txt['bio-2'] = "and write a litle of your live, job, etc. etc.!";
$txt['bio-3'] = "Biography of this user";
$txt['bio-4'] = "Take a look at his biography.";
$txt['bio-5'] = "Bio";
$txt['bio-5a'] = "Biography";

?>
</replace>

highlighted in red :)

-snork13


and live should be life

mennou

Please remember to always make regular backups of your sources and database before installing mods, especially beta versions. 


Install Actions
Installations actions for "Biography Mod":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF. 

i m using the beta .. the bio not work on my site

guider

#44
If you're using SMF 1.0.5, use this MOD file. I put in the required corrections from this thread, except for language corrections. Again, not for package manager. About 10 minutes install time. Works fine on default theme.

However, on the SMFgeneration theme, the fields are present but the text in front of them is not. Not in admin nor profile. I'm not too clear atm, what parameter needs changing?

mennou

I am using  SMF 1.1 Beta 3 Public.

LSP

Sorry, newbie question, how do you "run" a php file without just opening it into a text editor?

guider

Just enter the full location in your browser. Eg. www.site.com/phpfile.php.

ArkServer

ive got a question how to remove the double lines below my bio,

http://arkserver.servehttp.com
http://arkserver.servehttp.com/index.php?action=profile
it works but i dunno how to remove the 2 lines

thanks.

charlwillia6

Does anyone have a site that has this mod installed?  The link in the mods section goes to a test forum that does not even have the bio mod installed.    I would like to see what it looks like.  Thanks

Charles

ArkServer

Quote from: charlwillia6 on September 10, 2005, 06:19:11 AM
Does anyone have a site that has this mod installed?  The link in the mods section goes to a test forum that does not even have the bio mod installed.    I would like to see what it looks like.  Thanks

Charles

http://arkserver.servehttp.com/forum/index.php?action=profile

perplexed

just to check, I am using 1.1 beta 3 public

so this mod wont work or will work?

via package manager or not?

thanks

liberalfaerie

I am using 1.1 RC1, and I'm trying to install this mod manually. I've had success so far with most every manual mod install I've done so far (I have to do them all manually pretty much because I have so many installed). I ran the db file just fine, no problems there. Then opened up the .mod file and started following directions. First few edits went fine, but then I started running across code in the .mod file that was nowhere to be found in the file I was supposed to be editing.

I edit php files in Dreamweaver, and use the "find and replace" function in order to jump to the next block of code that needs to be edited. By the time I got halfway through the .mod file almost nothing was matching up anymore! I couldn't find the correct code to add to, and was afraid to "take a guess" because that's too much work to have to undo if it isn't right.

So, just curious what the problem I'm having could be. Is this mod not compatible with 1.1 RC1? For example, the code I'm supposed to be looking for to add to is in memberlist.php and looks like this:
// Select the members from the database.
$request = db_query("
SELECT
mem.memberName, mem.realName, mem.websiteTitle, mem.websiteUrl, mem.posts,
mem.ID_GROUP, mem.ICQ, mem.AIM, mem.YIM, mem.MSN, mem.emailAddress,


But when I use the find and replace function there is no such code anywhere in memberlist.php. Instead, my code looks like this:
// Select the members from the database.
$request = db_query("
SELECT mem.ID_MEMBER
FROM {$db_prefix}members AS mem
LEFT JOIN {$db_prefix}log_online AS lo ON (lo.ID_MEMBER = mem.ID_MEMBER)
LEFT JOIN {$db_prefix}membergroups AS mg ON (mg.ID_GROUP = IF(mem.ID_GROUP = 0, mem.ID_POST_GROUP,mem.ID_GROUP))
WHERE mem.is_activated = 1
ORDER BY " . $sort_methods[$_REQUEST['sort']][$context['sort_direction']] . "
LIMIT $_REQUEST[start], $modSettings[defaultMaxMembers]", __FILE__, __LINE__);
printMemberListRows($request);
mysql_free_result($request);

if ($_REQUEST['sort'] == 'realName')
{
$last_letter = '';
foreach ($context['members'] as $i => $dummy)
{
$this_letter = substr($context['members'][$i]['name'], 0, 1);

if ($this_letter != $last_letter)
{
$context['members'][$i]['sort_letter'] = $this_letter;
$last_letter = $this_letter;
}
}
}
}


Those two are nothing alike. So, am I doing something wrong or is this mod not compatible with the version of smf I have installed? Or am I just missing something? This was only one example of the code not matching up. I finally gave up and placed my backed up copies of the edited files back in the folders because it was starting to feel hopeless. Any help out there?

azjr247

yeah, plz help.  I want to install this mod   :D and i have  smf 1.1 rc 1 !!!

huijaa

I'll wait the whole time...
Dovenforum Nederland -- a forum for deaf people in the Netherlands --

azjr247

Can anyone make this 1.1 rc1 compatible ?? :'(   :'(   :'(

J_C

Yet again, another dead link   :'(  .... does anyone have this installed on a demo forum?

Norbert


J_C

Cool, thanks Norbert!

Its a little less comprehensive than I initially had hoped for.   Might be tweakable into something neat though :)

Bullcat Webhosting

Quote from: azjr247 on November 15, 2005, 02:09:23 PM
Can anyone make this 1.1 rc1 compatible ?? :'(   :'(   :'(

I just start to make this mod compatible with 1.1 rc1


Wij ondersteunen SMF forums & safe mode staat uit.

Advertisement: