#41047
04/22/2000 4:11 PM
|
Joined: Jan 2000
Posts: 31
Member
|
Member
Joined: Jan 2000
Posts: 31 |
NBAustin, Here is what I am doing with the postings.cgi file and it seems to work great: To see it in action, look here After sub Reply {add this: After sub PrepForEdit {add this After sub PostReply {add this: After sub NewTopic {add this: After sub PostTopic {add this: After sub DoTheEdit {add this: Okay I'm sure there is a better way to do this, but using the subs is the best way. You could also do the same for "delete topic sub", I do not enable it so no need to modify it. So what do you all think?------------------ Michael Butterfield Music Global Network http://musicglobalnetwork.com
|
|
|
#41048
04/22/2000 4:26 PM
|
Joined: Jan 2000
Posts: 68
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 68 |
Michael,
I see nothing wrong with where you have them in postings.cgi, and it should work fine. The only thing is, peopl should be aware that putting them there will show people posting in private forums and stuff... which is something I'd rather not have people knowing who has access to them. If that doesn't concern you, then that's probably a good place to put them!
|
|
|
#41049
04/22/2000 4:36 PM
|
Joined: Jan 2000
Posts: 31
Member
|
Member
Joined: Jan 2000
Posts: 31 |
Hi Dave, I do not have private forums enabled. I agree if you do have private forums additional coding and placement is crucial. ------------------ Michael Butterfield Music Global Network http://musicglobalnetwork.com
|
|
|
#41050
04/22/2000 4:48 PM
|
Joined: Jan 2000
Posts: 395
Member
|
Member
Joined: Jan 2000
Posts: 395 |
Thanks Michael. I had it right. It's working fine. I appreciate your help.
|
|
|
#41051
04/22/2000 5:08 PM
|
Joined: Jan 2000
Posts: 395
Member
|
Member
Joined: Jan 2000
Posts: 395 |
Works great!
NOW....
How do we get it to show people either performing a search, or reading "Today's Active Topics"?
and....how about it showing a guest registering...reading the FAQ...etc?
|
|
|
#41052
04/22/2000 5:13 PM
|
Joined: Jan 2000
Posts: 31
Member
|
Member
Joined: Jan 2000
Posts: 31 |
Cool, I'm glad to help out. It should switch from area to area really well that way. Having a couple static IP accounts helped me debug it. I would try and get that private forum issue solved, but I have to pack up now and go to Hawaii. However, I am sure I left the baseline code in good hands here on the Code Hackers Hideout. I bet by the time I come back, there will probably be 5 or more cool addons or enhancements ------------------ Michael Butterfield Music Global Network http://musicglobalnetwork.com
|
|
|
#41053
04/22/2000 5:25 PM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
The man sure knows how to make somebody jealous... have a good trip. ------------------ Allen - http://www.stand318.com
|
|
|
#41054
04/22/2000 8:22 PM
|
Joined: Mar 2000
Posts: 344
Member
|
Member
Joined: Mar 2000
Posts: 344 |
Hey Dave, Just wanted to extend a thank you for this excellent script! Now updated to the newest version (1.8), on 5.45b, and all is working perfectly here. Maybe you should take a vacation to Hawaii too. ![[Linked Image]](http://ubbcodehacking.com/ubb/smile.gif) You deserve it! ------------------ Administrator Alien Soup Forums http://www.aliensoup.com/cgi-bin/forums/Ultimate.cgi
|
|
|
#41055
04/22/2000 8:29 PM
|
Joined: Jan 2000
Posts: 825
Member / CodeFixer
|
Member / CodeFixer
Joined: Jan 2000
Posts: 825 |
Please help I installed your code V1.8 and in the main page it shows up when i click on the who is online this is what i get
Invalid header: Unknown or unsupported header
Script output was: Undefined subroutine &main::get_cookie called at online.cgi line 106.
|
|
|
#41056
04/22/2000 10:26 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
music global: that was EXACTLY it, thank you very much
|
|
|
#41057
04/22/2000 11:38 PM
|
Joined: Jan 2000
Posts: 68
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 68 |
DJLunacy - what version of UBB are you running. If your ubb_library.pl does not have the "get_cookie" subroutine in it, you'll need to add the following line with the other requires at the beginning of any script that you put a "&WriteUserSession" call in:
require "cookie-lib.pl"
|
|
|
#41058
04/23/2000 2:57 AM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Hi Dave, I have installed this hack off of a local file at http://www.mrwebb.net/ubbhacks/ but I have not been able to connect to your site at all. The version of the hack that I have is great and all but the whole deal, especially with what the Pokemon guy did would be ideal. Any idea why I can't connect to your site? Any chance that I could talk someone into e-mailing me the txt directions? Thanks in advance! ------------------ Cygnus http://www.cygnus-study.com
|
|
|
#41059
04/23/2000 12:58 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
consider the instructions emailed to you.
i also included the latest version of online.cgi just incase you didn't have it
|
|
|
#41060
04/23/2000 1:48 PM
|
Joined: Jan 2000
Posts: 825
Member / CodeFixer
|
Member / CodeFixer
Joined: Jan 2000
Posts: 825 |
|
|
|
#41061
04/23/2000 7:08 PM
|
Joined: Dec 2000
Posts: 25
Junior Member
|
Junior Member
Joined: Dec 2000
Posts: 25 |
Dave, Just wanted to thanks. Very easy to follow! I have only had my board for a couple of days and was able to install this hack the first time! ![[Linked Image]](http://ubbcodehacking.com/ubb/biggrin.gif) [font] Just one questions about this.. # Who do you want to see ip/host information? # Options available are: admin, mods, both, everyone, none # Setting this to anything other than 'none' MAY drastically increase the # load on your server. $display_host = "both"; [/font] I set mine to "none" just because of what you said, but was wondering what the options mean Thanks! Tim
|
|
|
#41062
04/23/2000 7:49 PM
|
Joined: Mar 2000
Posts: 9
Junior Member
|
Junior Member
Joined: Mar 2000
Posts: 9 |
Admin = Only admins can see IP/Host info Mods = Only mods can see IP/Host info (??) Both = Both admins and mods can see IP/Host info Everybody = Anybody can see IP/Host info None = Noone can see IP/Host info
*insert woosh sounds here*
|
|
|
#41063
04/23/2000 9:13 PM
|
Joined: Feb 2000
Posts: 11
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 11 |
I have a small problem. I have two online.cgi's installed, online.cgi and online2.cgi. online.cgi functions as a normal online.cgi, while online2.cgi is the SSI one, and I include it in a small bar over my UBB nav bar, and it refreshes every 20 seconds. Only problem is, every time it refreshes, it writes the user as "reading the onlinelist", as it would if you were reading the normal online.cgi. I tried removing the but the script then just shows nothing. How do I stop online2.cgi from writing the user session? THanks! ------------------ http://mb.pokemonabode.com
|
|
|
#41064
04/25/2000 12:40 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Dave Downin,
I must say this is one of the best hacks. And I really appreciate you taking the time to fix the minor bugs here and there. Its very easy to install.
You may want to put in the online.txt file that its been updated on a newer date. right now it still says 2/11/00 or something.
Great Job and keep it up!
|
|
|
#41065
04/25/2000 12:53 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Dave Downin, I dont know what you did to fix the cookie problem. But you fixed all my cookie problems. PM works without duplicate names and everything. Thanks Dave! Ohhh yeah quick idea. I dont know how much more you want to code into this. But how about having the users location also in the who is online. Also since there is a log of how many visiters. How about total visitors? Just a idea ![[Linked Image]](http://ubbcodehacking.com/ubb/smile.gif) Thanks again Dave.
|
|
|
#41066
04/26/2000 12:51 AM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
AWSOME!!! That is all I can say, Haven't worked on my forum in months. Now the Hacks are great. I installed the Who's Online hack in minutes and it works great. Kudos Grumbling http://www.eliteleagues.com ------------------ Nothing But Grim Determination...
|
|
|
#41067
04/26/2000 4:09 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Hi, I have been following this forum for about 3 months already and learned much of it, also had the errors with double names but that's solved too with latest release but here's what I get now:
After adding the first one, everything worked except the double name thing
now I upgraded it and the script works but ALL my msgs have the icon that they are new, and all the forums' Light are lit stating they have new msgs.
Maybe this has come before, but how do I fix this?
plz help would be appreciated.
If you want to test it at the forum itself, here it is: http://hammer.prohosting.com/~pandora0/cgi-bin/Ultimate.cgi
It's at prohosting = Slow but something for ppl who don't have their ow server nor the money to buy webhosting
Plz help me, because I love this hack and would like to have it to work without messing up the rest of the script.
Thanks
|
|
|
#41068
04/26/2000 6:18 PM
|
Joined: Jan 2000
Posts: 68
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 68 |
Redneck - I've heard of this problem, and I'm not sure what the cause of it is, because I don't have that problem on my forums. I know that this site had that problem for a while, but now it seems to be fixed. If anyone knows what the deal is, I'd love to hear how you solved it. (It's kinda hard to fix something that you can't duplicate).
|
|
|
#41069
04/26/2000 6:53 PM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
I never got this problem either.
|
|
|
#41070
04/27/2000 5:45 AM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Helios, does it works with you already now? if yes how have you fixed it? Thanks
|
|
|
#41071
04/27/2000 9:03 AM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
holy monkey!Okay, I've spent the past hour reading this entire topic and I just tried installing Dave's the hack today. So I'm guessing I have the latest version of everything. And since I'ma complete moron, I can't get it to work. Although my problem was similar to others, it's not quite the same. I'm sure it's simple and I'm going to feel even more idiotic, but it don't think it's as simple as "uploading in ASCII and setting my premissions" because I've already done that, twice. Firstly, on the "main page" I get this "Guest - There are no members, and 1 guest on the boards." Why am I being seen as a Guest? And secondly, when I click on the link I get a 500 error. I know this mean my premissions aren't set right, but I swear I have. Unless they're suppose to be something *other* than 755? Or maybe not 755 at all? I dunno. I'm so confused. Anyone willing to help? Please? http://littleginsu.net/ubb/ Oh! Okay. When I posted a msg on my board it then recognized me. However, I cleared my History and Temporary Internet File and now it doesn't know who I am. Is this just something that happens to everyone, or have I *really* messed things up? help!------------------ spoo
|
|
|
#41072
04/27/2000 11:11 PM
|
Joined: Apr 2001
Posts: 22
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 22 |
I'm an even bigger loser. I installed it tonight (so I assume I have the recent versions) but when I tried to access my forum I just got "Document contains no data" ![[Linked Image]](http://ubbcodehacking.com/ubb/eek.gif) and Undefined subroutine &main::WriteUserSession called at Ultimate.cgi line 140. Undefined subroutine &main::WriteUserSession called at Ultimate.cgi line 133. Undefined subroutine &main::WriteUserSession called at forumdisplay.cgi line 331. In my error logs..... ideas? I only did the basic install... ubb_library.pl, Ultimate.cgi, and forumdisplay.cgi I checked to make sure those scripts had the require "ubb_library.pl" line Right now I am reverted back to the previous code because I didn't want my board down.
|
|
|
#41073
04/28/2000 9:34 AM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
k solved my prob ![[Linked Image]](http://ubbcodehacking.com/ubb/smile.gif) deleted the cookie of UBB on my hd and everything works back very weird
|
|
|
#41074
04/28/2000 9:45 AM
|
Joined: Jan 2000
Posts: 68
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 68 |
OpalCat - did you follow my instructions and install the 2 subroutines (and replace one) in ubb_library.pl? Doesn't sound like you did...
|
|
|
#41075
04/28/2000 11:20 AM
|
Joined: Mar 2000
Posts: 111
Member
|
Member
Joined: Mar 2000
Posts: 111 |
This topic is getting long, 192 posts, thats the longest I've ever seen in UBB
Co-Admin of Creature World.
|
|
|
#41076
04/28/2000 12:00 PM
|
Joined: Feb 1999
Posts: 1,379
Programmer
|
Programmer
Joined: Feb 1999
Posts: 1,379 |
That's tiny. I know a post with over 100 pages. Just a thought ![[Linked Image]](http://ubbcodehacking.com/ubb/smile.gif)
|
|
|
#41077
04/28/2000 1:52 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Any suggestiongs for me? ------------------ spoo
|
|
|
#41078
04/28/2000 3:18 PM
|
Joined: Mar 2000
Posts: 111
Member
|
Member
Joined: Mar 2000
Posts: 111 |
Whoa! 100 pages? Thats long, how many posts was that?
Co-Admin of Creature World.
|
|
|
#41079
04/28/2000 8:08 PM
|
Joined: Feb 2000
Posts: 11
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 11 |
Still waiting for help... quote:</font><HR>Originally posted by dLo aZn: I have a small problem. I have two online.cgi's installed, online.cgi and online2.cgi. online.cgi functions as a normal online.cgi, while online2.cgi is the SSI one, and I include it in a small bar over my UBB nav bar, and it refreshes every 20 seconds. Only problem is, every time it refreshes, it writes the user as "reading the onlinelist", as it would if you were reading the normal online.cgi. I tried removing the <BLOCKQUOTE><font size="1" face="Verdana, Arial">code: but the script then just shows nothing. How do I stop online2.cgi from writing the user session? THanks!
------------------ http://mb.pokemonabode.com
|
|
|
#41080
04/29/2000 12:28 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
whoop!No more internal server error, but my cookies are still screwed up. ![[Linked Image]](http://ubbcodehacking.com/ubb/frown.gif) Any suggestiongs? Please? ------------------ spoo
|
|
|
#41081
04/29/2000 3:58 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
I tried installing the hack..and what I got is that it puts the "Online Users" section that is supposed to go at the bottom of the forum at every 'section' of the main page. It's kind of hard to explain, so just check it out here: http://forums.ttlg.com This is my 'experimenting' forum, I don't want to screw up my actual forum, so please let me know what needs to be fixed. Thanks in advance.
|
|
|
#41082
04/29/2000 4:52 PM
|
Joined: Jan 2000
Posts: 68
Junior Member
|
Junior Member
Joined: Jan 2000
Posts: 68 |
Gawain.... looks like you've got the code in Ultimate.cgi in the wrong place... check the directions and where you put it!
|
|
|
#41083
04/29/2000 6:33 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
So... I guess this means no one's up for helping me? It's not like I haven't been looking around and using the serach function because I am. I've tried every suggestion I was able to find and understand and still no luck. I know you guys are probably sick of answering the same stupid questions over and over again, but could you at least take a look and point me in the right direction. Thanks. ![[Linked Image]](http://ubbcodehacking.com/ubb/smile.gif) ------------------ spoo
|
|
|
#41084
04/29/2000 7:48 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Thanks, I redid it and it works! However, one more thing -- how come it shows me as "guest"? I mean, it says: "Guest - There are 14 members, and 16 other guests on the boards." Also, how do I remove the IP address listing on the guest's on the online.cgi page? I want to conserve their privacy... sorry, I'm not that much of a perl/cgi guy -- I'm an ASP guy. ![[Linked Image]](http://ubbcodehacking.com/ubb/wink.gif) Is there a solution to these? Thanks again for your help.
|
|
|
#41085
05/01/2000 10:29 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Greetings -
I am running 5.45c and I attempted to install this hack (which is the best hack so far). I am getting a blank page when I try to connect to the ubb. I followed your instructions to the T, but I usually did something silly like added a ) or forgot a ;. I have read about 100 of these pages and found nothing. I am running it on my own server (iis5.0) and played around with the print switch that you suggested. Just for giggles I put in 1 modified file at a time to try and pinpoint the page with the error in it, but each page seperately would bring up a blank page. If any of you have any suggestions, please let me know. I will give it a shot from scratch soon, but there is always hope.
joor
|
|
|
#41086
05/02/2000 2:13 AM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Okay. I'm new at all this CGI stuff, so bear with me. I've added all the code for this hack to the appropriate places. Ultimate.cgi, ubb_library.pl, forumdisplay.cgi and cookie-lib.pl have all been edited properly, as far as I can see. online.txt was uploaded and renamed to online.cgi, and the permissions set right. It works, until someone clicks on the "Currently Browsing.." link...then I get a 500 error. Oh...my server needs the .shtml extension. Now, did I miss something, and am I completely clueless? Any help would be really REALLY good. ![[Linked Image]](http://ubbcodehacking.com/ubb/smile.gif) ------------------ Tony
|
|
|
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
|
|
|
|