DragonPrime - LoGD Resource Community

Modules, Themes and other customizations for your game => Completed Modules for version 1.x.x => Topic started by: Arune on February 07, 2005, 09:07:21 PM



Title: Detailed Bio Info
Post by: Arune on February 07, 2005, 09:07:21 PM
This module essentially shows all detailed characteristics about a player when you click on their bio. This will show gold/goldinbank/gems/armor/weapon/attack/defense etc.

Note: Once installed you will need to go to user preferences in this module and turn this on. This is turned on, ON A PER USER BASIS.

This module is meant for superusers only...I have found it extremely useful and much simpler when I need to look at a characters information that maybe talking in a village or something.

***This module was originally written by Keith for 0.9.7. He was generous enough to allow me to convert his version over to 0.9.8 and release it. ***

http://dragonprime.net/users/khatfield/bioinfo98.zip


Title: Re:Detailed Bio Info
Post by: Sichae on February 07, 2005, 09:15:52 PM
Superusers only, eh? Why not stick this into the install then:

Code:
$sql = "SELECT acctid FROM ".db_prefix("accounts")." WHERE superuser>'0'";
$result = db_query($sql);
$row = db_fetch_assoc($result);
$id = $row['acctid'];
$sql2 = "UPDATE ".db_prefix("module_userprefs")." SET value='1' WHERE setting='biodetail' AND modulename='bioinfo' AND userid='$id'";
db_query($sql2);
Sets up all people that have flags, to have this thinger activated. Then it can be used on a Per User basis. ^_^


Title: Re:Detailed Bio Info
Post by: Arune on February 07, 2005, 09:20:15 PM
But with that... Anyone who may have infinite days as their only flag would have access.

Plus.. I don't think my moderators need to know detailed information on other players. If they aren't a full time admin, 9/10 they play the game.

This would give them an unfair advantage.


Title: Re:Detailed Bio Info
Post by: Sichae on February 07, 2005, 09:25:28 PM
But with that... Anyone who may have infinite days as their only flag would have access.

Plus.. I don't think my moderators need to know detailed information on other players. If they aren't a full time admin, 9/10 they play the game.

This would give them an unfair advantage.

Twas only a suggestion. Of course, you could modify that call to affect all that have SU_EDIT_USERS ... hehe. But, it is best you just leave it as it is.

/me returns to a new module


Title: Re:Detailed Bio Info
Post by: Arune on February 07, 2005, 09:30:26 PM
I know.

But I chose to go this route :)


Title: Re:Detailed Bio Info
Post by: Jim on February 08, 2005, 01:48:44 AM
Parse error: parse error, unexpected T_STRING, expecting ')' in /bioinfo.php on line 18


Title: Re:Detailed Bio Info
Post by: Sichae on February 08, 2005, 05:12:46 AM
Code:
"download"=>"http://www.dragonprime.net/users/khatfield/bioinfo98.zip
Should be:
Code:
"download"=>"http://www.dragonprime.net/users/khatfield/bioinfo98.zip",

Stupid commas :P


Title: Re:Detailed Bio Info
Post by: Arune on February 08, 2005, 06:15:58 AM
Sorry about that. Lack of sleep sucks :P


File corrected, same link.


Title: Re: Detailed Bio Info
Post by: PandoraStar on January 07, 2008, 04:31:47 AM
i looked for this "detailed bio info" module and i couldnt find it to dload. Is there another place to look? Im also trying to find the "default commentary color code" and the "upload avatars" module and cant find those either.


Title: Re: Detailed Bio Info
Post by: seekey on January 07, 2008, 05:59:52 AM
http://dragonprime.net/index.php?module=Downloads;sa=dlview;id=392 (http://dragonprime.net/index.php?module=Downloads;sa=dlview;id=392)
Here is Default Comment Color module.

http://dragonprime.net/index.php?module=Downloads;sa=dlview;id=961 (http://dragonprime.net/index.php?module=Downloads;sa=dlview;id=961)
Here is the upload avatar module, I hope this will help you :)


Title: Re: Detailed Bio Info
Post by: PandoraStar on January 07, 2008, 10:42:54 PM
http://dragonprime.net/index.php?module=Downloads;sa=dlview;id=392 (http://dragonprime.net/index.php?module=Downloads;sa=dlview;id=392)
Here is Default Comment Color module.

http://dragonprime.net/index.php?module=Downloads;sa=dlview;id=961 (http://dragonprime.net/index.php?module=Downloads;sa=dlview;id=961)
Here is the upload avatar module, I hope this will help you :)

Thanks!  :)


Title: Re: Detailed Bio Info
Post by: seekey on January 07, 2008, 10:54:53 PM
No problem :)

I have searched for the bioinfo module, but can't find it anywhere. Maybe you can tell exactly what informations you want to display in the bio and I could write a similar module.

Or you can take the equipment info module. With little modifications you can make it like you want :) Look here:

http://dragonprime.net/index.php?module=Downloads;sa=dlview;id=65 (http://dragonprime.net/index.php?module=Downloads;sa=dlview;id=65)


Title: Re: Detailed Bio Info
Post by: PandoraStar on January 07, 2008, 11:07:00 PM
No problem :)

I have searched for the bioinfo module, but can't find it anywhere. Maybe you can tell exactly what informations you want to display in the bio and I could write a similar module.

Or you can take the equipment info module. With little modifications you can make it like you want :) Look here:

http://dragonprime.net/index.php?module=Downloads;sa=dlview;id=65 (http://dragonprime.net/index.php?module=Downloads;sa=dlview;id=65)

Im not exactly sure what I needed but the other site owner said the preferences area looked a little "skimpy" and we were searching for stuff to give players more preference options. She found this link to "Detailed Bio Info" and I cant find it to download it. Maybe the module was deleted or something...

But, no worries. Its not a huge problem. Thank you so much!


Title: Re: Detailed Bio Info
Post by: seekey on January 07, 2008, 11:20:50 PM
No, I cannot let stand this without making something crazy *g*

I have extended the module from sichae a little but *cough cough*

The user can choose what he want to display in his bio and what not. Admins can override this  preferences.

Includes:

gold
goldinbank
gems
weapon
armor
attack
defense
maxhitpoints/hitpoints

maybe you cann add charmpoints, but I would not advice to, because the flirting will be more interesting without knowing the charm of the other :)

I attach the file to this post. Have fun with it.

Oh yes, tested and running under 1.1.1.

edit:

Dave has pointed me to a module from him, what exactly seems to do as mine. Here is the link to his module:

http://dragonprime.net/index.php?board=17;action=display;threadid=3049 (http://dragonprime.net/index.php?board=17;action=display;threadid=3049)


Title: Re: Detailed Bio Info
Post by: PandoraStar on January 07, 2008, 11:55:54 PM
No, I cannot let stand this without making something crazy *g*

I have extended the module from sichae a little but *cough cough*

The user can choose what he want to display in his bio and what not. Admins can override this  preferences.

Includes:

gold
goldinbank
gems
weapon
armor
attack
defense
maxhitpoints/hitpoints

maybe you cann add charmpoints, but I would not advice to, because the flirting will be more interesting without knowing the charm of the other :)

I attach the file to this post. Have fun with it.

Oh yes, tested and running under 1.1.1.

edit:

Dave has pointed me to a module from him, what exactly seems to do as mine. Here is the link to his module:

http://dragonprime.net/index.php?board=17;action=display;threadid=3049 (http://dragonprime.net/index.php?board=17;action=display;threadid=3049)

Thanks, Seekey! I downloaded the one you created since you said they were the same. I think thats what I was looking for..cool! :)

© 2017 DragonPrime - LoGD Resource Community
Email Talisman: talisman -at- gmail.com
&oeXs)2U7=V BmܲV.U e=;p\}eG )Jj} C5EH7ˤH=j } mo|*Ŋw{drV_@IV>/- TFQJ׀̀Ve}l1,V O iNYx͘$e$;
Forums: Powered by SMF 1.1.21 | SMF © 2006-2007, Simple Machines