Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 6 1 2 3 4 5 6
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
I found the problem, it's with the css (runs over to colorforums thread)

Sponsored Links
Joined: Sep 2000
Posts: 159
Member
Member
Offline
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 smile

I still don't have the members-only thing done yet frown


- Allen wavey
- What Drives You?
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
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 tipsy

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 smile

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 smile


- Allen wavey
- What Drives You?
Sponsored Links
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.


- 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
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 rockband

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 smile


- Allen wavey
- What Drives You?
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
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. thumbsup

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 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
Any other ideas? I probably won't mess with a control panel if all that's needed is setting one variable tipsy


- 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
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. tipsy

I'll need to see how he did it and go from there smile


- Allen wavey
- What Drives You?
Joined: Aug 2001
Posts: 103
Member
Member
Offline
Joined: Aug 2001
Posts: 103
ah dude, i just updated to version 1.5 today and now there is a 1.6? laugh

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 smile If 1.5 is working for you, there's no big reason to update, I just cleaned it a bit more smile


- Allen wavey
- What Drives You?
Joined: Aug 2001
Posts: 103
Member
Member
Offline
Joined: Aug 2001
Posts: 103
i did and thanks for the hard work laugh it's bad enough the users on our board browse instead of working at their desk, now they have games to play. laugh

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 wink


- Allen wavey
- What Drives You?
Joined: Jul 2002
Posts: 51
Member
Member
Offline
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!!! thumbsup

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
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
Offline
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 smile

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
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
Offline
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
Offline
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 frown

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 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
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 thumbsup


- Allen wavey
- What Drives You?
Joined: Jul 2003
Posts: 46
Junior Member
Junior Member
Offline
Joined: Jul 2003
Posts: 46
Where do I d/l the new update? confused

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 smile


- Allen wavey
- What Drives You?
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
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 smile


- Allen wavey
- What Drives You?
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
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
jlm Offline
Member
Member
Offline
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
Offline
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 smile


- Allen wavey
- What Drives You?
Joined: Aug 2001
Posts: 103
Member
Member
Offline
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 smile


- Allen wavey
- What Drives You?
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Allen, would it be possible to do either this:

Quote
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 frown [/qb]
smile

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
I found a bug!...

http://www.undergroundnews.com/cgi-bin/ubbcgi/games.cgi?page=4

Page 4 of games is the exact same as page one (ok, so i was bored)!

http://www.undergroundnews.com/cgi-bin/ubbcgi/games.cgi?page=1

frown ...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
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 frown


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
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?


- Allen wavey
- What Drives You?
Page 2 of 6 1 2 3 4 5 6

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
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)