[Unsupported] D22-Recent Topics v1.0
Started by Logan, Oct 28 2006 06:25 PM
97 replies to this topic
#81
Posted 30 April 2009 - 12:08 AM
One more question:::
When the forum was set to be moderated, and some one post,the title still showed on the list of the recent topics before it was approved.
How to edit the codes to avoid not to show them?
Thanks.
When the forum was set to be moderated, and some one post,the title still showed on the list of the recent topics before it was approved.
How to edit the codes to avoid not to show them?
Thanks.

Welcome to Taiwan
(((Welcome to my own server)))
Music(IE),Decode,osCommerce,CPG
Chat,FTP,Webmail,My IPBoard
#82
Posted 30 April 2009 - 01:28 AM
Open sources\d22mods\d23_rtopics.php and find:
'where' => 't.forum_id IN ('.implode(',', $data['forums']).')',
Change to: 'where' => 't.approved = 1 and t.forum_id IN ('.implode(',', $data['forums']).')',
Find: 'where' => 't.forum_id IN ('.implode(',', $data['forums']).')',
Change to: 'where' => 't.approved = 1 and t.forum_id IN ('.implode(',', $data['forums']).')',
But it was done on D23-Recent Topics v1.1: http://forums.dscrip...mp;showfile=139
#83
Posted 30 April 2009 - 02:06 AM
Thanks,
I will try it in D22.
I will try it in D22.

Welcome to Taiwan
(((Welcome to my own server)))
Music(IE),Decode,osCommerce,CPG
Chat,FTP,Webmail,My IPBoard
#84
Posted 30 April 2009 - 03:13 PM
Adriano, do you no by chance a solution, how I could display the last 10 topics in two colums? 5 on the left and 5 on the right side?
Rows for Date and forum could be kicked.
Rows for Date and forum could be kicked.
#86
Posted 30 April 2009 - 03:23 PM
Tom, on Apr 30 2009, 12:13 PM, said:
Adriano, do you no by chance a solution, how I could display the last 10 topics in two colums? 5 on the left and 5 on the right side? Rows for Date and forum could be kicked.
Right now I'm translating all IP.Board (public + Admin CP) + Add Ons... when I'll have more time, I'll take a look at this.
I don't promise you anything, but I'll try...
#87
Posted 30 April 2009 - 03:26 PM
No problem Adriano. I can live with the current solution.
Thanks for your response anyway.
Thanks for your response anyway.
#88
Posted 01 May 2009 - 12:01 AM
Tom, on Apr 30 2009, 11:16 AM, said:
Actually,i had changed the mod into new one based on (FSY23) Universal Mod Installer v2.6.4.
I will upload the new mod here soon,
Screenshot
ACP
rcent01.JPG 16.83K
1 downloads
rcent02.JPG 32.99K
1 downloadsHTML
rcent03.JPG 14.79K
1 downloads

Welcome to Taiwan
(((Welcome to my own server)))
Music(IE),Decode,osCommerce,CPG
Chat,FTP,Webmail,My IPBoard
#89
Posted 01 May 2009 - 03:54 AM
I try to find all over in my hard disk and dvd backup files, just find the last version with Chinese language.
But i will edit them to English in the future,need 3~5 days , so sorry.
Upload ok.
Borad index
re_en_01.JPG 80.3K
0 downloads
ACP(Chinese)
re_en_02.JPG 70.7K
0 downloads
But i will edit them to English in the future,
Upload ok.
Borad index
re_en_01.JPG 80.3K
0 downloadsACP(Chinese)
re_en_02.JPG 70.7K
0 downloads

Welcome to Taiwan
(((Welcome to my own server)))
Music(IE),Decode,osCommerce,CPG
Chat,FTP,Webmail,My IPBoard
#90
Posted 01 May 2009 - 06:28 AM
New mod edited by Aeolus , and allowed by Logan
_090501_Recent_Topics_Replies_22_en_for_modding.zip 8.2K
37 downloads
p.s.
It's UTF-8
_090501_Recent_Topics_Replies_22_en_for_modding.zip 8.2K
37 downloadsp.s.
It's UTF-8

Welcome to Taiwan
(((Welcome to my own server)))
Music(IE),Decode,osCommerce,CPG
Chat,FTP,Webmail,My IPBoard
#91
Posted 20 September 2009 - 11:12 PM
SOSInvision, on Feb 17 2009, 06:31 PM, said:
I got it working to D23-Recent Topics v1.1: http://forum.sosinvi...mp;article=1104

I don't know if it works for D22...

I don't know if it works for D22...
Your link is broken to this tutorial - could you please relink or give us the code here?
Thanks
#92
Posted 24 September 2009 - 06:55 PM
How can I add this to my portal page at the very top.
#93
Posted 24 September 2009 - 06:58 PM
boogaru02, on Sep 24 2009, 03:55 PM, said:
How can I add this to my portal page at the very top.
OSH, on Sep 20 2009, 08:12 PM, said:
Your link is broken to this tutorial - could you please relink or give us the code here?
http://forum.sosinvi...?showtopic=7019
#94
Posted 24 September 2009 - 07:11 PM
Am I supposed to log in there for the answer? Can read the language.
#95
Posted 24 September 2009 - 07:17 PM
Sure. You have to register an account. And you can use English on lang selector.
#96
Posted 24 September 2009 - 08:36 PM
Didn't switch to english
#97
Posted 25 March 2011 - 09:26 PM
Adrian- I signed up on your site to view the tutorial on adding group color to recent topics but the link is broken. Can you post a new one please?
#98
Posted 25 March 2011 - 10:19 PM
You're lucky that I have this in backup:
Open sources/d22mods/d23_rtopics.php and find:
Open sources/d22mods/d23_rtopics.php and find:
$this->ipsclass->DB->build_query(array
(
'select' => 't.*',
'from' => array('topics' => 't'),
'add_join' => array
(
0 => array
(
'type' => 'left',
'select' => 'r.read_tid, r.read_date',
'from' => array('topics_read' => 'r'),
'where' => 'r.read_tid=t.tid AND r.read_mid='.$this->ipsclass->member['id'],
)
),
'where' => 't.forum_id IN ('.implode(',', $data['forums']).')',
'order' => 't.last_post DESC',
'limit' => array(0, $data['limit'])
));
Change to: $this->ipsclass->DB->build_query(array
(
'select' => 't.*',
'from' => array('topics' => 't'),
'add_join' => array
(
0 => array
(
'type' => 'left',
'select' => 'r.read_tid, r.read_date',
'from' => array('topics_read' => 'r'),
'where' => 'r.read_tid=t.tid AND r.read_mid='.$this->ipsclass->member['id'],
),
1 => array
(
'type' => 'left',
'select' => 'm.mgroup',
'from' => array( 'members' => 'm' ),
'where' => 'm.id=t.last_poster_id',
)
),
'where' => 't.forum_id IN ('.implode(',', $data['forums']).')',
'order' => 't.last_post DESC',
'limit' => array(0, $data['limit'])
));
Find:'name' => $r['last_poster_name'],Change to:
'name' => $this->ipsclass->make_profile_link( $this->ipsclass->make_name_formatted( $r['last_poster_name'], $r['mgroup'] ), $r['last_poster_id'] ),Results:
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users





Contributor










