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.

#37794 12/28/2000 4:30 AM
Joined: Nov 2000
Posts: 1,271
Kahuna
Kahuna
Joined: Nov 2000
Posts: 1,271
alo!

was wondering if this hack (or something similar) could be added without all the SSI? meaning, could i alter it to simply list, say, the 5 most recent threads on my ultimate.cgi? (below the table? or, eventually, if this is all possible, i'd move the code into my news fader thingie, up top)

havent really checked thru the code. figured id ask if it was possible, first [Linked Image]

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

my site
my boards
second place winner in ubbdev's november spotlight

#37795 12/31/2000 4:50 AM
Joined: Nov 2000
Posts: 1,271
Kahuna
Kahuna
Joined: Nov 2000
Posts: 1,271
guess not, huh? but i REALLY really want it! c'mon, help a brotha out. lookit my damn car!!



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

my site
my boards
second place winner in ubbdev's november spotlight

#37796 01/04/2001 1:45 PM
Joined: Jan 2001
Posts: 13
Junior Member
Junior Member
Offline
Joined: Jan 2001
Posts: 13
Lmao!!!!

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

#37797 01/05/2001 3:56 AM
Joined: Jan 2001
Posts: 13
Junior Member
Junior Member
Offline
Joined: Jan 2001
Posts: 13
i cannot get this mod to work to save my life!!

i just keep getting ISE's.

i have it chmod 755 uploaded in acsii and my path to peral is correct......

plz can i get some help? lookit his car!

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

#37798 01/05/2001 8:19 AM
Joined: Dec 2000
Posts: 1
fu Offline
Junior Member
Junior Member
Offline
Joined: Dec 2000
Posts: 1
anyone got active topics to create the static page in 5.45c ? Any documentation ou there

#37799 01/05/2001 5:58 PM
Joined: Jul 2000
Posts: 1,349
Ell Offline
Member
Member
Offline
Joined: Jul 2000
Posts: 1,349
CopyCat - sounds like an a quotation mark issue. I haven't looked at the code, but try adding an equivilent line:

$UserName =~ /"/"/ig;

in somewhere. Something that performs a pattern search on the username, and replaces " with "

...If I'm just talking rubbish, feel free to flame.

------------------
If you can read this, you're posting too close!

#37800 01/06/2001 1:21 AM
Joined: Jan 2001
Posts: 13
Junior Member
Junior Member
Offline
Joined: Jan 2001
Posts: 13
borg: where do u put that code?

i have the same problem with the whos online code. it dont like the charachters - ] [ it loads a blank white page if someone has those in there name...

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

#37801 01/10/2001 11:24 PM
Joined: Jan 2001
Posts: 2
Junior Member
Junior Member
Offline
Joined: Jan 2001
Posts: 2
I managed to work around this problem by simply setting the font color to my background before I included the cgi file. That leaves an open tag, shouldn't be a problem, but you can close it if you want with a print statement inside the cgi file.

There is still some IIS setting we have wrong that makes it print that header info, but I have no idea what it might be and don't have access to the IIS control panel [Linked Image]

Quote
quote:

#37802 01/11/2001 10:15 AM
Joined: Jan 2001
Posts: 2
Junior Member
Junior Member
Offline
Joined: Jan 2001
Posts: 2
Quote
quote:

No, I'm pretty sure it's the pipes. I have a couple of users with pipes as well and active.cgi chokes on them. I think it screws up the order in this line or one like it in active.cgi:

$ordered = "$threads[10]|$threads[4]|$threads[2]|$threads[8]|$forum|$threads[7]|$threads[14]|$month-$day-$year|$hour:$min|$forum";

#37803 01/11/2001 11:13 AM
Joined: Aug 2000
Posts: 594
Member
Member
Offline
Joined: Aug 2000
Posts: 594
[Linked Image] - Dave has a nice addition to this hack.
Quote
quote:
http://www.arlo.net/ubb/hacks/

------------------
Jeremiah
FreakScene - The Dinosaur Jr Audio/Visual Archive
My UBB
In
( ((((((((((((((STEREO))))))))))))) ) )
Where Available


jeremiah
#37804 01/24/2001 11:10 AM
Joined: Jan 2001
Posts: 1
Junior Member
Junior Member
Offline
Joined: Jan 2001
Posts: 1
I made slight modifications that seemed to work. Most of the delimiter splits made use of the "|" pipe to seperate the fields instead of "||".

What I did:
Look for:
(@threads) = split(/|/,$_);

change to:
(@threads) = split(/|^|/,$_);

Look for:
$ordered = "$threads[10]|$threads[4]|$threads[2]|$threads[8]|$forum|$threads[7]|$threads[14]|$month-$day-$year|$hour:$min|$forum";

change to:
$ordered = "$threads[5]||$threads[2]||$threads[1]||$threads[4]||$forum||$threads[7]||$month-$day-$year||$hour:$min||$forum";

Look for:
(@threadheader) = split(/|/,$contents[0]);

Change to:
(@threadheader) = split(/||/,$contents[0]);

Finally,

Replace all $threaddata[2] with $threaddata[1]
Replace all $threaddata[4] with $threaddata[2]
Replace all $threaddata[8] with $threaddata[4]


Remember to back up!
Alvin.
[email protected]

Quote
quote:
This message has been edited by Alvin Koh on January 24, 2001 at 10:15 AM

#37805 01/28/2001 12:39 AM
Joined: Dec 2000
Posts: 595
Member
Member
Offline
Joined: Dec 2000
Posts: 595
that didnt work with me alvin..

hey this script opens a bunch of files..

This message has been edited by CopyCat on January 28, 2001 at 05:22 AM

#37806 01/31/2001 1:16 AM
Joined: Jul 2000
Posts: 237
Member
Member
Offline
Joined: Jul 2000
Posts: 237
hi... on my ubb i have active.cgi on my homepage like here... but the first topic on the top is blank...

only Last Updated on --20-100 at : with the bullet in front of it.

the other 4 topics (i set it to display 5) is ok... if i set it to 6 the first still blank with the stupid date: Last Updated on --20-100 at : and the 5 others are ok.

any idea?

thanks

------------------
Sorry for my english... i speak french.

TyRaN = tyranausaure



Sorry for my english... i speak french.

email:[email protected]
#37807 01/31/2001 1:17 AM
Joined: Dec 2000
Posts: 9
Junior Member
Junior Member
Offline
Joined: Dec 2000
Posts: 9
Ack...can someone please help me?

I have three sctive.cgis each one filtered differently for my front page...

Well someone with a space in their login posted....

Now it won't update at all?
I posted some tests and still no update?
Chmoded everything 755...tried 777 even...

It worked before - have no clue what changed...

Indexed and updated threads...
No errors associated with it...

Any ideas?
Is it because of his login?

My website is
http://www.thepharmforum.com/newfrontx1.shtml

Thanks!

#37808 01/31/2001 1:44 AM
Joined: Dec 2000
Posts: 9
Junior Member
Junior Member
Offline
Joined: Dec 2000
Posts: 9
Update from above post:

Deleted the active.htm file
to see if it would update

Got an error...may be that the



is not executing properly?

#37809 02/12/2001 9:51 PM
Joined: Oct 2000
Posts: 21
Member
Member
Offline
Joined: Oct 2000
Posts: 21
Quote
quote:
Quote
quote:
I got the same 500 ISE on mine as well. I call up the active.cgi via the browser alone. Ive tried all the settings in the active.cgi file. Path to perl is set right and I dont need ssi for this yet. And nothing but ISE errors. What is the remedy for this problem. Thanks.

#37810 06/06/2002 11:52 AM
Joined: Jun 2002
Posts: 2
Junior Member
Junior Member
Offline
Joined: Jun 2002
Posts: 2
Bringing back an old topic here...

Does anyone have a hack for the Active Topics that supports multi-page threads? The only version I've seen (and the one talked about here) will always go to the first page, regardless of how many pages the thread actually has.

Any help with this one would be greatly appreciated, fellas.

Thanks in advance,
TomKWS

#37811 06/13/2002 3:57 PM
Joined: Jun 2002
Posts: 2
Junior Member
Junior Member
Offline
Joined: Jun 2002
Posts: 2
*bump*

D00dz, any help would be seriously appreciated.

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
isaac
isaac
California
Posts: 1,157
Joined: July 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)