Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
#37754 09/07/2000 1:25 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
People have requested a few times the hack that was used in the right columns on the front page that lists the most recent threads in a forum. It is written by Dave Downin and has been added to the database:
https://www.ubbdev.com/db/cgi/ubbcount.cgi?expath1=Forum8&expath2=&topic=000011&type=&number=8

------------------
Allen

- http://www.stand318.com


- Allen wavey
- What Drives You?
Sponsored Links
#37755 09/07/2000 1:31 AM
Joined: Aug 2000
Posts: 22
MrQ Offline
Member
Member
Offline
Joined: Aug 2000
Posts: 22
but for us thats not so good at cgi.....how did you get it on the right?

------------------

#37756 09/07/2000 1:54 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
It is fairly simple to use... there;s instructions included on how to use it with SSI... which is what we did.

------------------
Allen

- http://www.stand318.com


- Allen wavey
- What Drives You?
#37757 09/07/2000 1:47 PM
Joined: Aug 2000
Posts: 22
MrQ Offline
Member
Member
Offline
Joined: Aug 2000
Posts: 22
sorry to pester Allen but could you maybe put a tutorial on SSI in the tutorials section?

------------------

#37758 09/07/2000 2:32 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
Good idea, actually. Will get one up sometime this weekend.

------------------
Allen

- http://www.stand318.com


- Allen wavey
- What Drives You?
Sponsored Links
#37759 09/09/2000 4:12 AM
Joined: Aug 2000
Posts: 10
Member
Member
Offline
Joined: Aug 2000
Posts: 10
Hi [Linked Image]

I've installed active topics with no problems... but again how can i use only the topics like the ones at the frontpage of ubbdev.... any tutorials or help?

------------------

#37760 09/09/2000 12:24 PM
Joined: Aug 2000
Posts: 22
MrQ Offline
Member
Member
Offline
Joined: Aug 2000
Posts: 22
Allen is going to toss one up yayyyyyy [Linked Image]

------------------

#37761 09/09/2000 1:17 PM
Joined: Aug 2000
Posts: 10
Member
Member
Offline
Joined: Aug 2000
Posts: 10
MrQ,
Have u found the way to do it?
if so... pls HELP [Linked Image]


------------------

#37762 09/11/2000 3:08 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3


- Allen wavey
- What Drives You?
#37763 10/07/2000 10:34 AM
Joined: Sep 2000
Posts: 6
Junior Member
Junior Member
Offline
Joined: Sep 2000
Posts: 6
Does this mod work with 5.46a?

Sponsored Links
#37764 10/07/2000 12:35 PM
Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
Now you've given me an idea for my front page.

I'd like to call active.cgi via SSI to a box or frame in the front page with only the topic link and the partial text.

