Wicher's phpBB2 Mods Forum Index Wicher's phpBB2 Mods
On this board you will find all phpBB2 mods that i have created over the years. Most mods are on this board installed. Before asking for support, be sure to have your board updated to the latest phpBB2 version.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Simple db_update generatorSimple db_update generator   Advanced db_update generatorAdvanced db_update generator 
 This board is protected by Phpbbantispam 

Was This Post/Topic Helpful

 
Board Alert Board Message
There are in this topic 2 posts to view if you are logged in.

You can log in or register via the login / registerlink here or in the header.
Back to top  Login here and be redirected to this TopicLogin here and be redirected to this Topic RegisterRegister
Reply to topic    Wicher's phpBB2 Mods Forum Index -> Submit your mod idea Was this Topic Helpful?  
Points for this topic: 0
Topic gradiation: 
View previous topic :: View next topic  
Author Was This Post/Topic Helpful
eheradya

Korea, Republic Of

Joined: 18 Oct 2007
Posts: 1
User's local time:
2024 Mar 28 - 11:15 AM
Country IP         : Korea, Republic Of
Country of choice: Korea, Republic Of


Was This Post Helpful?

 
Users postingpoints:
0
Posts points:
0
Post gradiation:
PostPosted: Thu Oct 25, 2007 8:02 am    Post subject: Reply with quote

Hi Wicher. I have a some question.
But I don't speak English. So sorry..

I use 'Was This Post/Topic Helpful' mod.
It's very good mod I think.

View attached image Index part,
top_helpfulpoints.POSTER_NUM, POSTER_NAME and POSTER_POINTS shows on Index.

Quote:
reply top code index.php

//------------------------------------------------------------------------- reply top
$sql="SELECT user_id,username,user_helpfulpoints FROM " . USERS_TABLE . " WHERE user_id > 0 AND user_id NOT IN (2) ORDER BY user_helpfulpoints DESC LIMIT $ezm_m[13]";
if (!($result = $db->sql_query($sql))) {
message_die(GENERAL_ERROR, 'TOP POSTER 정보 쿼리실패', '', __LINE__, __FILE__, $sql);
}
$num = 1;
while ($row = $db->sql_fetchrow($result)) {
$template->assign_block_vars('top_helpfulpoints', array(
'POSTER_NUM' => $num++,
'POSTER_NAME' => $row['username'],
'POSTER_POINTS' => $row['user_helpfulpoints'],
'POSTER_URL' => append_sid("profile.php?mode=viewprofile&u=".$row['user_id']))
);
}


Quote:
reply top code index_body.tpl

<BEGIN>
<tr>
<td>&nbsp;<span>{top_helpfulpoints.POSTER_NUM} : <a><span>{top_helpfulpoints.POSTER_NAME}</a><span> ({top_helpfulpoints.POSTER_POINTS})
</td>
</tr>
<END>



But I want show TOPIC_ID, TOPIC_TITLE and TOPIC_HELPFUL_POINTS such as 'reply top' part on Index.

Is it possible?
Back to top
View user's profile Send private message Visit poster's website
Post new topic    Reply to topic    Wicher's phpBB2 Mods Forum Index -> Submit your mod idea
Author Was This Post/Topic Helpful Replies
Display posts from previous:   
Post new topic   Reply to topic    Wicher's phpBB2 Mods Forum Index -> Submit your mod idea All times are GMT

Was this Topic Helpful?  
Points for this topic: 0
Topic gradiation: 
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

This board is protected by Phpbbantispam
Powered by phpBB © 2001, 2005 phpBB Group

Googlepage: GooglePullerPage
IP Country Flag 2.9.4 © 2005, 2007 - 3Di (aka 3D)