vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - Chess (https://vborg.vbsupport.ru/showthread.php?t=153638)

Carnage 09-26-2009 07:44 PM

ah... that'd be the new csrf protection thingy that got added somewhere along the line. It needs a template change but i'm not sure what atm...

Digital Jedi 10-02-2009 12:33 AM

Took me a while to pin this down, but I tracked the disappearance of my Quick Reply to this modification. I can't quite pinpoint the timeline, but I believe it was after I made the upgrade 3.8.4 and did the last upgrade on this shortly afterward. It appears they're not compatible, at least in that regard.

Carnage 10-07-2009 11:05 AM

It should only edit the quick reply settings for the forum its active on.

I've not tested it on .8.4 however so there may be an unforseen complication.

imported_silkroad 10-11-2009 05:01 PM

Quote:

Originally Posted by Digital Jedi (Post 1893531)
Took me a while to pin this down, but I tracked the disappearance of my Quick Reply to this modification. I can't quite pinpoint the timeline, but I believe it was after I made the upgrade 3.8.4 and did the last upgrade on this shortly afterward. It appears they're not compatible, at least in that regard.

We had the same problem with 3.7.4, no quick reply (running 1.1b (beta) of this mod).

In addition, the pieces did not move either using AJAX or replying with (e2-e4) so we had to uninstall the latest version (1.1b (beta)) as well.

Our forum members look forward to the day when this is a robust mod. ;) So far we have had to try and deinstall every attempt at installation.

Carnage 10-16-2009 04:07 PM

Quote:

Our forum members look forward to the day when this is a robust mod.
Me too :p

Just need a few weeks free to really work on my various mods and get the creases ironed out.

SDDirtySox 10-25-2009 02:05 PM

Quote:

Originally Posted by Texas_Dawg (Post 1889034)
When I try to post a move on the game in my chess forum, I get this message:



Anyone know what is causing that and how I can fix it? Thanks.

Has this been fixed?

SDDirtySox 10-25-2009 02:56 PM

Quote:

Originally Posted by Texas_Dawg (Post 1889034)
When I try to post a move on the game in my chess forum, I get this message:



Anyone know what is causing that and how I can fix it? Thanks.

Here's how I fixed it. In the chess Template, search for: value="$session[sessionhash]"

add this line directly after it:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />

Link to Implementing CSRF Protection in modifications: https://vborg.vbsupport.ru/showthread.php?t=177013

This mod has a ton of potential. I'm also looking forward to a more robust mod. Great work!!

SDDirtySox 10-31-2009 09:43 PM

Quote:

Originally Posted by Digital Jedi (Post 1893531)
Took me a while to pin this down, but I tracked the disappearance of my Quick Reply to this modification. I can't quite pinpoint the timeline, but I believe it was after I made the upgrade 3.8.4 and did the last upgrade on this shortly afterward. It appears they're not compatible, at least in that regard.

I made this change and it looks like it fixed my problem with Quick Reply.

line 673 in product-chess.xml.
Code:

eval('$postbits = "' . fetch_template('chess') . '";');

$show['quickreply'] = false;

}



]]></phpcode>


Carnage 10-31-2009 10:00 PM

Ok, i tracked the problem with the quick reply down.

As posted above, the $show['quickreply'] = false; is the wrong side of the bracket.

Edit the plugin showthread_complete and edit the last 3 lines to be:

Code:

eval('$postbits = "' . fetch_template('chess') . '";');

$show['quickreply'] = false;

}

Sorry, i don't have time to put this fix into a release at the moment; i'm working on a port of this mod to vbulletin 4; just as a fyi:

The mod will be split into parts; there will be a 'core' mod "Play by Post gaming" which will then have multiple plugins to support various different games. When vb4 goes gold i'm /hoping/ to have the core finished and two plugin games; chess and chess freeplay (eg one with rules enforced, one without)

dethfire 11-05-2009 01:00 PM

looking forward to the next release! :)


All times are GMT. The time now is 04:36 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02294 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete