News:

Join the Facebook Fan Page.

Main Menu

SMFChess

Started by feeble, February 29, 2008, 11:51:29 PM

Previous topic - Next topic

Sabre™

#20
Quote from: Godsongz on March 03, 2008, 12:40:34 PMbut each user can override with their own favorite colors or pieces or board size.

Ahhh  yes I see.
I have altered the code in the custom template, so users do not have this option anymore.
I will randomly change the board and pieces myself. Say once a month, to keep the excitement alive. Nothing like playing with new pieces on a new board ;)

I however am stumped on one thing.
And that is where EXACTLY do I put the chessblock folder.
Yes the root of the forum etc..
But where??
I've ftp it to almost every section in my c/panel.  But no success.
Could someone leave a direct line please :)

Thank You in advance
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Godsongz

#21
Quote from: Sabre™ on March 03, 2008, 01:02:33 PMI have altered the code in the custom template, so users do not have this option anymore.
I will randomly change the board and pieces myself. Say once a month, to keep the excitement alive. Nothing like playing with new pieces on a new board ;)

I would tend to agree with you, however there will be some who don't.  You might want to reconsider leaving the user-specific settings option in place.  There will always be some players who crave consistency.

Quote from: Sabre™ on March 03, 2008, 01:02:33 PMI however am stumped on one thing.
And that is where EXACTLY do I put the chessblock folder.
Yes the root of the forum etc..

Shallower actually.  I had to put my chessblock folder at the root of my domain, not the root of my forum, to get it to work.

Godsongz

Quote from: sipko on March 03, 2008, 12:14:44 AM
Hi,

One of my members posted in the Quick Challenge by mistake and wants his post there removed. How can I delete/remove that person's challenge?

I've tried all sorts of things with no luck like uninstalling the mod, deleting the mod files, and starting with a fresh install, but still the person's challenge shows up.  

Hmm, I don't think there is an easy way to delete an unanswered quick-challenge.  Maybe Feeble will add that to the tweak-list :)  In the meantime, you can always answer the person's challenge, make a move in the game so the status will be set to "In-Progress", and THEN you'll be able to delete the game from the Current Games list.

weightman

You should be able to delete unanswered challenges since I did so before. I forget where though and I don't have any to look at right now. Maybe in the challenge or current page...

Godsongz

I know that unanswered challenges that are directed at a specific person can be easily deleted, but I don't see a place to delete unanswered "Quick-Challenges".

Godsongz

I wonder, should this thread be locked and abandoned in favor of the new officially released mod thread?

weightman

#26
Yea, I could be mistaken. Sorry if I posted inaccurate info.

feeble

Thanks for everyone's support, and if you are new to this mod, Welcome.
Also I just want to give my thanks to the SMF Team, for checking over the mod and everything they have done to help out, I'm really grateful.

Quote from: sipko on March 03, 2008, 12:14:44 AM
Hi,

One of my members posted in the Quick Challenge by mistake and wants his post there removed. How can I delete/remove that person's challenge?

I've tried all sorts of things with no luck like uninstalling the mod, deleting the mod files, and starting with a fresh install, but still the person's challenge shows up.   
Sorry about this I'll add this to the upcoming patch

In the mean time, I would use Godsongz advice
QuoteIn the meantime, you can always answer the person's challenge, make a move in the game so the status will be set to "In-Progress", and THEN you'll be able to delete the game from the Current Games list.

Quote from: Sabre™ on March 03, 2008, 01:02:33 PMI have altered the code in the custom template, so users do not have this option anymore.
I will randomly change the board and pieces myself. Say once a month, to keep the excitement alive. Nothing like playing with new pieces on a new board ;)
Again what Godsongz said.
Also keep in mind the User Settings Page is also where a user can disable move PM updates, disable Quickplay, and increase the piece size if they require it a little bigger.

