|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
What does it doThis hack adds a new row at the bottom of your main forum page (ultimatebb.cgi) that informs members of how many unread Private Messages they have. It works without breaking the cache in any way. Additional Notes1) Read the instructions carefully, there are a few sections that you will do or not do depending on whether you have whos online installed. 2) This does not yet work with the PHP accelerator (to my knowledge). Either ill do that as soon as i have a chance, or if someone else wants to feel free. Link http://www.jordodesigns.com/PmSys.txt OR http://temp.jordodesigns.com/PmSys.txt [ 10-19-2001: Message edited by: jordo ]
|
|
|
|
Joined: Aug 2000
Posts: 1,083
Kahuna
|
Kahuna
Joined: Aug 2000
Posts: 1,083 |
Nice! Works flawlessly on my boards. 
|
|
|
|
Joined: Jun 2001
Posts: 189
Member
|
Member
Joined: Jun 2001
Posts: 189 |
I'm using Beta 1.2, and there is a line I can't find in UltimateBB.cgi. I tried to place the line: as best I could, but I kept getting a fatal error with my cookies. Help?
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
in beta 1.2 add it after this:
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
Your file confused me quite much, can you please make two seperate files with boards with and without who's online? Thanks.
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Great hack Jordo. I'll try it out sometime soon. 
|
|
|
|
Joined: Jun 2001
Posts: 189
Member
|
Member
Joined: Jun 2001
Posts: 189 |
Now I'm getting this error:
|
|
|
|
Joined: Jul 2001
Posts: 272
Member
|
Member
Joined: Jul 2001
Posts: 272 |
I've hacked those files but still no luck. Will retry later tonight.
|
|
|
|
Joined: Jul 2001
Posts: 272
Member
|
Member
Joined: Jul 2001
Posts: 272 |
Still no luck. Just won't show up on the page. Where could I be going wrong? I don't know if this is where the problem is but here's a snippet from my ultimatebb.cgi file: use UBBCGI qw(:cgi); # CGIPath/Modules/UBBCGI.pm use UBBCGI::Carp qw(fatalsToBrowser set_message); use vars qw(%vars_whos_online @Ell_cookie $invisible_pref @people); use vars qw($new_pms); use vars qw(%vars_wordlets_mods); # CGIPath/Modules/UBBCGI/Carp.pm As you can see the use vars qw($new_pms); is above the vars_wordlets mods. Travis or Jordo..help would be most appreciated.  Looks nice on Travis' board. Great example of it. 
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
that all looks fine. note that by default it shows up at the bottom of the main forums page below the forums, not where Travis has it. also be sure to clear the cache then look again.
|
|
|
|
Joined: Jul 2001
Posts: 272
Member
|
Member
Joined: Jul 2001
Posts: 272 |
by default my WOL is on the bottom, not on the top. Can I put the PM INBox System 1.1 there?
Even with system cache cleared its still not there. And I think its because of the above statement.
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
Splitfyre - the javascript isnt even showing up in the source for your main forums page. so i would think that the section added to public_forum_summary.pl has not been added in the right place/the changed file wasnt uploaded/uploaded in the wrong dir, or something of that sort. so recheck that file.
|
|
|
|
Joined: Jun 2001
Posts: 189
Member
|
Member
Joined: Jun 2001
Posts: 189 |
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
No i really have no clue...the BEGIN statement is lines 24-26 theres nothing like it around 505. ??? the lowest version ive installed it on is 1.4, and it worked perfect. so unless they changed something major between 1.2-1.4 i dont know what it could be. remove it and see if your boards work, then re-add it carefully.
|
|
|
|
Joined: Jul 2001
Posts: 272
Member
|
Member
Joined: Jul 2001
Posts: 272 |
Link no longer works. Need to try and add this hack on to our boards. 
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
|
|
|
|
Joined: Jul 2001
Posts: 272
Member
|
Member
Joined: Jul 2001
Posts: 272 |
PM Inbox shows in the bottom corner, but I tested it and it won't indicate a number of messages someone has. If you click on the PM Inbox Link at the bottom tho it will show that there are messages waiting.
What do you think it could be Jordo?
- Split -
|
|
|
|
Joined: Sep 2001
Posts: 6
Junior Member
|
Junior Member
Joined: Sep 2001
Posts: 6 |
Just intalled this into 6.1.0 final release, and it doesn't do anything.
Errrg!
Sounds like a good hack too.
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
be sure you uploaded the modified public_forum_summary.pl, that you cleared the cache, and that you are viewing the ultimatebb.cgi page, not a category only page...
|
|
|
|
Joined: Jun 2001
Posts: 50
Member
|
Member
Joined: Jun 2001
Posts: 50 |
How do I put it at the top under the Status Bar?
PS. I just remembered the Q's Forum...sorry if I should have put this there instead...
|
|
|
|
Joined: Feb 2001
Posts: 251
Member
|
Member
Joined: Feb 2001
Posts: 251 |
HI, I just installed it on my new 6.1 forum I am getting a error that there is something wrong in the ultimatebb.cgi. there is something strange do, in my ultimatebb.cgi I have the following: and not: could that causes the problem? PS: I have installed WOL
|
|
|
|
Joined: Oct 2000
Posts: 51
Member
|
Member
Joined: Oct 2000
Posts: 51 |
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
Outback2K1 - move the section you added to public_forum_summary.pl to underneath here: maurice - arent those exactly the same? there are a couple of steps that have alternates for people who have whos online installed. just be sure to read the stuff next to Find:, etc carefully and it will install fine even with whos online installed.
|
|
|
|
Joined: Feb 2001
Posts: 251
Member
|
Member
Joined: Feb 2001
Posts: 251 |
hi jordo,
sorry I pasted the wrong code ..lol I rehacked it and I keep getting the same error, This is the error:
Software error: BEGIN not safe after errors--compilation aborted at /ext/l/la/latinfreestyle.com/cgi-bin/ultimatebb.cgi line 475.
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
6.1.0 beta 1.2 or below right? sorry but im just gonna tell you to upgrade. there are some new things this takes advantage of i suppose that werent there in the pre 2.0 betas (though it works on a 1.4 for me)...
|
|
|
|
Joined: Feb 2001
Posts: 283
Member
|
Member
Joined: Feb 2001
Posts: 283 |
Works great for me! 6.1.0
|
|
|
|
Joined: Feb 2001
Posts: 251
Member
|
Member
Joined: Feb 2001
Posts: 251 |
I am running 6.1.0 Finall
|
|
|
|
Joined: Feb 2001
Posts: 251
Member
|
Member
Joined: Feb 2001
Posts: 251 |
OK it is working now I replaced one time in stead of two times :rolleyes:
|
|
|
|
Joined: Feb 2001
Posts: 251
Member
|
Member
Joined: Feb 2001
Posts: 251 |
Can you also modify it so it fits the forum better like LK's board
|
|
|
|
Joined: Feb 2001
Posts: 251
Member
|
Member
Joined: Feb 2001
Posts: 251 |
forgot something ...and the womens voice saying "you have new mail" 
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
just move the section around in the template. its all just html/javascript in there so you can really put it anywhere you want (note that it also doesnt just have to be in the forum_summary template, it can be in any template). yea, as soon as hell freezes over, hehe. 
|
|
|
|
Joined: Apr 2001
Posts: 214
Member
|
Member
Joined: Apr 2001
Posts: 214 |
I tried with cache on, cache off, cleared cookies. Hacked worked great when i installed, said I had 0 mail. After I received my first PM, replied and deleted it, it remains i have 1 PM message... any idea?
Dunno if this has to do with your hack, which i doubt,
1. When a user reads a pm i sent, it still states that the user never read
2. Every now and then I get Member Profile Number not found error after it successfully sends the message. ( Member profile exist and its not at 0 bytes )
Anyone Any Idea???
|
|
|
|
Joined: Oct 2001
Posts: 10
Junior Member
|
Junior Member
Joined: Oct 2001
Posts: 10 |
works okay cept now when i update my profile to set the number of topics per forum display, it wont work until i login and out again, I'm presuming this is cookie problems.
Otherwise hack works flawlessly.
|
|
|
|
Joined: Apr 2001
Posts: 214
Member
|
Member
Joined: Apr 2001
Posts: 214 |
Yup golden, i reset the cookies and login and logged off. After the first time back it worked, a few more time back on the boad the same problem, it is indeed a cookie problem. An annoying one heheh I even had to change my PM notice to read this....
» Your Private Mail Inbox: You have 0 New Message , if this damn thing works!.... Click and check anyways!
|
|
|
|
Joined: Jul 2001
Posts: 29
Junior Member
|
Junior Member
Joined: Jul 2001
Posts: 29 |
For some reason I can't get this hack to work on my 6.1.0.2 board. I've tried three times and it keeps crashing it. Any help would be GREATLY appreciated! My board is here: http://www.freedominion.ca/cgi-bin/ubb/ultimatebb.cgi
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
Raichu Babai - make sure you added everything in ultimatebb.cgi correctly according to the instructions for those with whos online installed, especially this part: golden dude - ill look into it. conniew - the error msg you get would help. or what goes wrong. i cant do much troubleshooting from "it crashes". 
|
|
|
|
Joined: Apr 2001
Posts: 214
Member
|
Member
Joined: Apr 2001
Posts: 214 |
Yup that was it. The Autoinstall didnt add that part even when it said it was hacked.. I had to add that manually. Works great now, thanks...
|
|
|
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
autoinstall?? what autoinstall?
|
|
|
|
Joined: Apr 2001
Posts: 214
Member
|
Member
Joined: Apr 2001
Posts: 214 |
NM im a bonehead lol.... was thinking of something else....
But its fixed due to a bonehead move there were 2 instances of that line, was put on the wrong one...
|
|
|
|
Joined: Oct 2000
Posts: 215
Member
|
Member
Joined: Oct 2000
Posts: 215 |
Works great for me, thanks Jordo.
Ultimate Frisbee is good for you, it improves your symbolic logic skills.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|