News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Contributions in Boards

Started by M-DVD, January 16, 2009, 10:46:57 AM

Previous topic - Next topic

M-DVD

Link to Mod - Images

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






  • Autor:
M-DVD
  • Version:
1.3
  • Release:
04th January 2009
  • Languages:
  • Compatible With:
SMF 1.1.1 - 1.1.8
SMF 2 Beta 3 & 4 / RC1




Comment this Mod
My MODs
Images
Help support my MODs


Features:

  • You can select Boards where the Topics will be contributions.
    Admin > Boards > Modify Boards

  • You can see contributions of person in his profile.

  • You can enable minilist of contributions in signature.
    Admin > Posts and Topics > Contributions Settings

  • Also, set the numbers topics in minilist of contributions

  • And enable/disable minilist for Topic Starters or All posters

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

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

Características:

  • Tu puedes elegir que en que foros los Temas valdrán como Aportes.
    Administración > Foros > Modificar Foros

  • Puedes ver los Aportes de las personas desde su perfil.

  • Puedes activar una minilista de aportes en la firma
    Administración > Mensajes y Temas > Configuración de Aportes

  • También puedes elegir el número de temas de esta minilista

  • Y activar/desactivar minilistas para el Creador del Tema o para todos.

Gracias, a ~BeneKiD por la idea, ayuda y testear.

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

Fin.

scenerip2k

    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

scenerip2k

#2
would be nice if it showed random contributions on refresh

M-DVD

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.  :)

Ryan

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.

Ryan

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

scenerip2k

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.

M-DVD

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?

Ryan

#8
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

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

scenerip2k

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.

minos

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

evil-angelist

So is it considered safe to use this mod or not ???

scenerip2k

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.

Ryan

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

M-DVD

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

My contribution page: 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.  :)

scenerip2k

so when is the update comming out? this mod is great only if it actually worked.

ɔɔɔɔɔɔuɥoɾ

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


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

scenerip2k

good thing im not the only one with that problem! i thought i was going crazy! lol

Ryan

#18
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.

scenerip2k

M-DVD
pleaseeeeeeeeee release a fix for it this mod is cool only if it worked properly

Advertisement: