[MODDB] NV recent topics 1.0.4

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Get Involved
User avatar
nickvergessen
3.1 Release Manager
3.1 Release Manager
Posts: 4396
Joined: Mon Apr 30, 2007 5:33 pm
Location: Stuttgart, Germany
Name: Joas Schilling
Contact:

[MODDB] NV recent topics 1.0.4

Postby nickvergessen » Sat Aug 11, 2007 12:56 pm

MOD-title: NV recent topics
MOD-version: 1.0.4
MOD-description:
    Adds a list with a number of recent topics on the index.php.
    Reading-rules are considerd.
    A manual how to install the mod on any other page of phpbb3 is included (see zip-file/contrib/Addons/add_any_page/install.xml)
MOD-download: download v1.0.4
phpBB-version: phpBB 3.0.4
phpBB-styles: prosilver, subsilver2
phpBB-languages: de, en
MOD-demo: Demoboard

Please do not upload this MOD to Downloadbases, without asking me.
Last edited by nickvergessen on Wed Apr 22, 2009 7:24 pm, edited 20 times in total.
Member of the Development-TeamNo Support via PM

User avatar
Gleasonator
Registered User
Posts: 652
Joined: Tue Jun 05, 2007 2:19 pm
Location: Texas
Contact:

Re: [DEV] recent topics

Postby Gleasonator » Sat Aug 11, 2007 8:29 pm

Wow. This one even has an ACP module. :D

By recent topics, do you mean recently created or recently posted in?
Sorry for my bad Engrish !
gleason|design

Image

User avatar
m157y
Registered User
Posts: 482
Joined: Mon Apr 30, 2007 9:39 am
Location: Russia, Moscow, Khimki
Contact:

Re: [DEV] recent topics

Postby m157y » Sat Aug 11, 2007 8:37 pm

yeah :) i'm developing something like this :)
m157y aka Misty
NO SUPPORT VIA PM
KarmaMOD for phpBB 3.0.x | bbAJAX
Follow me on twitter

User avatar
nickvergessen
3.1 Release Manager
3.1 Release Manager
Posts: 4396
Joined: Mon Apr 30, 2007 5:33 pm
Location: Stuttgart, Germany
Name: Joas Schilling
Contact:

Re: [DEV] recent topics

Postby nickvergessen » Sat Aug 11, 2007 10:20 pm

Here we go:
BETA-Status 0.0.1
for information see first post
Member of the Development-TeamNo Support via PM

Kleopatras_Sister
Registered User
Posts: 172
Joined: Sun Jul 08, 2007 5:37 pm

Re: [DEV] recent topics

Postby Kleopatras_Sister » Sun Aug 12, 2007 3:22 am

ist das so ne Art Top 5 ? von Themen (aber nicht für acid style einsetzbar :( weil ich wenn dann Infos für subsilver brauch) , danke für die Antwort (mein eng ist mehr als mager und wir kennen bisl, da schreib ich gleich in DE, wenn das ok ist) Danke

User avatar
nickvergessen
3.1 Release Manager
3.1 Release Manager
Posts: 4396
Joined: Mon Apr 30, 2007 5:33 pm
Location: Stuttgart, Germany
Name: Joas Schilling
Contact:

Re: [DEV] recent topics

Postby nickvergessen » Sun Aug 12, 2007 6:07 am

Kleopatras_Sister wrote:ist das so ne Art Top 5 ? von Themen (aber nicht für acid style einsetzbar :( weil ich wenn dann Infos für subsilver brauch) , danke für die Antwort (mein eng ist mehr als mager und wir kennen bisl, da schreib ich gleich in DE, wenn das ok ist) Danke

Translated in English:
is this a kind of top5 of the topics? (but not usable for the acid style :( because i need the subsilver base), thanke you for the answer (my englisch is bad and we know us, so i jst write german, if it's ok) thanks
cleo if you want to speak german, just go to phpbb.de: http://www.phpbb.de/viewtopic.php?t=152972
Member of the Development-TeamNo Support via PM

User avatar
IPB_Refugee
Registered User
Posts: 1290
Joined: Fri Jul 07, 2006 2:25 pm
Location: Austria
Name: Wolfgang Weber

Re: [DEV] recent topics

Postby IPB_Refugee » Sun Aug 12, 2007 8:22 am

Hi nickvergessen,

I think it would be useful to display just recent topics which are allowed to be read by the user.

E.g.: User A is a regular member and sees

topic_13
topic_42
topic_55
topic_61
topic_63

User B has admin rights and sees

topic_13
topic_42
topic_29 (topic_29 has been written in a forum which is accessible by admins only)
topic_55
topic_61

I think phpBB's own auth system should be used in MODs like this.

One more question: How many additional queries does your MOD create on the index page?

Have a nice sunday!
Wolfgang

User avatar
nickvergessen
3.1 Release Manager
3.1 Release Manager
Posts: 4396
Joined: Mon Apr 30, 2007 5:33 pm
Location: Stuttgart, Germany
Name: Joas Schilling
Contact:

Re: [DEV] recent topics

Postby nickvergessen » Sun Aug 12, 2007 9:57 am

IPB_Refugee wrote:I think phpBB's own auth system should be used in MODs like this.
that's exactly what is meant by the following feature
nickvergessen wrote:Features included:
  • ...
  • referance to auth for reading
  • ...


IPB_Refugee wrote:One more question: How many additional queries does your MOD create on the index page?

If you want to have the unread-information it rises to 1 + 2 * number of topics (example: you want 5topics: 1 + 2 * 5 = 11)
But i can give you a hack which enables the unread-information. Than it's only 1 SQL-Query
Member of the Development-TeamNo Support via PM

User avatar
IPB_Refugee
Registered User
Posts: 1290
Joined: Fri Jul 07, 2006 2:25 pm
Location: Austria
Name: Wolfgang Weber

Re: [DEV] recent topics

Postby IPB_Refugee » Sun Aug 12, 2007 10:16 am

Hi nickvergessen,

thanks for your answer and the fine MOD! :)

nickvergessen wrote:But i can give you a hack which enables the unread-information. Than it's only 1 SQL-Query


It would be great if you could post this add-on here because I think many people prefer just one additional query instead of eleven or more.

Many thanks
Wolfgang

User avatar
nickvergessen
3.1 Release Manager
3.1 Release Manager
Posts: 4396
Joined: Mon Apr 30, 2007 5:33 pm
Location: Stuttgart, Germany
Name: Joas Schilling
Contact:

Re: [DEV] recent topics

Postby nickvergessen » Sun Aug 12, 2007 10:33 am

maybe it's confusing for the users, if the topics are all set to read or unread, but here's the code:
read wrote:open: root/recent_topics.php
find:

Code: Select all

$topic_tracking_info = get_complete_topic_tracking($forum_id, $topic_id, $global_announce_list = false);

replace, with:

Code: Select all

      $topic_tracking_info = false;//get_complete_topic_tracking($forum_id, $topic_id, $global_announce_list = false);
Member of the Development-TeamNo Support via PM

User avatar
ac_roma
Registered User
Posts: 297
Joined: Thu Mar 08, 2007 2:48 pm
Location: egypt,alexandria
Contact:

Re: [DEV] recent topics

Postby ac_roma » Sun Aug 12, 2007 11:34 am

useful and good mod

i will test it now :)

Kleopatras_Sister
Registered User
Posts: 172
Joined: Sun Jul 08, 2007 5:37 pm

Re: [DEV] recent topics

Postby Kleopatras_Sister » Sun Aug 12, 2007 2:52 pm

nickvergessen wrote:cleo if you want to speak german, just go



thank you. But i´m not cleo, maybe you mean my friend ;)

regards

ClubMed
Registered User
Posts: 349
Joined: Wed Aug 06, 2003 12:30 pm
Location: Austria

Re: [Beta] recent topics 0.0.1

Postby ClubMed » Sun Aug 12, 2007 3:30 pm

Has anyone been using this mod on a live forum? Is it buggy or stable?
Do you Ubuntu too?

User avatar
nickvergessen
3.1 Release Manager
3.1 Release Manager
Posts: 4396
Joined: Mon Apr 30, 2007 5:33 pm
Location: Stuttgart, Germany
Name: Joas Schilling
Contact:

Re: [Beta] recent topics 0.0.1

Postby nickvergessen » Sun Aug 12, 2007 3:32 pm

Member of the Development-TeamNo Support via PM

ClubMed
Registered User
Posts: 349
Joined: Wed Aug 06, 2003 12:30 pm
Location: Austria

Re: [Beta] recent topics 0.0.1

Postby ClubMed » Sun Aug 12, 2007 3:49 pm

Is it possible to make it scroll down to the latest unseen post in a thread when I click on a thread link?
Do you Ubuntu too?


Return to “[3.0.x] MODs in Development”

Who is online

Users browsing this forum: No registered users and 15 guests