How do I do it? (I'll be using Front Page 2000 to do the editing)

#37765 10/10/2000 2:19 PM
Joined: Oct 2000
Posts: 2
Junior Member
Junior Member
Offline
Joined: Oct 2000
Posts: 2
hey i installed the script
but in every option i use, i can't see the first 2 topics... how come?

thnx

#37766 10/10/2000 3:11 PM
Joined: Jan 2000
Posts: 94
Member
Member
Offline
Joined: Jan 2000
Posts: 94
Discreet, it works fine in 5.46 and 5.46a. It is a seperate cgi file that you would call via a link on your website. You can also do an "include" statement via ssi and have it show up on the web page of your choice.

Note: You must be able to use ssi commands for this to work. contact your web hosting company to find out.

So include it in a webpage, put a line of code like this on your webpage. (you will need to modify the path in order for this to work)



I hope this helps

------------------
When you sin, you don't fall FROM God's grace, you fall INTO it.
Mr. Webb Network Services
MrWebb.Net UBB Hacks List


When you sin, you don't fall FROM God's grace, you fall INTO it.

Bring In The Geek Consulting Services
#37767 10/10/2000 10:04 PM
Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
Thanks. I knew that much, but how do i make it appear within a box?

#37768 10/11/2000 12:30 AM
Joined: Oct 2000
Posts: 2
Junior Member
Junior Member
Offline
Joined: Oct 2000
Posts: 2
i think i know why some topics do not appear on my page.. the topics that do not appear are from members with names like 'V|RuS and other characters i mean like ' and |

am i right? somebody know an solution?

thnx ! great site you guys got

#37769 10/12/2000 3:48 PM
Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
Thanks. I thought so. Just wasn't sure.

#37770 10/12/2000 8:00 PM
Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
OK. I got it in, but how do I get rid of this at the top of the table?

*******************************************
HTTP/1.1 200 OK Date: Fri, 13 Oct 2000 00:55:15 GMT Server: Microsoft-IIS/5.0 Content-type: text/html
********************************************

Here's the page: http://www.unitedconservatives.com/default.shtml

Thanks in advance!

#37771 10/12/2000 9:26 PM
Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
OK....

Got some of that gone.

Now I'm still left with this:
***************************************
HTTP/1.0 200 OK Content-type: text/html
***************************************

I know know it's in this code, but I'm a PERL idiot and don't know what to modify...

******************************
#If you are running UBB on IIS,
#you may need to add the following line
#if so, just remove the "#" sign before the print line below
print "HTTP/1.0 200 OKn";

eval {

($0 =~ m,(.*)/[^/]+,) && unshift (@INC, "$1"); # Get the script location: UNIX / or Windows /
($0 =~ m,(.*)\[^\]+,) && unshift (@INC, "$1"); # Get the script location: Windows

require "UltBB.setup";
require "Styles.file";
require "ubb_library.pl";
require "MCBan.pl";
require "cookie-lib.pl";
require "ubb_library2.pl";

};

if ($@) {
print ("Content-type: text/htmlnn");
print "Error including required files: $@n";
print "Make sure these files exist, permissions are set properly, and paths are set correctly.";
exit;
}

&ReadParse;
&MCBanSystem;
************************************

Removing the # in front of
#print "HTTP/1.0 200 OKn";

removed some of it.

How do I get rid of the rest of that text?

Here's the page in question: http://www.unitedconservatives.com/default.shtml


This message has been edited by NBAustin on October 13, 2000 at 11:34 PM

#37772 10/13/2000 11:24 PM
Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
Shameless bump for an answer so i can go live with my new front page....


Thanks in advance.

#37773 10/15/2000 4:15 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
You took the # sign out from that line, put it back and see if it fixes it... we run on win2k here as well and do not need to uncomment those lines...

------------------
Allen

- http://www.stand318.com


- Allen wavey
- What Drives You?
#37774 10/15/2000 4:19 AM
Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
Tried that.

Made it worse!

WITH the # there I had this:

HTTP/1.1 200 OK Date: Fri, 13 Oct 2000 00:55:15 GMT Server: Microsoft-IIS/5.0 Content-type: text/html

I removed it and got this:

HTTP/1.1 200 OK Content-type: text/html

The funny thing is, that in my regular active.cgi that I run for my last 50 doesn't do that...of course it's not being called via SSI.

I'm stumped as to why calling it via SSI in an shtml page causes this.



This message has been edited by NBAustin on October 15, 2000 at 04:28 AM

#37775 10/15/2000 4:34 AM
Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
If you like check Scriptkeeper.com and search the hacking forum for Grablatest by (Ted(not ted) Don't laugh that's his username. I use it, it's easy, plus it shows the forum name.. check here Right hand column



------------------

UBB Layout Designer/Affiliate


- Custom Web Development
http://www.JCSWebDev.com
#37776 10/15/2000 4:44 AM
Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
I tried that script as well.

I have 28 active forums, and i actually prefer the active.cgi script because it gives a teaser of what the topic/article is about.

I'd use grablatest if I knew how to get it to only show the last 5-10 posts in the entire site and the "teaser" aspect....but just the same, I had the same problem when i tried it as well.

This message has been edited by NBAustin on October 15, 2000 at 04:50 AM

#37777 10/16/2000 2:58 PM
Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
Could someone please help me?

#37778 10/16/2000 3:26 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
It looks like your webserver host might have SSI set up wrong... see what they have to say...

------------------
Allen

- http://www.stand318.com


- Allen wavey
- What Drives You?
#37779 10/17/2000 11:04 AM
Joined: Jan 2000
Posts: 395
Member
Member
Offline
Joined: Jan 2000
Posts: 395
Could this be happening because I made the host page with Front Page, and I'm running it on a NON Front Page Extensions-enabled server?

#37780 10/17/2000 6:41 PM
Joined: Oct 2000
Posts: 7
BM Offline
Junior Member
Junior Member
Offline
Joined: Oct 2000
Posts: 7
good stuff[Linked Image]


This message has been edited by BM on October 18, 2000 at 01:30 PM

#37781 11/12/2000 4:56 AM
Joined: Oct 2000
Posts: 565
Member
Member
Offline
Joined: Oct 2000
Posts: 565
I've got the same problem NBaustin...
Maybe Save To File works

------------------
"Life is easy when you fake it" - morph
GamerForums - SkinningWorld - LoadedClip - ThaMorphMan

#37782 11/27/2000 7:48 PM
Joined: Nov 2000
Posts: 2
Junior Member
Junior Member
Offline
Joined: Nov 2000
Posts: 2
We change it to "active.cgi" and then set the permissions, correct? What are the right permissions?

------------------
-Rosebud


-Rosebud
#37783 11/28/2000 4:52 PM
Joined: Nov 2000
Posts: 2
Junior Member
Junior Member
Offline
Joined: Nov 2000
Posts: 2
Please help.

------------------
-Rosebud


-Rosebud
#37784 12/09/2000 12:15 PM
Joined: Oct 2000
Posts: 15
Member
Member
Offline
Joined: Oct 2000
Posts: 15
------------------
UBB hackers is great

This message has been edited by shawnkool on December 09, 2000 at 11:16 AM


UBB hackers is great
#37785 12/20/2000 9:35 PM
Joined: Dec 2000
Posts: 595
Member
Member
Offline
Joined: Dec 2000
Posts: 595
well, again

bug

i have a user called "[KI§§] -=| W.W.®|=-". the "|" character in his name messes the display order, putting his posts above all others.

http://banco.jogosonline.com.br/cgi-bin/ubbcgi/active.cgi

[]s

------------------

#37786 12/20/2000 9:40 PM
Joined: Jul 2000
Posts: 610
Member
Member
Offline
Joined: Jul 2000
Posts: 610
Wow!!!
User with that name will mess anything on your UBB.
You can better ask him to change his nick.

------------------

Happy Holidays Everyone!!!

#37787 12/20/2000 9:41 PM
Joined: Dec 2000
Posts: 595
Member
Member
Offline
Joined: Dec 2000
Posts: 595
it didnt mess anything (yet)

his name is saved this way: [KI§§] -=| W.W.®|=-

mm
this way
Quote
quote:
oh come on now ubb
the pipe is saved in html special character code
& #0124; (just unite this; its pipe character)

------------------


This message has been edited by CopyCat on December 20, 2000 at 09:14 PM

#37788 12/20/2000 10:30 PM
Joined: Jul 2000
Posts: 610
Member
Member
Offline
Joined: Jul 2000
Posts: 610
If you will install more hacks it will be...


------------------

Happy Holidays Everyone!!!

#37789 12/20/2000 10:32 PM
Joined: Dec 2000
Posts: 595
Member
Member
Offline
Joined: Dec 2000
Posts: 595
hehe

#37790 12/26/2000 11:34 AM
Joined: Dec 2000
Posts: 3
Junior Member
Junior Member
Offline
Joined: Dec 2000
Posts: 3
Okay. I grabbed the active.txt file, and saved in my ubb directory as active.cgi. I CHMOD to 755 (even 777). I am still getting a 500 error. I changed the $digest to 3, and try calling it via SSI, and it still doesn't work. Am I missing something? I ran perl -c /cgi-bin/ubb/active.cgi and it reports the syntax in active.cgi is correct. What did I do wrong? SSI is working fine, as is the forums themselves.

#37791 12/26/2000 12:39 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
I am sure you have checked this, but sometimes it's the little things we overlook. Your path to perl is correct?

I ask this, because active.cgi is pretty much stand-alone as long as you check perl paths, upload in ascii, and set permissions to 755...

https://ubbdev.com/ubbcgi/active.cgi

------------------
Allen

- http://www.stand318.com


- Allen wavey
- What Drives You?
#37792 12/26/2000 4:18 PM
Joined: Dec 2000
Posts: 3
Junior Member
Junior Member
Offline
Joined: Dec 2000
Posts: 3
Yeah, path to Perl is fine. It's running on one of my Unix boxes. Just can't seem to get it to work.....

#37793 12/26/2000 11:46 PM
Joined: Dec 2000
Posts: 3
Junior Member
Junior Member
Offline
Joined: Dec 2000
Posts: 3
Ok, I am obviously doing something wrong. I've dropped this into 4 different installations - 3 of which were 5.45c, and one brand new, unhacked 5.47c. All I've done is copied the text to a file called active.cgi, sent it to the cgi directory that UBB is in (ASCII mode), and CHMOD to 755. Even tried CHMOD to 777 and got nothing on any of the installations - all give 500 errors. Path to Perl is correct, and the forums do work fine.

I'm missing a step here (and probably a clue). My kingdom to anyone who can help.

Page 1 of 2 1 2

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
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
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)