Previous Thread
Next Thread
Print Thread
Rate Thread
#202134 01/05/2004 11:10 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
Modification Name: ubb.index v1.5

Author(s): AllenAyres

Description: This will give you an index page you can use as a 'doorway' into your forums.

Demo: https://www.ubbdev.com/ubbcgi/index.cgi

Requirements: ubb.classic 6.7

Download Link: https://www.ubbdev.com/ubb/upload/00000494/index67.zip

Credits: Charles Capps for the excellent base code to work with thumbsup

Upload to your ubb cgi folder and set permissions to 755.

You can use Content Islands to fill out the center where it says:

HTML GOES HERE

Good luck smile


- Allen wavey
- What Drives You?
Sponsored Links
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
testing and so far so good after I added parts for the wordlet mod and the colorforums.

I know this isn't technically where it should go, but you wouldn't know how to include http://www.alforadmin.com/ubb/ubbnews.php?forum=10&threads=5 into the page, would you? I know how to do it in php pages, but not cgi/html pages

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
hmmm... you should be able to include it there like any other file, I think smile I've included cgi pages into php pages, but haven't tried the other way yet smile


- Allen wavey
- What Drives You?
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
zip file updated so that you can now place the file in any directory you can run cgi scripts in:

https://ubbdev.com/index.cgi

There's a bug with the mainbuttons links tho smirk


You'll need to set 2 paths toward the top where it says :

/path/to

smile


- Allen wavey
- What Drives You?
Joined: Aug 2001
Posts: 103
Member
Member
Offline
Joined: Aug 2001
Posts: 103
yeah, how to we fix those upper menu errors?

Sponsored Links
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
find:

Code
$MainButtonsLine = &MainButtonOptions;
tie(%ULTIMATEBB, 'UBB::TiedURL');
change to

Code
tie(%ULTIMATEBB, 'UBB::TiedURL');
$MainButtonsLine = &MainButtonOptions;

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Thanks Al, that fixed it smile

Zip updated with latest files, you'll need to edit lines #9 and 19 with your ubb cgi-bin paths smile


- Allen wavey
- What Drives You?
Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
Joined: May 2001
Posts: 794
Um, Allen? When I unzipped the zip file, I only found the index.cgi file ... nothing else ...


Sue
adwoff.com
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
lol, that's all you get!

Joined: Oct 2000
Posts: 2,667
Veteran
Veteran
Offline
Joined: Oct 2000
Posts: 2,667
just for info, the pm notification does not seem to work on the index.cgi.


Do you believe in love at first sight,
or should I walk by again?
Sponsored Links
Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
Joined: May 2001
Posts: 794
Quote
Originally posted by Ian Spence:

lol, that's all you get!
Really? I guess the way I read the first file, there was more.

Okay.

How about some instructions, then. help

Remember, I's an idgit when it comes to code! tipsy

For example, Allen said something about modifying this line:

Code
$UBBPath = '/your/ubb/ubbcgi';
and this line

Code
use lib("/your/ubb//ubbcgi/Modules", ".");
---

Let's say we were doing this for ubbdev.com ... how would those two lines appear?

AND, are there any other lines that need to be altered?


Sue
adwoff.com
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
$UBBPath = '/your/ubb/ubbcgi';

$ubbpath should be equal to your $vars_config{CGIPath}

use lib("/your/ubb//ubbcgi/Modules", ".");

should be

$vars_config{CGIPath}/Modules

so just open vars_config and update those lines accordingly

Joined: Feb 2003
Posts: 179
Member
Member
Offline
Joined: Feb 2003
Posts: 179
I'm looking for an easy means of making a members-only list of services and this mod looks to be my best bet?

Can I make this script require login?

Can I safely change to the filename from index.cgi to something else (like services.cgi)?

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Yes to both smile I'm at work right now, but &RequireLogin or something like it toward the top will make it members-only


- Allen wavey
- What Drives You?
Joined: Jan 2003
Posts: 16
Junior Member
Junior Member
Offline
Joined: Jan 2003
Posts: 16
tried to install this a couple of times but without success. I receive everytime an internal server error.

First time checked error log and it said "file has no execute permission", after that chmod file to 755 and error that error no longer appears in error log, but internal server error still remains.

what could it be?

Joined: Feb 2003
Posts: 179
Member
Member
Offline
Joined: Feb 2003
Posts: 179
how hard would it be to add recent visitors tracking to this script?

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
to show recent visitors on it or show those who are viewing it?


- Allen wavey
- What Drives You?
Joined: Feb 2003
Posts: 179
Member
Member
Offline
Joined: Feb 2003
Posts: 179
to show me those who are viewing it.

fwiw - i built a custom script from this like u suggested me once, and sits under my RSS Feeds Index. non login required demo here:

http://dragboatalley.com/cgi-bin/webfeeds.cgi?id=2

and now i'd like to see in my recent visitors admin view who's looking at my webfeeds.cgi stuff?

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
hmm.... I think LK added recent visitors to his calendar, I'll need to check it out smile


- Allen wavey
- What Drives You?
Joined: Feb 2003
Posts: 179
Member
Member
Offline
Joined: Feb 2003
Posts: 179
tks allen - i was trying to glean it out of the integrated games mod on my own, but i just couldnt seem to noodle in on the right bit

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
that one too smile


- Allen wavey
- What Drives You?

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
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 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)