Quote from: MinasC on March 03, 2008, 12:16:48 PM
finally your mod is out feeble , my congrats my friend , we have all been waiting for this a long time ! that is really a great mod ! installation and translation in greek (don't think i forgot my promise) is the first thing i am doing once i get my home internet connection back !
Hey MinasC, how have you been?
That would be lovely mate, I'll upload a Language pack when I get home tonight to hopefully help smooth out the process.

Quote from: Sabre™ on March 03, 2008, 01:02:33 PMI however am stumped on one thing.
And that is where EXACTLY do I put the chessblock folder.
Yes the root of the forum etc..
I'll add the chessblock folder into the package to help you out with this.(Ill do this in the next couple of days)
But you should just have to upload it to your main forum folder(where the SSI and index files are)



Ok, now the news.
I'm a little behind schedule at the moment since I wasn't expecting this mod to be approved of for another week or 2.(I'm not bitter)
I've been working on a 1.1 patch to bring everyone up to the same version.
-I'll be adding the option to cancel quick challenges request by sipko
-adding the chessblock folder into the main package
-making a few adjustments to pawn promotion, hasn't been completed sussed out yet, but essentially you will only be able to promote to pieces that you have lost. This might only be only as an option thou or for a particular variation only.
-adjustments to castling, still a few bugs to iron out

Going to be adding a few new variations as well, can't really decide on which ones thou.
If you want, head here
If there is one that takes your fancy, I'll add it in.
Keep in mind that I can't do any variations that contain new pieces(I've been looking into this thou, so who knows)
I like the looks of Wild 5 (#17)


In regards to SMFChess for SMF 2. I'm still looking into this, my issue with this at the moment is that I don't want to be working on two different versions. So what I'll probably do is release this patch, and that'll be it. Anything new will be put into the version for SMF 2.
So if there is something missing or that you want still for SMFChess. Please speak up.
I don't have an ETA on the patch, Uni just started again this week which takes priority.

In regards to modification requests, new chess sets, code requests or support. There are several options avaliable, either post in this thread, In the old thread, Over at Bigguys SMFHelper, or at my own site(Which isn't completed yet)
Just keep in mind that if you post over at SMFHelper or my site, you will probably get a more personal response as its easier to write out a proper response when it has its own thread.)

feeble

Thanks guys.

Quote from: Godsongz on March 03, 2008, 02:31:55 PM
I wonder, should this thread be locked and abandoned in favor of the new officially released mod thread?
Umm, don't really mind, i still continue to check this thread, and answer any questions, but I'll be posting anything new updates in the other thread.

Sabre™

Sorted.
Cheers Godsongz.
I also had to install the "chessblock"  folder outside of the forum folder.
Will wait for your patch.

It would be great, if someone found pieces like [THESE] to install.
If it was at all possible.
But great mod mate :)

Thank You very much.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Gargoyle

LOVE THE GAME!!! Great Mod!!

Lord Anubis

#31
Congrats on your mod being accepted (It is definitely a great addition!)

Lord Anubis

Sabre all you have to do is change the code for the chess block


global $scripturl, $context;
echo '

<img src="/chessblock/forum/chess.png"/> <a href="', $scripturl ,'?action=chess">My Chess Stats</a><br />
<img src="/chessblock/forum/challenge.png"/> <a href="', $scripturl ,'?action=chess;u=', $context['user']['id'] ,';sa=challenge">Challenge</a><br />
<img src="/chessblock/forum/matches.png"/> <a href="', $scripturl ,'?action=chess;u=', $context['user']['id'] ,';sa=current">Current Matches</a><br />
<img src="/chessblock/forum/matches.png"/> <a href="', $scripturl ,'?action=chess;u=', $context['user']['id'] ,';sa=finished">Finished Matches</a><br />
<img src="/chessblock/forum/leader.png"/> <a href="', $scripturl ,'?action=chess;u=', $context['user']['id'] ,';sa=leaderboard">Leaderboard</a><br />
';

sipko

Thanks. I'll take another look. 

Sabre™

#34
LOL  Lord Anubis.

After I had some rest, that obvious solution popped into my head!! LOL
C'mon mate, I've had 5 hours sleep in the last 32..      Give me a break!!  LOL

But I inserted it into the forum dir.
Your line shows it outside the forum dir.

So instead of

<img src="/chessblock/forum/chess.png"/> <a href="', $scripturl ,'?action=chess">My Chess Stats</a><br />

I have

<img src="/forum/chessblock/chess.png"/> <a href="', $scripturl ,'?action=chess">My Chess Stats</a><br />

And so on and so forth..

Gotta make sure I dont code after my COD4 sessions LOL

EDIT
I have a suggestion/request feeble.
Is it possible to have the  "Preview"  screen, as a movable/floating popup box?
So the game could be watched, as members are browsing the site.
I have my ads at the bottom of my pages, and they show above this preview box.
So to be able to move the box around with your mouse, would be great!!
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Lord Anubis

#35
LMFAO....Okay, coding and drinking DO NOT MIX

Glad you got it figured out...

In addition, you guys might want to check out my other navigation modification for this theme (REPOSTED HERE FOR SIMPLICITY):

Screenshot:


CLICK PIC FOR LARGER VIEW


Instructions:

1. Download THIS FILE, and unzip the package
2. Upload the folder "chessblock" to the root of your forum
3. Insert the code below into a PHP block (CENTER)

Recommendations:
* Put it for custom action chess so it isn't shown throughout your forum
* Don't show title/frame
4. Enjoy!


global $scripturl, $context;
echo '
<img src="/chessblock/chess.png"/> <a href="', $scripturl ,'?action=chess"><font size="2">My Chess Stats</font></a> |
<img src="/chessblock/challenge.png"/> <a href="', $scripturl ,'?action=chess;u=', $context['user']['id'] ,';sa=challenge"><font size="2">Challenge</font></a> |
<img src="/chessblock/matches.png"/> <a href="', $scripturl ,'?action=chess;u=', $context['user']['id'] ,';sa=current"><font size="2">Current Matches</font></a> |
<img src="/chessblock/matches.png"/> <a href="', $scripturl ,'?action=chess;u=', $context['user']['id'] ,';sa=finished"><font size="2">Finished Matches</font></a> |
<img src="/chessblock/leader.png"/> <a href="', $scripturl ,'?action=chess;u=', $context['user']['id'] ,';sa=leaderboard"><font size="2">Leaderboard</font></a>
';


Or what I did was used the code below in the ChessCustom.template.php

Screenshot:

CLICK PIC FOR LARGER VIEW

Code:
<?php

//SMFChess CustomBar Template File
//ChessCustom.template.php
//
//General Use is to copy this into your Custom themes
//then edit this file
//that way you can have the bar fit to each of your sites themes


function template_SMFChessBar_custom()
{
global $txt$context$modSettings$scripturl$settings;

echo 
'
<center>
<img src="/chessblock/chess.png"/> <a href="'
$scripturl ,'?action=chess"><font size="2">My Chess Stats</font></a> | 
<img src="/chessblock/challenge.png"/> <a href="'
$scripturl ,'?action=chess;u='$context['user']['id'] ,';sa=challenge"><font size="2">Challenge</font></a> | 
<img src="/chessblock/matches.png"/> <a href="'
$scripturl ,'?action=chess;u='$context['user']['id'] ,';sa=current"><font size="2">Current Matches</font></a> | 
<img src="/chessblock/matches.png"/> <a href="'
$scripturl ,'?action=chess;u='$context['user']['id'] ,';sa=finished"><font size="2">Finished Matches</font></a> | 
<img src="/chessblock/leader.png"/> <a href="'
$scripturl ,'?action=chess;u='$context['user']['id'] ,';sa=leaderboard"><font size="2">Leaderboard</font></a>
</center>
'
.$context['page_index'];

}
?>



I intentionally didn't include the settings control because it was too large with my side blocks and messed up the look...If anyone wants this added just request it and I will post the code and image :)


Sabre™

I added that as soon as the mod was installed!!
The layout suits me fine.
Thanks for your lil add :)

Im expecting more will be included here, so will keep watch of this thread.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Godsongz

Quote from: feeble on March 03, 2008, 05:45:53 PMIn regards to SMFChess for SMF 2. I'm still looking into this, my issue with this at the moment is that I don't want to be working on two different versions. So what I'll probably do is release this patch, and that'll be it. Anything new will be put into the version for SMF 2.

I don't know much about SMF2 yet, but I wonder if this is going to be the norm.  Are mods for 1.1.4 and 2.0 going to be so different that they have to be kept seperate from each other?  Does this mean we'll never see a tournament as part of the 1.1.4 code?

samvirtual

It appears some files are missing from the package.

the challenge user page does not show a button next to the text area.
i am getting 404 errors from this file = > forums/Themes/default/SMFChess/scriptaculous/src/sound.js

Sabre™

#39
Hi buddy.
Which button is missing for you?
This one


or this one


If it is one of these, then try downloading the file again, as it may have been corrupted through transfer.

Now my problem is, that I cannot type a message to the player Im challenging.  See in the second image??  Well in there!!
I cant type anything at all there ???

EDIT:  Hmmm..     My images resized.
The buttons are the rectangular images at the bottom of each image.
Just right click on them, and select "{view image}" to have a better look :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Advertisement: