Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: M-DVD on January 16, 2009, 10:46:57 AM

Title: Contributions in Boards
Post by: M-DVD on January 16, 2009, 10:46:57 AM
(http://www.simplemachines.org/site_images/modtitlebar.png)Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1587) - (http://www.simplemachines.org/community/Themes/smsite/images/bbc/img.gif)Images (http://custom.simplemachines.org/mods/index.php?mod=1587)

MOD Contributions in Boards v1.3
=======================






  • Autor:
M-DVD (http://custom.simplemachines.org/mods/index.php?action=profile;u=148997)
  • Version:
1.3
  • Release:
04th January 2009
  • Languages:
(http://www.simplemachines.org/site_images/lang/english.gif) (http://www.simplemachines.org/site_images/lang/english_british.gif) (http://www.simplemachines.org/site_images/lang/spanish.gif) (http://www.simplemachines.org/site_images/lang/spanish_latin.gif) (http://www.simplemachines.org/site_images/lang/turkish.gif) (http://www.simplemachines.org/site_images/lang/french.gif) (http://www.simplemachines.org/site_images/lang/portuguese_pt.gif)
  • Compatible With:
SMF 1.1.1 - 1.1.8
SMF 2 Beta 3 & 4 / RC1




(http://www.simplemachines.org/community/Themes/smsite/images/star.gif)(http://www.simplemachines.org/community/Themes/smsite/images/star.gif)(http://www.simplemachines.org/community/Themes/smsite/images/star.gif)(http://www.simplemachines.org/community/Themes/smsite/images/star.gif)(http://www.simplemachines.org/community/Themes/smsite/images/star.gif) (http://www.simplemachines.org/community/index.php?action=post;topic=286299.0)
Comment this Mod (http://www.simplemachines.org/community/index.php?action=post;topic=286299.0)
(http://www.simplemachines.org/site_images/modtitlebar.png)(http://www.simplemachines.org/site_images/modtitlebar.png)(http://www.simplemachines.org/site_images/modtitlebar.png) (http://custom.simplemachines.org/mods/index.php?action=profile;u=148997)
My MODs (http://custom.simplemachines.org/mods/index.php?action=profile;u=148997)
(http://www.simplemachines.org/community/Themes/smsite/images/bbc/img.gif)(http://www.simplemachines.org/community/Themes/smsite/images/bbc/img.gif)(http://www.simplemachines.org/community/Themes/smsite/images/bbc/img.gif) (http://custom.simplemachines.org/mods/index.php?mod=1619)
Images (http://custom.simplemachines.org/mods/index.php?mod=1587)
(https://www.paypal.com/en_GB/i/btn/btn_donate_SM.gif) (https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4587421)Help support my MODs (https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4587421)


Features:






Important: You should do a hard refresh (deleted temporary files or press Ctrl + F5) after installing.

==========================

Languages (normal & utf-8)


$txt['mod_show_member_contributions'] = 'contributions of this person';
$txt['showPosts;contributions'] = 'Show Contributions';
$txt['showContributions'] = 'Contributions';
$txt['my_contributions'] = 'My Contributions';
$txt['latest_contributions'] = 'Latest contributions of:';
$txt['show_member_contributions'] = 'View Member Contributions';
$txt['member_contributionscount'] = 'Contributions';

$txt['mboards_contributionsEnable'] = 'Enable Contributions';
$txt['mboards_contributionsEnable_desc'] = 'The Topics in this Board will be Contributions';

$txt['manageposts_contributions_settings'] = 'Contributions Settings';
$txt['manageposts_contributions_settings_description'] = 'Here you can set all settings involving contributions.';

$txt['contributionsinTopic']= 'Minilist Contributions for Topic Starter';
$txt['contributionsinTopic_sub']= 'Show list in the signature for topic starter';
$txt['contributionsinPost']= 'Minilist Contributions for All Posters';
$txt['contributionsinPost_sub']= 'Show list in the signature for all posters';
$txt['contributionsinBoard']= 'Show Minilist in Contributions Boards';
$txt['contributionsinBoard_sub']= 'Otherwise show minilist in ALL the Boards';
$txt['contributionsinList']= 'Number of Contributions in Minilist';
$txt['contributionsinList_sub']= 'Topics to show on minilist Contributions';
$txt['contributionsinRand']= 'Show Contributions in order random';
$txt['contributionsinRand_sub']= 'Otherwise always show the latest contributions';
$txt['contributionsonCount']= 'Show Count Contributions';
$txt['contributionsonCount_sub']= 'Show count contributions in message display';

I welcome new translations here (http://www.simplemachines.org/community/index.php?action=post;topic=286299.0)

==========================

Características:






Gracias, a ~BeneKiD (http://www.simplemachines.org/community/index.php?action=profile;u=141536) por la idea, ayuda y testear.

Importante: Luego de instalar debes borrar los archivos temporales o hacer un Hard Refresh (Ctrl+F5).

Fin.
Title: Re: Contributions in Boards
Post by: scenerip2k on January 16, 2009, 11:25:13 AM
    Execute Modification     ./Themes/default/Profile.template.php     Test successful
      1.    Add Before    ./Themes/default/Profile.template.php    Test successful
      2.    Add After    ./Themes/default/Profile.template.php    Test successful
      3.    Add After    ./Themes/default/Profile.template.php    Test successful
*    2.    Execute Modification    ./Sources/Profile.php    Test successful
      1.    Add After    ./Sources/Profile.php    Test successful
*    3.    Execute Modification    ./Sources/Profile-View.php    Test successful
      1.    Add Before    ./Sources/Profile-View.php    Test successful
      2.    Replace    ./Sources/Profile-View.php    Test successful
      3.    Add Before    ./Sources/Profile-View.php    Test successful
      4.    Add Before    ./Sources/Profile-View.php    Test successful
      5.    Replace    ./Sources/Profile-View.php    Test successful
*    4.    Execute Modification    ./Themes/default/ManageBoards.template.php    Test successful
      1.    Add After    ./Themes/default/ManageBoards.template.php    Test successful
*    5.    Execute Modification    ./Sources/ManageBoards.php    Test successful
      1.    Add After    ./Sources/ManageBoards.php    Test successful
      2.    Add After    ./Sources/ManageBoards.php    Test successful
*    6.    Execute Modification    ./Sources/ManagePosts.php    Test successful
      1.    Add After    ./Sources/ManagePosts.php    Test successful
*    7.    Execute Modification    ./Sources/Subs-Boards.php    Test failed
      1.    Add After    ./Sources/Subs-Boards.php    Test successful
      2.    Replace    ./Sources/Subs-Boards.php    Test failed
Title: Re: Contributions in Boards
Post by: scenerip2k on January 16, 2009, 03:17:19 PM
would be nice if it showed random contributions on refresh
Title: Re: Contributions in Boards
Post by: M-DVD on January 17, 2009, 03:22:17 PM
Quote from: scenerip2k on January 16, 2009, 03:17:19 PM
would be nice if it showed random contributions on refresh

The setting Show Contributions in order random?  :-\

If I have understood correctly, this function does what you want.

Thanks for use this mod.  :)
Title: Re: Contributions in Boards
Post by: Ryan on January 18, 2009, 05:07:05 PM
This mod has some kinda bug, it isnt showing latest posts...

Its showing posts from 2007 and we are in 2009.

Random is not ticked.
Title: Re: Contributions in Boards
Post by: Ryan on January 18, 2009, 05:09:51 PM
I think the probblem maybe that i have selected about 90 boards for contribution boards.. Only showiing 5 in the list..

So maybe its not isting the last 5 contributions to date..

It might be listing last contribution in the alphabettical order of boards chosen..

So maybe thats why its not showing the last ones done overall.

And probably why you havent noticed this.

Could you look into this..
Thanks
Title: Re: Contributions in Boards
Post by: scenerip2k on January 18, 2009, 11:17:50 PM
Quote from: M-DVD on January 17, 2009, 03:22:17 PM
Quote from: scenerip2k on January 16, 2009, 03:17:19 PM
would be nice if it showed random contributions on refresh

The setting Show Contributions in order random?  :-\

If I have understood correctly, this function does what you want.

Thanks for use this mod.  :)

actually i did checked that box and it still shows the 1st posts, so i think there is a bug in this mod that needs to be fixed.
Title: Re: Contributions in Boards
Post by: M-DVD on January 19, 2009, 05:29:03 PM
Quote from: M3THOD on January 18, 2009, 05:09:51 PM
I think the probblem maybe that i have selected about 90 boards for contribution boards.. Only showiing 5 in the list..

So maybe its not isting the last 5 contributions to date..

It might be listing last contribution in the alphabettical order of boards chosen..

So maybe thats why its not showing the last ones done overall.

And probably why you havent noticed this.

Could you look into this..
Thanks

I checked the query and looks good.

Could you give me a link where you can see what they say?

Legend: (if the random order is off)

The query, takes the most recents topics (in order of ID) of all boards marked.

--

Quote from: scenerip2k on January 16, 2009, 03:17:19 PM
would be nice if it showed random contributions on refresh

Quote from: scenerip2k on January 18, 2009, 11:17:50 PM
actually i did checked that box and it still shows the 1st posts, so i think there is a bug in this mod that needs to be fixed.

   
I will check, but I think it is good. Could you give me a link where you can see what they say?
Title: Re: Contributions in Boards
Post by: Ryan on January 19, 2009, 07:22:27 PM
My contribution box under a topic shows 2007 topics..

My contribution page in profile lists most upt to date ones...

Compare them and you will see there not same.

A topic i made: http://www.h2kclan.com/forum/index.php?topic=113858.msg486976#msg486976 (http://www.h2kclan.com/forum/index.php?topic=113858.msg486976#msg486976)

My contribution page: http://www.h2kclan.com/forum/index.php?action=profile;u=1;sa=showPosts;contributions (http://www.h2kclan.com/forum/index.php?action=profile;u=1;sa=showPosts;contributions)
Forum login
User: test
pass: test
Title: Re: Contributions in Boards
Post by: scenerip2k on January 20, 2009, 12:57:11 AM
http://scene-network.net/forum when even someone posts its still showing their 1st post no matter what, even if the check box is checked for random posts.
Title: Re: Contributions in Boards
Post by: minos on January 20, 2009, 01:44:17 AM
excelente mod ...

solo una pregunta que mas bien es sugerencia ...

¿no podrias poner el conteo de  contribuciones debajo del numero de de post?

es decir que muestre cuantos topics ha creado en tales subforos

no se si me de a entender
Title: Re: Contributions in Boards
Post by: evil-angelist on January 20, 2009, 05:48:20 AM
So is it considered safe to use this mod or not ???
Title: Re: Contributions in Boards
Post by: scenerip2k on January 20, 2009, 06:11:22 AM
as of right now its still BETA so no its not safe to use it, it has bugs lets hope the author will fix them.
Title: Re: Contributions in Boards
Post by: Ryan on January 20, 2009, 12:05:49 PM
Its safe to use and still a very good mod, just 1 bug, but this is a new mod and it takes testing to fix lil problems, so far the problems in this mod is only ordering on contributions under topic post. Nothin to worry about and M-DVD is working on it
Title: Re: Contributions in Boards
Post by: M-DVD on January 20, 2009, 09:49:50 PM
Quote from: M3THOD on January 19, 2009, 07:22:27 PM
My contribution box under a topic shows 2007 topics..

My contribution page in profile lists most upt to date ones...

Compare them and you will see there not same.

A topic i made: http://www.h2kclan.com/forum/index.php?topic=113858.msg486976#msg486976 (http://www.h2kclan.com/forum/index.php?topic=113858.msg486976#msg486976)

My contribution page: http://www.h2kclan.com/forum/index.php?action=profile;u=1;sa=showPosts;contributions (http://www.h2kclan.com/forum/index.php?action=profile;u=1;sa=showPosts;contributions)
Forum login
User: test
pass: test

Ok, now I understand the error. And I tell you the truth ... is rare. The code is fine, but work wrong for you; and so far I have not been able to reproduce the error. I will need time to discover the cause.

Have you installed manually?

Thanks for report.

Quote from: scenerip2k on January 20, 2009, 12:57:11 AM
http://scene-network.net/forum when even someone posts its still showing their 1st post no matter what, even if the check box is checked for random posts.

I went to your forum, and the door was closed. XD

Must be registered to view the topics.

Quote from: minos on January 20, 2009, 01:44:17 AM
excelente mod ...

solo una pregunta que mas bien es sugerencia ...

¿no podrias poner el conteo de  contribuciones debajo del numero de de post?

es decir que muestre cuantos topics ha creado en tales subforos

no se si me de a entender

Es posible y gracias por la idea, es buena, pero es más trabajoso de lo que parece, entonces me parece bien dejarlo para una muy futura versión. Pero creo que seguro estará en ese futuro.

--

In Display?

Yes, it is possible, and good idea, but requires more work than it seems; so I decided to leave it for a far future version too. But sure it will at some future.

Quote from: evil-angelist on January 20, 2009, 05:48:20 AM
So is it considered safe to use this mod or not ???

Quote from: M3THOD on January 20, 2009, 12:05:49 PM
Its safe to use and still a very good mod, just 1 bug, but this is a new mod and it takes testing to fix lil problems, so far the problems in this mod is only ordering on contributions under topic post. Nothin to worry about and M-DVD is working on it

Thanks.  :)
Title: Re: Contributions in Boards
Post by: scenerip2k on January 20, 2009, 10:48:29 PM
so when is the update comming out? this mod is great only if it actually worked.
Title: Re: Contributions in Boards
Post by: ɔɔɔɔɔɔuɥoɾ on January 21, 2009, 01:36:19 PM
I also have the problem of the "My Contributions" before Signature not updating as new threads are created, also, when using random settings, it also does not change, i would think using random setting would make it different almost everytime

anyway, any ideas whats wrong?
Thanks
JohnCcCcCc
Title: Re: Contributions in Boards
Post by: scenerip2k on January 21, 2009, 02:03:45 PM
good thing im not the only one with that problem! i thought i was going crazy! lol
Title: Re: Contributions in Boards
Post by: Ryan on January 21, 2009, 04:08:38 PM
M-DVD i dont have to look at your code to tell your whats wrong, i think it pretty obvious if you take a look at how they are being orderd, mine seem to be orderd by boards..

For example i have selected 20+ contribution boards, but your contribution mod only shows 5 under topic...

News board shows 2 contributions
chat board shows 2 contributions
admin board shows 2 contributions
games board shows 2 contributions
tv board shows 2 contributions

Your mod instead of showing all contributions of all time..

Is showing the latest contributions from first 2 boards, and not looking to see if there any newer dated posts elsewhere in the other boards.. its like it isnt orderd by latest contribtions *.* all boards..

its listing Latest contributions per board selected..

SO it shows latest of news board..
latest of chat board.
Then thats top 5 full so no more get seen.
Title: Re: Contributions in Boards
Post by: scenerip2k on January 21, 2009, 04:34:53 PM
M-DVD
pleaseeeeeeeeee release a fix for it this mod is cool only if it worked properly
Title: Re: Contributions in Boards
Post by: ɔɔɔɔɔɔuɥoɾ on January 21, 2009, 05:27:12 PM
ok thats all well said, but even when making new threads within the 1st contributed board, its still not updated, and even with random setting, it always stays the same

what can be done to make it work?
Title: Re: Contributions in Boards
Post by: scenerip2k on January 21, 2009, 06:30:28 PM
you will have to wait till he releases update for this mod to fix all the errors
Title: Re: Contributions in Boards
Post by: ɔɔɔɔɔɔuɥoɾ on January 21, 2009, 06:36:10 PM
yea, i guess so, but it was way off though, it looks great, but dont work lol...
Title: Re: Contributions in Boards
Post by: Ryan on January 21, 2009, 07:16:00 PM
This makes the last contributions you added show up in the list.

In display.php find
Find:
AND b.contributionsEnable
   ORDER BY {string:order}


Replace:

  AND b.contributionsEnable
   ORDER BY t.id_first_msg DESC


Its a small change so go ahead and try it for yourself..
If your unsure wait for M-DVD aproval its hes mod.

Hope it helped out, it works for me :)
Title: Re: Contributions in Boards
Post by: ɔɔɔɔɔɔuɥoɾ on January 21, 2009, 08:03:44 PM
ok thanks for been helpfup :)

is there any small edit for the random one to work  :-\
Title: Re: Contributions in Boards
Post by: scenerip2k on January 22, 2009, 03:29:20 AM
thanks a lot M3THOD workes fine now! now we have to figure out how to make it display random posts.
Title: Re: Contributions in Boards
Post by: M-DVD on January 22, 2009, 12:43:17 PM
Quote from: scenerip2k on January 21, 2009, 02:03:45 PM
good thing im not the only one with that problem! i thought i was going crazy! lol

LOL, now i thought i was going crazy.

Only works well for me?  :P

Quote from: M3THOD on January 21, 2009, 07:16:00 PM
This makes the last contributions you added show up in the list.

In display.php find
Find:
AND b.contributionsEnable
   ORDER BY {string:order}


Replace:

  AND b.contributionsEnable
   ORDER BY t.id_first_msg DESC


Its a small change so go ahead and try it for yourself..
If your unsure wait for M-DVD aproval its hes mod.

Hope it helped out, it works for me :)

Great, thanks.  :D

This case is crazy, is not it.  :P

Use t.id_topic or t.id_first_msg, is exactly the same. The topics most recent, have t.id_topic greater, and t.id_first_msg too. The topics most old, have smaller.

I have a couple of questions:

does this he has worked at all? If so, I make the correction.

Are all using SMF 2.0?

--

Randon issue and Order issue.

The problem don't seems to be the Query, but the new function db_query doesn't make something that I thought yes.

you can try

Search:

ORDER BY {string:order}

And replace:

ORDER BY ' . ($modSettings['contributionsinRand'] ? 'RAND()' : 't.id_topic DESC') . '

work it?  :-\


They tell me if this worked, to make the update. And thank you very much everybody for reporting this error, I never would have noticed; and to help testing.
Title: Re: Contributions in Boards
Post by: ɔɔɔɔɔɔuɥoɾ on January 22, 2009, 02:13:00 PM
Thanks the 1st fix for latest contributions worked

maybe the radom one would too but i cant find this text:

                                                 ORDER BY {string:order}

i found many ORDER BY though, if you could guide me which line it is supposed to be near that would be great :)

or do i replace {string:order} with something else ???

Title: Re: Contributions in Boards
Post by: Ryan on January 22, 2009, 03:36:26 PM
No this fix will not work for the random one..

The code i posted basicly simple mysql  order by topic desc to show last topics eg latest ones..

The reason the code you coded wasnt working is becuase you wasnt being specific enough, it needed topic to be defined then orderd to show latest.

Your code pretty much works ok unless you specify 20 + boards.

Your not testing your mod heaverly enough to see this issue occur..
Title: Re: Contributions in Boards
Post by: ɔɔɔɔɔɔuɥoɾ on January 22, 2009, 04:05:42 PM
well i have more than 20+ contributed

i like the latest contributions as its working, i can wait for a complete fix,

Thanks, Working great!
Title: Re: Contributions in Boards
Post by: M-DVD on January 23, 2009, 11:03:43 AM
Quote from: M3THOD on January 22, 2009, 03:36:26 PM
The code i posted basicly simple mysql  order by topic desc to show last topics eg latest ones..

The reason the code you coded wasnt working is becuase you wasnt being specific enough, it needed topic to be defined then orderd to show latest.

No, this is not the mistake.

In this post (http://www.simplemachines.org/community/index.php?topic=286299.msg1890773#msg1890773) I show because it is identical to use one or the other. Also I say what the problem is in that reply.


Quote from: M3THOD on January 22, 2009, 03:36:26 PM
Your code pretty much works ok unless you specify 20 + boards.

Your not testing your mod heaverly enough to see this issue occur..

It means that if the error appears just over 20 boards ¿I not checked enough?

Then, if I had reviewed with 20 boards, but the error had occurred 40+ boards ¿then it means that, I not checked enough?

And you can put the numbers you want, to infinity. And never I have checked enough.

You know why in this cases there is a development team, and a team of testing, and phases alpha and phases beta, etc? Of course, under my circumstances, all these tasks must make one person.

PD: I am grateful for the help, but I want clarify this misconception

--

Already the error is identified, but also I will make a small addition, so I will soon update.
Title: Re: Contributions in Boards
Post by: scenerip2k on January 23, 2009, 11:21:07 AM
M3THOD,

You a coder? I see that you know your sh*t bro
Title: Re: Contributions in Boards
Post by: M-DVD on January 23, 2009, 06:45:06 PM
MOD Contributions in Boards v1.1
=======================


New features:

How do I upgrade?

=======================================

Características Nuevas:

¿Como actualizar?
Title: Re: Contributions in Boards
Post by: Özgür on January 23, 2009, 08:40:14 PM
Turkish Translation


$txt['mod_show_member_contributions'] = 'Üyenin paylaşımlarını göster';
$txt['showPosts;contributions'] = 'Paylaşımlar';
$txt['my_contributions'] = 'Paylaşılarım';
$txt['latest_contributions'] = 'Son paylaştıkları:';
$txt['show_member_contributions'] = 'Üyenin paylaşımları';

$txt['mboards_contributionsEnable'] = 'Paylaşım bölümü yap';
$txt['mboards_contributionsEnable_desc'] = 'Burada açılan başlıklar aynı zamanda üyelerin paylaşımlarında listelenecek.';

$txt['contributionsinTopic']= 'Konuyu başlatanın son paylaşımlarını minilist şeklinde göster';
$txt['contributionsinTopic_sub']= 'Konuyu başlatan kişinin imzasında son paylaşımlarını gösterir';
$txt['contributionsinPost']= 'Herkesin son paylaşımlarını minilist şeklinde göster';
$txt['contributionsinPost_sub']= 'Tüm üyelerin imzalarında son paylaşımlarını gösterir';
$txt['contributionsinList']= 'Minilistde kaç konu gösterilsin?';
$txt['contributionsinList_sub']= 'MiniListde kaç adet konu gösterileceğini belirler';
$txt['contributionsinRand']= 'Paylaşımları rastgele göster';
$txt['contributionsinRand_sub']= 'Seçilmezse en son paylaşımları sırayla gösterir';
Title: Re: Contributions in Boards
Post by: minos on January 23, 2009, 08:56:45 PM
que bueno que consideres esa opción  es muy útil

actualizando a la nueva versión
Title: Re: Contributions in Boards
Post by: scenerip2k on January 24, 2009, 02:15:21 AM
M-DVD,

Great job on releasing the final version bro! works great!!!
Title: Re: Contributions in Boards
Post by: M-DVD on January 27, 2009, 09:31:54 PM
Quote from: minos on January 23, 2009, 08:56:45 PM
que bueno que consideres esa opción  es muy útil

actualizando a la nueva versión

Quote from: scenerip2k on January 24, 2009, 02:15:21 AM
M-DVD,

Great job on releasing the final version bro! works great!!!

Thanks for yours comments.  :D

Quote from: Özgür´ on January 23, 2009, 08:40:14 PM
Turkish Translation




Thanks for translate, updated  :D
Title: Mega problems with RC1
Post by: PerryM on February 08, 2009, 04:50:44 PM
Upgraded to smf 2.0 RC1 and when I try to [Apply Mod] I get the following errors:

  Type Action Description
1. Execute Modification ./Themes/default/Profile.template.php Test failed
  1. Add Before ./Themes/default/Profile.template.php Test failed
  2. Add After ./Themes/default/Profile.template.php Test failed
  3. Add After ./Themes/default/Profile.template.php Test successful
  4. Replace ./Themes/default/Profile.template.php Test failed

2. Execute Modification ./Sources/Profile.php Test failed
  1. Add After ./Sources/Profile.php Test failed

3. Execute Modification ./Sources/Profile-View.php Test failed
  1. Add Before ./Sources/Profile-View.php Test successful
  2. Replace ./Sources/Profile-View.php Test failed



I like you modules and hope you can get this one on RC1.

Thanks
Title: Re: Contributions in Boards
Post by: M-DVD on February 08, 2009, 08:05:46 PM
Thanks, i will check this.  :)
Title: Re: Contributions in Boards
Post by: adp on February 13, 2009, 05:36:21 AM
QuoteI like you modules and hope you can get this one on RC1.

Thanks


Yap, me too  O:)
Title: Re: Mega problems with RC1
Post by: M-DVD on February 13, 2009, 12:52:20 PM
Quote from: PerryM on February 08, 2009, 04:50:44 PM
I like you modules and hope you can get this one on RC1.

Thanks

Quote from: adp on February 13, 2009, 05:36:21 AM
Yap, me too  O:)

Hi.

Yes, this MOD is no longer compatible for RC1.

There are two options:
Make it compatible for RC1, this would be within this week.
Make it compatible and add a new function (*). That would widen the things, one or two weeks.

What you prefer?

(*) Note: What new feature? add a counter contributions by member, similar to the counter post.
Title: Re: Mega problems with RC1
Post by: PerryM on February 13, 2009, 12:57:12 PM
Quote from: M-DVD on February 13, 2009, 12:52:20 PM
Quote from: PerryM on February 08, 2009, 04:50:44 PM
I like you modules and hope you can get this one on RC1.

Thanks

Quote from: adp on February 13, 2009, 05:36:21 AM
Yap, me too  O:)

Hi.

Yes, this MOD is no longer compatible for RC1.

There are two options:
Make it compatible for RC1, this would be within this week.
Make it compatible and add a new function. That would widen the things, one or two weeks.

What you prefer?

Note: Waht new feature? add a counter contributions by member, similar to the counter post.

In 25 years of working with computer systems and software you must be on that leading edge or fall behind.  That goes for users and developers.  I'm using RC1 in live chat rooms now with no problems and I can't ever go backwards.

Put me down for RC1.
Title: Re: Contributions in Boards
Post by: M-DVD on February 13, 2009, 10:17:09 PM
MOD Contributions in Boards v1.2
=======================


New features:

How do I upgrade?

=======================================

Características Nuevas:

¿Como actualizar?
Title: Re: Contributions in Boards
Post by: cattss on February 14, 2009, 06:18:29 AM
French Translation
Without special coding for french
[php]$txt['mod_show_member_contributions'] = 'contributions de cette personne';
$txt['showPosts;contributions'] = 'Montrer les Contributions';
$txt['showContributions'] = 'Contributions';
$txt['my_contributions'] = 'Mes Contributions';
$txt['latest_contributions'] = 'Dernières contributions de:';
$txt['show_member_contributions'] = 'Voir les Contributions du Membre';

$txt['mboards_contributionsEnable'] = 'Activer les Contributions';
$txt['mboards_contributionsEnable_desc'] = 'Les fils de ce Forum seront des Contributions';

$txt['contributionsinTopic']= 'Miniliste de Contributions pour démarreur de sujet';
$txt['contributionsinTopic_sub']= 'Montrer la liste dans la signature pour démarreur de sujet';
$txt['contributionsinPost']= 'Miniliste de Contributions pour tous les posteurs';
$txt['contributionsinPost_sub']= 'Montrer la liste dans la signature pour tous les posteurs';
$txt['contributionsinList']= 'Fils à montrer sur la Miniliste de Contributions';
$txt['contributionsinList_sub']= 'Nombre de contributions dans la miniliste';
$txt['contributionsinRand']= 'Montrer les Contributions en ordre aléatoire';
$txt['contributionsinRand_sub']= 'Si non, toujours montrer les dernières contributions';[/php]


With special coding for french
[php]$txt['mod_show_member_contributions'] = 'contributions de cette personne';
$txt['showPosts;contributions'] = 'Montrer les Contributions';
$txt['showContributions'] = 'Contributions';
$txt['my_contributions'] = 'Mes Contributions';
$txt['latest_contributions'] = 'Dernières contributions de:';
$txt['show_member_contributions'] = 'Voir les Contributions du Membre';

$txt['mboards_contributionsEnable'] = 'Activer les Contributions';
$txt['mboards_contributionsEnable_desc'] = 'Les fils de ce Forum seront des Contributions';

$txt['contributionsinTopic']= 'Miniliste de Contributions pour démarreur de sujet';
$txt['contributionsinTopic_sub']= 'Montrer la liste dans la signature pour démarreur de sujet';
$txt['contributionsinPost']= 'Miniliste de Contributions pour tous les posteurs';
$txt['contributionsinPost_sub']= 'Montrer la liste dans la signature pour tous les posteurs';
$txt['contributionsinList']= 'Fils à montrer sur la Miniliste de Contributions';
$txt['contributionsinList_sub']= 'Nombre de contributions dans la miniliste';
$txt['contributionsinRand']= 'Montrer les Contributions en ordre aléatoire';
$txt['contributionsinRand_sub']= 'Si non, toujours montrer les dernières contributions';[/php]
Title: Re: Contributions in Boards
Post by: adp on February 14, 2009, 06:41:18 PM
M-DVD nice job :)
Title: Re: Contributions in Boards
Post by: M-DVD on February 18, 2009, 09:26:16 PM
Quote from: cattss on February 14, 2009, 06:18:29 AM
French Translation
Without special coding for french

With special coding for french


Thanks, your translation have been uploaded.  :D

Quote from: adp on February 14, 2009, 06:41:18 PM
M-DVD nice job :)

Thanks for your comments :D
Title: Re: Contributions in Boards
Post by: PerryM on February 19, 2009, 01:53:34 PM
Tried to install the new version for RC1 and get the following errors:

   
[/t] 7. Execute Modification ./Sources/Subs-Boards.php Test failed
[/t][/t]
(http://4m4information.com/smf/Themes/default/images/admin/package_ops.gif) (http://4m4information.com/smf/index.php?action=admin;area=packages;sa=showoperations;operation_key=24;package=ContributionsinBoards_v1_2.zip;filename=install_2.xml)[/t] 1. Add After ./Sources/Subs-Boards.php Test failed
Title: Re: Contributions in Boards
Post by: M-DVD on February 20, 2009, 07:58:28 PM
Quote from: PerryM on February 19, 2009, 01:53:34 PM
Tried to install the new version for RC1 and get the following errors:

   
[/t] 7. Execute Modification ./Sources/Subs-Boards.php Test failed
[/t][/t]
(http://4m4information.com/smf/Themes/default/images/admin/package_ops.gif) (http://4m4information.com/smf/index.php?action=admin;area=packages;sa=showoperations;operation_key=24;package=ContributionsinBoards_v1_2.zip;filename=install_2.xml)[/t] 1. Add After ./Sources/Subs-Boards.php Test failed

The MOD installs without problems into a forum RC1 "new/clean".

You should do the manual installation (normal installation + modify this file manually).
Title: Re: Contributions in Boards
Post by: PerryM on February 20, 2009, 08:51:19 PM
Quote from: M-DVD on February 20, 2009, 07:58:28 PM
Quote from: PerryM on February 19, 2009, 01:53:34 PM
Tried to install the new version for RC1 and get the following errors:

   
[/t] 7. Execute Modification ./Sources/Subs-Boards.php Test failed
[/t][/t]
(http://4m4information.com/smf/Themes/default/images/admin/package_ops.gif) (http://4m4information.com/smf/index.php?action=admin;area=packages;sa=showoperations;operation_key=24;package=ContributionsinBoards_v1_2.zip;filename=install_2.xml)[/t] 1. Add After ./Sources/Subs-Boards.php Test failed

The MOD installs without problems into a forum RC1 "new/clean".

You should do the manual installation (normal installation + modify this file manually).

I'll try on a new RC1 install but I've seen this type of message with other mods - there is an "art" to installing mods - they have to be in a certain order and sometimes it is impossible since I might need another mod more than this one.

I really don't understand why this happens but I have 67+ mods installed and like I said its an art unfortunately.
Title: Re: Contributions in Boards
Post by: Jessikard on February 25, 2009, 03:53:05 AM
 :( i wanna parse it before installing to my smf 1.1.8 with TP 098 but it´s not possible

i don't want to get errors - how can i parse it to see what changes will be to the files

edit: especially the changes in subs-boards.php because the test failed

2nd edit: solved by parser of the german support  O:) and it works now
Title: Re: Contributions in Boards
Post by: Jessikard on February 25, 2009, 06:31:05 AM
another question

is it possible to show the box only in selected boards ?
maybe in that boards, they were chosen to show  ::)
Title: Re: Contributions in Boards
Post by: M-DVD on February 28, 2009, 12:27:46 AM
Quote from: PerryM on February 20, 2009, 08:51:19 PM
I'll try on a new RC1 install but I've seen this type of message with other mods - there is an "art" to installing mods - they have to be in a certain order and sometimes it is impossible since I might need another mod more than this one.

I really don't understand why this happens but I have 67+ mods installed and like I said its an art unfortunately.


This is because some other MOD has changed something in the Subs-Boards.php

If you like, you can attach this file.

Quote from: Jessikard on February 25, 2009, 03:53:05 AM
:( i wanna parse it before installing to my smf 1.1.8 with TP 098 but it´s not possible

i don't want to get errors - how can i parse it to see what changes will be to the files

edit: especially the changes in subs-boards.php because the test failed

2nd edit: solved by parser of the german support  O:) and it works now

Good :P (thanks german support)

Sorry for delay.  O:)

Quote from: Jessikard on February 25, 2009, 06:31:05 AM
another question

is it possible to show the box only in selected boards ?
maybe in that boards, they were chosen to show  ::)

Ok, i will think about this and notice soon :)
Title: Re: Contributions in Boards
Post by: Jessikard on March 06, 2009, 07:52:06 PM
sorry for asking again

Zitat von: Jessikard am Februar 25, 2009, 12:31:05
Quote
    another question

    is it possible to show the box only in selected boards ?
    maybe in that boards, they were chosen to show  ::)


QuoteOk, i will think about this and notice soon :)

but i love this mod and wanna use it in our community
the only reason again this mod for us is, that the box will be shown in all boards

we have 2 different areas - one talking and one trade area and we only need this mod in the trade area

so i sit and wait
Title: Re: Contributions in Boards
Post by: minos on March 08, 2009, 03:12:36 AM
hola ..perdon por molestar , pero si haz pensado eso que te dije de poner la cantidad de contribuciones debajo del contador de post?

saludos
Title: Re: Contributions in Boards
Post by: DeviDarkL on March 11, 2009, 05:26:56 PM
Portuguese_PT translations ;)

WITHOUT SPECIAL CODING
<file name="$languagedir/Modifications.portuguese_pt.php">
<operation>
<search position="end" />
<add><![CDATA[
// MOD Contributions in Boards
$txt['mod_show_member_contributions'] = 'contribuições deste membro';
$txt['showPosts;contributions'] = 'Mostrar Contribuições';
$txt['showContributions'] = 'Contribuições';
$txt['my_contributions'] = 'Algumas das minhas Contribuições';
$txt['latest_contributions'] = 'Últimas Contribuições de:';
$txt['show_member_contributions'] = 'Ver Contribuições deste membro';

$txt['mboards_contributionsEnable'] = 'Activar Contribuições';
$txt['mboards_contributionsEnable_desc'] = 'Os tópicos deste quadro serão Contribuições';

$txt['contributionsinTopic']= 'Contribuições, em ponto pequeno, para o Iniciante do Tópico';
$txt['contributionsinTopic_sub']= 'Mostrar a lista na assinatura para o Iniciante do Tópico';
$txt['contributionsinPost']= 'Contribuições, em ponto pequeno, para todos os Utilizadores';
$txt['contributionsinPost_sub']= 'Mostrar a lista na assinatura para todos os Utilizadores';
$txt['contributionsinList']= 'Tópicos a mostrar nas Contribuições, em ponto pequeno';
$txt['contributionsinList_sub']= 'Número de Contribuições, em ponto pequeno, a mostrar';
$txt['contributionsinRand']= 'Mostrar as Contribuições de maneira aleatória';
$txt['contributionsinRand_sub']= 'Ou então mostrar sempre as Últimas Contribuições';]]></add>
</operation>
</file>



WITH SPECIAL CODING
<file name="$languagedir/Modifications.portuguese_pt-utf8.php">
<operation>
<search position="end" />
<add><![CDATA[
// MOD Contributions in Boards
$txt['mod_show_member_contributions'] = 'contribuições deste membro';
$txt['showPosts;contributions'] = 'Mostrar Contribuições';
$txt['showContributions'] = 'Contribuições';
$txt['my_contributions'] = 'Algumas das minhas Contribuições';
$txt['latest_contributions'] = 'Últimas Contribuições de:';
$txt['show_member_contributions'] = 'Ver Contribuições deste membro';

$txt['mboards_contributionsEnable'] = 'Activar Contribuições';
$txt['mboards_contributionsEnable_desc'] = 'Os tópicos deste quadro serão Contribuições';

$txt['contributionsinTopic']= 'Contribuições, em ponto pequeno, para o Iniciante do Tópico';
$txt['contributionsinTopic_sub']= 'Mostrar a lista na assinatura para o Iniciante do Tópico';
$txt['contributionsinPost']= 'Contribuições, em ponto pequeno, para todos os Utilizadores';
$txt['contributionsinPost_sub']= 'Mostrar a lista na assinatura para todos os Utilizadores';
$txt['contributionsinList']= 'Tópicos a mostrar nas Contribuições, em ponto pequeno';
$txt['contributionsinList_sub']= 'Número de Contribuições, em ponto pequeno, a mostrar';
$txt['contributionsinRand']= 'Mostrar as Contribuições de maneira aleatória';
$txt['contributionsinRand_sub']= 'Ou então mostrar sempre as últimas Contribuições';]]></add>
</operation>
</file>

Title: Re: Contributions in Boards
Post by: DeviDarkL on March 11, 2009, 06:36:26 PM
M-DVD, I have a question:

Is it possible only to show the contributions (in the sig) in some boards?

In Display.template.php I tried this:
// Show Minilist of Contributions
if (isset($context['contributions'][$message['member']['id']]) && $row['id_board'] == 5)
{
echo '<br />
<div class="contributions">
<div style="padding: 4px" class="titlebg2"><b>', $txt['my_contributions'], '</b></div>';
foreach ($context['contributions'][$message['member']['id']] as $contri)
echo '
<p>', $contri['board'], ' &gt; ', $contri['topic'], '</p>';
echo '
</div>';
}


But it didn't work :( Can you help me?
Title: Re: Contributions in Boards
Post by: M-DVD on March 12, 2009, 05:36:57 PM
Quote from: Jessikard on March 06, 2009, 07:52:06 PM
sorry for asking again

Zitat von: Jessikard am Februar 25, 2009, 12:31:05
Quote
    another question

    is it possible to show the box only in selected boards ?
    maybe in that boards, they were chosen to show  ::)


QuoteOk, i will think about this and notice soon :)

but i love this mod and wanna use it in our community
the only reason again this mod for us is, that the box will be shown in all boards

we have 2 different areas - one talking and one trade area and we only need this mod in the trade area

so i sit and wait

Quote from: minos on March 08, 2009, 03:12:36 AM
hola ..perdon por molestar , pero si haz pensado eso que te dije de poner la cantidad de contribuciones debajo del contador de post?

saludos

Sorry for delay. I have over a week sick, now I have backlog. In a couple of weeks i will be free to do it. :)

No hay problema, trataré de hacer esto en la actualización que viene.

Quote from: DeviDarkL on March 11, 2009, 05:26:56 PM
Portuguese_PT translations ;)

Thanks for translate :D

Quote from: DeviDarkL on March 11, 2009, 06:36:26 PM
M-DVD, I have a question:

Is it possible only to show the contributions (in the sig) in some boards?

...

But it didn't work :( Can you help me?

Yes, you can try to use $context['current_board'] instead of $row['id_board'].


Title: Re: Contributions in Boards
Post by: DeviDarkL on March 12, 2009, 10:18:13 PM
Hi again M-DVD.

Your solution worked :) but when i tried to do that in multiple boards... well...didn't work again :P

I tried this:
// Show Minilist of Contributions
      if (isset($context['contributions'][$message['member']['id']]) && $context['current_board'] == 5 && $context['current_board'] == 7 && $context['current_board'] == 8)
      {
         echo '<br />
                  <div class="contributions">
                  <div style="padding: 4px" class="titlebg2"><b>', $txt['my_contributions'], '</b></div>';
         foreach ($context['contributions'][$message['member']['id']] as $contri)
            echo '
                     <p>', $contri['board'], ' &gt; ', $contri['topic'], '</p>';
         echo '
                  </div>';
      }


If its only one $context['current_board'] works fine but If it's more than one, it doesn't :'(

Can you help me? :D
Title: Re: Contributions in Boards
Post by: M-DVD on March 13, 2009, 09:00:47 PM
ok  :)

search: $context['current_board'] == X

replace: in_array($context['current_board'], array(X, Y, Z))

ie

// Show Minilist of Contributions
      if (isset($context['contributions'][$message['member']['id']]) && in_array($context['current_board'], array(5, 7, 8)))
Title: Re: Contributions in Boards
Post by: robinrobin on March 13, 2009, 11:26:27 PM
I don't get the "Show Contributions" link in the side-block of profiles. Installation was fine though.

2.0 RC1
MOD 1.2
Title: Re: Contributions in Boards
Post by: DeviDarkL on March 14, 2009, 09:15:21 AM
It worked :D

Great Mod & Thanks a lot M-DVD  ;D
Title: Re: Contributions in Boards
Post by: Jessikard on March 14, 2009, 03:15:25 PM
if you choose the parent board for x,y,z should it be valid to the child boards or do you have to insert all board by number ?

Quote from: M-DVD on March 13, 2009, 09:00:47 PM
ok  :)

search: $context['current_board'] == X

replace: in_array($context['current_board'], array(X, Y, Z))

ie

// Show Minilist of Contributions
      if (isset($context['contributions'][$message['member']['id']]) && in_array($context['current_board'], array(5, 7, 8)))

Title: Re: Contributions in Boards
Post by: DeviDarkL on March 14, 2009, 10:45:19 PM
I haven't tried that yet but I don't think It's valid since child boards have their own ID's like:

Board (id 1)
------Child Board (id 2)

So, I suppose, you have to insert all boards by number.

Title: Re: Contributions in Boards
Post by: M-DVD on March 23, 2009, 11:53:52 AM
Quote from: DeviDarkL on March 11, 2009, 05:26:56 PM
Portuguese_PT translations ;)

WITHOUT SPECIAL CODING


WITH SPECIAL CODING

Your translations have been uploaded :D
Title: Re: Contributions in Boards
Post by: perro88 on March 28, 2009, 04:40:01 PM
Regards nice mod.
why the posts/replies in a contribution board are shown in the profile?
It should be only topics or then have a option to show both or only one like in the minilist
Title: Re: Contributions in Boards
Post by: M-DVD on March 28, 2009, 10:08:46 PM
Quote from: perro88 on March 28, 2009, 04:40:01 PM
Regards nice mod.
why the posts/replies in a contribution board are shown in the profile?
It should be only topics or then have a option to show both or only one like in the minilist

Thanks :)

What version MOD's are you using? A link to see the problem?
Title: Re: Contributions in Boards
Post by: perro88 on March 29, 2009, 08:44:55 AM
Quote from: M-DVD on March 28, 2009, 10:08:46 PM
Quote from: perro88 on March 28, 2009, 04:40:01 PM
Regards nice mod.
why the posts/replies in a contribution board are shown in the profile?
It should be only topics or then have a option to show both or only one like in the minilist

Thanks :)

What version MOD's are you using? A link to see the problem?

well it's the latest version of the mod in a smf 1.1.8.
What I mean is that the post or replies in a topic that belongs to a contribution board appears at the profile option to see the member's contribution.
For example, there's a tutorial board and the admin activate the contribution option in this board. Then a user make a topic with a tutorial in that board. That topic will count to the contributions of this user not only in the minilist but also in the profile as it normally should, but then, if some other guy post a reply to the tutorial(for example a simple "thanks") that post will show up at the profile contributions list and odviously it shouldn't. This only happens in the profile "show contributions" option, in the minilist everything it's fine ;)
Title: Re: Contributions in Boards
Post by: M-DVD on March 29, 2009, 04:42:30 PM
Sorry, I cannot reproduce this error.

Have you installed manually? ::)
Title: Re: Contributions in Boards
Post by: perro88 on March 29, 2009, 09:55:30 PM
oops sorry seems I made a mistake xD. sorry mate the mod is working fine I tested it in a new forum. A bit strange though that is giving that error in my other forum, well I'll give a look at the code when I get some spare time. thanks anyway and sorry for the mistake :P

Edit: Working now... a little conflict with the show topics in profile mod :P. the code that should go to the showPosts function went to the showTopics function that was before the other one and had a similar comment line   >:(   Thanks again for the mod, very useful
Title: Re: Contributions in Boards
Post by: M-DVD on April 03, 2009, 11:47:36 PM
Ok Perfect :D
Title: Re: Contributions in Boards
Post by: M-DVD on April 08, 2009, 03:57:34 PM
MOD Contributions in Boards v1.3
=======================


New features:

How do I upgrade?

=======================================

Características Nuevas:

¿Como actualizar?
Title: Re: Contributions in Boards
Post by: minos on April 09, 2009, 01:05:51 PM
ohh contador de aportes ... gracias
Title: Re: Contributions in Boards
Post by: daveaite on April 10, 2009, 11:58:57 PM
Everything seems fine.

One error in the install: load.php. I did manual updates for this

-I can see the enable button in the boards as well as the admin > posts section

Nothing happens when enabled. :/
Title: Re: Contributions in Boards
Post by: M-DVD on April 11, 2009, 01:37:03 PM
Quote from: minos on April 09, 2009, 01:05:51 PM
ohh contador de aportes ... gracias

Your welcome :)

Quote from: daveaite on April 10, 2009, 11:58:57 PM
Everything seems fine.

One error in the install: load.php. I did manual updates for this

-I can see the enable button in the boards as well as the admin > posts section

Nothing happens when enabled. :/

1.- Uninstall and reinstall.

2.- Check if the installation has changed all files. :)
Title: Re: Contributions in Boards
Post by: KameL on April 24, 2009, 08:57:14 PM
[english]
I found a nice way to make the forum show the mini-list only once per page. It's based on the 'Show signature only once' mod. Here are the steps:

Find:

// Show Minilist of Contributions
if (isset($context['contributions']['topics'][$message['member']['id']]))
{
echo '
<div class="contributions">
<div style="padding: 4px" class="titlebg2"><b>', $txt['my_contributions'], '</b></div>';
foreach ($context['contributions']['topics'][$message['member']['id']] as $contri)
echo '
<p>', $contri['board'], ' &gt; ', $contri['topic'], '</p>';
echo '
</div>';
}


Replace with:

// Show Minilist of Contributions only once per page
        $IDAlreadyDisplayed = 0;
if (!empty($MemberIDList)) {
if (in_array($message['member']['id'], $MemberIDList))
$IDAlreadyDisplayed = 1;
}

