News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

SMFChess

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

Previous topic - Next topic

drhamza

aha, another thing, the chat on the bottom, how can i control its location, i would like to have it below the A VS B ...
i know i'm being picky, sorry, and thanks for your help :D

drhamza

i'm facing this problem in CHALLENGE... it used to view a list of users when you insert a couple of letters... like drh --> views drhamza... now it doesn't, and i can't start a challange, any idea please :(

MATTEK

#502
I'm unable to install the chessblock correctly. I'm connected with my FTP now. Do I unzip the folder before uploading the images and do I upload them to the chess package?

EDIT: I've uploaded the unzipped package to my forum root. Now the instrcutions tell me to insert a certain code in a PHP block. Where can I find the right PHP block that this needs to be inserted to?
SMF 2.0.1

Like Comics, Books, Movies or T.V. Shows? Read about them here!!

busterone

Upload the unzipped package to your ./packages folder, not your root. Then install it through your package manager in admin.

MATTEK

The entire mod or chess block? I need the images installed, not the mod. The mod works fine. Every time I upload the unzipped chessblock to my package directory nothing changes.
SMF 2.0.1

Like Comics, Books, Movies or T.V. Shows? Read about them here!!

busterone

Sorry. I misread your post. The chess block is for a portal block from what I get out of reading the instructions. The code you insert into a block is what you would insert into a custom PHP block in any of the portal mods (the mod page says Tiny Portal, but probably will work with the others as well). I have not ever used it myself. Sorry about the misunderstanding. :)

MATTEK

Back to the original question: Where can I find the custom php block? Modify Themes or through my FTP?
SMF 2.0.1

Like Comics, Books, Movies or T.V. Shows? Read about them here!!

busterone

It is part of the portal admin IF you have a portal installed. It will be in the admin control panel. Do you have Tiny Portal installed? The mod was written for it specifically. It may be made to work with Simple Portal as well, I have not tried.

MATTEK

Wow. I'm starting to hate running a website. This does not work. I added a custom php block, entered the code and nothing happens.
SMF 2.0.1

Like Comics, Books, Movies or T.V. Shows? Read about them here!!

busterone

That block code was written for 1.1.x.
I got an error on RC1.2 when I attempted it.

Here is an alternate block code that will work for either 1.1.x or 2.0
create a custom html block instead of php- insert the code below, changing yourdomaingoeshere to your domain.

<img src="/chessblock/main.png"/> <a href=
"http://yourdomaingoeshere/index.php?action=chess">My Chess Stats</a><br />
<img src="/chessblock/challenge.png"/> <a href=
"http://yourdomaingoeshere/index.php?action=chess;sa=challenge">Challenge</a><br />
<img src="/chessblock/current.png"/> <a href=
"http://yourdomaingoeshere/index.php?action=chess;sa=current">Current Matches</a><br />
<img src="/chessblock/finished.png"/> <a href=
"http://yourdomaingoeshere/index.php?action=chess;sa=finished">Finished Matches</a><br />
<img src="/chessblock/leaderboard.png"/> <a href=
"http://yourdomaingoeshere/index.php?action=chess;sa=leaderboard">Leaderboard</a><br />

mghome59

Hi ,


When I try to make any change on "Chess Settings" I got this error :

An Error Has Occurred!
The database value you're trying to insert does not exist: value

SMF 2.0 RC2 fresh install.

Any ideea ?
Thanks

MATTEK

Quote from: busterone on November 27, 2009, 09:46:30 PM
That block code was written for 1.1.x.
I got an error on RC1.2 when I attempted it.

Here is an alternate block code that will work for either 1.1.x or 2.0
create a custom html block instead of php- insert the code below, changing yourdomaingoeshere to your domain.

<img src="/chessblock/main.png"/> <a href=
"http://yourdomaingoeshere/index.php?action=chess">My Chess Stats</a><br />
<img src="/chessblock/challenge.png"/> <a href=
"http://yourdomaingoeshere/index.php?action=chess;sa=challenge">Challenge</a><br />
<img src="/chessblock/current.png"/> <a href=
"http://yourdomaingoeshere/index.php?action=chess;sa=current">Current Matches</a><br />
<img src="/chessblock/finished.png"/> <a href=
"http://yourdomaingoeshere/index.php?action=chess;sa=finished">Finished Matches</a><br />
<img src="/chessblock/leaderboard.png"/> <a href=
"http://yourdomaingoeshere/index.php?action=chess;sa=leaderboard">Leaderboard</a><br />


Hey man, I got this error with that code.
SMF 2.0.1

Like Comics, Books, Movies or T.V. Shows? Read about them here!!

mghome59

create custom html block ;) 

busterone

Yep, your image shows that you inserted that code into a custom php block. The code I posted is straight html. Insert it into a custom html block, and it will work.   :)

mghome59

Yes but on 2.0 RC2 only the first link its ok. (?action=chess). The nexts redirect me to login page. :)

MATTEK

Did not work. I see no images on my chess page.
SMF 2.0.1

Like Comics, Books, Movies or T.V. Shows? Read about them here!!

busterone

Quote from: MATTEK on November 29, 2009, 09:26:57 PM
Did not work. I see no images on my chess page.
? I am not sure what you mean by images on your chess page. This will only create a small block that you can place anywhere in your portal, it will not place anything in the actual chess game itself. If the chessblock folder was uploaded to your forum root, this will work. I have tried this on 3 different installations. 1 RC1.2, 1 clean install RC2, and an upgraded RC2.

busterone

Quote from: mghome59 on November 29, 2009, 09:21:27 PM
Yes but on 2.0 RC2 only the first link its ok. (?action=chess). The nexts redirect me to login page. :)
You mod is not installed correctly. See above post. I have it working on 3 diff smf installs. Your previous post gives the indication, although I can't say what went wrong.
Quote from: mghome59 on November 29, 2009, 08:11:51 PM
Hi ,


When I try to make any change on "Chess Settings" I got this error :

An Error Has Occurred!
The database value you're trying to insert does not exist: value

SMF 2.0 RC2 fresh install.

Any ideea ?
Thanks

MATTEK

Quote from: feeble on February 29, 2008, 11:51:29 PM
Link to Mod

Drag-Drop PHP Chess for your forums

Preview Here or Here - Thanks to David and weightman
Manual Theme Changes

Have TP Installed?
A SMFChess Block has been put together by Lord Anubis
Download Images and Instructions
Original Post can be found here
Preview:


He has images in his chess block.
SMF 2.0.1

Like Comics, Books, Movies or T.V. Shows? Read about them here!!

busterone

Ok, I understand you now. Did you upload the entire chessblock folder to your forum root? Those images are in that folder and are referenced in the block code as this- <img src="/chessblock/main.png"/> etc. . .

Advertisement: