1
talunceford
Highly Customized User Account

Well here is the latest addition to the bf2online.com site. You can now view your bf2 stats in your profile! Being the tinkerer that I am, I customized the userprofile in a way that when the user updates their profile with their BF2 PID, it generates a sig automatically and also updates their profile with their latest statistics. This only works if you update your profile. The key to keeping your stats up-to-date is to use the sig. The sig grabs the information every six hours, and updates the database. Highly customized with smarty, and Xoops.
The stats are complete and up-to-date. I am still adding things to it, such as specific vehicle kills etc. All of the medals, badges, & ribbons are accurate to your own account.

Here is a pic of my user account.

Resized Image

Im pretty proud of what I have accomplished, as its been a big learning experience for me.


Anyway, just thought I would share that. For those of you who are wondering what files I had to modify, feel free to contact me.

2
Herko
Re: Highly Customized User Account
  • 2005/10/15 16:19

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


That is truly amazing work Tim! You have every right to be proud! COngrats

Herko

3
talunceford
Re: Highly Customized User Account

Thanks Herko! Its pretty simple how everything works, just quite a bit of information to modify. Lots of db fields to add to the xoops_user table, lots of smarty variables to add, and lots of other things that went on, just to make that one small page visible like it is. Its way cool how versitle XOOPS is. Anything is possible

4
smdcom
Re: Highly Customized User Account

Yeah! You've done such a amazing job there. Keep up the good work.

SMD

5
talunceford
Re: Highly Customized User Account

Well here is yet another update on the user account changes that I have made on the site. Its been a while since I posted the original version of the changes. Here is the latest version. MANY MANY changes have been made to the user account section. I went so far as to change the theme.html file that the user account page uses so that I could use the left hand space where the left menu is, in order to allow the page to be viewed the way its supposed to be viewed. That being said, the site uses only one theme, but it has two theme.html files. One specifically for the user account, and one for the site itself. I could try and explain how everything works to you guys, but I think I would probably cause my submission form to time out. LOL!! There are 3 primary files that I change. The kernel/user.php file, the userinfo.php file, and the system_userinfo.html template. The one main file that actually sticks the info into the db resides on another server. One that has nothing to do with XOOPS itself. I just make a connection to my db server from it, it checks to see if some of the parameters match some strict requirements that I have instilled and it inserts the info if everything is met.

One of the cool things that you will notice is the ivory colored popup menu in the middle of the screenshot. This popup, gives you information on either how many points you have left to aquire before you receive a particular award, or how much time you need for an award, or how many kills you need for an award. All in percentages. Some of it is still kinda buggy, but the core framework for it is developed. Just mouse-over any of the awards images to give you a tooltip/popup. Some of them are fully operational, and some of them are not. I am working on them as we speak, so thats why they aren't done. Anyway, this is all I have right now. If you want to check it out in action, just visit http://www.bf2online.com and click on my profile, or click on this link here.

http://www.bf2online.com/userinfo.php?uid=1



Here is the latest screenshot of the system.

Resized Image

6
talunceford
Re: Highly Customized User Account

Ok, for those of you who wondered how I modified the userinfo page like this, you are in luck. I created a few short images that try to give you examples of what I modified and why. Here they are. If you have ANY question, please feel free to ask.

Resized Image

Resized Image

Resized Image

Resized Image

Login

Who's Online

443 user(s) are online (359 user(s) are browsing Support Forums)


Members: 0


Guests: 443


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits