Page Index Toggle Pages: 1 ... 3 4 [5] 6 7 ... 9 Send TopicPrint
Very Hot Topic (More than 25 Replies) [DONE] Go to last post read by user! (Read 51293 times)
Valentijn
Junior Member
**
Offline


Look @ me :D I am a wizard
:P

Posts: 53
Joined: Apr 2nd, 2002
Re: [BETA] Go to last post read by user!
Reply #60 - Apr 26th, 2002 at 11:51pm
Print Post  
Uh well...

When i click on the new icon, i go to the message. The first post of the message, but not the last one i read...

What can be the possible errors?
  

Webmaster of the biggest MAGIC THE GATHERING site of the netherlands..
Back to top
WWWICQ  
IP Logged
 
Gobalopper
Junior Member
**
Offline



Posts: 89
Joined: Jul 27th, 2001
Re: [BETA] Go to last post read by user!
Reply #61 - Apr 27th, 2002 at 3:12am
Print Post  
You must have visited a thread once previously *after* you installed the mod before the NEW link works.

Also I have YAMS installed on my board and had no problems installing.
  
Back to top
 
IP Logged
 
Taco_John
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 57
Joined: Feb 27th, 2002
Re: [BETA] Go to last post read by user!
Reply #62 - Apr 29th, 2002 at 6:59am
Print Post  
The YAMS issue is another one altogether for me...  I don't know what happened...  I installed YAMS, and it totally messed up my board...  It got rid of the polls, smilies, chat...  the works.

I'm still trying to get my board back to normal...  but have been busy building a fence for my new house...   Roll Eyes

Undecided

  
Back to top
 
IP Logged
 
newbe
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 50
Joined: Apr 28th, 2002
Re: [BETA] Go to last post read by user!
Reply #63 - Apr 29th, 2002 at 8:01pm
Print Post  
Just wanted to let you know that the mod doesn't install right out of the box in a fresh SP 1.1.

Doesn't find the code to replace...

Well, IMHO we should really have a different upload area for SP 1.1.  Cry

newbe
  
Back to top
 
IP Logged
 
Carsten
Ex Member
*****


...to much YaMS

Gender: Male
Re: [BETA] Go to last post read by user!
Reply #64 - Apr 29th, 2002 at 9:32pm
Print Post  
I just tested installation of this mod and YaMS:

  • Clean SP 1.1 + YaMS + This mod = no conflicts
  • Clean SP 1.1 + This mod + YaMS = no conflicts
  • Modded SP 1.1 incl. Poll, AMM, Calender, Yams a.o. + This mod = no conflicts


A quick visual scan of the code show absolutly no conflicts between this mod and YaMS.

Small typo in the mod code made BM 2.5 stop: enlish.lng should be english.lng
  
If you knock your head against a brick wall and hear a hollow sound, it's not necessarily coming from the wall.
Back to top
 
IP Logged
 
BHRA Webmaster
God Member
*****
Offline


Mod Author of the Year
2002

Posts: 5238
Location: BHRA Headquarters
Joined: Jan 18th, 2002
Gender: Male
Re: [BETA] Go to last post read by user!
Reply #65 - Apr 29th, 2002 at 10:33pm
Print Post  
Thanks Carsten Grin
  


World Domination, one smiley at a time!
Back to top
 
IP Logged
 
newbe
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 50
Joined: Apr 28th, 2002
Re: [BETA] Go to last post read by user!
Reply #66 - Apr 29th, 2002 at 11:10pm
Print Post  
Nah,

the mod code looks o.k. to me, but the BoardModifier keeps on showing error messages.
???

Very strange, what is going on here?  :mad2:
  

moderror.gif ( 12 KB | 99 Downloads )
moderror.gif
Back to top
 
IP Logged
 
BHRA Webmaster
God Member
*****
Offline


Mod Author of the Year
2002

Posts: 5238
Location: BHRA Headquarters
Joined: Jan 18th, 2002
Gender: Male
Re: [BETA] Go to last post read by user!
Reply #67 - Apr 29th, 2002 at 11:22pm
Print Post  
The code this mod looks for is the same code that comes with YaBB Gold, YaBB SP1 and YaBB SP1.1, so if boardmod can't find it, it must be a mod conflict.

Look in Display.pl, for this
Code
Select All
	# Mark current thread as read. 



Post the following two lines here.
  


World Domination, one smiley at a time!
Back to top
 
IP Logged
 
newbe
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 50
Joined: Apr 28th, 2002
Re: [BETA] Go to last post read by user!
Reply #68 - Apr 29th, 2002 at 11:45pm
Print Post  
[code]      # Mark current thread as read.
     ($mnum,$tmpa,$tmpa,$tmpa,$mdate) = split(/\|/,$yyThreadLine);
     &dumplog($mnum,$mdate);

[/code]

I don't catch my problem right now. I triple checked the code in Display.pl and the mod. The mod looks absolutely correct to me. I really don't see a difference, but BoardMod doesn't do the change. I'm pretty sure that the problem is somewhere here on my system, but I don't see where right now

newbe
  
Back to top
 
IP Logged
 
BHRA Webmaster
God Member
*****
Offline


Mod Author of the Year
2002

Posts: 5238
Location: BHRA Headquarters
Joined: Jan 18th, 2002
Gender: Male
Re: [BETA] Go to last post read by user!
Reply #69 - Apr 30th, 2002 at 12:02am
Print Post  
The code looks fine - just make sure there is only a single tab at the start of each line, and no spaces at the end.

If it still doesn't work, try replacing the two lines between the <search for> ... </search for> tags in the mod files with the two lines in the Display.pl file.
  


World Domination, one smiley at a time!
Back to top
 
IP Logged
 
newbe
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 50
Joined: Apr 28th, 2002
Re: [BETA] Go to last post read by user!
Reply #70 - Apr 30th, 2002 at 12:35am
Print Post  
Yes bhra,

looks like this is the only way to go. I actually don't have a clue what is going on here. Undecided If I find out, I let you know.

Anyway, thanx a lot!!!!! Thumbs Upsup:

newbe
  
Back to top
 
IP Logged
 
newbe
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 50
Joined: Apr 28th, 2002
Re: [BETA] Go to last post read by user!
Reply #71 - Apr 30th, 2002 at 1:05am
Print Post  
OK, I found the problem:

This was due to the carriage return/line feed.

In the mod file the hex code is (correctly): 0D 0A, than 09 for a single Tab.
In the file I downloaded from my server (brand new SP 1.1, no mods) the hex is: 0D 0D 0A, than 09 for a single tab.

Right now I don't know were I caught those strange CR/LF's in my system. But since I'm using my notebook right now (being a few thousand miles away from home), I may have a misconfiguration in the FTP here. Anyway, I suspect, that this is a bad team play between Windows on the notebook, Unix on the server and the FTP program I used.

Sorry!  Lips Sealed
newbe
  
Back to top
 
IP Logged
 
Taco_John
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 57
Joined: Feb 27th, 2002
Re: [BETA] Go to last post read by user!
Reply #72 - Apr 30th, 2002 at 8:11pm
Print Post  
Slick job Krikkert...  Was finally able to get my board back togerther...

Quick observation...  I had clicked "mark all threads as read."  However, when a new post was made on a thread that I hadn't *really* visited, i was taken to the front page, rather than to the newest post on the thread.  Just curious if it is able to go to the newest post in that situation...


Nice work everybody....   8)
  
Back to top
 
IP Logged
 
Gobalopper
Junior Member
**
Offline



Posts: 89
Joined: Jul 27th, 2001
Re: [BETA] Go to last post read by user!
Reply #73 - Apr 30th, 2002 at 9:18pm
Print Post  
Nope until you actually visit a thread it doesn't have any knowledge of what you have read. Making mark all as read mark all threads as being last read at the last post would be very slow and result in huge .log files if you have a fairly big messageboard.
  
Back to top
 
IP Logged
 
Taco_John
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 57
Joined: Feb 27th, 2002
Re: [BETA] Go to last post read by user!
Reply #74 - May 1st, 2002 at 1:05am
Print Post  
No problem...  I just wanted to let you know what I came across...  It looks like you were already aware of it...

GREAT MOD GUYS!   Grin

This thing is really slick.

by the way, as you probably know, the last version posted had a mis-spelling on english.lng file...

I corrected the error in the mod file, so I'm attaching it...
  

lastread-beta7.2a.mod ( 2 KB | 109 Downloads )
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 ... 3 4 [5] 6 7 ... 9
Send TopicPrint