Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 4 1 2 3 4
#147734 10/16/2001 5:22 PM
Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
What does it do
This 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 Notes
1) 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. smile

Link
http://www.jordodesigns.com/PmSys.txt
OR
http://temp.jordodesigns.com/PmSys.txt

[ 10-19-2001: Message edited by: jordo ]

Sponsored Links
Joined: Aug 2000
Posts: 1,083
Kahuna
Kahuna
Offline
Joined: Aug 2000
Posts: 1,083
Nice!

Works flawlessly on my boards. smile


.::First place winner in the June 2001 Member Spotlight ::.
.::Zelda Xtreme::.
Joined: Jun 2001
Posts: 189
Member
Member
Offline
Joined: Jun 2001
Posts: 189
I'm using Beta 1.2, and there is a line I can't find in UltimateBB.cgi.

Code
code:

I tried to place the line:
Code
code:
as best I could, but I kept getting a fatal error with my cookies.

Help?

Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
in beta 1.2 add it after this:

Code
code:

Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
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.

Sponsored Links
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Great hack Jordo. I'll try it out sometime soon. smile

Joined: Jun 2001
Posts: 189
Member
Member
Offline
Joined: Jun 2001
Posts: 189
Now I'm getting this error:

Quote
quote:

Joined: Jul 2001
Posts: 272
Member
Member
Offline
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
Offline
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. smile Looks nice on Travis' board. Great example of it. smile

Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
Quote
quote:
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.

Sponsored Links
Joined: Jul 2001
Posts: 272
Member
Member
Offline
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
Offline
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
Offline
Joined: Jun 2001
Posts: 189
Quote
quote:
Any ideas for mine?

Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
Quote
quote:
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
Offline
Joined: Jul 2001
Posts: 272
Link no longer works. Need to try and add this hack on to our boards. smile

Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874

Joined: Jul 2001
Posts: 272
Member
Member
Offline
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
Offline
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
Offline
Joined: Aug 2000
Posts: 874
Quote
quote:
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
Offline
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
Offline
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:

Code
code:

and not:

Code
code:

could that causes the problem?

PS: I have installed WOL

Joined: Oct 2000
Posts: 51
Member
Member
Offline
Joined: Oct 2000
Posts: 51
works sweet gj Jordo

Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
Outback2K1 - move the section you added to public_forum_summary.pl to underneath here:
Code
code:


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
Offline
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
Offline
Joined: Aug 2000
Posts: 874
Quote
quote:
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
Offline
Joined: Feb 2001
Posts: 283
Works great for me! 6.1.0

Joined: Feb 2001
Posts: 251
Member
Member
Offline
Joined: Feb 2001
Posts: 251
Quote
quote:
I am running 6.1.0 Finall

Joined: Feb 2001
Posts: 251
Member
Member
Offline
Joined: Feb 2001
Posts: 251
OK it is working now I replaced
Code
code:

one time in stead of two times :rolleyes:

Joined: Feb 2001
Posts: 251
Member
Member
Offline
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
Offline
Joined: Feb 2001
Posts: 251
forgot something ...and the womens voice saying "you have new mail" laugh

Joined: Aug 2000
Posts: 874
Moderator / Developer
Moderator / Developer
Offline
Joined: Aug 2000
Posts: 874
Quote
quote:
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).


Quote
quote:
yea, as soon as hell freezes over, hehe. laugh laugh

Joined: Apr 2001
Posts: 214
Member
Member
Offline
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
Offline
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
Offline
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
Offline
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
Offline
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:
Code
code:


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". smile

Joined: Apr 2001
Posts: 214
Member
Member
Offline
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
Offline
Joined: Aug 2000
Posts: 874
Quote
quote:
autoinstall?? what autoinstall?

Joined: Apr 2001
Posts: 214
Member
Member
Offline
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
Offline
Joined: Oct 2000
Posts: 215
Works great for me, thanks Jordo.


Ultimate Frisbee is good for you, it improves your symbolic logic skills.
Page 1 of 4 1 2 3 4

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)