| User | Post |
|
11:28 pm 14 Jul 2008
| diegofb
Member
| | São Paulo - Brazil | |
|
| posts 5 |
|
|
Hi! I want to Create a plugin that would create a better community environment for SPF. It´ll demand a lot of work to make it usable for others but what i need now, is to make the SFTRACK function working at everypage of my site. The question is: there is a simple way to do it or i´ll need to copy the whole function into my new plugin?
Well my next step would be to make the list of on-line users link to the user´s profile page (using sf-profile) and include there the “user´s buddy list” showing the avatars of his buddies and make the avatars linking to each user profile and so on..
the last step would be to create a user search engine.
|
|
|
|
|
I do not follow totally what you intend doing but I can say that if the forum plugin is active then you can re-use all functions from outside of the plugin - you do not need to duplicate them. Although wrapping your code in a 'function_exists' call is always a good idea.
|
|
|
9:38 pm 16 Jul 2008
| diegofb
Member
| | São Paulo - Brazil | |
|
| posts 5 |
|
|
Hi! i´ll try to post here again. got an error today due to the update time. Ok. plugin is ready! not perfect but working without flaws…
You can see it working at http://www.sur10.net/users If you register and login than you´ll be able to see the “add to buddy list” and “remove from buddy list” buttons at each user profile page.
Ok it´s working over SPF database but its not fully integrated with it once that i haven´t changed nothing at Forum´s interface. I would really like to make links at “user profiles”, “user names” and avatars, showed at the forum pages, to the user profile page. it´s simple but don´t know how to do it without hacking SPF plugin.
any clues?
|
|
|
|
|
All of the forum rendering code is 'pluggable' so that you can replace whole functions and do what you want with them without hacking forum code. So - for example - if you wanted to add a link to the users avatar you could take the whole function sf_render_avatar() and duplicate it and then add the bits you want. You just need to make sure your code file with the functions in get's called/included before the file with the original function.
|
|
|
3:39 pm 17 Jul 2008
| diegofb
Member
| | São Paulo - Brazil | |
|
| posts 5 |
|
|
TNXXXX learning a lot these days! have you seen my “plugin”? it could be included into spf funcions some day hum? if you want to se the (ugly) code just send me a mail and i´ll send it to you. i think you have my mail. don´t you?
Do you remember when i translated the spf for portuguese at the same time the “official” translation got ready? lol… i´ll make sure not doing it again. lol..
|
|
|
|
|
diegofb said:
TNXXXX learning a lot these days! have you seen my “plugin”? it could be included into spf funcions some day hum? if you want to se the (ugly) code just send me a mail and i´ll send it to you. i think you have my mail. don´t you?
Do you remember when i translated the spf for portuguese at the same time the “official” translation got ready? lol… i´ll make sure not doing it again. lol..
Wel we have plans to do something new with membership details but am not sure what yet! So you never know. Might take you up on that!
is that Brazilian Portugueue? We donlt have a native Portuguese translation yet….
[UPDATE] That was a DUMB question! of COURSE it was Brazilian!
|
|
|
5:52 pm 17 Jul 2008
| diegofb
Member
| | São Paulo - Brazil | |
|
| posts 5 |
|
|
Maybe not so dumb.. it could be a Portuguese from portugal or wherever… allright.. i can see now in my sidebar info.. i´m from Brazil..  Good luck with the native Portuguese transaltion. can´t help on that. 
I´m getting to do that modification to forum layout. tnx for your help and for the plugin (again)!
|
|
|
6:44 pm 20 Jul 2008
| CatStyle
Member
| | | |
|
| posts 8 |
|
|
Hi diegofb…
I love your plugin idea! I was just thinking the other day how cool it would be to have more of a social/community feel to SPF. Is there any way to download your plugin yet so that others can test it out on their forums?
Thanks…
|
|
|
7:10 pm 21 Jul 2008
| diegofb
Member
| | São Paulo - Brazil | |
|
| posts 5 |
|
|
CatStyle said:
Hi diegofb…
I love your plugin idea! I was just thinking the other day how cool it would be to have more of a social/community feel to SPF. Is there any way to download your plugin yet so that others can test it out on their forums?
Thanks…
HI CatStyle. I´m still fixing a few things.. i´m not sure if you will be able to test it at this stage.
I´m working hard on it right now. probably at the end of the week i´ll have something more stable and than i´ll need to work it out how to make it custumizable for others to use it.
and more.. with this plugin i plan to change a little the interface of simpleforum like removing the “profile button” from posts and letting the user´s name and avatar linking to profile page.
good luck to us all! feel fre to contact me thru msn or mail: diegoferrari(at)gmail.com
See ya…
|
|
|
4:17 am 22 Jul 2008
| CatStyle
Member
| | | |
|
| posts 8 |
|
|
Hi diegofb…
Wow, your plugin sounds like it's going to very cool! I would definitely like to give it a try whenever you get it finished.
Keep us updated on your progress if you can.
Thanks…
|
|