[2.0.15] Latest active topics on index

The cleanup is complete. This forum is now read only.

Rating:

Excellent!
80
54%
Very Good
41
28%
Good
14
10%
Fair
7
5%
Poor
5
3%
 
Total votes: 147

Iced Coffee
Registered User
Posts: 79
Joined: Mon Sep 26, 2005 11:47 am

Re: [2.0.15] Latest active topics on index

Post by Iced Coffee »

What can I do so that when people click on one of the listed latest topics, it goes directly to the last post of that topic? Or at least, how to put the View the last post's icon Image Image/ View the first unread post's icon Imagenext to the topic name so that people can click on it like in the Topic Row of the index? Thanks?
imaken
Registered User
Posts: 5
Joined: Thu Jul 26, 2007 12:36 pm

Re: [2.0.15] Latest active topics on index

Post by imaken »

:) -- Me too. Me too. :!: -- PLEASE HELP US, Please. -- :(
Iced Coffee wrote:What can I do so that when people click on one of the listed latest topics, it goes directly to the last post of that topic? Or at least, how to put the View the last post's icon Image Image/ View the first unread post's icon Imagenext to the topic name so that people can click on it like in the Topic Row of the index? Thanks?
This must be a difficult problem. Let me tell my story. I have recently installed phpbb2 and zapata's last topic on index which points its scrolling link to the forum topic. -- see truthinJesus.net

Badly i want to add the mini_icon.gif to the profile name section JUST LIKE LISTED normally on the index. Or at least a link, any link, to the last post in the topic thread. Pleeease. -- having the icon_latest_reply.gif Image working in the scroll would be sweet. -- I have beat myself silly trying to decode and replace and find out how. Some sites i can link to do have at least the topic link on the scroll pointing to the last post. So i should think it can be done. I am willing to pay for the priviledge, if i knew who to ask and it wasn't out of my budget. -- i don't know hardly anything about phpbb programming and amazed at what you folks can do.

Maybe the "secret" is still buried in these 59 pages of thread and i just keep missing it. I surely would like the link to post to the last post though. Right now when you get to the topic you have to go to the bottom of the last page to find the last post.

Reference: Latest topic on index
https://www.phpbb.com/community/viewtopi ... c+on+index

Reference mod installed at truthinJesus.net

PS: i registered in this phpbb programmer forum just to make this post.
PPS: The way I changed the MySql part of the database config file was to edit the phpbackup.sql file with a proper file editor and restore it within phpbb restore
after posting this i'll try to pm zparta about this mod
PHPBB IS GREAAAAAT
Iced Coffee
Registered User
Posts: 79
Joined: Mon Sep 26, 2005 11:47 am

Re: [2.0.15] Latest active topics on index

Post by Iced Coffee »

Hey, can you tell how you did that? I would like to have that collumn in.

:D
imaken
Registered User
Posts: 5
Joined: Thu Jul 26, 2007 12:36 pm

Re: [2.0.15] Latest active topics on index

Post by imaken »

:) -- Hooray Hooray -- And a Praise the Lord too.
After spending all day surveying the previous 59 pages I have a fix which works in my application, everytime, and i haven't been able to break it yet.......
:) -- Hooray Hooray -- And a Praise the Lord too.
I had a nice long post, and lost it because i checked a link and didn't back up my text -- :( -- you know that saying about those that have lost data and those that will. Well, good thing -- :) You get the shorter version of my findings.

SEE Working last post icon -- Image -- within Latest active topic scroll at:

https://www.kf1.org/forum/index.php#scroll.


It works good for my application with both logged in and guest viewers.

CHANGES: PERTINENT CHANGES IN RED -- original file and mod in black
Find black insert red


TO INDEX.PHP
insert code change into completed mod as downloaded and installed

$template->assign_block_vars('marqueerow', array(
'FOLD_URL' => $pic,
'TOPIC_TITLE' => $row[$i]["topic_title"],
'TOPIC_URL' => append_sid($phpbb_root_path . 'viewtopic.'.$phpEx.'?'.POST_TOPIC_URL.'='.$row[$i]["topic_id"]),
'POST_URL' => ($phpbb_root_path . 'viewtopic.'.$phpEx.'?p=' . $row[$i]["post_id"] . '#' . $row[$i]["post_id"]),
'USERNAME' => $row[$i]["username"],
'USER_PROF' => append_sid($phpbb_root_path . 'profile.'.$phpEx.'?mode=viewprofile&u='.$row[$i]["user_id"]),
'POST_DATE' => create_date($board_config['default_dateformat'], $row[$i]["post_time"], $board_config['board_timezone']))
);
}

//
// Start output of page
//


TO INDEX_BODY.TPL
insert code change into completed mod as downloaded and installed

<!-- BEGIN marqueerow -->
<tr valign="top">
<td class="row2" vAlign="center" align="middle" width="20">
<img src="{marqueerow.FOLD_URL}">
</td>
<td class="row2" width="352">
<span class="forumlink"><a href="{marqueerow.TOPIC_URL}" onMouseOver="document.all.recent_topics.stop()" onMouseOut="document.all.recent_topics.start()" >{marqueerow.TOPIC_TITLE}</a></span>
<span class="gensmall"><br /></span>
</td>

<td class="row2" width="1%" nowrap>
<span class="gensmall"><a href="{marqueerow.POST_URL}" onMouseOver="document.all.recent_topics.stop()" onMouseOut="document.all.recent_topics.start()"><img src="templates/subSilver/images/icon_latest_reply.gif" border="0" title="Jump to the latest posted reply in this topic thread. Membership has privileges. Register to post messages." /></a></span>
</td>


<td class="row2" vAlign="center" align="middle" width="78">
<span class="gensmall"><a href="{marqueerow.USER_PROF}" onMouseOver="document.all.recent_topics.stop()" onMouseOut="document.all.recent_topics.start()" >{marqueerow.USERNAME}</a></span>
</td>
<td class="row2" vAlign="center" noWrap align="middle" width="100">
<span class="gensmall">{marqueerow.POST_DATE}</span>
</td>
</tr>
<!-- END marqueerow -->

END OF LISTED LINE MODIFICATIONS
The above did get me what i wanted.
The below did not get me exactly what i wanted, sometimes it worked for registered members, but not for any "guest viewers, or vicevera."


SEE LINKS OF REFERENCE:

0 zparta latest_topic_on_index_1-1-9.zip_LinkPage

1 my post Latest active topics on index
2jacklww phpbb last post
3earl phpbb last post
4Mega2k on last post
5Yegor phpbb last post
6PVGeek on last post
7nicola1982 phpbb scroll on top
8felguard profile problem
9drathbun alternative to zparta -- there was a post somewhere which talked about why zparta's hard links were good/better than drathbun
10riesgo Cat & Forum row -- to add category and forum labels to last topic scroll

You are soooo lucky you got the shorter post and not the one i lost.
at your service, ken
Last edited by imaken on Tue Sep 18, 2007 12:26 pm, edited 2 times in total.
lapmonkey9
Registered User
Posts: 1
Joined: Sat Jul 21, 2007 1:39 pm

Re: [2.0.15] Latest active topics on index

Post by lapmonkey9 »

:o Help needed.


How do i add modifications to my forum? I am using s8.createphp

I really have no idea of what to do, how to install ect :cry:
srm999
Registered User
Posts: 164
Joined: Mon Mar 26, 2007 6:09 am

Re: [2.0.15] Latest active topics on index

Post by srm999 »

Iced Coffee wrote:What can I do so that when people click on one of the listed latest topics, it goes directly to the last post of that topic? Or at least, how to put the View the last post's icon Image Image/ View the first unread post's icon Imagenext to the topic name so that people can click on it like in the Topic Row of the index? Thanks?

i would like this too is it possible and how :D
imaken
Registered User
Posts: 5
Joined: Thu Jul 26, 2007 12:36 pm

Re: [2.0.15] Latest active topics on index

Post by imaken »

Dear srm999: Start reading three posts above this one.
http://www.phpbb.com/community/viewtopi ... 1#p3141441

Dear lapmonkey9: Go to the 0 zparta latest_topic_on_index_1-1-9.zip_LinkPage -- Download the file. Open it. And start reading. Not a project for someone without a minimal basic understanding of programming. It doesn't take a lot of knowledge, but you have to have a little to start with. -- 8-)
srm999
Registered User
Posts: 164
Joined: Mon Mar 26, 2007 6:09 am

Re: [2.0.15] Latest active topics on index

Post by srm999 »

imaken wrote:Dear srm999: Start reading three posts above this one.
http://www.phpbb.com/community/viewtopi ... 1#p3141441

Dear lapmonkey9: Go to the 0 zparta latest_topic_on_index_1-1-9.zip_LinkPage -- Download the file. Open it. And start reading. Not a project for someone without a minimal basic understanding of programming. It doesn't take a lot of knowledge, but you have to have a little to start with. -- 8-)

i installed that just then give the option but the option just reverts to front page :|
srm999
Registered User
Posts: 164
Joined: Mon Mar 26, 2007 6:09 am

Re: [2.0.15] Latest active topics on index

Post by srm999 »

i fixed it this is the code i put in the index body.tpl

<td class="row2" width="1%" nowrap>
<span class="gensmall"><a href="{marqueerow.POST_URL}" onMouseOver="document.all.recent_topics.stop()" onMouseOut="document.all.recent_topics.start()"><img src="templates/subSilver/images/icon_latest_reply.gif" border="0" title="Jump to latest reply" /></a></span>
</td>



the one above in red didnt work in my thread
User avatar
xmenfile
Registered User
Posts: 163
Joined: Sun Apr 22, 2007 10:32 pm

Re: [2.0.15] Latest active topics on index

Post by xmenfile »

Hi there,

Can anyone help me how to edit the subject length, I don't want double lines? My main board's Subject line is 100.

Thank you,
Moolz
Registered User
Posts: 30
Joined: Tue Jan 24, 2006 7:24 am

Re: [2.0.15] Latest active topics on index

Post by Moolz »

This has probably been answered before in this huge thread but I just updated my board and need to reinstall this mod. I am hosted with Dream Host. Can anyone help me?

EDIT:

Ok I think I screwed something good.

This is my site - http://brightonclassics.com/forums/index.php

Trying to reinstall latest topics on index has created two of them but they do not work.

Help please :(
srm999
Registered User
Posts: 164
Joined: Mon Mar 26, 2007 6:09 am

Re: [2.0.15] Latest active topics on index

Post by srm999 »

is there a way to get this to work on ezportal i got the template there but no topics scroling is there something in need to change as i used the index.tpl code and pasted it in portal body.tpl and same with the index php to portal php any ideas
srm999
Registered User
Posts: 164
Joined: Mon Mar 26, 2007 6:09 am

Re: [2.0.15] Latest active topics on index

Post by srm999 »

srm999 wrote:is there a way to get this to work on ezportal i got the template there but no topics scroling is there something in need to change as i used the index.tpl code and pasted it in portal body.tpl and same with the index php to portal php any ideas

anyone :o :o :o :o
User avatar
xmenfile
Registered User
Posts: 163
Joined: Sun Apr 22, 2007 10:32 pm

Re: [2.0.15] Latest active topics on index

Post by xmenfile »

Hi,

I don't want is strolling, how can I do that? or uninstall it from database?

Thank you,
flieger
Registered User
Posts: 31
Joined: Fri Jan 13, 2006 7:29 pm

Re: [2.0.15] Latest active topics on index

Post by flieger »

Hey all...I just installed this mod and am getting this error at the top of the index page and need help resolving it:
Warning: ob_start(): output handler 'ob_gzhandler' cannot be used after 'URL-Rewriter' in /home/waterwer/public_html/phpBB1/includes/page_header.php on line 44
This is the site: http://waterwerksmotorsports.com/phpBB1/index.php

Anyone that can help with fixing this...I'd be very appreciative!

Cheers-
George
Post Reply

Return to “[2.0.x] MOD Database Cleanup”