|
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 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 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
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  I've included cgi pages into php pages, but haven't tried the other way yet 
|
|
|
|
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  You'll need to set 2 paths toward the top where it says : /path/to 
|
|
|
|
Joined: Aug 2001
Posts: 103
Member
|
Member
Joined: Aug 2001
Posts: 103 |
yeah, how to we fix those upper menu errors?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
find: $MainButtonsLine = &MainButtonOptions; tie(%ULTIMATEBB, 'UBB::TiedURL'); change to 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 Zip updated with latest files, you'll need to edit lines #9 and 19 with your ubb cgi-bin paths 
|
|
|
|
Joined: May 2001
Posts: 794
Content Queen
|
Content Queen
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
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
|
|
|
|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
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?
|
|
|
|
Joined: May 2001
Posts: 794
Content Queen
|
Content Queen
Joined: May 2001
Posts: 794 |
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. Remember, I's an idgit when it comes to code! For example, Allen said something about modifying this line: $UBBPath = '/your/ubb/ubbcgi'; and this line 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
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
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  I'm at work right now, but &RequireLogin or something like it toward the top will make it members-only
|
|
|
|
Joined: Jan 2003
Posts: 16
Junior Member
|
Junior Member
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
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?
|
|
|
|
Joined: Feb 2003
Posts: 179
Member
|
Member
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 
|
|
|
|
Joined: Feb 2003
Posts: 179
Member
|
Member
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 
|
|
|
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: 254
Joined: January 2000
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|