// Show Minilist of Contributions
if (isset($context['contributions']['topics'][$message['member']['id']]))
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']) && !$IDAlreadyDisplayed)
{
echo '
<div class="contributions">
<div style="padding: 4px" class="titlebg2"><b>', $txt['my_contributions'], '</b></div>';
foreach ($context['contributions']['topics'][$message['member']['id']] as $contri)
echo '
<p>', $contri['board'], ' &gt; ', $contri['topic'], '</p>';
echo '
</div>';
}


I hope you like this modification and you add it to a newer version.
Thank you for this mod!
[/english]




[spanish]
Encontré una manera para hacer que el foro muestre la mini-lista solo una vez por página. Está basado en el mod 'Show signature only once'. Aquí dejo los pasos a seguir:

Encontrar:

// Show Minilist of Contributions
if (isset($context['contributions']['topics'][$message['member']['id']]))
{
echo '
<div class="contributions">
<div style="padding: 4px" class="titlebg2"><b>', $txt['my_contributions'], '</b></div>';
foreach ($context['contributions']['topics'][$message['member']['id']] as $contri)
echo '
<p>', $contri['board'], ' &gt; ', $contri['topic'], '</p>';
echo '
</div>';
}


Reemplazar por:

// Show Minilist of Contributions only once per page
        $IDAlreadyDisplayed = 0;
if (!empty($MemberIDList)) {
if (in_array($message['member']['id'], $MemberIDList))
$IDAlreadyDisplayed = 1;
}

// Show Minilist of Contributions
if (isset($context['contributions']['topics'][$message['member']['id']]))
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']) && !$IDAlreadyDisplayed)
{
echo '
<div class="contributions">
<div style="padding: 4px" class="titlebg2"><b>', $txt['my_contributions'], '</b></div>';
foreach ($context['contributions']['topics'][$message['member']['id']] as $contri)
echo '
<p>', $contri['board'], ' &gt; ', $contri['topic'], '</p>';
echo '
</div>';
}


Espero que te guste la modificación y que lo agregues a una nueva versión.
¡Gracias por el mod!
[/spanish]
Title: Re: Contributions in Boards
Post by: robinrobin on April 25, 2009, 10:11:36 AM
Good idea KameL
Title: Re: Contributions in Boards
Post by: M-DVD on April 25, 2009, 12:59:09 PM
Quote from: KameL on April 24, 2009, 08:57:14 PM
[english]
I found a nice way to make the forum show the mini-list only once per page. It's based on the 'Show signature only once' mod. Here are the steps:

I don't understand (ni en inglés ni en español :P) but I will check more later.

(no entiendo que es exactamente lo que se busca, es decir, ¿que significa en la práctica "Mostrar una sola vez"? ¿mostrar solo a un usuario?)

Thanks :)
Title: Re: Contributions in Boards
Post by: KameL on April 26, 2009, 02:05:23 AM
Quote from: M-DVD on April 25, 2009, 12:59:09 PM
Quote from: KameL on April 24, 2009, 08:57:14 PM
[english]
I found a nice way to make the forum show the mini-list only once per page. It's based on the 'Show signature only once' mod. Here are the steps:

I don't understand (ni en inglés ni en español :P) but I will check more later.

(no entiendo que es exactamente lo que se busca, es decir, ¿que significa en la práctica "Mostrar una sola vez"? ¿mostrar solo a un usuario?)

Thanks :)
Sorry for this post writed on spanish.




Cuando se instala el mod y se aplica la función de mostrar la minilista sobre la firma de la persona que realizó el tópico, esta minilista se muestra absolutamente en todos los post de este usuario dentro del mismo tópico. Te doy un ejemplo:

-El usuario 'A' crea el tópico -> Se muestra la minilista en ese mensaje
-El usuario 'B' responde al tópico
-El usuario 'A' le responde al 'B' -> Se vuelve a mostrar la minilista
-El usuario 'C' responde al tópico
-El usuario 'A' le responde al 'C' -> una vez mas, aparece la minilista

El tema en cuestión es que puede resultar un tanto pesado ver tantas veces dicha lista, por lo que se me ocurrió implementar la función que agrega el mod "Show signatures only once" (no recuerdo quien es el creador) en tu mod. A mi me gusta el resultado, y quise compartirlo con los demás... espero no te moleste, y si te interesa, podrías incluirlo en la próxima versión del mod (obviamente dando créditos al creador del mod nombrado anteriormente y a mi por la idea y la implementación :P )
Espero se haya entendido.
Saludos ;)
Title: Re: Contributions in Boards
Post by: ɔɔɔɔɔɔuɥoɾ on April 26, 2009, 12:15:55 PM
nice mod, thanks, working perfect for me on smf 2.0 RC1 :)
Title: Re: Contributions in Boards
Post by: trailmyx on April 26, 2009, 03:48:01 PM
I love this modification!

I was wondering if you have considered having a summary list for the contributions instead of the full list?  What I'm thinking is the format of the last contributions (basically the one line title with link for each), but have it summarize everything that appears in the "Show Contributions".

What I'm looking toward is having a "My Contributions" link right under the avatar area of a poster.  I think that would be a pretty nice addition to your system.

In any event, great modification!
Title: Re: Contributions in Boards
Post by: M-DVD on April 26, 2009, 06:20:53 PM
Quote from: KameL on April 26, 2009, 02:05:23 AM
Cuando se instala el mod y se aplica la función de mostrar la minilista sobre la firma de la persona que realizó el tópico, esta minilista se muestra absolutamente en todos los post de este usuario dentro del mismo tópico. Te doy un ejemplo:

-El usuario 'A' crea el tópico -> Se muestra la minilista en ese mensaje
-El usuario 'B' responde al tópico
-El usuario 'A' le responde al 'B' -> Se vuelve a mostrar la minilista
-El usuario 'C' responde al tópico
-El usuario 'A' le responde al 'C' -> una vez mas, aparece la minilista

El tema en cuestión es que puede resultar un tanto pesado ver tantas veces dicha lista, por lo que se me ocurrió implementar la función que agrega el mod "Show signatures only once" (no recuerdo quien es el creador) en tu mod. A mi me gusta el resultado, y quise compartirlo con los demás... espero no te moleste, y si te interesa, podrías incluirlo en la próxima versión del mod (obviamente dando créditos al creador del mod nombrado anteriormente y a mi por la idea y la implementación :P )
Espero se haya entendido.
Saludos ;)

Ok, I think I've understood.

You (exactly) just want to be shown: for the "Topic Starter" + in the "Startup Post"? (The code you've post done more than that)

Quote from: trailmyx on April 26, 2009, 03:48:01 PM
I love this modification!

I was wondering if you have considered having a summary list for the contributions instead of the full list?  What I'm thinking is the format of the last contributions (basically the one line title with link for each), but have it summarize everything that appears in the "Show Contributions".

What I'm looking toward is having a "My Contributions" link right under the avatar area of a poster.  I think that would be a pretty nice addition to your system.

In any event, great modification!

Ok, I understand. I don't think I would add this feature in the near future.

Thanks for your comment :)

Quote from: johncccccc on April 26, 2009, 12:15:55 PM
nice mod, thanks, working perfect for me on smf 2.0 RC1 :)

Thanks for your comment :)
Title: Re: Contributions in Boards
Post by: KameL on April 26, 2009, 09:22:50 PM
Quote from: M-DVD on April 26, 2009, 06:20:53 PM
Ok, I think I've understood.

You (exactly) just want to be shown: for the "Topic Starter" + in the "Startup Post"? (The code you've post done more than that)
You still don't understand me. nvm... forget my post.
Title: Re: Contributions in Boards
Post by: M-DVD on May 02, 2009, 07:06:17 PM
Quote from: KameL on April 26, 2009, 09:22:50 PM
You still don't understand me. nvm... forget my post.

¿Quieres algo así como Taringa? que solo sale la lista de aportes una sola vez.
Title: Re: Contributions in Boards
Post by: KameL on May 05, 2009, 05:00:29 PM
Quote from: M-DVD on May 02, 2009, 07:06:17 PM
Quote from: KameL on April 26, 2009, 09:22:50 PM
You still don't understand me. nvm... forget my post.

¿Quieres algo así como Taringa? que solo sale la lista de aportes una sola vez.
Lo que hice fué modificar tu MOD para que la lista de aportes figure solo una vez por topic en la firma del creador del mismo. Porque de no hacer dicha modificación, si yo creo el tópico, y posteo 4 respuestas dentro, en todos mis mensajes se ve en la firma la lista de aportes... ¿ahora se entiende?
Title: Re: Contributions in Boards
Post by: M-DVD on May 05, 2009, 10:04:39 PM
Quote from: KameL on May 05, 2009, 05:00:29 PM
Quote from: M-DVD on May 02, 2009, 07:06:17 PM
Quote from: KameL on April 26, 2009, 09:22:50 PM
You still don't understand me. nvm... forget my post.

¿Quieres algo así como Taringa? que solo sale la lista de aportes una sola vez.
Lo que hice fué modificar tu MOD para que la lista de aportes figure solo una vez por topic en la firma del creador del mismo. Porque de no hacer dicha modificación, si yo creo el tópico, y posteo 4 respuestas dentro, en todos mis mensajes se ve en la firma la lista de aportes... ¿ahora se entiende?

Ok, entonces sí, lo quieres como Taringa.

Y sí, lo quieres como preguntaba aquí:

Quote from: M-DVD on April 26, 2009, 06:20:53 PM
Ok, I think I've understood.

You (exactly) just want to be shown: for the "Topic Starter" + in the "Startup Post"? (The code you've post done more than that)

Así fue como te entendí, pero el código que has puesto no hace "exactamente" eso, pero te resulta por "casualidad".

Antes de hacer cualquier cosa, debía estar seguro.

Lo haré para la próxima, no es complicado.
Title: Re: Contributions in Boards
Post by: robinrobin on July 09, 2009, 02:37:05 PM
2.0 RC1-1

I get a PHP error with a piece of code from this mod when i click on the "NEW" symbol when there's new posts posted by a guest only:

Database Error: You have an error in your SQL syntax near
AND b.contributionsEnable
GROUP BY t.id_member_started' at line 5

SELECT
t.id_member_started, COUNT(t.id_topic) AS contributions
FROM smf_topics AS t
INNER JOIN smf_boards AS b ON (b.id_board = t.id_board)
WHERE t.id_member_started IN ()
AND b.contributionsEnable
GROUP BY t.id_member_started

File: Sources/Display.php
Line: 931
Title: Re: Contributions in Boards
Post by: robinrobin on July 10, 2009, 11:04:07 AM
Also, i just noticed that contribution lists in the signature doesn't work any longer. Does this mod work with SMF 2.0 RC1-1 ??
Title: Re: Contributions in Boards
Post by: ɔɔɔɔɔɔuɥoɾ on July 28, 2009, 01:07:18 PM
Quotehttp://www.requestiso.com/index.php?topic=1981.5;wap2
Database Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
            AND b.contributionsEnable
         GROUP BY t.id_member_started' at line 5

File: /home/reque4/public_html/Sources/Display.php
                              Line: 1030

I have 4 of these at the moment, I have been ignoring for a while, they keep coming back after deletion, Im assuming its something to do with this mod simply because of the " b.contributionsEnable ".

Also, the mod is not working properly either, the mini list is not been displayed, ive been ignoring that too for a while, I would like to try and fix both of these problems.

Thanks in Advanced M-DVD.
Title: Re: Contributions in Boards
Post by: ɔɔɔɔɔɔuɥoɾ on August 04, 2009, 12:29:24 AM
Quote from: johncccccc on July 28, 2009, 01:07:18 PM
Quotehttp://www.requestiso.com/index.php?topic=1981.5;wap2
Database Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
            AND b.contributionsEnable
         GROUP BY t.id_member_started' at line 5

File: /home/reque4/public_html/Sources/Display.php
                              Line: 1030

I have 4 of these at the moment, I have been ignoring for a while, they keep coming back after deletion, Im assuming its something to do with this mod simply because of the " b.contributionsEnable ".

Also, the mod is not working properly either, the mini list is not been displayed, ive been ignoring that too for a while, I would like to try and fix both of these problems.

Thanks in Advanced M-DVD.


Anybody, wow 3 days no reply...
Title: Re: Contributions in Boards
Post by: robinrobin on August 04, 2009, 09:47:31 AM
DVD seem to have abandoned this mod. Don't keep your hopes up.
Title: Re: Contributions in Boards
Post by: ɔɔɔɔɔɔuɥoɾ on August 05, 2009, 03:42:44 PM
According to his stats he has not logged on since July 11th, Maybe his just on vacation or something, hope his back soon.
Title: Re: Contributions in Boards
Post by: ɔɔɔɔɔɔuɥoɾ on August 09, 2009, 12:53:00 AM
I uninstalled mod manually and it remove the database error, now im stuck with another error, to SMF 2 support board I go lol..
Title: Re: Contributions in Boards
Post by: dark_warriorxx8 on August 23, 2009, 03:36:21 PM
   
when I try to install the mod, I mark error Display.template.php

I can help
Title: Re: Contributions in Boards
Post by: dark_warriorxx8 on August 29, 2009, 05:10:33 PM
Quote from: dark_warriorxx8 on August 23, 2009, 03:36:21 PM
   
when I try to install the mod, I mark error Display.template.php

I can help

   
I've got it solved
Title: Re: Contributions in Boards
Post by: Maniaco on March 02, 2010, 07:26:06 AM
Well I installed this mod on my smf:

http://custom.simplemachines.org/mods/index.php?mod=1587

say that my forum is 2.0 RC 1.2 and it suits the mod adding the package-info.xml version since this mod is for version 2.0 RC1 and install it gave error.
Well then, install the mod to give it a couple of failures that put them manually and then it will install fine and all right in this administration, translation and all, but I leave the post in contributions from users, not bone makes the function, which may be due?

* Update to 2.0 RC1.2 forum and the mod was installed in my previous version running ok
* Install the mod by changing the package-info.xml to my version.
* The mod is installed correctly, and you are OK in administration, the forums where the contributions will be effectively verified.
* Under the avatars can see the number of contributions, but the mini aoparece not list anywhere. Use the default theme.

Any idea that can be?
Title: Re: Contributions in Boards
Post by: Maniaco on April 15, 2010, 12:49:42 PM
alguien me puede ayudar por favor, como puedo hacer para instalarlo el RC1.2?
Title: Re: Contributions in Boards
Post by: Maniaco on May 12, 2010, 12:46:45 PM
up  :-[
Title: Re: Contributions in Boards
Post by: Maniaco on June 09, 2010, 08:43:00 AM
Hello, please, someone could take over this mod or any wise to do an equal or similar? since its author has left and you can not get it working on 2.0 RC1.2, RC2 or RC3
in my case I would make a great need this or a similar mod, thanks.
Title: Re: Contributions in Boards
Post by: AWES0MN on June 29, 2010, 06:16:10 PM
They may help, unfortunately already tried playing the mod in localhost, but got nothing.

lucky maniaco.
Title: Re: Contributions in Boards
Post by: Maniaco on August 03, 2010, 11:06:09 AM
It's a shame to lose so good a mod for smf, someone who understands the topic please rescue him, a greeting.
Title: Re: Contributions in Boards
Post by: pipi2010 on November 04, 2010, 04:59:31 PM
Me pueden ayudar a parasar el mod a la 2.0 RC3 2.0 RC4  ya casi lo tengo pero me da error el la bd
Title: Re: Contributions in Boards
Post by: studiowi33 on December 04, 2010, 10:37:11 AM
Is this compatible with the Ultimate Profile mod in 1.1.11? I get a fail on profile.php...
EDIT: It seems to work just fine with Ultimate Profile.
Title: Re: Contributions in Boards
Post by: 4Kstore on October 27, 2011, 05:19:45 PM
I needed to update this mod for a  forum 2.0.1 so I leave it attached if anyone serves, use it, try it and know if there's an error.
regards

Title: Re: Contributions in Boards
Post by: yutcu on June 22, 2013, 04:31:19 AM
Can you please update this mod?