php forum
php mysql forum
php mysql smarty
 
Page 1 of 2 1 2 >
Topic Options
#256200 - 08/08/03 09:20 AM Finished-[6.2-6.3] Mark all read for single forum 1.0.1
Astaran Offline
Addict

Registered: 12/21/00
Posts: 1545
Loc: Germany
Mod Name / Version: Mark all read for single forum 1.0.1 <br /> <br />Description: Mark all posts in a single forum as read. <br /> <br />Working Under: UBB.Threads 6.2-6.3 <br /> <br />Mod Status: Finished <br /> <br />Any pre-requisites: none <br /> <br />Author(s): Astaran <br /> <br />Date: 08/08/03 <br /> <br />Credits: JustDave, who created the first MarkAllRead hack <br /> <br />Files Altered: ubbthreads.php,markallread.php, domarkallread.php,templates/ubbthreads.tmpl, templates/markallread.tmpl <br /> <br />New Files: none <br /> <br />Database Altered: no <br /> <br />Info/Instructions: HISTORY: <br /> 2003-08-08 Astaran - 1.0.1 Bugfix: changed replace pattern for cookie string <br /> 2003-03-20 Astaran - 1.0.0 Release of the hack <br /> <br />Disclaimer: Please backup every file that you intend to modify. <br />If the modification modifies the database, it's a good idea to backup your database before doing so. <br /> <br />Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files. <br /> <br />


Attachments
91211-marksingleforum_1_0_1.txt (55 downloads)

_________________________
Running a community? -> Keep informed and take it to the next level

Top
#256201 - 08/08/03 09:23 AM Re: Finished-[6.2] Mark all read for single forum 1.0.1 [Re: -Fusion-]
Astaran Offline
Addict

Registered: 12/21/00
Posts: 1545
Loc: Germany
Screenshot where you have to click to mark a forum as read


Attachments
91213-screen.jpg (3 downloads)

_________________________
Running a community? -> Keep informed and take it to the next level

Top
#256202 - 08/08/03 12:18 PM Re: Finished-[6.2] Mark all read for single forum 1.0.1 [Re: -Fusion-]
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
Nice mod tahnsk.
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#256203 - 08/08/03 12:23 PM Re: Finished-[6.2] Mark all read for single forum 1.0.1 [Re: Gorlum]
Happy Birthday DLWebmaestro Offline
Member

Registered: 08/08/00
Posts: 1753
Loc: California, MD
Yeah. Tahnsk a lot Astaran! <img src="/forum/images/graemlins/grin.gif" alt="" />
_________________________
Webmaster
Drumlines.org

Drumlines.org UBBThreads

Top
#256204 - 08/08/03 12:24 PM Re: Finished-[6.2] Mark all read for single forum 1.0.1 [Re: eslmix]
Happy Birthday DLWebmaestro Offline
Member

Registered: 08/08/00
Posts: 1753
Loc: California, MD
That posts up there ^ put me at 911 posts....so I just had to post this to change that. <img src="/forum/images/graemlins/grin.gif" alt="" />
_________________________
Webmaster
Drumlines.org

Drumlines.org UBBThreads

Top
#256205 - 09/16/03 04:48 AM Re: Finished-[6.2] Mark all read for single forum 1.0.1 [Re: eslmix]
Astaran Offline
Addict

Registered: 12/21/00
Posts: 1545
Loc: Germany
This mod should also work with 6.3.x.<br />If anyone is interested in that hack, I'll update the instructions.
_________________________
Running a community? -> Keep informed and take it to the next level

Top
#256206 - 09/17/03 12:30 PM looks to me like your number of posts is 1042 [Re: eslmix]
TonyN Offline
Journeyman

Registered: 06/13/03
Posts: 132
Loc: Berkeley out of this world
DL Web...Looks to me like your number of posts is 1042!!! Why is that? <img src="/forum/images/graemlins/bigshock.gif" alt="" /> Tony (love that graemlin)

Top
#256207 - 09/17/03 01:52 PM Re: looks to me like your number of posts is 1042 [Re: BOOO_YAAA]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
It works fine for 6.3 Astaran
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#256208 - 02/08/04 11:06 AM Re: Finished-[6.2] Mark all read for single forum 1.0.1 [Re: -Fusion-]
Kel Offline
Member

Registered: 01/30/02
Posts: 246
Loc: Arizona
Does this work for 6.4? Anyone try it yet? My members are screaming for this!!

Top
#256209 - 02/09/04 07:15 AM Re: Finished-[6.2] Mark all read for single forum 1.0.1 [Re: Razin]
Astaran Offline
Addict

Registered: 12/21/00
Posts: 1545
Loc: Germany
It should work with 6.4, but I haven't testet yet.<br />You might want to replace the call of the "setcookie" function with "ubbt_setcookie" if you use domain wide cookies on your board.
_________________________
Running a community? -> Keep informed and take it to the next level

Top
#256210 - 02/09/04 10:48 AM Re: Finished-[6.2] Mark all read for single forum 1.0.1 [Re: -Fusion-]
Kel Offline
Member

Registered: 01/30/02
Posts: 246
Loc: Arizona
I wonder if I did something wrong with this. <img src="http://www.ubbdev.com/forum/images/graemlins/confused.gif" alt="" /><br /><br />Everything went fine. I can click on the forum icon and it "clears" all of the unread threads in that forum. GOOD!! <img src="http://www.ubbdev.com/forum/images/graemlins/waytogo.gif" alt="" /><br /><br />But if I have visited that forum and read only one thread in it, I CAN'T go out of the forum and click on the forum icon to mark all of the unread ones as read. The icon is NOT clickable until there is a new unread post made. Kind of defeats the purpose, I think. I read the threads that I want to read and "clear" the rest. But I can't do this if I've read a thread in that forum. Am I making sense? <br /><br />Did I do something wrong?

Top
#256211 - 02/10/04 04:55 PM Re: Finished-[6.2] Mark all read for single forum 1.0.1 [Re: Razin]
Kel Offline
Member

Registered: 01/30/02
Posts: 246
Loc: Arizona
The members of my board are really wanting this modification. But as it works right now, it isn't any good for us. You can only mark a forum read if you haven't read any of the threads in it. That just doesn't even seem logical. Is there any way to fix this? Please?

Top
#256212 - 02/10/04 05:48 PM Re: Finished-[6.2] Mark all read for single forum 1.0.1 [Re: Razin]
Astaran Offline
Addict

Registered: 12/21/00
Posts: 1545
Loc: Germany
Untested but you might wanna try: <br />Change this: <br />
Code:
 <br />      // -------------------------- <br />      // Which folder do we display <br />         $boardfolder = "nonewposts.gif"; <br />	 $markallstart = ""; <br />	 $markallend = ""; <br />	 $marktitle = ""; <br />         if ( ($checker &lt; $Last) ){ <br />            $boardfolder = "newposts.gif"; <br />	    if ($Username) { <br />		$markallstart = "&lt;a href=\"{$config['phpurl']}/markallread.php?Cat=$Cat&amp;amp;singleforum=$Keyword\"&gt;"; <br />		$markallend = "&lt;/a&gt;"; <br />		$marktitle = "title=\"". $ubbt_lang['MARK_TEXT'] . "\""; <br />	     } <br />         } <br />
<br /> <br />to this: <br />
Code:
 <br />      // -------------------------- <br />      // Which folder do we display <br />         $boardfolder = "nonewposts.gif"; <br />	 $markallstart = ""; <br />	 $markallend = ""; <br />	 $marktitle = ""; <br />         if ( ($checker &lt; $Last) ){ <br />            $boardfolder = "newposts.gif"; <br />         } <br />	    if ($Username) { <br />		$markallstart = "&lt;a href=\"{$config['phpurl']}/markallread.php?Cat=$Cat&amp;amp;singleforum=$Keyword\"&gt;"; <br />		$markallend = "&lt;/a&gt;"; <br />		$marktitle = "title=\"". $ubbt_lang['MARK_TEXT'] . "\""; <br />	     } <br />
_________________________
Running a community? -> Keep informed and take it to the next level

Top
#256213 - 02/10/04 05:58 PM Re: Finished-[6.2] Mark all read for single forum 1.0.1 [Re: -Fusion-]
Kel Offline
Member

Registered: 01/30/02
Posts: 246
Loc: Arizona
Thank you... <img src="http://www.ubbdev.com/forum/images/graemlins/laugh.gif" alt="" /> ... I will test it out tonight and let you know how it works. I appreciate the help... <img src="http://www.ubbdev.com/forum/images/graemlins/cool.gif" alt="" />

Top
#256214 - 02/20/04 06:02 PM Re: Finished-[6.2] Mark all read for single forum 1.0.1 [Re: Razin]
Kel Offline
Member

Registered: 01/30/02
Posts: 246
Loc: Arizona
That did it! <img src="http://www.ubbdev.com/forum/images/graemlins/waytogo.gif" alt="" /> Thanks much! <img src="http://www.ubbdev.com/forum/images/graemlins/laugh.gif" alt="" />

Top
#256215 - 02/21/04 10:58 AM Re: Finished-[6.2] Mark all read for single forum 1.0.1 [Re: Razin]
Zarzal Offline
Coder

Registered: 07/03/01
Posts: 806
Loc: Berlin, Germany
can anyone post updated instructions for V6.4.1 ? This would be nice.
_________________________
my forum: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de

Top
#256216 - 03/16/04 02:30 PM Re: Finished-[6.2] Mark all read for single forum 1.0.1 [Re: landyphil]
oceanwest Offline
Enthusiast

Registered: 04/25/02
Posts: 490
Loc: Escondido, CA
Has anyone tried this w/ 6.4 I set it up but it marks ALL forums read.<br /><br />Plus my users are asking for a way to while looking at a forum to be able to execute the forum as read.
_________________________
FM Forums
Largest Online FileMaker Community
http://www.fmforums.com

Top
#256217 - 03/16/04 02:39 PM Re: Finished-[6.2] Mark all read for single forum 1.0.1 [Re: sdf123]
ericgtr Offline
Junior Member

Registered: 05/12/03
Posts: 1109
I am using it with 6.4 and it works per forum, did you make the change that Astaran added a couple of posts above? When I installed it I just added that before even trying it.

Top
#256218 - 03/16/04 03:03 PM Re: Finished-[6.2] Mark all read for single forum 1.0.1 [Re: BlarC]
oceanwest Offline
Enthusiast

Registered: 04/25/02
Posts: 490
Loc: Escondido, CA
I did and I just tried it again when I click on it ALL forums get marked as read. Not sure where I went wrong.
_________________________
FM Forums
Largest Online FileMaker Community
http://www.fmforums.com

Top
#256219 - 07/12/04 11:00 AM Re: Finished-[6.2] Mark all read for single forum 1.0.1 [Re: sdf123]
oceanwest Offline
Enthusiast

Registered: 04/25/02
Posts: 490
Loc: Escondido, CA
Any one update this for 6.5? <img src="http://www.ubbdev.com/forum/images/graemlins/greenapple.gif" alt="" />
_________________________
FM Forums
Largest Online FileMaker Community
http://www.fmforums.com

Top
Page 1 of 2 1 2 >


Moderator:  Ian_W 
Who's Online
0 registered (), 21 Guests and 10 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Wisdom needed
by Gizmo
Yesterday at 10:54 AM
How to hide sub forums from summary page
by blaaskaak
12/03/08 09:54 AM
Spell Check [beta]
by Bill B
12/01/08 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
12/01/08 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
12/01/08 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
12/01/08 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
Truth, David DelMonte, nick1, Begbie, cenk
13364 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks