yes, I use that mod, and I can cheat on my own forum.  From my localhost, I run the following cheat.php (doesn't need to be php, any web server will do, i.e. its simple html) page.  Just change the action to your newscore.php url location, then enter the game name and desired score:

<html>
<Body>
<form action="http://www.sample.com/newscore.php"  method="post">
game_name <input type="text" name="game_name" /> <br />
score <input type="text" name="score" /> <br />
<input type="submit" value="go" />
</form>
</body>
</html>

smile

There are several things that need to be done to the arcade_play and newscore.php page in that mod, (I haven't bothered, because my users haven't bothered and /or aren't informed enough to cheat).

27

(4 replies, posted in PunBB 1.2 troubleshooting)

Look for #006FC9 as one of your background-color and change it to #7F0700.

I fixed it.

for anyone curious, I had to change all ocurrences of

$HTTP_POST_VARS

to

$_POST

Challe wrote:

I'm want to use the Mod below

##
##        Mod title:  Punbb Arcade Mod
##
##      Mod version:  ?
##   Works on PunBB:  1.2.12
##     Release date:  2006/10/12
##           Author:  ANGO
##
##      Description:  This mod add flash games to your punbb forum it also has a high score system.                  
##
##       Affects DB:  Yes
##
##   Affected files:  none
##
##            Notes:  This Mod Comes with 10 Pre-installed Games. Additional games come as extension.
##
##       Disclaimer:  "Punbb Arcade Mod" is not officially supported by PunBB.
##                    Installation of this modification is done at your
##                    own risk. Backup your forum database and any and all
##                    applicable files before proceeding.
##
##          License:  Punbb Arcade Mod is free software; you can redistribute it
##                    and/or modify it under the terms of the GNU General
##                    Public License as published by the Free Software
##                    Foundation; either version 2 of the License, or
##                    (at your option) any later version.
##                    Each flash game are the property of their authors.
##
##     Contributors:  PANDARK, DHARMIL, NICO_SOMB 
##              
##

Installed it at my old host (thats my test forum now), worked fine.

After that I installed it to my new webspace, and it first seemed to work too... but now, when I want to submit any highscore I get the following error:

File:
Line:

PunBB reported: You do not have permission to access this page.

Enabled Debug, but I don't really find something suspicious, errot page shows nothing.

After that,  I installed a complete new punbb1.2.15 to just find out if it's an database error or something like that.
Same error there...could this be an issue in phph.ini? I do not really know about that stuff. sad

Has anyone figure this out.  I have the same thing, where I get the "No Permission" error when submitting a high score.

What I've noticed is that there are 2 places to get this error.  One is at the top of the newscore.php page where it checks to see if you are a guest or not, and the other is  when it checks to see if you have a score and game_name:

Around Line 22

if(!empty($game_name) && !empty($score))

It then goes into the logic for updating the score, but the else on this if statement  is:

else

{
     error($lang_common['No permission']);
    

}

and I have changed this to show the $game_name and $score variables as a message instead, which are blank. This tells me that the name and score are not getting passed.

Is there something I need to change on the arcade_play.php page to make sure these values get passed?

Thanks.

30

(5 replies, posted in PunBB 1.2 show off)

sirena wrote:

Hi again.

I do agree that it's rather flat, but I have a hard time adding subtle texture, partly because I don't what are good background or border image or styles, and partly becaue I'm slightly design impaired.

As someone who is also a little design impaired, I always find it useful to play around with one of the many punbb styles downloadable from punres.org.

One attractive style that could probably be adapted to your needs for example (ie it's primary colours are red) would be something like RedLife for PunBB 1.2: http://www.punres.org/viewtopic.php?id=3770 . Just dump the (rather large) header image, dump the crazy body background image, add your own header image and adapt the title font and size, and you have could another style option for your users.

Maybe also have a look at http://www.arsamania.ru/forum/ - a Russian fan site for British soccer team Arsenal. It is a very nicely styled punbb forum that is similar in concept to your Redsox site, and the Arsenal colours are even the same as the redsox ones. The developer adapted one of the VB style themes from punres to get his look, and it works well.

A final snippet: while the forum width has been reduced from 100%, the whole forum is still left aligned, so I now only see a space on the right-hand side only of the forum. The whole forum probably needs to be centred, or equal padding applied to both left and right of the main box containing the forum.

Agreed that a WYSIWYG editor mod makes a big difference to users, esp non-tech or casual ones. Pity they add weight though to the page. Which one did you use?

Thanks for those links.  I liked that soccer site and I "borrowed" a lot (okay all) of it.  So thanks to them, too.  It looks so much nicer now!

I used this mod for the rich text:

http://punbb.org/forums/viewtopic.php?id=16130

mostly because it was the first one I found and it was really simple to integrate.  It works very well.

31

(5 replies, posted in PunBB 1.2 show off)

sirena wrote:

Likes:

- fast
- variable not fixed width
- easy to read fonts

Maybe-could-be-better:

- design is a bit stark and flat. Could do with some more accenting (eg introducing a few more colours that are complementary to your core grey and red palette, using a gradient background image in some CSS elements, subtle shadow effects here and there etc). This can be done with no performance hit at all
- maybe also could use a (well chosen and fast, small compressed JPG, centred) redsox image (logo, player image etc) as the header background
- not so fond of forum width going 100% - maybe 96% to allow left and right to be set back from the page edge a bit  would look a bit better
- announcement box doesn't stand out distinctively enough. Maybe give it a light grey border or something
- banner ad at the bottom would work better centred rather than left aligned

Good feedback.  Thanks.  I've done some of the easier (for me) suggestions here.  I centered the banner, and I also fixed some of the colors which turned out to be inconsistent between IE and FF. 

I do agree that it's rather flat, but I have a hard time adding subtle texture, partly because I don't what are good background or border image or styles, and partly becaue I'm slightly design impaired.

In the meantime, I added the WYSYG editor mod, which I think adds a lot of value to the users.  They won't really need any BB Code at all, and it adds a lot of style elements many more than the one that  I either did or would have had to have coded into the parser myself.  It also makes managing smilies so much easier, because you can just drop them in the folder and it dynamically adds them to the list.  It does slightly slow down the page, however, but I think my site is fast enough that its worth it.

Thanks again for the feedback and i always welcome more from anyone.

Cheers.

This is a forum where some acquaintances of mine talk mostly about the Red Sox (hence all the default red) and other boston sports teams. 

It's a pretty straightforward punbb, but I have added  personal messaging, clickable smilies on posting, and an integration to media wiki.

Caution:  some of the threads may be NSFW.

Thanks.

Edit: Yeah,  it would be helpful if I put the link, right?

http://www.lurkernation.com