|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
I found the problem, it's with the css (runs over to colorforums thread)
|
|
|
|
Joined: Sep 2000
Posts: 159
Member
|
Member
Joined: Sep 2000
Posts: 159 |
Works perfectly for me! Thanks so much.
|
|
|
|
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're welcome I still don't have the members-only thing done yet 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
doing the member's only thing, does that mean IP's that are banned can't access it?
Also, what kind of code would I need to edit Game wordlets in the cp?
|
|
|
|
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 should check banned ip's, but since it's not done yet, I don't know if it will I didn't make anything to where you had to edit ubb code to use this modification, there's lots of sites who can't modify base code (those running beta's for example), so I made it to set a couple variables and upload to run. It might be possible in the future to have a cp integrated into this itself, but that's probably a couple to three versions into the future My first goal would be to limit it to regged/logged-in users to minimize bandwidth issues. My second goal is to develop an .htaccess file to keep other sites from hotlinking to your files (jpg/gif/swf). Any input is welcome from those with the skill sets to write it 
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
oh, to answer more your wordlet question, you can edit them directly for now until I can add a 'cp' at some point in the future.
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
ok, borrowed from LK's shoutbox code to get a 'members only' status. Please test and let me know how it turns out. I've tested here: http://www.praisecafe.org/ubbcgi/games.cgi and it seems to be working fine ps: with the next release, I'll have the games and the ubb files in different download zips so you don't have to dl 2mb each time I update 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
I used beyond compare (just found out what that was, kept hearing about it) to make it work with css, and it does work. I logged out and it told me to log in. 
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
ah cool, thanks WA 
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
Any other ideas? I probably won't mess with a control panel if all that's needed is setting one variable 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
how about something liek DPK's smiliemod. It scans noncgi/games for swf/dcr files, and gifs/jpgs, and allows you to add those without writing in the actual games.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 |
whooo, that'd be good... tho possibly way outta my range of coding skills. I'll need to see how he did it and go from there 
|
|
|
|
Joined: Aug 2001
Posts: 103
Member
|
Member
Joined: Aug 2001
Posts: 103 |
ah dude, i just updated to version 1.5 today and now there is a 1.6? wassup? i'm on dial up here!
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
just download the 6kb zip... it's the only files updated  If 1.5 is working for you, there's no big reason to update, I just cleaned it a bit more 
|
|
|
|
Joined: Aug 2001
Posts: 103
Member
|
Member
Joined: Aug 2001
Posts: 103 |
i did and thanks for the hard work  it's bad enough the users on our board browse instead of working at their desk, now they have games to play. 
|
|
|
|
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're welcome - yes, they're addicting 
|
|
|
|
Joined: Jul 2002
Posts: 51
Member
|
Member
Joined: Jul 2002
Posts: 51 |
Trying to link it at the top and I get the seperation line but no link. Here is what I have... [code][/code]Any know what I may be doing wrong??? Thasnk and GREAT hack!!! 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
did you do the second part to what I said earlier?...
[code][/code]edit: your link is wrong too. do both of what I said
|
|
|
|
Joined: Jul 2002
Posts: 51
Member
|
Member
Joined: Jul 2002
Posts: 51 |
Thanks for the reply Al... I did it as you said and played with it a few other ways and I cannot get the link to show. I c/p the code you listed above... I have Calandar and wordlet mods installed. No errors, just simply not there. I may be confused, what was the "second part of what I said earlier"... that may be what I am missing. Thanks for the help 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
I was making sure you added the line to vars_wordlets_mods.cgi If it's not added, you'll get a separator, but no link
|
|
|
|
Joined: Jul 2002
Posts: 51
Member
|
Member
Joined: Jul 2002
Posts: 51 |
Al... Yes, I have it. I'll try it again, I am sure I missing something obvious.
The help is most appreciated!!!
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
Hey Allen, I was wondering how I would go about games.cgi using the $show_logout from public_common.pl. It would be nice to be notified of a pm on the games page too, because sadly, that's where a lot of my members spend their time 
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
a new version is in the works 
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
OK, thanks to Burak for some great work, it's now updated so that it scans your /games folder for .gif files and loads them as icons with links to your games.swf files - You must name the icon and the .swf with the same name for this to work correctly (ex: crash.gif and crash.swf). Have fun... now you can upload most any flash game for playing and specify how many games per page you'd like to appear. Thanks Burak 
|
|
|
|
Joined: Jul 2003
Posts: 46
Junior Member
|
Junior Member
Joined: Jul 2003
Posts: 46 |
Where do I d/l the new update? 
|
|
|
|
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's always linked in the first post - the large dl is the games files, the smaller one is the ubb cgi files 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
Allen, I tried doing Battleships.gif and Battleships.swf and it did not work. After playing around, these are the things that work.
format for getting it to work
{gamename}bigicon.(gif/jpg) < image {gamename}.swf < gamename must be lowercase there.
that's the only way I'm getting them to work
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
ok, lowercase then? I haven't linked all ours here yet 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
any chance of getting the PM envelope to show up when we have a PM? maybe as an addon or something
|
|
|
|
Joined: May 2003
Posts: 40
Member
|
Member
Joined: May 2003
Posts: 40 |
I've done everything by the instructions but i get this
FYI I can not open games dir for reading: No such file or directory
|
|
|
|
Joined: May 2000
Posts: 1,356
Addict
|
Addict
Joined: May 2000
Posts: 1,356 |
open games.cgi and set the options correctly. Directory option must be an existing physical path...
|
|
|
|
Joined: Aug 2001
Posts: 103
Member
|
Member
Joined: Aug 2001
Posts: 103 |
i cannot get this mofo working:
dir => "/u292/ncfb/ubb/games", url => "http://myhost.com/ubb/games", max => 8, prg => 'http://myhost.com/cgi-bin/games.cgi', members_only => 0, );
all the file permission are set correctly, just won't load the page.
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
where do you have it installed? It's not on your fbody site, please post a link 
|
|
|
|
Joined: Aug 2001
Posts: 103
Member
|
Member
Joined: Aug 2001
Posts: 103 |
Yes, I reverted back to good ol' version 1.3 since I couldn't get it to work.
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
upgraded to 2.1, small bugfixes and combination of games.cgi and lib_games.cgi A little more is coming, should be ready this weekend (late) or early next 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
Allen, would it be possible to do either this: quote:
Originally posted by Weird Al: any chance of getting the PM envelope to show up when we have a PM? maybe as an addon or something
or: quote: [qb]Originally posted by Weird Al: Hey Allen, I was wondering how I would go about games.cgi using the $show_logout from public_common.pl. It would be nice to be notified of a pm on the games page too, because sadly, that's where a lot of my members spend their time [/qb] 
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
|
|
|
|
Joined: May 2000
Posts: 1,356
Addict
|
Addict
Joined: May 2000
Posts: 1,356 |
actually it is not the same. page 4 is an "unknown" page and games.cgi prints page 1 instead of giving an error... the bug is the extra page 4 in the links... try this one . It'll print page 1 install the new version (2.1)...
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
still gives same error 
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
WA, I've tried it multiple times, be my guest if you can find the fix for it.
Gizzy, what error are you talking about? Do you have more games than 3 pages worth?
|
|
|
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
|
|
|
|