Advertisement:

Author Topic: Contributions in Boards  (Read 51901 times)

Offline ɔɔɔɔɔɔuɥoɾ

  • SMF Hero
  • ******
  • Posts: 2,742
  • Gender: Male
  • Community Support Helper SMF forums ftw!
Re: Contributions in Boards
« Reply #20 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?

SMF 2.0 RC5

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

Offline scenerip2k

  • Jr. Member
  • **
  • Posts: 106
  • Gender: Male
  • Scene-Network
    • Xtreme Gaming Network
Re: Contributions in Boards
« Reply #21 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

Offline ɔɔɔɔɔɔuɥoɾ

  • SMF Hero
  • ******
  • Posts: 2,742
  • Gender: Male
  • Community Support Helper SMF forums ftw!
Re: Contributions in Boards
« Reply #22 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...

SMF 2.0 RC5

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

Offline Ryan

  • Full Member
  • ***
  • Posts: 594
  • Gender: Male
Re: Contributions in Boards
« Reply #23 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:
 
Code: [Select]
AND b.contributionsEnable
   ORDER BY {string:order}

Replace:
Code: [Select]

  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 :)
« Last Edit: January 21, 2009, 07:24:49 PM by M3THOD »

Offline ɔɔɔɔɔɔuɥoɾ

  • SMF Hero
  • ******
  • Posts: 2,742
  • Gender: Male
  • Community Support Helper SMF forums ftw!
Re: Contributions in Boards
« Reply #24 on: January 21, 2009, 08:03:44 PM »
ok thanks for been helpfup :)

is there any small edit for the random one to work  :-\

SMF 2.0 RC5

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

Offline scenerip2k

  • Jr. Member
  • **
  • Posts: 106
  • Gender: Male
  • Scene-Network
    • Xtreme Gaming Network
Re: Contributions in Boards
« Reply #25 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.
« Last Edit: January 22, 2009, 03:35:15 AM by scenerip2k »

Offline M-DVD

  • SMF Hero
  • ******
  • Posts: 1,650
  • Gender: Male
  • Step by step will update the mods to SMF 2RC2
Re: Contributions in Boards
« Reply #26 on: January 22, 2009, 12:43:17 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

This makes the last contributions you added show up in the list.
 
In display.php find
Find:
 
Code: [Select]
AND b.contributionsEnable
   ORDER BY {string:order}

Replace:
Code: [Select]

  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:

Code: [Select]
ORDER BY {string:order}
And replace:

Code: [Select]
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.
« Last Edit: January 22, 2009, 12:47:05 PM by M-DVD »

Offline ɔɔɔɔɔɔuɥoɾ

  • SMF Hero
  • ******
  • Posts: 2,742
  • Gender: Male
  • Community Support Helper SMF forums ftw!
Re: Contributions in Boards
« Reply #27 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:

Code: [Select]
                                                 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 ???


SMF 2.0 RC5

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

Offline Ryan

  • Full Member
  • ***
  • Posts: 594
  • Gender: Male
Re: Contributions in Boards
« Reply #28 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..

Offline ɔɔɔɔɔɔuɥoɾ

  • SMF Hero
  • ******
  • Posts: 2,742
  • Gender: Male
  • Community Support Helper SMF forums ftw!
Re: Contributions in Boards
« Reply #29 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!

SMF 2.0 RC5

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

Offline M-DVD

  • SMF Hero
  • ******
  • Posts: 1,650
  • Gender: Male
  • Step by step will update the mods to SMF 2RC2
Re: Contributions in Boards
« Reply #30 on: January 23, 2009, 11:03:43 AM »
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 I show because it is identical to use one or the other. Also I say what the problem is in that reply.


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.
« Last Edit: January 23, 2009, 07:10:30 PM by M-DVD »

Offline scenerip2k

  • Jr. Member
  • **
  • Posts: 106
  • Gender: Male
  • Scene-Network
    • Xtreme Gaming Network
Re: Contributions in Boards
« Reply #31 on: January 23, 2009, 11:21:07 AM »
M3THOD,

You a coder? I see that you know your sh*t bro

Offline M-DVD

  • SMF Hero
  • ******
  • Posts: 1,650
  • Gender: Male
  • Step by step will update the mods to SMF 2RC2
Re: Contributions in Boards
« Reply #32 on: January 23, 2009, 06:45:06 PM »
MOD Contributions in Boards v1.1
=======================


New features:
  • Add 'View Member Contributions' link in Profile, in SMF 2.0b.
  • Fix issue with order contributions in Minilist in SMF 2.0b.

How do I upgrade?
  • Uninstall the previous version
  • Install the new

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

Características Nuevas:
  • Añadido link 'Ver Aportes del Usuario' en el Perfil, solo para SMF 2.0b.
  • Reparado problema con el orden de los aportes en la Minilista en SMF 2.0b.

¿Como actualizar?
  • Desintalar la anterior versión
  • Instalar la nueva

Offline Özgür

  • SMF Hero
  • ******
  • Posts: 3,924
  • Gender: Male
  • Özgür | jQuery Lover
    • ozgurce on Facebook
    • @ozgurce on Twitter
    • Özgür Yalçın
Re: Contributions in Boards
« Reply #33 on: January 23, 2009, 08:40:14 PM »
Turkish Translation

Code: [Select]
$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';
« Last Edit: January 23, 2009, 08:54:38 PM by Özgür | ЯocKayseri »

Offline minos

  • Full Member
  • ***
  • Posts: 509
  • Gender: Male
  • metalminos.com
    • Metal Minos Foro
Re: Contributions in Boards
« Reply #34 on: January 23, 2009, 08:56:45 PM »
que bueno que consideres esa opción  es muy útil

actualizando a la nueva versión

Offline scenerip2k

  • Jr. Member
  • **
  • Posts: 106
  • Gender: Male
  • Scene-Network
    • Xtreme Gaming Network
Re: Contributions in Boards
« Reply #35 on: January 24, 2009, 02:15:21 AM »
M-DVD,

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

Offline M-DVD

  • SMF Hero
  • ******
  • Posts: 1,650
  • Gender: Male
  • Step by step will update the mods to SMF 2RC2
Re: Contributions in Boards
« Reply #36 on: January 27, 2009, 09:31:54 PM »
que bueno que consideres esa opción  es muy útil

actualizando a la nueva versión

M-DVD,

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

Thanks for yours comments.  :D

Turkish Translation

Code: [Select]

Thanks for translate, updated  :D

Offline PerryM

  • Jr. Member
  • **
  • Posts: 111
Mega problems with RC1
« Reply #37 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
Perry

Offline M-DVD

  • SMF Hero
  • ******
  • Posts: 1,650
  • Gender: Male
  • Step by step will update the mods to SMF 2RC2
Re: Contributions in Boards
« Reply #38 on: February 08, 2009, 08:05:46 PM »
Thanks, i will check this.  :)

Offline adp

  • Jr. Member
  • **
  • Posts: 110
Re: Contributions in Boards
« Reply #39 on: February 13, 2009, 05:36:21 AM »
Quote
I like you modules and hope you can get this one on RC1.

Thanks


Yap, me too  O:)